ocamlPackages.uuseg: 15.0.0 → 15.1.0
This commit is contained in:
parent
4494fcaab7
commit
c097f4ad57
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, uucp, uutf, cmdliner
|
{ 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"
|
, cmdlinerSupport ? lib.versionAtLeast cmdliner.version "1.1"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -10,11 +11,14 @@ in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
name = "ocaml${ocaml.version}-${pname}-${version}";
|
||||||
version = "15.0.0";
|
inherit version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "${webpage}/releases/${pname}-${version}.tbz";
|
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 ];
|
nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
|
||||||
|
|
Loading…
Reference in a new issue