2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, ocamlnet, cpu }:
|
2019-11-25 20:43:05 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "parany";
|
2021-09-13 05:20:00 +01:00
|
|
|
version = "12.1.1";
|
2019-11-25 20:43:05 +00:00
|
|
|
|
2021-04-01 07:46:19 +01:00
|
|
|
useDune2 = true;
|
2021-05-22 07:09:34 +01:00
|
|
|
minimumOCamlVersion = "4.03.0";
|
2021-04-01 07:46:19 +01:00
|
|
|
|
2019-11-25 20:43:05 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "UnixJunkie";
|
2021-05-22 07:09:34 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-09-13 05:20:00 +01:00
|
|
|
sha256 = "0s2sbmywy4yyh69dcrcqd85hd8jcd7qgfczy79nam4bvn87bjm72";
|
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
|
|
|
|
2021-01-11 07:54:33 +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;
|
|
|
|
};
|
|
|
|
}
|