mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #67324 from vbgl/ocaml-vg-0.9.3
ocamlPackages.vg: 0.9.1 -> 0.9.3
This commit is contained in:
commit
765a71f150
1 changed files with 5 additions and 3 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue