2021-06-06 01:07:19 +01: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 15:02:51 +01: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 01:07:19 +01:00
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dune-configurator
|
|
|
|
];
|
2021-04-05 15:02:51 +01:00
|
|
|
|
2019-11-24 19:10:26 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for multicore parallel programming";
|
2021-06-06 01:07:19 +01: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 01:07:19 +01:00
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
2019-11-24 19:10:26 +00:00
|
|
|
};
|
|
|
|
}
|