Skip to content

Commit

Permalink
ocamlPackages.uucd: 15.0.0 → 15.1.0
Browse files Browse the repository at this point in the history
ocamlPackages.uucp: 15.0.0 → 15.1.0
  • Loading branch information
vbgl committed Jan 12, 2024
1 parent ae2e47d commit cde2c09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/ocaml-modules/uucd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ let
in
stdenv.mkDerivation rec {
name = "ocaml-${pname}-${version}";
version = "15.0.0";
version = "15.1.0";

src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
sha256 = "sha256-DksDi6Dfe/fNGBmeubwxv9dScTHPJRuaPrlX7M8QRrw=";
hash = "sha256-HIANZ5SDJcytlpw/W9Ae2eFTutrutJj2PgJCfByobfI=";
};

nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
Expand Down
10 changes: 5 additions & 5 deletions pkgs/development/ocaml-modules/uucp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

let
pname = "uucp";
version = "15.0.0";
version = "15.1.0";
webpage = "https://erratique.ch/software/${pname}";
minimumOCamlVersion = "4.03";
minimalOCamlVersion = "4.03";
doCheck = true;
in

if lib.versionOlder ocaml.version minimumOCamlVersion
then builtins.throw "${pname} needs at least OCaml ${minimumOCamlVersion}"
if lib.versionOlder ocaml.version minimalOCamlVersion
then builtins.throw "${pname} needs at least OCaml ${minimalOCamlVersion}"
else

stdenv.mkDerivation {
Expand All @@ -18,7 +18,7 @@ stdenv.mkDerivation {

src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
sha256 = "sha256-rEeU9AWpCzuAtAOe7hJHBmJjP97BZsQsPFQQ8uZLUzA=";
hash = "sha256-qR5LiAZHt4oD3ak0x17GqbYXNaJmJxFk/WGoxT+yWYc=";
};

nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];
Expand Down

0 comments on commit cde2c09

Please sign in to comment.