diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-08-03 18:38:06 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-08-04 05:36:57 +0000 |
commit | da378ce8edd13bb346852caaa079a2b6f2017018 (patch) | |
tree | fdda8a5f29da142d4eb95f0f6772bc6ee451cfc5 /pkgs/development/ocaml-modules | |
parent | 2c6571fe1259217badce011e11d39f4faad73f42 (diff) |
ocamlPackages.process: init at 0.2.1
process makes it easy to use commands like functions. Homepage: https://github.com/dsheets/ocaml-process
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/process/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/process/default.nix b/pkgs/development/ocaml-modules/process/default.nix new file mode 100644 index 0000000000000..92fb18378037c --- /dev/null +++ b/pkgs/development/ocaml-modules/process/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild }: + +stdenv.mkDerivation rec { + name = "ocaml${ocaml.version}-process-${version}"; + version = "0.2.1"; + + src = fetchFromGitHub { + owner = "dsheets"; + repo = "ocaml-process"; + rev = version; + sha256 = "0m1ldah5r9gcq09d9jh8lhvr77910dygx5m309k1jm60ah9mdcab"; + }; + + buildInputs = [ ocaml findlib ocamlbuild ]; + + createFindlibDestdir = true; + + meta = { + description = "Easy process control in OCaml"; + license = stdenv.lib.licenses.isc; + maintainers = [ stdenv.lib.maintainers.vbgl ]; + inherit (src.meta) homepage; + inherit (ocaml.meta) platforms; + }; +} |