summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/erm_xml/default.nix
blob: ae264b657d87a96aa93b4cea2f75050be02d3d45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchzip, ocaml, findlib, ocamlbuild }:

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 ocamlbuild ];

  createFindlibDestdir = true;

  meta = {
    homepage = https://github.com/ermine/xml;
    description = "XML Parser for discrete data";
    platforms = ocaml.meta.platforms or [];
    license = stdenv.lib.licenses.bsd3;
    maintainers = with stdenv.lib.maintainers; [ vbgl ];
  };
}