mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 12:44:44 +00:00
35 lines
733 B
Nix
35 lines
733 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildDunePackage,
|
|
dune-configurator,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "parmap";
|
|
version = "1.2.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rdicosmo";
|
|
repo = "parmap";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-tBu7TGtDOe5FbxLZuz6nl+65aN9FHIngq/O4dJWzr3Q=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
buildInputs = [
|
|
dune-configurator
|
|
];
|
|
|
|
doCheck = false; # prevent running slow benchmarks
|
|
|
|
meta = {
|
|
description = "Library for multicore parallel programming";
|
|
downloadPage = "https://github.com/rdicosmo/parmap";
|
|
homepage = "https://rdicosmo.github.io/parmap";
|
|
license = lib.licenses.lgpl2;
|
|
maintainers = with lib.maintainers; [ bcdarwin ];
|
|
};
|
|
})
|