depot/third_party/nixpkgs/pkgs/development/ocaml-modules/parmap/default.nix

28 lines
732 B
Nix
Raw Normal View History

{ lib, fetchurl, buildDunePackage, dune-configurator }:
buildDunePackage rec {
pname = "parmap";
version = "1.2.4";
src = fetchurl {
url = "https://github.com/rdicosmo/${pname}/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "sha256-BTkSEjIK3CVNloJACFo6eQ6Ob9o/cdrA9xuv87NKas4=";
};
minimalOCamlVersion = "4.03";
buildInputs = [
dune-configurator
];
doCheck = false; # prevent running slow benchmarks
meta = with lib; {
description = "Library for multicore parallel programming";
downloadPage = "https://github.com/rdicosmo/parmap";
homepage = "https://rdicosmo.github.io/parmap";
license = licenses.lgpl2;
maintainers = with maintainers; [ bcdarwin ];
};
}