summary refs log tree commit diff
path: root/pkgs/development/idris-modules/tp.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/idris-modules/tp.nix')
-rw-r--r--pkgs/development/idris-modules/tp.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/idris-modules/tp.nix b/pkgs/development/idris-modules/tp.nix
new file mode 100644
index 000000000000..db45f0408ab9
--- /dev/null
+++ b/pkgs/development/idris-modules/tp.nix
@@ -0,0 +1,31 @@
+{ build-idris-package
+, fetchFromGitHub
+, prelude
+, base
+, lib
+, idris
+}:
+build-idris-package  {
+  name = "tp";
+  version = "2017-08-15";
+
+  idrisDeps = [ prelude base ];
+
+  src = fetchFromGitHub {
+    owner = "superfunc";
+    repo = "tp";
+    rev = "ef59ccf355ae462bd4f55d596e6d03a9376b67b2";
+    sha256 = "1a924qvm1dqfg419x8n35w0sz74vyyqsynz5g393f82jsrrwci8z";
+  };
+
+  # tests fail with permission error
+  doCheck = false;
+
+  meta = {
+    description = "Strongly Typed Paths for Idris";
+    homepage = https://github.com/superfunc/tp;
+    license = lib.licenses.mit;
+    maintainers = [ lib.maintainers.brainrape ];
+    inherit (idris.meta) platforms;
+  };
+}