aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/erm_xml
diff options
context:
space:
mode:
authorts468 <ts468@users.noreply.github.com>2015-09-06 21:15:10 +0200
committerts468 <ts468@users.noreply.github.com>2015-09-06 21:15:10 +0200
commit054be41e04e2f583433c8d69f73f63389aec7f77 (patch)
tree57b99067b9535540280af72c31b134d8ba8e1589 /pkgs/development/ocaml-modules/erm_xml
parenta9dab9df6110f6f5c8300c4408c845d8176539bd (diff)
Revert "ocaml-modules: fix naming: "_" -> "-""
Diffstat (limited to 'pkgs/development/ocaml-modules/erm_xml')
-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 000000000000..0ff2a725ea2b
--- /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 ];
+ };
+}