forked from mirrors/nixpkgs
33 lines
720 B
Nix
33 lines
720 B
Nix
{ 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;
|
|
};
|
|
}
|