forked from mirrors/nixpkgs
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
30 lines
709 B
Nix
30 lines
709 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, lockfree
|
|
, mirage-clock-unix
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "domainslib";
|
|
version = "0.5.0";
|
|
|
|
duneVersion = "3";
|
|
minimalOCamlVersion = "5.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ocaml-multicore/domainslib/releases/download/v${version}/domainslib-${version}.tbz";
|
|
hash = "sha256-rty+9DUhTUEcN7BPl8G6Q/G/MJ6z/UAn0RPkG8hACwA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ lockfree ];
|
|
|
|
doCheck = true;
|
|
nativeCheckInputs = [ mirage-clock-unix ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ocaml-multicore/domainslib";
|
|
description = "Nested-parallel programming";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|