From deb70bd200e9dd8e483e05cd8638979c42045edd Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 26 Apr 2022 17:30:45 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.uuuu:=200.2.0=20=E2=86=92=200.3.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/uuuu/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/development/ocaml-modules/uuuu/default.nix b/pkgs/development/ocaml-modules/uuuu/default.nix index 4f400d1ec75b..d2895ce68e67 100644 --- a/pkgs/development/ocaml-modules/uuuu/default.nix +++ b/pkgs/development/ocaml-modules/uuuu/default.nix @@ -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 ];