Merge pull request #67324 from vbgl/ocaml-vg-0.9.3

ocamlPackages.vg: 0.9.1 -> 0.9.3
This commit is contained in:
Samuel Leathers 2019-08-23 23:57:55 -04:00 committed by GitHub
commit 765a71f150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];