nixpkgs/pkgs/development/ocaml-modules/parany/default.nix
2021-12-22 10:30:50 +01:00

26 lines
590 B
Nix

{ lib, buildDunePackage, fetchFromGitHub, ocamlnet, cpu }:
buildDunePackage rec {
pname = "parany";
version = "12.1.2";
useDune2 = true;
minimumOCamlVersion = "4.03.0";
src = fetchFromGitHub {
owner = "UnixJunkie";
repo = pname;
rev = "v${version}";
sha256 = "yOeJzb2Wr6jA4efI9/fuqDCl/Tza3zxT3YjAiJmhHHg=";
};
propagatedBuildInputs = [ ocamlnet cpu ];
meta = with lib; {
inherit (src.meta) homepage;
description = "Generalized map/reduce for multicore computing";
maintainers = [ maintainers.bcdarwin ];
license = licenses.lgpl2;
};
}