Merge staging-next into staging
This commit is contained in:
@@ -14,6 +14,10 @@ stdenv.mkDerivation {
|
||||
sha256 = "1fslfj5d7fhj3f7kh558b8mk5wllwyq4rnhfkyd96fpy144sdcka";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.ml --replace js_of_ocaml.ocamlbuild js_of_ocaml-ocamlbuild
|
||||
'';
|
||||
|
||||
buildInputs = [ which ] ++ (with ocamlPackages; [
|
||||
ocaml findlib ocamlbuild menhir js_of_ocaml js_of_ocaml-ocamlbuild
|
||||
]);
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "janet";
|
||||
version = "1.10.0";
|
||||
version = "1.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "janet-lang";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0kx3c4v0481b4xx239w10ajwp8ngq8smxzh3m77dazd89r997n1g";
|
||||
sha256 = "18k6dzxzr149p0bby4r0z6kybylig87rwj7gk3z6a98zf6k4xmsw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja ];
|
||||
|
||||
@@ -8,7 +8,7 @@ let
|
||||
{ callPackage, lib, stdenv, nixosTests, config, fetchurl, makeWrapper
|
||||
, symlinkJoin, writeText, autoconf, automake, bison, flex, libtool
|
||||
, pkgconfig, re2c, apacheHttpd, libargon2, libxml2, pcre, pcre2
|
||||
, systemd, valgrind
|
||||
, systemd, valgrind, xcbuild
|
||||
|
||||
, version
|
||||
, sha256
|
||||
@@ -143,7 +143,8 @@ let
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
nativeBuildInputs = [ autoconf automake bison flex libtool pkgconfig re2c ];
|
||||
nativeBuildInputs = [ autoconf automake bison flex libtool pkgconfig re2c ]
|
||||
++ lib.optional stdenv.isDarwin xcbuild;
|
||||
|
||||
buildInputs =
|
||||
# PCRE extension
|
||||
@@ -177,7 +178,10 @@ let
|
||||
++ lib.optional (!cliSupport) "--disable-cli"
|
||||
++ lib.optional fpmSupport "--enable-fpm"
|
||||
++ lib.optional pearSupport [ "--with-pear=$(out)/lib/php/pear" "--enable-xml" "--with-libxml" ]
|
||||
++ lib.optional (pearSupport && (lib.versionOlder version "7.4")) "--enable-libxml"
|
||||
++ lib.optionals (pearSupport && (lib.versionOlder version "7.4")) [
|
||||
"--enable-libxml"
|
||||
"--with-libxml-dir=${libxml2.dev}"
|
||||
]
|
||||
++ lib.optional pharSupport "--enable-phar"
|
||||
++ lib.optional phpdbgSupport "--enable-phpdbg"
|
||||
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
diff --git a/ext/zlib/tests/bug55544.phpt b/ext/zlib/tests/bug55544.phpt
|
||||
index a0d22f4fcebf4846da6781f424f87821626de5ea..e650fe6909f555d04834f4c08f7fd0d354b783e2 100644
|
||||
--- a/ext/zlib/tests/bug55544.phpt
|
||||
+++ b/ext/zlib/tests/bug55544.phpt
|
||||
@@ -6,6 +6,9 @@ extension_loaded("zlib") or die("skip");
|
||||
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
||||
die("skip not for windows");
|
||||
}
|
||||
+if (PHP_OS == "Darwin") {
|
||||
+ die("skip not for darwin");
|
||||
+}
|
||||
?>
|
||||
--INI--
|
||||
output_handler=ob_gzhandler
|
||||
diff --git a/ext/zlib/tests/gzencode_variation1.phpt b/ext/zlib/tests/gzencode_variation1.phpt
|
||||
index c966b2cbc5b7..2f953168fa22 100644
|
||||
--- a/ext/zlib/tests/gzencode_variation1.phpt
|
||||
+++ b/ext/zlib/tests/gzencode_variation1.phpt
|
||||
@@ -10,6 +10,10 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) {
|
||||
if (!extension_loaded("zlib")) {
|
||||
print "skip - ZLIB extension not loaded";
|
||||
}
|
||||
+
|
||||
+if (PHP_OS == "Darwin") {
|
||||
+ print "skip - OS is encoded in headers, tested header is non Darwin";
|
||||
+}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
diff --git a/ext/zlib/tests/gzencode_variation2.phpt b/ext/zlib/tests/gzencode_variation2.phpt
|
||||
index 94ac42a5f1cd..9160cf519751 100644
|
||||
--- a/ext/zlib/tests/gzencode_variation2.phpt
|
||||
+++ b/ext/zlib/tests/gzencode_variation2.phpt
|
||||
@@ -10,6 +10,10 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) {
|
||||
if (!extension_loaded("zlib")) {
|
||||
print "skip - ZLIB extension not loaded";
|
||||
}
|
||||
+
|
||||
+if (PHP_OS == "Darwin") {
|
||||
+ print "skip - OS is encoded in headers, tested header is non Darwin";
|
||||
+}
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zef";
|
||||
version = "0.8.4";
|
||||
version = "0.8.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ugexe";
|
||||
repo = "zef";
|
||||
rev = "v${version}";
|
||||
sha256 = "02a3awnjr1mgb9275xvp3xms80vcxkq55ffi8sbjzxpwyadj5y5k";
|
||||
sha256 = "17a5ns0ph8626q3b4wv9v2n0zqmhqbqyzjzxa387kr19qs933yy6";
|
||||
};
|
||||
|
||||
buildInputs = [ rakudo makeWrapper ];
|
||||
|
||||
Reference in New Issue
Block a user