push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
{
lib,
fetchurl,
buildDunePackage,
ounit,
angstrom,
stringext,
}:
buildDunePackage rec {
minimalOCamlVersion = "4.03";
pname = "uri";
version = "4.4.0";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";
sha256 = "cdabaf6ef5cd2161e59cc7b74c6e4a68ecb80a9f4e96002e338e1b6bf17adec4";
};
checkInputs = [ ounit ];
propagatedBuildInputs = [
angstrom
stringext
];
doCheck = true;
meta = {
homepage = "https://github.com/mirage/ocaml-uri";
description = "RFC3986 URI parsing library for OCaml";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@@ -0,0 +1,28 @@
{
lib,
ocaml,
buildDunePackage,
uri,
ounit,
ppx_sexp_conv,
sexplib0,
}:
if lib.versionOlder ocaml.version "4.04" then
throw "uri-sexp is not available for OCaml ${ocaml.version}"
else
buildDunePackage {
pname = "uri-sexp";
inherit (uri) version src meta;
duneVersion = "3";
checkInputs = [ ounit ];
propagatedBuildInputs = [
ppx_sexp_conv
sexplib0
uri
];
doCheck = lib.versionAtLeast ocaml.version "4.08";
}