about summary refs log tree commit diff
path: root/pkgs/development/idris-modules
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/idris-modules')
-rw-r--r--pkgs/development/idris-modules/lightyear.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/idris-modules/lightyear.nix b/pkgs/development/idris-modules/lightyear.nix
new file mode 100644
index 000000000000..11afd4ebe76d
--- /dev/null
+++ b/pkgs/development/idris-modules/lightyear.nix
@@ -0,0 +1,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;
+  };
+}