summary refs log tree commit diff
path: root/pkgs/development/idris-modules/lightyear.nix
blob: 11afd4ebe76dea54c82606b27f17b13118010467 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ build-idris-package
, fetchFromGitHub
, prelude
, base
, effects
, lib
, idris
}:

let
  date = "2016-08-01";
in
build-idris-package {
  name = "lightyear-${date}";

  src = fetchFromGitHub {
    owner = "ziman";
    repo = "lightyear";
    rev = "9420f9e892e23a7016dea1a61d8ce43a6d4ecf15";
    sha256 = "0xbjwq7sk4x78mi2zcqxbx7wziijlr1ayxihb1vml33lqmsgl1dn";
  };

  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;
  };
}