summary refs log tree commit diff
path: root/pkgs/development/idris-modules/http.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/idris-modules/http.nix')
-rw-r--r--pkgs/development/idris-modules/http.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/idris-modules/http.nix b/pkgs/development/idris-modules/http.nix
new file mode 100644
index 00000000000..800a3a2eeb4
--- /dev/null
+++ b/pkgs/development/idris-modules/http.nix
@@ -0,0 +1,30 @@
+{ build-idris-package
+, fetchFromGitHub
+, prelude
+, contrib
+, lightyear
+, bytes
+, lib
+, idris
+}:
+build-idris-package  {
+  name = "http";
+  version = "2018-02-25";
+
+  idrisDeps = [ prelude contrib lightyear bytes ];
+
+  src = fetchFromGitHub {
+    owner = "uwap";
+    repo = "idris-http";
+    rev = "dc4a31543f87c0bc44cbaa98192f0303cd8dd82e";
+    sha256 = "1abrwi5ikymff4g7a0g5wskycvhpnn895z1z1bz9r71ks554ypl8";
+  };
+
+  meta = {
+    description = "An HTTP library for idris";
+    homepage = https://github.com/uwap/idris-http;
+    license = lib.licenses.bsd2;
+    maintainers = [ lib.maintainers.brainrape ];
+    inherit (idris.meta) platforms;
+  };
+}