summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules
diff options
context:
space:
mode:
authorFlorent Becker <Florent.Becker@ens-lyon.org>2016-05-30 15:11:44 +0200
committerFlorent Becker <florent.becker@ens-lyon.org>2016-05-31 19:10:06 +0200
commit0120d2b898386c95065c7aa590478fedcccc98ed (patch)
tree8bad586967751fe89beb3d497d1425fe51b740cd /pkgs/development/ocaml-modules
parentf44e70a68bd33721384b1027f30d3d8f3a085c15 (diff)
downloadnixlib-0120d2b898386c95065c7aa590478fedcccc98ed.tar
nixlib-0120d2b898386c95065c7aa590478fedcccc98ed.tar.gz
nixlib-0120d2b898386c95065c7aa590478fedcccc98ed.tar.bz2
nixlib-0120d2b898386c95065c7aa590478fedcccc98ed.tar.lz
nixlib-0120d2b898386c95065c7aa590478fedcccc98ed.tar.xz
nixlib-0120d2b898386c95065c7aa590478fedcccc98ed.tar.zst
nixlib-0120d2b898386c95065c7aa590478fedcccc98ed.zip
ocaml-markup: init at 0.7.2
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r--pkgs/development/ocaml-modules/markup/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/markup/default.nix b/pkgs/development/ocaml-modules/markup/default.nix
new file mode 100644
index 000000000000..ed285dc58523
--- /dev/null
+++ b/pkgs/development/ocaml-modules/markup/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchurl, ocaml, findlib, uutf, lwt }:
+
+stdenv.mkDerivation rec {
+  pname = "markup";
+  version = "0.7.2";
+  name = "${pname}-${version}";
+
+  src = fetchurl {
+    url = "http://github.com/aantron/markup.ml/archive/${version}.tar.gz";
+    sha256 = "0d3wi22v7h0iqzq8dgl0g4fj2wb67gvmbzdckacifghinrx762k3";
+    };
+
+  buildInputs = [ocaml findlib];
+
+  installPhase = "make ocamlfind-install";
+  
+  propagatedBuildInputs = [uutf lwt];
+
+  createFindlibDestdir = true;
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/aantron/markup.ml/;
+    description = "A pair of best-effort parsers implementing the HTML5 and XML specifications";
+    license = licenses.bsd3;
+    platforms = ocaml.meta.platforms or [];
+    maintainers = with maintainers; [
+      gal_bolle
+      ];
+  };
+
+}