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

29 lines
716 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";
useDune2 = true;
buildInputs = [
dune-configurator
];
doCheck = true;
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 ];
};
}