Unverified Commit 27413a10 authored by Yifei Sun's avatar Yifei Sun
Browse files

ocamlPackages.http-mirage-client: fix test on darwin, migrate source

parent 19b93bd0
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -12,14 +12,16 @@
  mirage-crypto-rng,
}:

buildDunePackage rec {
buildDunePackage (finalAttrs: {
  pname = "http-mirage-client";
  version = "0.0.10";

  minimalOCamlVersion = "4.08";

  __darwinAllowLocalNetworking = true;

  src = fetchurl {
    url = "https://github.com/roburio/http-mirage-client/releases/download/v${version}/http-mirage-client-${version}.tbz";
    url = "https://github.com/robur-coop/http-mirage-client/releases/download/v${finalAttrs.version}/http-mirage-client-${finalAttrs.version}.tbz";
    hash = "sha256-AXEIH1TIAayD4LkFv0yGD8OYvcdC/AJnGudGlkjcWLY=";
  };

@@ -40,9 +42,9 @@ buildDunePackage rec {

  meta = {
    description = "HTTP client for MirageOS";
    homepage = "https://github.com/roburio/http-mirage-client";
    homepage = "https://github.com/robur-coop/http-mirage-client";
    changelog = "https://github.com/robur-coop/http-mirage-client/blob/v${finalAttrs.version}/CHANGES.md";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.vbgl ];
  };

}
})