about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/vg
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-08-23 05:48:33 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2019-08-23 05:56:38 +0000
commit4b1e33a312c20a815a49240708f3b6213f3f83f6 (patch)
treed156a7d2d577c1ddd73b283f66a3c9f8a54e1ffe /pkgs/development/ocaml-modules/vg
parentdfc6d580bcc76f92a7ef2ab502a18ea4251594c2 (diff)
downloadnixlib-4b1e33a312c20a815a49240708f3b6213f3f83f6.tar
nixlib-4b1e33a312c20a815a49240708f3b6213f3f83f6.tar.gz
nixlib-4b1e33a312c20a815a49240708f3b6213f3f83f6.tar.bz2
nixlib-4b1e33a312c20a815a49240708f3b6213f3f83f6.tar.lz
nixlib-4b1e33a312c20a815a49240708f3b6213f3f83f6.tar.xz
nixlib-4b1e33a312c20a815a49240708f3b6213f3f83f6.tar.zst
nixlib-4b1e33a312c20a815a49240708f3b6213f3f83f6.zip
ocamlPackages.vg: 0.9.1 -> 0.9.3
Diffstat (limited to 'pkgs/development/ocaml-modules/vg')
-rw-r--r--pkgs/development/ocaml-modules/vg/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/vg/default.nix b/pkgs/development/ocaml-modules/vg/default.nix
index cffbd77351c2..9980b3f10830 100644
--- a/pkgs/development/ocaml-modules/vg/default.nix
+++ b/pkgs/development/ocaml-modules/vg/default.nix
@@ -11,11 +11,13 @@ let
   inherit (stdenv.lib) optionals versionAtLeast;
 
   pname = "vg";
-  version = "0.9.1";
+  version = "0.9.3";
   webpage = "https://erratique.ch/software/${pname}";
 in
 
-assert versionAtLeast ocaml.version "4.02.0";
+if !versionAtLeast ocaml.version "4.03"
+then throw "vg is not available for OCaml ${ocaml.version}"
+else
 
 stdenv.mkDerivation rec {
 
@@ -23,7 +25,7 @@ stdenv.mkDerivation rec {
 
   src = fetchurl {
     url = "${webpage}/releases/${pname}-${version}.tbz";
-    sha256 = "07h9a464v0x066mjg3ldkaq94ah47b7rvh54z4rndrg7v6bk7kyp";
+    sha256 = "0jj5hrqxdb6yyplnz0r7am4mbjzgcn876qp7sqs2x93a97fk6lwd";
   };
 
   buildInputs = [ ocaml findlib ocamlbuild topkg ];