ocamlPackages.re: 1.7.3 -> 1.8.0
This commit is contained in:
parent
f0a0ccabcc
commit
48708a9c43
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchzip, ocaml, findlib, jbuilder, ounit }:
|
{ stdenv, fetchzip, ocaml, findlib, jbuilder, ounit, seq }:
|
||||||
|
|
||||||
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
|
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
|
||||||
then throw "re is not available for OCaml ${ocaml.version}"
|
then throw "re is not available for OCaml ${ocaml.version}"
|
||||||
@ -6,14 +6,15 @@ else
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ocaml${ocaml.version}-re-${version}";
|
name = "ocaml${ocaml.version}-re-${version}";
|
||||||
version = "1.7.3";
|
version = "1.8.0";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/ocaml/ocaml-re/archive/${version}.tar.gz";
|
url = "https://github.com/ocaml/ocaml-re/archive/${version}.tar.gz";
|
||||||
sha256 = "1pb6w9wqg6gzcfaaw6ckv1bqjgjpmrzzqz7r0mp9w16qbf3i54zr";
|
sha256 = "0ch6hvmm4ym3w2vghjxf3ka5j1023a37980fqi4zcb7sx756z20i";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib jbuilder ounit ];
|
buildInputs = [ ocaml findlib jbuilder ounit ];
|
||||||
|
propagatedBuildInputs = [ seq ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkPhase = "jbuilder runtest";
|
checkPhase = "jbuilder runtest";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user