nixpkgs/pkgs/development/ocaml-modules/parany/default.nix

26 lines
590 B
Nix
Raw Normal View History

{ lib, buildDunePackage, fetchFromGitHub, ocamlnet, cpu }:
2019-11-25 20:43:05 +00:00
buildDunePackage rec {
pname = "parany";
2021-12-22 07:41:06 +00:00
version = "12.1.2";
2019-11-25 20:43:05 +00:00
2021-04-01 06:46:19 +00:00
useDune2 = true;
2021-05-22 06:09:34 +00:00
minimumOCamlVersion = "4.03.0";
2021-04-01 06:46:19 +00:00
2019-11-25 20:43:05 +00:00
src = fetchFromGitHub {
owner = "UnixJunkie";
2021-05-22 06:09:34 +00:00
repo = pname;
rev = "v${version}";
2021-12-22 07:41:06 +00:00
sha256 = "yOeJzb2Wr6jA4efI9/fuqDCl/Tza3zxT3YjAiJmhHHg=";
2019-11-25 20:43:05 +00:00
};
2019-12-26 22:31:16 +00:00
propagatedBuildInputs = [ ocamlnet cpu ];
2019-11-25 20:43:05 +00:00
meta = with lib; {
2019-11-25 20:43:05 +00:00
inherit (src.meta) homepage;
description = "Generalized map/reduce for multicore computing";
maintainers = [ maintainers.bcdarwin ];
license = licenses.lgpl2;
};
}