forked from mirrors/nixpkgs
ocamlPackages.process: init at 0.2.1
process makes it easy to use commands like functions. Homepage: https://github.com/dsheets/ocaml-process
This commit is contained in:
parent
2c6571fe12
commit
da378ce8ed
25
pkgs/development/ocaml-modules/process/default.nix
Normal file
25
pkgs/development/ocaml-modules/process/default.nix
Normal file
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -552,6 +552,8 @@ let
|
||||||
|
|
||||||
ppx_tools_versioned = callPackage ../development/ocaml-modules/ppx_tools_versioned { };
|
ppx_tools_versioned = callPackage ../development/ocaml-modules/ppx_tools_versioned { };
|
||||||
|
|
||||||
|
process = callPackage ../development/ocaml-modules/process { };
|
||||||
|
|
||||||
ptmap = callPackage ../development/ocaml-modules/ptmap { };
|
ptmap = callPackage ../development/ocaml-modules/ptmap { };
|
||||||
|
|
||||||
pycaml = callPackage ../development/ocaml-modules/pycaml { };
|
pycaml = callPackage ../development/ocaml-modules/pycaml { };
|
||||||
|
|
Loading…
Reference in a new issue