nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 50 lines 1.0 kB view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 h2, 6 h1, 7 mimic-happy-eyeballs, 8 paf, 9 tcpip, 10 x509, 11 alcotest-lwt, 12 mirage-crypto-rng, 13}: 14 15buildDunePackage (finalAttrs: { 16 pname = "http-mirage-client"; 17 version = "0.0.10"; 18 19 minimalOCamlVersion = "4.08"; 20 21 __darwinAllowLocalNetworking = true; 22 23 src = fetchurl { 24 url = "https://github.com/robur-coop/http-mirage-client/releases/download/v${finalAttrs.version}/http-mirage-client-${finalAttrs.version}.tbz"; 25 hash = "sha256-AXEIH1TIAayD4LkFv0yGD8OYvcdC/AJnGudGlkjcWLY="; 26 }; 27 28 propagatedBuildInputs = [ 29 h2 30 h1 31 mimic-happy-eyeballs 32 paf 33 tcpip 34 x509 35 ]; 36 37 doCheck = true; 38 checkInputs = [ 39 alcotest-lwt 40 mirage-crypto-rng 41 ]; 42 43 meta = { 44 description = "HTTP client for MirageOS"; 45 homepage = "https://github.com/robur-coop/http-mirage-client"; 46 changelog = "https://github.com/robur-coop/http-mirage-client/blob/v${finalAttrs.version}/CHANGES.md"; 47 license = lib.licenses.mit; 48 maintainers = [ lib.maintainers.vbgl ]; 49 }; 50})