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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b7c6d211508..1063912348b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3853,6 +3853,8 @@ let eliom = callPackage ../development/ocaml-modules/eliom { }; + erm_xml = callPackage ../development/ocaml-modules/erm_xml { }; + ezjsonm = callPackage ../development/ocaml-modules/ezjsonm { lwt = ocaml_lwt; sexplib = ocaml_sexplib;