Skip to content

Commit

Permalink
update tcpip, ca-certs, dns, mirage-crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Aug 24, 2024
1 parent 3949edf commit 2be2bce
Showing 1 changed file with 72 additions and 4 deletions.
76 changes: 72 additions & 4 deletions ocaml/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,17 @@ with oself;
};
};

ca-certs = osuper.ca-certs.overrideAttrs (_: {
src = builtins.fetchurl {
url = "https://github.com/mirage/ca-certs/releases/download/v1.0.0/ca-certs-1.0.0.tbz";
sha256 = "0wha5i3f5dz2l01lh5nl4yq2gdhnxj2bd8fqyaclfwj64cqz5446";
};
});

ca-certs-nss = osuper.ca-certs-nss.overrideAttrs (_: {
src = builtins.fetchurl {
url = "https://github.com/mirage/ca-certs-nss/releases/download/v3.101-1/ca-certs-nss-3.101-1.tbz";
sha256 = "05kmmp89psfz5w06wh699vg5i5rg2rd5v2lnpvrbknwcbg6yggsc";
url = "https://github.com/mirage/ca-certs-nss/releases/download/v3.103/ca-certs-nss-3.103.tbz";
sha256 = "0330d9j9j0j6ipj336sbifpai2h60z0s2879rrp11f0q9h2hy734";
};
});

Expand Down Expand Up @@ -627,6 +634,47 @@ with oself;
propagatedBuildInputs = [ decompress ];
};

digestif = osuper.digestif.overrideAttrs (_: {
src = builtins.fetchurl {
url = "https://github.com/mirage/digestif/releases/download/v1.2.0/digestif-1.2.0.tbz";
sha256 = "0255nb9wjpkdh9v0w9p5y5s79zcqcdg3wsw0cx9nd6i7zv56h0f3";
};
postPatch = ''
rm -rf fuzz
'';
});

dns = osuper.dns.overrideAttrs (_: {
src = fetchFromGitHub {
owner = "mirage";
repo = "ocaml-dns";
rev = "5876a18b72118c3f328f011a066c2106c0d18048";
sha256 = "sha256-Qvfa2eLsn/OLE/SGkeAsNrOj2vz92Qb5JFSF8qUZ21g=";
};
propagatedBuildInputs = [
logs
ptime
fmt
domain-name
gmap
ipaddr
lru
duration
metrics
ohex
base64
];
});
dns-client-lwt = osuper.dns-client-lwt.overrideAttrs (o: {
propagatedBuildInputs = o.propagatedBuildInputs ++ [ happy-eyeballs-lwt ];
});
dns-client-mirage = osuper.dns-client-mirage.overrideAttrs (o: {
propagatedBuildInputs = o.propagatedBuildInputs ++ [ happy-eyeballs-mirage ];
});
dns-tsig = osuper.dns-tsig.overrideAttrs (o: {
propagatedBuildInputs = o.propagatedBuildInputs ++ [ digestif ];
});

domainslib = osuper.domainslib.overrideAttrs (o: {
src = builtins.fetchurl {
url = "https://github.com/ocaml-multicore/domainslib/releases/download/0.5.1/domainslib-0.5.1.tbz";
Expand Down Expand Up @@ -1235,8 +1283,8 @@ with oself;

mirage-crypto = osuper.mirage-crypto.overrideAttrs (o: {
src = builtins.fetchurl {
url = "https://github.com/mirage/mirage-crypto/releases/download/v1.0.0/mirage-crypto-1.0.0.tbz";
sha256 = "0sa7hv7hdwn51zl68y0jm0qcs46ahh8w0ianbvlfwh349yphd6sg";
url = "https://github.com/mirage/mirage-crypto/releases/download/v1.1.0/mirage-crypto-1.1.0.tbz";
sha256 = "0lv3afzql0jgv4wnjxs8n3agfjn3s2fg685hr8ilkmgalxkrf667";
};
propagatedBuildInputs = [ eqaf ];
checkInputs = o.checkInputs ++ [ ohex ];
Expand All @@ -1248,6 +1296,9 @@ with oself;
doCheck = false;
propagatedBuildInputs = o.propagatedBuildInputs ++ [ digestif ];
});
mirage-crypto-rng-mirage = osuper.mirage-crypto-rng-mirage.overrideAttrs (o: {
checkInputs = o.checkInputs ++ [ ohex ];
});

mirage-runtime = osuper.mirage-runtime.overrideAttrs (_: {
src = builtins.fetchurl {
Expand Down Expand Up @@ -1983,6 +2034,13 @@ with oself;
];
});

randomconv = osuper.randomconv.overrideAttrs (_: {
src = builtins.fetchurl {
url = "https://github.com/hannesm/randomconv/releases/download/v0.2.0/randomconv-0.2.0.tbz";
sha256 = "1sk3bdfz1nlqrivp8vy3slpbhqw858gc5zwjix3a8hg30zgiw5xk";
};
});

reanalyze = buildDunePackage {
pname = "reanalyze";
version = "2.25.1";
Expand Down Expand Up @@ -2200,6 +2258,16 @@ with oself;
];
};

tcpip = osuper.tcpip.overrideAttrs (o: {
src = builtins.fetchurl {
url = "https://github.com/mirage/mirage-tcpip/releases/download/v8.2.0/tcpip-8.2.0.tbz";
sha256 = "1vfnnys2hqlw02g1sqxys7w3kmrsjvs2k0fv8k27cxl9pa56hvli";
};
propagatedBuildInputs = o.propagatedBuildInputs ++ [ mirage-crypto-rng-mirage ];
checkInputs = o.checkInputs ++ [ mirage-crypto-rng ohex ];
doCheck = false;
});

textmate-language = buildDunePackage {
pname = "textmate-language";
version = "0.3.4";
Expand Down

0 comments on commit 2be2bce

Please sign in to comment.