2016-10-08 07:44:25 +01:00
|
|
|
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:
|
2015-02-18 21:10:43 +00:00
|
|
|
|
|
|
|
let version = "0.3"; in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-09-06 20:15:10 +01:00
|
|
|
name = "ocaml-erm_xml-${version}";
|
2015-02-18 21:10:43 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/ermine/xml/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "19znk5w0qiw3wij4n6w3h5bcr221yy57jf815fr8k9m8kin710g3";
|
|
|
|
};
|
|
|
|
|
2016-10-08 07:44:25 +01:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
2015-02-18 21:10:43 +00:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/ermine/xml;
|
|
|
|
description = "XML Parser for discrete data";
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2015-02-18 21:10:43 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|