2016-09-27 09:11:09 +03:00
|
|
|
{ build-idris-package
|
|
|
|
, fetchFromGitHub
|
|
|
|
, prelude
|
|
|
|
, base
|
|
|
|
, effects
|
|
|
|
, lib
|
|
|
|
, idris
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2017-10-18 18:03:36 +03:00
|
|
|
date = "2017-09-10";
|
2016-09-27 09:11:09 +03:00
|
|
|
in
|
|
|
|
build-idris-package {
|
|
|
|
name = "lightyear-${date}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ziman";
|
|
|
|
repo = "lightyear";
|
2017-10-18 18:03:36 +03:00
|
|
|
rev = "f737e25a09c1fe7c5fff063c53bd7458be232cc8";
|
|
|
|
sha256 = "05x66abhpbdm6yr0afbwfk6w04ysdk78gylj5alhgwhy4jqakv29";
|
2016-09-27 09:11:09 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ prelude base effects ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Parser combinators for Idris";
|
|
|
|
homepage = https://github.com/ziman/lightyear;
|
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
maintainers = [ lib.maintainers.siddharthist ];
|
|
|
|
inherit (idris.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|