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

25 lines
613 B
Nix
Raw Normal View History

2021-04-05 15:02:51 +01:00
{ lib, buildDunePackage, fetchurl, dune-configurator }:
2019-11-24 19:10:26 +00:00
buildDunePackage rec {
pname = "parmap";
2021-03-01 18:48:09 +00:00
version = "1.2";
2019-11-24 19:10:26 +00:00
2021-04-05 15:02:51 +01:00
useDune2 = true;
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-03-01 18:48:09 +00:00
sha256 = "sha256-XUXptzD0eytaypaBQ+EBp4iVFRE6/Y0inS93t/YZrM8=";
2019-11-24 19:10:26 +00:00
};
2021-04-05 15:02:51 +01:00
buildInputs = [ dune-configurator ];
2019-11-24 19:10:26 +00:00
doCheck = true;
meta = with lib; {
description = "Library for multicore parallel programming";
homepage = "https://rdicosmo.github.io/parmap";
maintainers = [ maintainers.bcdarwin ];
license = licenses.lgpl2;
};
}