about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/macaque/default.nix
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2014-10-10 23:58:08 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2014-10-11 00:54:35 +0100
commit8320bbaaa31f43fda9173dede63ef04ec603997f (patch)
tree658caabf3c33c74929710e97ddd06fe92bec37c9 /pkgs/development/ocaml-modules/macaque/default.nix
parent33bba5f0b3905164e76c07a34e7428085cbace34 (diff)
downloadnixlib-8320bbaaa31f43fda9173dede63ef04ec603997f.tar
nixlib-8320bbaaa31f43fda9173dede63ef04ec603997f.tar.gz
nixlib-8320bbaaa31f43fda9173dede63ef04ec603997f.tar.bz2
nixlib-8320bbaaa31f43fda9173dede63ef04ec603997f.tar.lz
nixlib-8320bbaaa31f43fda9173dede63ef04ec603997f.tar.xz
nixlib-8320bbaaa31f43fda9173dede63ef04ec603997f.tar.zst
nixlib-8320bbaaa31f43fda9173dede63ef04ec603997f.zip
ocaml-macaque: new package
MaCaQue (or macaque) is a DSL for SQL Queries in Caml.

Homepage: https://github.com/ocsigen/macaque
Diffstat (limited to 'pkgs/development/ocaml-modules/macaque/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/macaque/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/macaque/default.nix b/pkgs/development/ocaml-modules/macaque/default.nix
new file mode 100644
index 000000000000..f2d13ad1f137
--- /dev/null
+++ b/pkgs/development/ocaml-modules/macaque/default.nix
@@ -0,0 +1,22 @@
+{stdenv, fetchurl, ocaml, findlib, pgocaml, camlp4}:
+
+stdenv.mkDerivation {
+  name = "ocaml-macaque-0.7.1";
+  src = fetchurl {
+    url = https://github.com/ocsigen/macaque/archive/0.7.1.tar.gz;
+    sha256 = "0wnq3pgpcrfpivr8j7p827rhag6hdx0yr0bdvma0hw1g30vwf9qa";
+  };
+
+  buildInputs = [ ocaml findlib camlp4 ];
+  propagatedBuildInputs = [ pgocaml ];
+
+  createFindlibDestdir = true;
+
+  meta = with stdenv.lib; {
+    description = "Macros for Caml Queries";
+    homepage = https://github.com/ocsigen/macaque;
+    license = licenses.lgpl2;
+    platforms = ocaml.meta.platforms;
+    maintainers = with maintainers; [ vbgl ];
+  };
+}