Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 54 lines 982 B view raw
1{ lib 2, fetchurl 3, buildDunePackage 4, h2 5, httpaf 6, mimic-happy-eyeballs 7, mirage-clock 8, paf 9, tcpip 10, x509 11, alcotest-lwt 12, mirage-clock-unix 13, mirage-crypto-rng 14, mirage-time-unix 15}: 16 17buildDunePackage rec { 18 pname = "http-mirage-client"; 19 version = "0.0.3"; 20 21 duneVersion = "3"; 22 minimalOCamlVersion = "4.08"; 23 24 src = fetchurl { 25 url = "https://github.com/roburio/http-mirage-client/releases/download/v${version}/http-mirage-client-${version}.tbz"; 26 hash = "sha256-6PMxZQfPiDTFbj9gOO2tW5FHF0MUP5tOySjkYg+QwGA="; 27 }; 28 29 propagatedBuildInputs = [ 30 h2 31 httpaf 32 mimic-happy-eyeballs 33 mirage-clock 34 paf 35 tcpip 36 x509 37 ]; 38 39 doCheck = true; 40 checkInputs = [ 41 alcotest-lwt 42 mirage-clock-unix 43 mirage-crypto-rng 44 mirage-time-unix 45 ]; 46 47 meta = { 48 description = "HTTP client for MirageOS"; 49 homepage = "https://github.com/roburio/http-mirage-client"; 50 license = lib.licenses.mit; 51 maintainers = [ lib.maintainers.vbgl ]; 52 }; 53 54}