2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, ocamlnet, cpu }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "parany";
|
2021-12-24 04:21:11 +00:00
|
|
|
version = "12.1.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
useDune2 = true;
|
2021-07-24 12:14:16 +00:00
|
|
|
minimumOCamlVersion = "4.03.0";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "UnixJunkie";
|
2021-07-24 12:14:16 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-24 04:21:11 +00:00
|
|
|
sha256 = "yOeJzb2Wr6jA4efI9/fuqDCl/Tza3zxT3YjAiJmhHHg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ocamlnet cpu ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Generalized map/reduce for multicore computing";
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|