summary refs log tree commit diff
path: root/pkgs/development/idris-modules/hamt.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/idris-modules/hamt.nix')
-rw-r--r--pkgs/development/idris-modules/hamt.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/idris-modules/hamt.nix b/pkgs/development/idris-modules/hamt.nix
new file mode 100644
index 00000000000..7a2d0d77c83
--- /dev/null
+++ b/pkgs/development/idris-modules/hamt.nix
@@ -0,0 +1,29 @@
+{ build-idris-package
+, fetchFromGitHub
+, prelude
+, contrib
+, effects
+, lib
+, idris
+}:
+build-idris-package  {
+  name = "idris-hamt";
+  version = "2016-11-15";
+
+  idrisDeps = [ prelude contrib effects ];
+
+  src = fetchFromGitHub {
+    owner = "bamboo";
+    repo = "idris-hamt";
+    rev = "e70f3eedddb5ccafea8e386762b8421ba63c495a";
+    sha256 = "0m2yjr20dxkfmn3nzc68l6vh0rdaw6b637yijwl4c83b5xiac1mi";
+  };
+
+  meta = {
+    description = "Idris Hash Array Mapped Trie";
+    homepage = https://github.com/bamboo/idris-hamt;
+    license = lib.licenses.bsd3;
+    maintainers = [ lib.maintainers.brainrape ];
+    inherit (idris.meta) platforms;
+  };
+}