mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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"
|
||||
then throw "re is not available for OCaml ${ocaml.version}"
|
||||
@ -6,14 +6,15 @@ else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ocaml${ocaml.version}-re-${version}";
|
||||
version = "1.7.3";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/ocaml/ocaml-re/archive/${version}.tar.gz";
|
||||
sha256 = "1pb6w9wqg6gzcfaaw6ckv1bqjgjpmrzzqz7r0mp9w16qbf3i54zr";
|
||||
sha256 = "0ch6hvmm4ym3w2vghjxf3ka5j1023a37980fqi4zcb7sx756z20i";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib jbuilder ounit ];
|
||||
propagatedBuildInputs = [ seq ];
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = "jbuilder runtest";
|
||||
|
Loading…
Reference in New Issue
Block a user