mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
ocamlPackages.parany: 13.0.1 -> 14.0.0
This commit is contained in:
parent
884c620600
commit
4d3a8e215a
@ -1,35 +1,22 @@
|
||||
{ lib, buildDunePackage, fetchFromGitHub, ocaml, cpu, domainslib }:
|
||||
|
||||
let params =
|
||||
if lib.versionAtLeast ocaml.version "5.00" then {
|
||||
version = "13.0.1";
|
||||
hash = "sha256-OYa0uLsDyzjmXZgWcYUxLhqco4Kp/icfDamNe3En5JQ=";
|
||||
propagatedBuildInputs = [ domainslib ];
|
||||
} else {
|
||||
version = "12.2.2";
|
||||
hash = "sha256-woZ4XJqqoRr/7mDurXYvTbSUUcLBEylzVYBQp1BAOqc=";
|
||||
propagatedBuildInputs = [ cpu ];
|
||||
}
|
||||
; in
|
||||
{ lib, buildDunePackage, fetchFromGitHub, cpu }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "parany";
|
||||
inherit (params) version;
|
||||
version = "14.0.0";
|
||||
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "UnixJunkie";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
inherit (params) hash;
|
||||
hash = "sha256-L5jHm3gZ2XIJ7jMUb/KvpSa/bnprEX75/P3BCMSe9Ok=";
|
||||
};
|
||||
|
||||
inherit (params) propagatedBuildInputs;
|
||||
propagatedBuildInputs = [ cpu ];
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
homepage = "https://github.com/UnixJunkie/parany";
|
||||
description = "Generalized map/reduce for multicore computing";
|
||||
maintainers = [ maintainers.bcdarwin ];
|
||||
license = licenses.lgpl2;
|
||||
|
Loading…
Reference in New Issue
Block a user