aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/owee/default.nix
blob: 7ac6af3edd93f8d940a965f912e9bd28b801f838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, ocaml, findlib }:

stdenv.mkDerivation rec {
  name = "ocaml${ocaml.version}-owee-${version}";
  version = "0.2";

  src = fetchFromGitHub {
    owner = "let-def";
    repo = "owee";
    rev = "v${version}";
    sha256 = "025a8sm03mm9qr7grdmdhzx7pyrd0dr7ndr5mbj5baalc0al132z";
  };

  buildInputs = [ ocaml findlib ];

  createFindlibDestdir = true;

  meta = {
    description = "An experimental OCaml library to work with DWARF format";
    inherit (src.meta) homepage;
    inherit (ocaml.meta) platforms;
    license = stdenv.lib.licenses.mit;
    maintainers = [ stdenv.lib.maintainers.vbgl ];
  };
}