2021-06-28 23:13:55 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, dune-configurator }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "parmap";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "1.2.4";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/rdicosmo/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-BTkSEjIK3CVNloJACFo6eQ6Ob9o/cdrA9xuv87NKas4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dune-configurator
|
|
|
|
];
|
2021-04-05 15:23:46 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for multicore parallel programming";
|
2021-06-28 23:13:55 +00:00
|
|
|
downloadPage = "https://github.com/rdicosmo/parmap";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://rdicosmo.github.io/parmap";
|
|
|
|
license = licenses.lgpl2;
|
2021-06-28 23:13:55 +00:00
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|