about summary refs log tree commit diff
path: root/pkgs/development/idris-modules/union_type.nix
diff options
context:
space:
mode:
authorMárton Boros <martonboros@gmail.com>2018-03-16 12:40:17 +0100
committerMárton Boros <martonboros@gmail.com>2018-03-20 07:16:21 +0100
commit23ee7c9d8d510a781c9796d392e968537d254883 (patch)
tree9ffcf98ac7abb04d6c0bf083e93409f8a6b49a8b /pkgs/development/idris-modules/union_type.nix
parentcf65d477fd9e92823c64a44521835c82e122c2f2 (diff)
downloadnixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar
nixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar.gz
nixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar.bz2
nixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar.lz
nixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar.xz
nixlib-23ee7c9d8d510a781c9796d392e968537d254883.tar.zst
nixlib-23ee7c9d8d510a781c9796d392e968537d254883.zip
idrisPackages: add packages
Diffstat (limited to 'pkgs/development/idris-modules/union_type.nix')
-rw-r--r--pkgs/development/idris-modules/union_type.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/idris-modules/union_type.nix b/pkgs/development/idris-modules/union_type.nix
new file mode 100644
index 000000000000..845bec3d84e8
--- /dev/null
+++ b/pkgs/development/idris-modules/union_type.nix
@@ -0,0 +1,28 @@
+{ build-idris-package
+, fetchFromGitHub
+, prelude
+, base
+, lib
+, idris
+}:
+build-idris-package  {
+  name = "union_type";
+  version = "2018-01-30";
+
+  idrisDeps = [ prelude base ];
+
+  src = fetchFromGitHub {
+    owner = "berewt";
+    repo = "UnionType";
+    rev = "f7693036237585fe324a815a96ad101d9659c689";
+    sha256 = "1ky0h03kja2y1fjg18j46akw03wi5ng80pghh2j3ib6hxlg1rbs7";
+  };
+
+  meta = {
+    description = "UnionType in Idris";
+    homepage = https://github.com/berewt/UnionType;
+    license = lib.licenses.mit;
+    maintainers = [ lib.maintainers.brainrape ];
+    inherit (idris.meta) platforms;
+  };
+}