1{ stdenv, lib, fetchFromGitHub, ocaml, findlib, ocamlbuild }:
2
3stdenv.mkDerivation rec {
4 pname = "ocaml${ocaml.version}-process";
5 version = "0.2.1";
6
7 src = fetchFromGitHub {
8 owner = "dsheets";
9 repo = "ocaml-process";
10 rev = version;
11 sha256 = "0m1ldah5r9gcq09d9jh8lhvr77910dygx5m309k1jm60ah9mdcab";
12 };
13
14 nativeBuildInputs = [ ocaml findlib ocamlbuild ];
15 strictDeps = true;
16
17 createFindlibDestdir = true;
18
19 meta = {
20 description = "Easy process control in OCaml";
21 license = lib.licenses.isc;
22 maintainers = [ lib.maintainers.vbgl ];
23 inherit (src.meta) homepage;
24 inherit (ocaml.meta) platforms;
25 };
26}