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

25 lines
613 B
Nix
Raw Normal View History

2021-04-05 16:02:51 +02:00
{ lib, buildDunePackage, fetchurl, dune-configurator }:
2019-11-24 20:10:26 +01:00
buildDunePackage rec {
pname = "parmap";
2021-03-01 19:48:09 +01:00
version = "1.2";
2019-11-24 20:10:26 +01:00
2021-04-05 16:02:51 +02:00
useDune2 = true;
2020-03-14 15:45:15 +01:00
src = fetchurl {
2019-11-24 20:10:26 +01:00
url = "https://github.com/rdicosmo/${pname}/releases/download/${version}/${pname}-${version}.tbz";
2021-03-01 19:48:09 +01:00
sha256 = "sha256-XUXptzD0eytaypaBQ+EBp4iVFRE6/Y0inS93t/YZrM8=";
2019-11-24 20:10:26 +01:00
};
2021-04-05 16:02:51 +02:00
buildInputs = [ dune-configurator ];
2019-11-24 20:10:26 +01:00
doCheck = true;
meta = with lib; {
description = "Library for multicore parallel programming";
homepage = "https://rdicosmo.github.io/parmap";
maintainers = [ maintainers.bcdarwin ];
license = licenses.lgpl2;
};
}