idrisPackages: add packages
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{ build-idris-package
|
||||
, fetchFromGitHub
|
||||
, prelude
|
||||
, base
|
||||
, lib
|
||||
, idris
|
||||
}:
|
||||
build-idris-package {
|
||||
name = "refined";
|
||||
version = "2017-12-28";
|
||||
|
||||
idrisDeps = [ prelude base ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "janschultecom";
|
||||
repo = "idris-refined";
|
||||
rev = "e21cdef16106a77b42d193806c1749ba6448a128";
|
||||
sha256 = "1am7kfc51p2zlml954v8cl9xvx0g0f1caq7ni3z36xvsd7fh47yh";
|
||||
};
|
||||
|
||||
postUnpack = ''
|
||||
rm source/idris-refined-test.ipkg
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Port of Scala/Haskell Refined library to Idris";
|
||||
homepage = https://github.com/janschultecom/idris-refined;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.brainrape ];
|
||||
inherit (idris.meta) platforms;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user