summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/erm_xml/default.nix
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2015-02-18 22:10:43 +0100
committerVincent Laporte <Vincent.Laporte@gmail.com>2015-02-18 22:21:53 +0100
commit324324b024d4debb2a9f33660148ef10d28c6849 (patch)
tree5eedc4d3ca4c712cc2f9c2b8ee87eea072084741 /pkgs/development/ocaml-modules/erm_xml/default.nix
parenta9e4fc1079d86877ca51f597f2a667a8c6a5f92d (diff)
downloadnixpkgs-324324b024d4debb2a9f33660148ef10d28c6849.tar
nixpkgs-324324b024d4debb2a9f33660148ef10d28c6849.tar.gz
nixpkgs-324324b024d4debb2a9f33660148ef10d28c6849.tar.bz2
nixpkgs-324324b024d4debb2a9f33660148ef10d28c6849.tar.lz
nixpkgs-324324b024d4debb2a9f33660148ef10d28c6849.tar.xz
nixpkgs-324324b024d4debb2a9f33660148ef10d28c6849.tar.zst
nixpkgs-324324b024d4debb2a9f33660148ef10d28c6849.zip
Adds ocaml-erm_xml
XML Parser for discrete data

Homepage: https://github.com/ermine/xml
Diffstat (limited to 'pkgs/development/ocaml-modules/erm_xml/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/erm_xml/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/erm_xml/default.nix b/pkgs/development/ocaml-modules/erm_xml/default.nix
new file mode 100644
index 00000000000..0ff2a725ea2
--- /dev/null
+++ b/pkgs/development/ocaml-modules/erm_xml/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchzip, ocaml, findlib }:
+
+let version = "0.3"; in
+
+stdenv.mkDerivation {
+  name = "ocaml-erm_xml-${version}";
+
+  src = fetchzip {
+    url = "https://github.com/ermine/xml/archive/v${version}.tar.gz";
+    sha256 = "19znk5w0qiw3wij4n6w3h5bcr221yy57jf815fr8k9m8kin710g3";
+  };
+
+  buildInputs = [ ocaml findlib ];
+
+  createFindlibDestdir = true;
+
+  meta = {
+    homepage = https://github.com/ermine/xml;
+    description = "XML Parser for discrete data";
+    platforms = ocaml.meta.platforms;
+    license = stdenv.lib.licenses.bsd3;
+    maintainers = with stdenv.lib.maintainers; [ vbgl ];
+  };
+}