2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildDunePackage, fetchFromGitHub, ocamlnet, cpu }:
|
2019-11-25 21:43:05 +01:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "parany";
|
2019-12-26 23:31:16 +01:00
|
|
|
version = "8.0.0";
|
2019-11-25 21:43:05 +01:00
|
|
|
|
2021-04-01 08:46:19 +02:00
|
|
|
useDune2 = true;
|
|
|
|
|
2019-11-25 21:43:05 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "UnixJunkie";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-12-26 23:31:16 +01:00
|
|
|
sha256 = "19yz1yqyqx6gawy93jlh3x6vji2p9qsy6nsbj65q5pii8p1fjlsm";
|
2019-11-25 21:43:05 +01:00
|
|
|
};
|
|
|
|
|
2019-12-26 23:31:16 +01:00
|
|
|
propagatedBuildInputs = [ ocamlnet cpu ];
|
2019-11-25 21:43:05 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-11-25 21:43:05 +01:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Generalized map/reduce for multicore computing";
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|