ocamlPackages.uuuu: 0.3.0 -> 0.4.0

This commit is contained in:
R. Ryantm
2025-11-28 13:34:50 +00:00
committed by Weijia Wang
parent e5c1c34026
commit 55ff879009
@@ -1,32 +1,18 @@
{
angstrom,
buildDunePackage,
fetchurl,
findlib,
lib,
ocaml,
re,
}:
buildDunePackage rec {
pname = "uuuu";
version = "0.3.0";
version = "0.4.0";
src = fetchurl {
url = "https://github.com/mirage/uuuu/releases/download/v${version}/uuuu-${version}.tbz";
sha256 = "sha256:19n39yc7spgzpk9i70r0nhkwsb0bfbvbgpf8d863p0a3wgryhzkb";
hash = "sha256-5+GNk9s36ZocrAjuvlDIiQTq6WF9q0M8j3h/TakrGSg=";
};
postPatch = ''
substituteInPlace src/dune --replace 'ocaml} ' \
'ocaml} -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib '
'';
nativeBuildInputs = [ findlib ];
buildInputs = [ angstrom ];
checkInputs = [ re ];
doCheck = true;
duneVersion = "3";