mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-01 09:39:56 +00:00
38 lines
669 B
Nix
38 lines
669 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
ocaml,
|
|
findlib,
|
|
ocamlbuild,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocaml${ocaml.version}-process";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dsheets";
|
|
repo = "ocaml-process";
|
|
rev = version;
|
|
hash = "sha256-S7FWE1TAVBlmAqOW/nwDIZ2TN6QIytQSwOylXKBqNFQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
ocaml
|
|
findlib
|
|
ocamlbuild
|
|
];
|
|
strictDeps = true;
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
description = "Easy process control in OCaml";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
inherit (src.meta) homepage;
|
|
inherit (ocaml.meta) platforms;
|
|
};
|
|
}
|