ocamlPackages.javalib: 3.2.1 → 3.2.2
This commit is contained in:
parent
3875a3e3e1
commit
8281faf75a
|
@ -8,19 +8,18 @@
|
||||||
, extlib
|
, extlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
if lib.versionOlder ocaml.version "4.04"
|
lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08")
|
||||||
then throw "javalib is not available for OCaml ${ocaml.version}"
|
"javalib is not available for OCaml ${ocaml.version}"
|
||||||
else
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ocaml${ocaml.version}-javalib";
|
pname = "ocaml${ocaml.version}-javalib";
|
||||||
version = "3.2.1";
|
version = "3.2.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "javalib-team";
|
owner = "javalib-team";
|
||||||
repo = "javalib";
|
repo = "javalib";
|
||||||
rev = "v${version}";
|
rev = version;
|
||||||
sha256 = "sha256-du1h+S+A7CetMXofsYxdGeSsobCgspDB9oUE9WNUbbo=";
|
hash = "sha256-XaI7GTU/O5UEWuYX4yqaIRmEoH7FuvCg/+gtKbE/P1s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ which ocaml findlib ];
|
nativeBuildInputs = [ which ocaml findlib ];
|
||||||
|
|
Loading…
Reference in a new issue