Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 31 lines 705 B view raw
1{ lib 2, fetchurl 3, buildDunePackage 4, lockfree 5, mirage-clock-unix 6}: 7 8buildDunePackage rec { 9 pname = "domainslib"; 10 version = "0.5.0"; 11 12 duneVersion = "3"; 13 minimalOCamlVersion = "5.0"; 14 15 src = fetchurl { 16 url = "https://github.com/ocaml-multicore/domainslib/releases/download/v${version}/domainslib-${version}.tbz"; 17 hash = "sha256-rty+9DUhTUEcN7BPl8G6Q/G/MJ6z/UAn0RPkG8hACwA="; 18 }; 19 20 propagatedBuildInputs = [ lockfree ]; 21 22 doCheck = true; 23 checkInputs = [ mirage-clock-unix ]; 24 25 meta = { 26 homepage = "https://github.com/ocaml-multicore/domainslib"; 27 description = "Nested-parallel programming"; 28 license = lib.licenses.isc; 29 maintainers = [ lib.maintainers.vbgl ]; 30 }; 31}