ocamlPackages.uuuu: 0.2.0 → 0.3.0

This commit is contained in:
Vincent Laporte 2022-04-26 17:30:45 +02:00 committed by Vincent Laporte
parent 53bc699e2c
commit deb70bd200

View file

@ -1,20 +1,19 @@
{ angstrom
, buildDunePackage
, fetchzip
, fetchurl
, findlib
, lib
, menhir
, ocaml
, re
}:
buildDunePackage rec {
pname = "uuuu";
version = "0.2.0";
version = "0.3.0";
src = fetchzip {
url = "https://github.com/mirage/uuuu/releases/download/v${version}/uuuu-v${version}.tbz";
sha256 = "0457qcxvakbbc56frsh8a5v4y4l0raj9p4zz7jx3brn9255j1mw3";
src = fetchurl {
url = "https://github.com/mirage/uuuu/releases/download/v${version}/uuuu-${version}.tbz";
sha256 = "sha256:19n39yc7spgzpk9i70r0nhkwsb0bfbvbgpf8d863p0a3wgryhzkb";
};
postPatch = ''
@ -22,9 +21,7 @@ buildDunePackage rec {
'ocaml} -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib '
'';
useDune2 = true;
nativeBuildInputs = [ menhir findlib ];
nativeBuildInputs = [ findlib ];
buildInputs = [ angstrom ];