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

29 lines
717 B
Nix
Raw Normal View History

2021-06-06 00:07:19 +00:00
{ lib, fetchurl, buildDunePackage, dune-configurator }:
2019-11-24 19:10:26 +00:00
buildDunePackage rec {
pname = "parmap";
2021-06-06 00:07:19 +00:00
version = "1.2.3";
2021-04-05 14:02:51 +00: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";
2021-06-06 00:07:19 +00:00
sha256 = "1wg81slp453jci0gi0rzvdjx74110mlf1n5qpsmxic6fqsyz9d2v";
2019-11-24 19:10:26 +00:00
};
2021-06-06 00:07:19 +00:00
minimalOCamlVersion = "4.03";
useDune2 = true;
buildInputs = [
dune-configurator
];
2021-04-05 14:02:51 +00:00
2019-11-24 19:10:26 +00:00
doCheck = true;
meta = with lib; {
description = "Library for multicore parallel programming";
2021-06-06 00:07:19 +00: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 00:07:19 +00:00
maintainers = with maintainers; [ bcdarwin ];
2019-11-24 19:10:26 +00:00
};
}