Skip to content

Commit

Permalink
Merge pull request NixOS#67324 from vbgl/ocaml-vg-0.9.3
Browse files Browse the repository at this point in the history
ocamlPackages.vg: 0.9.1 -> 0.9.3
  • Loading branch information
disassembler authored Aug 24, 2019
2 parents 3ad7a6a + 4b1e33a commit 765a71f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/development/ocaml-modules/vg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@ 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 {

name = "ocaml${ocaml.version}-${pname}-${version}";

src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
sha256 = "07h9a464v0x066mjg3ldkaq94ah47b7rvh54z4rndrg7v6bk7kyp";
sha256 = "0jj5hrqxdb6yyplnz0r7am4mbjzgcn876qp7sqs2x93a97fk6lwd";
};

buildInputs = [ ocaml findlib ocamlbuild topkg ];
Expand Down

0 comments on commit 765a71f

Please sign in to comment.