From c097f4ad57643c1ffd15c4a74c15741e2315762a Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 30 Jan 2024 06:03:43 +0100 Subject: ocamlPackages.uuseg: 15.0.0 → 15.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/ocaml-modules/uuseg/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pkgs/development/ocaml-modules/uuseg/default.nix') diff --git a/pkgs/development/ocaml-modules/uuseg/default.nix b/pkgs/development/ocaml-modules/uuseg/default.nix index 6a97c5bbc33a..a277bffd85f3 100644 --- a/pkgs/development/ocaml-modules/uuseg/default.nix +++ b/pkgs/development/ocaml-modules/uuseg/default.nix @@ -1,4 +1,5 @@ { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, uucp, uutf, cmdliner +, version ? if lib.versionAtLeast ocaml.version "4.14" then "15.1.0" else "15.0.0" , cmdlinerSupport ? lib.versionAtLeast cmdliner.version "1.1" }: @@ -10,11 +11,14 @@ in stdenv.mkDerivation rec { name = "ocaml${ocaml.version}-${pname}-${version}"; - version = "15.0.0"; + inherit version; src = fetchurl { url = "${webpage}/releases/${pname}-${version}.tbz"; - sha256 = "sha256-q8x3bia1QaKpzrWFxUmLWIraKqby7TuPNGvbSjkY4eM="; + hash = { + "15.1.0" = "sha256-IPI3Wd51HzX4n+uGcgc04us29jMjnKbGgVEAdp0CVMU="; + "15.0.0" = "sha256-q8x3bia1QaKpzrWFxUmLWIraKqby7TuPNGvbSjkY4eM="; + }."${version}"; }; nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ]; -- cgit 1.4.1