lol

Merge pull request #212910 from vbgl/ocaml-javalib-3.2.2

ocamlPackages.javalib: 3.2.1 → 3.2.2; sawja: 1.5.11 → 1.5.12

authored by

Weijia Wang and committed by
GitHub
9469779e 03c9c3e5

+9 -11
+5 -6
pkgs/development/ocaml-modules/javalib/default.nix
··· 8 8 , extlib 9 9 }: 10 10 11 - if lib.versionOlder ocaml.version "4.04" 12 - then throw "javalib is not available for OCaml ${ocaml.version}" 13 - else 11 + lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08") 12 + "javalib is not available for OCaml ${ocaml.version}" 14 13 15 14 stdenv.mkDerivation rec { 16 15 pname = "ocaml${ocaml.version}-javalib"; 17 - version = "3.2.1"; 16 + version = "3.2.2"; 18 17 19 18 src = fetchFromGitHub { 20 19 owner = "javalib-team"; 21 20 repo = "javalib"; 22 - rev = "v${version}"; 23 - sha256 = "sha256-du1h+S+A7CetMXofsYxdGeSsobCgspDB9oUE9WNUbbo="; 21 + rev = version; 22 + hash = "sha256-XaI7GTU/O5UEWuYX4yqaIRmEoH7FuvCg/+gtKbE/P1s="; 24 23 }; 25 24 26 25 nativeBuildInputs = [ which ocaml findlib ];
+4 -5
pkgs/development/ocaml-modules/sawja/default.nix
··· 2 2 3 3 let 4 4 pname = "sawja"; 5 - version = "1.5.11"; 5 + version = "1.5.12"; 6 6 in 7 7 8 - if lib.versionOlder ocaml.version "4.07" 9 - then throw "${pname} is not available for OCaml ${ocaml.version}" 10 - else 8 + lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08") 9 + "${pname} is not available for OCaml ${ocaml.version}" 11 10 12 11 stdenv.mkDerivation { 13 12 ··· 19 18 owner = "javalib-team"; 20 19 repo = pname; 21 20 rev = version; 22 - sha256 = "sha256-1aKkRZDuLJLmDhUC1FXnn4QrgXaTyAbnXfTOAdnKgs8="; 21 + hash = "sha256-G1W8/G0TEcldnFnH/NAb9a6ZSGGP2fWTM47lI8bBHnw="; 23 22 }; 24 23 25 24 nativeBuildInputs = [ which ocaml findlib ];