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