summary refs log tree commit diff
path: root/pkgs/development/idris-modules/cube.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/idris-modules/cube.nix')
-rw-r--r--pkgs/development/idris-modules/cube.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/idris-modules/cube.nix b/pkgs/development/idris-modules/cube.nix
new file mode 100644
index 000000000000..ce46c4538b5b
--- /dev/null
+++ b/pkgs/development/idris-modules/cube.nix
@@ -0,0 +1,29 @@
+{ build-idris-package
+, fetchFromGitHub
+, prelude
+, base
+, lib
+, idris
+}:
+
+build-idris-package  {
+  name = "cube";
+  version = "2017-07-05";
+
+  idrisDeps = [ prelude base ];
+
+  src = fetchFromGitHub {
+    owner = "aatxe";
+    repo = "cube.idr";
+    rev = "edf66d82b3a363dc65c6f5416c9e24e746bad71e";
+    sha256 = "11k45j0b4qabj6zhwjvynyj56nmssf7d4fnkv66bd2w1pxnshzxg";
+  };
+
+  meta = {
+    description = "An implementation of the Lambda Cube in Idris";
+    homepage = https://github.com/aatxe/cube.idr;
+    license = lib.licenses.agpl3;
+    maintainers = [ lib.maintainers.brainrape ];
+    inherit (idris.meta) platforms;
+  };
+}