2023-07-15 17:15:38 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, dune-configurator }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "parmap";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.2.5";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rdicosmo";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
hash = "sha256-tBu7TGtDOe5FbxLZuz6nl+65aN9FHIngq/O4dJWzr3Q=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
dune-configurator
|
|
|
|
];
|
2021-04-05 15:23:46 +00:00
|
|
|
|
2022-06-26 10:26:21 +00:00
|
|
|
doCheck = false; # prevent running slow benchmarks
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|