1{ stdenv, fetchzip, ocaml, findlib }:
2
3let version = "0.3"; in
4
5stdenv.mkDerivation {
6 name = "ocaml-erm_xml-${version}";
7
8 src = fetchzip {
9 url = "https://github.com/ermine/xml/archive/v${version}.tar.gz";
10 sha256 = "19znk5w0qiw3wij4n6w3h5bcr221yy57jf815fr8k9m8kin710g3";
11 };
12
13 buildInputs = [ ocaml findlib ];
14
15 createFindlibDestdir = true;
16
17 meta = {
18 homepage = https://github.com/ermine/xml;
19 description = "XML Parser for discrete data";
20 platforms = ocaml.meta.platforms or [];
21 license = stdenv.lib.licenses.bsd3;
22 maintainers = with stdenv.lib.maintainers; [ vbgl ];
23 };
24}