Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 lwt, 6 duration, 7 version ? "4.0.0", 8}: 9 10buildDunePackage { 11 inherit version; 12 pname = "mirage-sleep"; 13 14 src = fetchurl { 15 url = "https://github.com/mirage/mirage-sleep/releases/download/v${version}/mirage-sleep-${version}.tbz"; 16 hash = "sha256-J7cw7sE3EE3BIhSdwD1KV3VeXjEqviVmys3LgGhEE/A="; 17 }; 18 19 propagatedBuildInputs = [ 20 duration 21 lwt 22 ]; 23 24 meta = { 25 description = "Sleep operations for MirageOS"; 26 homepage = "https://github.com/mirage/mirage-sleep"; 27 changelog = "https://raw.githubusercontent.com/mirage/mirage-sleep/refs/tags/v${version}/CHANGES.md"; 28 license = lib.licenses.isc; 29 maintainers = [ lib.maintainers.vbgl ]; 30 }; 31}