2021-06-06 00:07:19 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, dune-configurator }:
|
2019-11-24 19:10:26 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "parmap";
|
2022-02-12 18:44:54 +00:00
|
|
|
version = "1.2.4";
|
2021-04-05 14:02:51 +00:00
|
|
|
|
2020-03-14 14:45:15 +00:00
|
|
|
src = fetchurl {
|
2019-11-24 19:10:26 +00:00
|
|
|
url = "https://github.com/rdicosmo/${pname}/releases/download/${version}/${pname}-${version}.tbz";
|
2022-02-12 18:44:54 +00:00
|
|
|
sha256 = "sha256-BTkSEjIK3CVNloJACFo6eQ6Ob9o/cdrA9xuv87NKas4=";
|
2019-11-24 19:10:26 +00:00
|
|
|
};
|
|
|
|
|
2021-06-06 00:07:19 +00:00
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dune-configurator
|
|
|
|
];
|
2021-04-05 14:02:51 +00:00
|
|
|
|
2022-05-28 12:10:41 +00:00
|
|
|
doCheck = false; # prevent running slow benchmarks
|
2019-11-24 19:10:26 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for multicore parallel programming";
|
2021-06-06 00:07:19 +00:00
|
|
|
downloadPage = "https://github.com/rdicosmo/parmap";
|
2019-11-24 19:10:26 +00:00
|
|
|
homepage = "https://rdicosmo.github.io/parmap";
|
|
|
|
license = licenses.lgpl2;
|
2021-06-06 00:07:19 +00:00
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
2019-11-24 19:10:26 +00:00
|
|
|
};
|
|
|
|
}
|