From 73a22ba300583b1e5247bac9778d7653d21e6ad3 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 8 Apr 2022 08:32:52 +0200 Subject: ocamlPackages.coin: 0.1.3 → 0.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/coin/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'pkgs/development/ocaml-modules/coin') diff --git a/pkgs/development/ocaml-modules/coin/default.nix b/pkgs/development/ocaml-modules/coin/default.nix index f2e0919bdee..0ff2ce94041 100644 --- a/pkgs/development/ocaml-modules/coin/default.nix +++ b/pkgs/development/ocaml-modules/coin/default.nix @@ -1,20 +1,19 @@ { buildDunePackage -, fetchzip +, fetchurl , findlib , lib -, menhir , ocaml , re }: buildDunePackage rec { pname = "coin"; - version = "0.1.3"; + version = "0.1.4"; minimalOCamlVersion = "4.03"; - src = fetchzip { - url = "https://github.com/mirage/coin/releases/download/v${version}/coin-v${version}.tbz"; - sha256 = "06bfidvglyp9hzvr2xwbdx8wf26is2xrzc31fldzjf5ab0vd076p"; + src = fetchurl { + url = "https://github.com/mirage/coin/releases/download/v${version}/coin-${version}.tbz"; + sha256 = "sha256:0069qqswd1ik5ay3d5q1v1pz0ql31kblfsnv0ax0z8jwvacp3ack"; }; postPatch = '' @@ -22,9 +21,7 @@ buildDunePackage rec { 'ocaml} -I ${findlib}/lib/ocaml/${ocaml.version}/site-lib ' ''; - useDune2 = true; - - nativeBuildInputs = [ menhir findlib ]; + nativeBuildInputs = [ findlib ]; buildInputs = [ re ]; strictDeps = true; -- cgit 1.4.1