git.iko.soy/typeable/nixpkgs
on master help sign in
ocaml-markup: init at 0.7.2
commit0120d2b898386c95065c7aa590478fedcccc98ed authorFlorent Becker <Florent.Becker@ens-lyon.org> dateMon 30 May 2016, 15:11 (11 years ago) parentf44e70a
2 files changed+33
pkgs/development/ocaml-modules/markup/default.nix+31 pkgs/top-level/all-packages.nix+2
pkgs/development/ocaml-modules/markup/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ stdenv, fetchurl, ocaml, findlib, uutf, lwt }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "markup";
5+ version = "0.7.2";
6+ name = "${pname}-${version}";
7+
8+ src = fetchurl {
9+ url = "http://github.com/aantron/markup.ml/archive/${version}.tar.gz";
10+ sha256 = "0d3wi22v7h0iqzq8dgl0g4fj2wb67gvmbzdckacifghinrx762k3";
11+ };
12+
13+ buildInputs = [ocaml findlib];
14+
15+ installPhase = "make ocamlfind-install";
16+
17+ propagatedBuildInputs = [uutf lwt];
18+
19+ createFindlibDestdir = true;
20+
21+ meta = with stdenv.lib; {
22+ homepage = https://github.com/aantron/markup.ml/;
23+ description = "A pair of best-effort parsers implementing the HTML5 and XML specifications";
24+ license = licenses.bsd3;
25+ platforms = ocaml.meta.platforms or [];
26+ maintainers = with maintainers; [
27+ gal_bolle
28+ ];
29+ };
30+
31+}
pkgs/top-level/all-packages.nix+2
@@ -5007,6 +5007,8 @@ in
50075007
50085008 magick = callPackage ../development/ocaml-modules/magick { };
50095009
5010+ markup = callPackage ../development/ocaml-modules/markup { lwt = ocaml_lwt; };
5011+
50105012 menhir = callPackage ../development/ocaml-modules/menhir { };
50115013
50125014 merlin = callPackage ../development/tools/ocaml/merlin { };