mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
Merge release-22.11 into staging-next-22.11
This commit is contained in:
@@ -273,12 +273,13 @@ The following methods are available on machine objects:
|
||||
|
||||
`wait_for_open_port`
|
||||
|
||||
: Wait until a process is listening on the given TCP port (on
|
||||
`localhost`, at least).
|
||||
: Wait until a process is listening on the given TCP port and IP address
|
||||
(default `localhost`).
|
||||
|
||||
`wait_for_closed_port`
|
||||
|
||||
: Wait until nobody is listening on the given TCP port.
|
||||
: Wait until nobody is listening on the given TCP port and IP address
|
||||
(default `localhost`).
|
||||
|
||||
`wait_for_x`
|
||||
|
||||
|
||||
@@ -483,8 +483,8 @@ start_all()
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Wait until a process is listening on the given TCP port (on
|
||||
<literal>localhost</literal>, at least).
|
||||
Wait until a process is listening on the given TCP port and
|
||||
IP address (default <literal>localhost</literal>).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@@ -494,7 +494,8 @@ start_all()
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Wait until nobody is listening on the given TCP port.
|
||||
Wait until nobody is listening on the given TCP port and IP
|
||||
address (default <literal>localhost</literal>).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -699,20 +699,22 @@ class Machine:
|
||||
with self.nested("waiting for file ‘{}‘".format(filename)):
|
||||
retry(check_file)
|
||||
|
||||
def wait_for_open_port(self, port: int) -> None:
|
||||
def wait_for_open_port(self, port: int, addr: str = "localhost") -> None:
|
||||
def port_is_open(_: Any) -> bool:
|
||||
status, _ = self.execute("nc -z localhost {}".format(port))
|
||||
status, _ = self.execute("nc -z {} {}".format(addr, port))
|
||||
return status == 0
|
||||
|
||||
with self.nested("waiting for TCP port {}".format(port)):
|
||||
with self.nested("waiting for TCP port {} on {}".format(port, addr)):
|
||||
retry(port_is_open)
|
||||
|
||||
def wait_for_closed_port(self, port: int) -> None:
|
||||
def wait_for_closed_port(self, port: int, addr: str = "localhost") -> None:
|
||||
def port_is_closed(_: Any) -> bool:
|
||||
status, _ = self.execute("nc -z localhost {}".format(port))
|
||||
status, _ = self.execute("nc -z {} {}".format(addr, port))
|
||||
return status != 0
|
||||
|
||||
with self.nested("waiting for TCP port {} to be closed".format(port)):
|
||||
with self.nested(
|
||||
"waiting for TCP port {} on {} to be closed".format(port, addr)
|
||||
):
|
||||
retry(port_is_closed)
|
||||
|
||||
def start_job(self, jobname: str, user: Optional[str] = None) -> Tuple[int, str]:
|
||||
|
||||
@@ -64,7 +64,6 @@ let
|
||||
|
||||
# wait for reader to be ready
|
||||
machine.wait_for_file("${readyFile}")
|
||||
machine.sleep(1)
|
||||
|
||||
# send all keys
|
||||
for key in inputs:
|
||||
@@ -78,9 +77,18 @@ let
|
||||
with open("${pkgs.writeText "tests.json" (builtins.toJSON tests)}") as json_file:
|
||||
tests = json.load(json_file)
|
||||
|
||||
# These environments used to run in the opposite order, causing the
|
||||
# following error at openvt startup.
|
||||
#
|
||||
# openvt: Couldn't deallocate console 1
|
||||
#
|
||||
# This error did not appear in successful runs.
|
||||
# I don't know the exact cause, but I it seems that openvt and X are
|
||||
# fighting over the virtual terminal. This does not appear to be a problem
|
||||
# when the X test runs first.
|
||||
keymap_environments = {
|
||||
"VT Keymap": "openvt -sw --",
|
||||
"Xorg Keymap": "DISPLAY=:0 xterm -title testterm -class testterm -fullscreen -e",
|
||||
"VT Keymap": "openvt -sw --",
|
||||
}
|
||||
|
||||
machine.wait_for_x()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, lib, makeDesktopItem
|
||||
, unzip, libsecret, libXScrnSaver, libxshmfence, wrapGAppsHook, makeWrapper
|
||||
, atomEnv, at-spi2-atk, autoPatchelfHook
|
||||
, systemd, fontconfig, libdbusmenu, glib, buildFHSUserEnvBubblewrap
|
||||
, systemd, fontconfig, libdbusmenu, glib, buildFHSUserEnvBubblewrap, wayland
|
||||
|
||||
# Populate passthru.tests
|
||||
, tests
|
||||
@@ -66,7 +66,7 @@ let
|
||||
buildInputs = [ libsecret libXScrnSaver libxshmfence ]
|
||||
++ lib.optionals (!stdenv.isDarwin) ([ at-spi2-atk ] ++ atomEnv.packages);
|
||||
|
||||
runtimeDependencies = lib.optionals stdenv.isLinux [ (lib.getLib systemd) fontconfig.lib libdbusmenu ];
|
||||
runtimeDependencies = lib.optionals stdenv.isLinux [ (lib.getLib systemd) fontconfig.lib libdbusmenu wayland ];
|
||||
|
||||
nativeBuildInputs = [ unzip ]
|
||||
++ lib.optionals stdenv.isLinux [
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"packageVersion": "108.0-1",
|
||||
"packageVersion": "108.0.1-1",
|
||||
"source": {
|
||||
"rev": "108.0-1",
|
||||
"sha256": "1gfqxlcgf7qxgisbj565ndrfhkk68py2jpwrx7k2j7zpszkb2f4m"
|
||||
"rev": "108.0.1-1",
|
||||
"sha256": "0ix8ri2s8rnpd9nqvwlk50x9hp51y70gb3r6f7lh4ldg2bay08n0"
|
||||
},
|
||||
"firefox": {
|
||||
"version": "108.0",
|
||||
"sha512": "fa800f62cca395a51b9a04373a27be48fc3860208e34ecf74d908127638d1eb8c41cf9898be6896777d408127d5c4b7104d9ee89c97da923b2dc6ea32186187e"
|
||||
"version": "108.0.1",
|
||||
"sha512": "e6219ed6324422ec293ed96868738e056582bb9f7fb82e59362541f3465c6ebca806d26ecd801156b074c3675bd5a22507b1f1fa53eebf82b7dd35f2b1ff0625"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ assert with lib.strings; (
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "palemoon";
|
||||
version = "31.4.1.1";
|
||||
version = "31.4.2";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "repo.palemoon.org";
|
||||
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
||||
repo = "Pale-Moon";
|
||||
rev = "${version}_Release";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "sha256-lr8xT9tRxVjg1DxUZuCyWuCFBPPdmkvsnmAsoX8o/6Y=";
|
||||
sha256 = "sha256-vJhjQfsa05fFNL24tUBHfKoKZG2aLXp5xBdUqqGDtAE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
, pango
|
||||
, pipewire
|
||||
, systemd
|
||||
, wayland
|
||||
, xdg-utils
|
||||
, xorg
|
||||
}:
|
||||
@@ -121,6 +122,7 @@ let
|
||||
pipewire
|
||||
stdenv.cc.cc
|
||||
systemd
|
||||
wayland
|
||||
xorg.libX11
|
||||
xorg.libXScrnSaver
|
||||
xorg.libXcomposite
|
||||
|
||||
29
pkgs/development/ocaml-modules/domainslib/default.nix
Normal file
29
pkgs/development/ocaml-modules/domainslib/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib, fetchurl, buildDunePackage
|
||||
, lockfree
|
||||
, mirage-clock-unix
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "domainslib";
|
||||
version = "0.5.0";
|
||||
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-multicore/domainslib/releases/download/v${version}/domainslib-${version}.tbz";
|
||||
hash = "sha256-rty+9DUhTUEcN7BPl8G6Q/G/MJ6z/UAn0RPkG8hACwA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ lockfree ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ mirage-clock-unix ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/ocaml-multicore/domainslib";
|
||||
description = "Nested-parallel programming";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
28
pkgs/development/ocaml-modules/dscheck/default.nix
Normal file
28
pkgs/development/ocaml-modules/dscheck/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ lib, fetchurl, buildDunePackage
|
||||
, containers
|
||||
, oseq
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "dscheck";
|
||||
version = "0.1.0";
|
||||
|
||||
minimalOCamlVersion = "5.0";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-multicore/dscheck/releases/download/${version}/dscheck-${version}.tbz";
|
||||
hash = "sha256-zoouFZJcUp71yeluVb1xLUIMcFv99OpkcQQCHkPTKcI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ containers oseq ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Traced atomics";
|
||||
homepage = "https://github.com/ocaml-multicore/dscheck";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
@@ -3,20 +3,20 @@
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
minimumOCamlVersion = "4.07";
|
||||
version = "20210511";
|
||||
minimalOCamlVersion = "4.08";
|
||||
version = "20221222";
|
||||
pname = "imagelib";
|
||||
|
||||
useDune2 = true;
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/rlepigre/ocaml-imagelib/releases/download/${version}/imagelib-${version}.tbz";
|
||||
sha256 = "1cb94ea3731dc994c205940c9434543ce3f2470cdcb2e93a3e02ed793e80d480";
|
||||
hash = "sha256-BQ2TVxGlpc6temteK84TKXpx0MtHZSykL/TjKN9xGP0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ decompress stdlib-shims ];
|
||||
|
||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||
doCheck = true;
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
meta = {
|
||||
|
||||
29
pkgs/development/ocaml-modules/lockfree/default.nix
Normal file
29
pkgs/development/ocaml-modules/lockfree/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ lib, fetchurl, buildDunePackage
|
||||
, dscheck
|
||||
, qcheck, qcheck-alcotest
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "lockfree";
|
||||
version = "0.3.0";
|
||||
|
||||
minimalOCamlVersion = "5.0";
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-multicore/lockfree/releases/download/${version}/lockfree-${version}.tbz";
|
||||
hash = "sha256-XdJR5ojFsA7bJ4aZ5rh10NjopE0NjfqQ9KitOLMh3Jo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ dscheck ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ qcheck qcheck-alcotest ];
|
||||
|
||||
meta = {
|
||||
description = "Lock-free data structures for multicore OCaml";
|
||||
homepage = "https://github.com/ocaml-multicore/lockfree";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
33
pkgs/development/ocaml-modules/oseq/default.nix
Normal file
33
pkgs/development/ocaml-modules/oseq/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ lib, fetchFromGitHub, buildDunePackage
|
||||
, seq
|
||||
, containers, qcheck
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
version = "0.4";
|
||||
pname = "oseq";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "c-cube";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FoCBvvPwa/dUCrgDEd0clEKAO7EcpedjaO4v+yUO874=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ seq ];
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
containers
|
||||
qcheck
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://c-cube.github.io/oseq/";
|
||||
description = "Purely functional iterators compatible with standard `seq`";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
@@ -1,20 +1,32 @@
|
||||
{ lib, buildDunePackage, fetchFromGitHub, ocamlnet, cpu }:
|
||||
{ lib, buildDunePackage, fetchFromGitHub, ocaml, cpu, domainslib }:
|
||||
|
||||
let params =
|
||||
if lib.versionAtLeast ocaml.version "5.00" then {
|
||||
version = "13.0.1";
|
||||
hash = "sha256-OYa0uLsDyzjmXZgWcYUxLhqco4Kp/icfDamNe3En5JQ=";
|
||||
propagatedBuildInputs = [ domainslib ];
|
||||
} else {
|
||||
version = "12.2.2";
|
||||
hash = "sha256-woZ4XJqqoRr/7mDurXYvTbSUUcLBEylzVYBQp1BAOqc=";
|
||||
propagatedBuildInputs = [ cpu ];
|
||||
}
|
||||
; in
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "parany";
|
||||
version = "12.1.2";
|
||||
inherit (params) version;
|
||||
|
||||
useDune2 = true;
|
||||
minimumOCamlVersion = "4.03.0";
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "UnixJunkie";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "yOeJzb2Wr6jA4efI9/fuqDCl/Tza3zxT3YjAiJmhHHg=";
|
||||
inherit (params) hash;
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ocamlnet cpu ];
|
||||
inherit (params) propagatedBuildInputs;
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
|
||||
@@ -91,6 +91,10 @@ buildPythonPackage rec {
|
||||
"test_spec"
|
||||
] ++ lib.optionals (stdenv.hostPlatform.isi686) [
|
||||
"test_type1mm_inputs"
|
||||
] ++ [
|
||||
# No longer succeeds in 2023
|
||||
# https://github.com/adobe-type-tools/afdko/issues/1589
|
||||
"test_ufo_fontinfo_parsing"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
|
||||
@@ -15,8 +15,8 @@ let
|
||||
ocamlPackages.buildDunePackage rec {
|
||||
inherit pname preBuild;
|
||||
version = "1.8.1";
|
||||
useDune2 = true;
|
||||
minimumOcamlVersion = "4.08.1";
|
||||
duneVersion = "3";
|
||||
minimalOcamlVersion = "4.08.1";
|
||||
doCheck = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "5.15.85";
|
||||
version = "5.15.86";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||
@@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||
sha256 = "024qhjh9mgfnanr1qd8002n6a4wpn98lajli12a0m3n9z8lsw2rc";
|
||||
sha256 = "1vpjnmwqsx6akph2nvbsv2jl7pp8b7xns3vmwbljsl23lkpxkz40";
|
||||
};
|
||||
} // (args.argsOverride or { }))
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "6.0.15";
|
||||
version = "6.0.16";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||
@@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
|
||||
sha256 = "08389890gq4b9vkvrb22lzkr4blkn3a5ma074ns19gl89wyyp16l";
|
||||
sha256 = "1r2wf3hf7yxl7lxma7plyi8pk3dmlsrpm763rf0g1h8ilsy72844";
|
||||
};
|
||||
} // (args.argsOverride or { }))
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "6.1.1";
|
||||
version = "6.1.2";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||
@@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
|
||||
sha256 = "1yqxjz0f722s2bcssqg5b6m6lvq5l4vrlh3bjviajda4rxvi7rm3";
|
||||
sha256 = "1bni72q0jjg39vqckcif57kh7d1x4k4jir5a11pz9clryp2g6hgf";
|
||||
};
|
||||
} // (args.argsOverride or { }))
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ stdenv, lib, fetchsvn, linux
|
||||
, scripts ? fetchsvn {
|
||||
url = "https://www.fsfla.org/svn/fsfla/software/linux-libre/releases/branches/";
|
||||
rev = "19001";
|
||||
sha256 = "0y2j37dgpagm0qvi66xw138mr7vpdg4ifnh24pl8aacp83xxglq9";
|
||||
rev = "19027";
|
||||
sha256 = "0g7sf48rwicwzwhjpzs82j6v3j4s17xhrgfgysdd523r07437ryv";
|
||||
}
|
||||
, ...
|
||||
}:
|
||||
|
||||
@@ -328,8 +328,12 @@ let
|
||||
|
||||
domain-name = callPackage ../development/ocaml-modules/domain-name { };
|
||||
|
||||
domainslib = callPackage ../development/ocaml-modules/domainslib { };
|
||||
|
||||
dose3 = callPackage ../development/ocaml-modules/dose3 { };
|
||||
|
||||
dscheck = callPackage ../development/ocaml-modules/dscheck { };
|
||||
|
||||
dssi = callPackage ../development/ocaml-modules/dssi { };
|
||||
|
||||
dtoa = callPackage ../development/ocaml-modules/dtoa { };
|
||||
@@ -735,6 +739,8 @@ let
|
||||
|
||||
lo = callPackage ../development/ocaml-modules/lo { };
|
||||
|
||||
lockfree = callPackage ../development/ocaml-modules/lockfree { };
|
||||
|
||||
logs = callPackage ../development/ocaml-modules/logs { };
|
||||
|
||||
lru = callPackage ../development/ocaml-modules/lru { };
|
||||
@@ -1114,6 +1120,8 @@ let
|
||||
|
||||
ordering = callPackage ../development/ocaml-modules/ordering { };
|
||||
|
||||
oseq = callPackage ../development/ocaml-modules/oseq { };
|
||||
|
||||
otfm = callPackage ../development/ocaml-modules/otfm { };
|
||||
|
||||
otoml = callPackage ../development/ocaml-modules/otoml { };
|
||||
|
||||
@@ -1847,10 +1847,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1fpyk1965py77al7iadkn5dibwgvybknkr7r8bii2dj73wvr29rh";
|
||||
sha256 = "sha256-bGRp797+NJYBAACjRvnTv3EOEaxGYeNTz1aFIyb7ECM=";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.19.0";
|
||||
version = "2.19.1";
|
||||
};
|
||||
mab = {
|
||||
groups = ["default"];
|
||||
@@ -2124,10 +2124,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0cam1455nmi3fzzpa9ixn2hsim10fbprmj62ajpd6d02mwdprwwn";
|
||||
sha256 = "sha256-0+4A8mwVF2PaFpHH/Ghx3dA+Uy90+FEB9aztwtCZ6Vg=";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.13.9";
|
||||
version = "1.13.10";
|
||||
};
|
||||
octokit = {
|
||||
dependencies = ["faraday" "sawyer"];
|
||||
|
||||
Reference in New Issue
Block a user