ocamlPackages.batteries: 3.1.0 → 3.2.0
This commit is contained in:
parent
b6bca3d806
commit
389ac5f00e
@ -1,22 +1,15 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, ocaml, findlib, ocamlbuild, qtest, num }:
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, qtest, num }:
|
||||||
|
|
||||||
let version = "3.1.0"; in
|
let version = "3.2.0"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ocaml${ocaml.version}-batteries-${version}";
|
name = "ocaml${ocaml.version}-batteries-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ocaml-batteries-team/batteries-included/releases/download/v${version}/batteries-${version}.tar.gz";
|
url = "https://github.com/ocaml-batteries-team/batteries-included/releases/download/v${version}/batteries-${version}.tar.gz";
|
||||||
sha256 = "0bq1np3ai3r559s3vivn45yid25fwz76rvbmsg30j57j7cyr3jqm";
|
sha256 = "0a77njgc6c6kz4rpwqgmnii7f1na6hzsa55nqqm3dndhq9xh628w";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fix a test case
|
|
||||||
patches = [(fetchpatch {
|
|
||||||
url = "https://github.com/ocaml-batteries-team/batteries-included/commit/7cbd9617d4efa5b3d647b1cc99d9a25fa01ac6dd.patch";
|
|
||||||
sha256 = "0q4kq10psr7n1xdv4rspk959n1a5mk9524pzm5v68ab2gkcgm8sk";
|
|
||||||
|
|
||||||
})];
|
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ocamlbuild ];
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
||||||
checkInputs = [ qtest ];
|
checkInputs = [ qtest ];
|
||||||
propagatedBuildInputs = [ num ];
|
propagatedBuildInputs = [ num ];
|
||||||
|
Loading…
Reference in New Issue
Block a user