about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/uucp
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-02-07 23:43:11 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2021-02-16 21:30:18 +0100
commit4931abed9e47ec63bb636d52fb70449e9b1f080f (patch)
tree944275f065b396d2a6e4cd9dca76c9f3f1de1f22 /pkgs/development/ocaml-modules/uucp
parent8a2bd1342e06b5ee9e6f3c3847d3e2dc2e4e38fe (diff)
ocamlPackages.uucp: 11.0.0 -> 13.0.0
Now requires ocaml >= 4.03
Diffstat (limited to 'pkgs/development/ocaml-modules/uucp')
-rw-r--r--pkgs/development/ocaml-modules/uucp/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/uucp/default.nix b/pkgs/development/ocaml-modules/uucp/default.nix
index 020b256c72f54..536f0eb788490 100644
--- a/pkgs/development/ocaml-modules/uucp/default.nix
+++ b/pkgs/development/ocaml-modules/uucp/default.nix
@@ -2,11 +2,13 @@
 
 let
   pname = "uucp";
-  version = "11.0.0";
+  version = "13.0.0";
   webpage = "https://erratique.ch/software/${pname}";
+  minimumOCamlVersion = "4.03";
 in
 
-assert lib.versionAtLeast ocaml.version "4.01";
+assert lib.assertMsg (lib.versionAtLeast ocaml.version minimumOCamlVersion)
+  "${pname} needs at least OCaml ${minimumOCamlVersion}";
 
 stdenv.mkDerivation {
 
@@ -14,7 +16,7 @@ stdenv.mkDerivation {
 
   src = fetchurl {
     url = "${webpage}/releases/${pname}-${version}.tbz";
-    sha256 = "0pidg2pmqsifmk4xx9cc5p5jprhg26xb68g1xddjm7sjzbdzhlm4";
+    sha256 = "sha256-OPpHbCOC/vMFdyHwyhCSisUv2PyO8xbeY2oq1a9HbqY=";
   };
 
   buildInputs = [ ocaml findlib ocamlbuild topkg uutf uunf ];