tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
Merge #232237: staging-next 2023-05-16
Vladimír Čunát
2 years ago
c11cd401
9c826022
+104
-35
17 changed files
expand all
collapse all
unified
split
pkgs
development
interpreters
ruby
default.nix
rubygems
default.nix
libraries
grpc
default.nix
libcamera
default.nix
pipewire
0060-libjack-path.patch
default.nix
python-modules
grpcio-status
default.nix
grpcio-tools
default.nix
sqlalchemy
default.nix
wrapt
default.nix
ruby-modules
bundler
default.nix
tools
misc
pahole
default.nix
threading-reproducibility.patch
os-specific
linux
alsa-project
alsa-ucm-conf
default.nix
servers
sql
postgresql
default.nix
x11
xorg
default.nix
tarballs.list
+16
-3
pkgs/development/interpreters/ruby/default.nix
···
15
15
config = import ./config.nix { inherit fetchFromSavannah; };
16
16
rubygems = import ./rubygems { inherit stdenv lib fetchurl; };
17
17
18
18
+
openssl3Gem = fetchFromGitHub {
19
19
+
owner = "ruby";
20
20
+
repo = "openssl";
21
21
+
rev = "v3.0.2";
22
22
+
hash = "sha256-KhuKRP1JkMJv7CagGRQ0KKGOd5Oh0FP0fbj0VZ4utGo=";
23
23
+
};
24
24
+
18
25
# Contains the ruby version heuristics
19
26
rubyVersion = import ./ruby-version.nix { inherit lib; };
20
27
···
84
91
++ (op fiddleSupport libffi)
85
92
++ (ops cursesSupport [ ncurses readline ])
86
93
++ (op zlibSupport zlib)
87
87
-
++ (op (!atLeast31 && opensslSupport) openssl_1_1)
88
88
-
++ (op (atLeast31 && opensslSupport) openssl)
94
94
+
++ (op (atLeast30 && opensslSupport) openssl)
95
95
+
++ (op (!atLeast30 && opensslSupport) openssl_1_1)
89
96
++ (op gdbmSupport gdbm)
90
97
++ (op yamlSupport libyaml)
91
98
# Looks like ruby fails to build on darwin without readline even if curses
···
113
120
url = "https://github.com/ruby/ruby/commit/0acc05caf7518cd0d63ab02bfa036455add02346.patch";
114
121
sha256 = "sha256-43hI9L6bXfeujgmgKFVmiWhg7OXvshPCCtQ4TxqK1zk=";
115
122
})
116
116
-
]
123
123
+
]
117
124
++ ops (!atLeast30 && rubygemsSupport) [
118
125
# We upgrade rubygems to a version that isn't compatible with the
119
126
# ruby 2.7 installer. Backport the upstream fix.
···
149
156
rm -rf $sourceRoot/{lib,test}/rubygems*
150
157
cp -r ${rubygems}/lib/rubygems* $sourceRoot/lib
151
158
cp -r ${rubygems}/test/rubygems $sourceRoot/test
159
159
+
'' + opString (ver.majMin == "3.0" && opensslSupport) ''
160
160
+
# Replace the Gem by a OpenSSL3-compatible one.
161
161
+
echo "Hotpatching the OpenSSL gem with a 3.x series for OpenSSL 3 support..."
162
162
+
cp -vr ${openssl3Gem}/ext/openssl $sourceRoot/ext/
163
163
+
cp -vr ${openssl3Gem}/lib/ $sourceRoot/ext/openssl/
164
164
+
cp -vr ${openssl3Gem}/{History.md,openssl.gemspec} $sourceRoot/ext/openssl/
152
165
'';
153
166
154
167
postPatch = ''
+2
-2
pkgs/development/interpreters/ruby/rubygems/default.nix
···
2
2
3
3
stdenv.mkDerivation rec {
4
4
pname = "rubygems";
5
5
-
version = "3.4.12";
5
5
+
version = "3.4.13";
6
6
7
7
src = fetchurl {
8
8
url = "https://rubygems.org/rubygems/rubygems-${version}.tgz";
9
9
-
sha256 = "sha256-WFCnwvw4DN09pwShznuwSNQtSACTPfULiSAmW1hF4Vs=";
9
9
+
sha256 = "sha256-s/7KCbf07zezuASA7E03t83UDY6W/fFw9bljOprXWls=";
10
10
};
11
11
12
12
patches = [
+2
-2
pkgs/development/libraries/grpc/default.nix
···
21
21
22
22
stdenv.mkDerivation rec {
23
23
pname = "grpc";
24
24
-
version = "1.54.0"; # N.B: if you change this, please update:
24
24
+
version = "1.54.2"; # N.B: if you change this, please update:
25
25
# pythonPackages.grpcio-tools
26
26
# pythonPackages.grpcio-status
27
27
···
29
29
owner = "grpc";
30
30
repo = "grpc";
31
31
rev = "v${version}";
32
32
-
hash = "sha256-WVH7rYyFx2LyAnctnNbX4KevoJ5KKZujN+SmL0Y6wvw=";
32
32
+
hash = "sha256-OIRqH+h8Kjbw3X5slpdCfNN0f027WuvHG3q7KUuSWo8=";
33
33
fetchSubmodules = true;
34
34
};
35
35
+2
-2
pkgs/development/libraries/libcamera/default.nix
···
21
21
22
22
stdenv.mkDerivation rec {
23
23
pname = "libcamera";
24
24
-
version = "0.0.3";
24
24
+
version = "0.0.5";
25
25
26
26
src = fetchgit {
27
27
url = "https://git.libcamera.org/libcamera/libcamera.git";
28
28
rev = "v${version}";
29
29
-
hash = "sha256-0/wvH07bJRKFwYnOARRJNzH8enIX3TNnWQnJdfpfvgE=";
29
29
+
hash = "sha256-rd1YIEosg4+H/FJBYCoxdQlV9F0evU5fckHJrSdVPOE=";
30
30
};
31
31
32
32
outputs = [ "out" "dev" "doc" ];
+26
pkgs/development/libraries/pipewire/0060-libjack-path.patch
···
1
1
+
diff --git a/src/modules/meson.build b/src/modules/meson.build
2
2
+
index 5d2dc9984..35f5773aa 100644
3
3
+
--- a/src/modules/meson.build
4
4
+
+++ b/src/modules/meson.build
5
5
+
@@ -169,6 +169,7 @@ if build_module_jack_tunnel
6
6
+
install_dir : modules_install_dir,
7
7
+
install_rpath: modules_install_dir,
8
8
+
dependencies : [mathlib, dl_lib, pipewire_dep],
9
9
+
+ c_args: '-DNIXPKGS_LIBJACK_PATH="@0@"'.format(jack_dep.get_variable('libdir'))
10
10
+
)
11
11
+
build_module_jackdbus_detect = dbus_dep.found()
12
12
+
if build_module_jackdbus_detect
13
13
+
diff --git a/src/modules/module-jack-tunnel/weakjack.h b/src/modules/module-jack-tunnel/weakjack.h
14
14
+
index 42580f798..e7aadd3cc 100644
15
15
+
--- a/src/modules/module-jack-tunnel/weakjack.h
16
16
+
+++ b/src/modules/module-jack-tunnel/weakjack.h
17
17
+
@@ -164,8 +164,7 @@ static inline int weakjack_load(struct weakjack *jack, const char *lib)
18
18
+
19
19
+
search_dirs = getenv("LIBJACK_PATH");
20
20
+
if (!search_dirs)
21
21
+
- search_dirs = PREFIX "/lib64/:" PREFIX "/lib/:"
22
22
+
- "/usr/lib64/:/usr/lib/:" LIBDIR;
23
23
+
+ search_dirs = NIXPKGS_LIBJACK_PATH;
24
24
+
25
25
+
while ((p = pw_split_walk(search_dirs, ":", &len, &state))) {
26
26
+
int pathlen;
+4
-2
pkgs/development/libraries/pipewire/default.nix
···
73
73
74
74
self = stdenv.mkDerivation rec {
75
75
pname = "pipewire";
76
76
-
version = "0.3.70";
76
76
+
version = "0.3.71";
77
77
78
78
outputs = [
79
79
"out"
···
91
91
owner = "pipewire";
92
92
repo = "pipewire";
93
93
rev = version;
94
94
-
sha256 = "sha256-xhJzE6JcfNcLMm+TqTIPaBEnEthEqUZiTqhWz1fO5Ng=";
94
94
+
sha256 = "sha256-NPYWl+WeI/z70gNHX1BAKslGFX634D7XrV04vuJgGOo=";
95
95
};
96
96
97
97
patches = [
···
99
99
./0040-alsa-profiles-use-libdir.patch
100
100
# Change the path of the pipewire-pulse binary in the service definition.
101
101
./0050-pipewire-pulse-path.patch
102
102
+
# Load libjack from a known location
103
103
+
./0060-libjack-path.patch
102
104
# Move installed tests into their own output.
103
105
./0070-installed-tests-path.patch
104
106
# Add option for changing the config install directory
+2
-2
pkgs/development/python-modules/grpcio-status/default.nix
···
9
9
10
10
buildPythonPackage rec {
11
11
pname = "grpcio-status";
12
12
-
version = "1.54.0";
12
12
+
version = "1.54.2";
13
13
format = "setuptools";
14
14
15
15
disabled = pythonOlder "3.6";
16
16
17
17
src = fetchPypi {
18
18
inherit pname version;
19
19
-
hash = "sha256-tQMF1SwN9haUk8yl8uObm013Oz8w1Kemtt18GMuJAHw=";
19
19
+
hash = "sha256-MlXL7Ft8cGyqPU3VhGBsCA5kFeFWMbsvYhXitwBVg20=";
20
20
};
21
21
22
22
postPatch = ''
+2
-2
pkgs/development/python-modules/grpcio-tools/default.nix
···
2
2
3
3
buildPythonPackage rec {
4
4
pname = "grpcio-tools";
5
5
-
version = "1.54.0";
5
5
+
version = "1.54.2";
6
6
format = "setuptools";
7
7
8
8
src = fetchPypi {
9
9
inherit pname version;
10
10
-
hash = "sha256-33msv1mZcBjhMXE7cWov3bVVbhhA6fud5MpzvyBZWQ4=";
10
10
+
hash = "sha256-4RwsKu5T80CZLo5NalkXLLu9AZPxNR3pjE+BClBB1co=";
11
11
};
12
12
13
13
postPatch = ''
+2
-2
pkgs/development/python-modules/sqlalchemy/default.nix
···
41
41
42
42
buildPythonPackage rec {
43
43
pname = "SQLAlchemy";
44
44
-
version = "2.0.9";
44
44
+
version = "2.0.13";
45
45
format = "pyproject";
46
46
47
47
disabled = pythonOlder "3.7";
···
50
50
owner = "sqlalchemy";
51
51
repo = "sqlalchemy";
52
52
rev = "refs/tags/rel_${lib.replaceStrings [ "." ] [ "_" ] version}";
53
53
-
hash = "sha256-0WlRZ7Kv6owtZB+PDFKk+8dxEL4p3QQrRPq8eQd2PqM=";
53
53
+
hash = "sha256-tKxzKv0Ng0saybeFJNleCN5D8gOFw4z9m858OeddJH0=";
54
54
};
55
55
56
56
nativeBuildInputs =[
+8
pkgs/development/python-modules/wrapt/default.nix
···
2
2
, buildPythonPackage
3
3
, fetchFromGitHub
4
4
, pytestCheckHook
5
5
+
, sphinxHook
6
6
+
, sphinx-rtd-theme
5
7
}:
6
8
7
9
buildPythonPackage rec {
8
10
pname = "wrapt";
9
11
version = "1.14.1";
12
12
+
outputs = [ "out" "doc" ];
10
13
format = "setuptools";
11
14
12
15
src = fetchFromGitHub {
···
18
21
19
22
nativeCheckInputs = [
20
23
pytestCheckHook
24
24
+
];
25
25
+
26
26
+
nativeBuildInputs = [
27
27
+
sphinxHook
28
28
+
sphinx-rtd-theme
21
29
];
22
30
23
31
pythonImportsCheck = [
+2
-2
pkgs/development/ruby-modules/bundler/default.nix
···
4
4
inherit ruby;
5
5
name = "${gemName}-${version}";
6
6
gemName = "bundler";
7
7
-
version = "2.4.12";
8
8
-
source.sha256 = "sha256-y1VM1Pi/Rx0XeTff5vUv7mCtcLtKr3ENcnD6SiTezk0=";
7
7
+
version = "2.4.13";
8
8
+
source.sha256 = "sha256-EWU6pa5QfG29Vb9+m+iSbZmvrJtsDAjToZOK/rPnWos=";
9
9
dontPatchShebangs = true;
10
10
11
11
postFixup = ''
+2
pkgs/development/tools/misc/pahole/default.nix
···
26
26
musl-obstack
27
27
];
28
28
29
29
+
patches = [ ./threading-reproducibility.patch ];
30
30
+
29
31
# Put libraries in "lib" subdirectory, not top level of $out
30
32
cmakeFlags = [ "-D__LIB=lib" "-DLIBBPF_EMBEDDED=OFF" ];
31
33
+18
pkgs/development/tools/misc/pahole/threading-reproducibility.patch
···
1
1
+
diff --git a/pahole.c b/pahole.c
2
2
+
index 6fc4ed6..a4e306f 100644
3
3
+
--- a/pahole.c
4
4
+
+++ b/pahole.c
5
5
+
@@ -1687,8 +1687,11 @@ static error_t pahole__options_parser(int key, char *arg,
6
6
+
class_name = arg; break;
7
7
+
case 'j':
8
8
+
#if _ELFUTILS_PREREQ(0, 178)
9
9
+
- conf_load.nr_jobs = arg ? atoi(arg) :
10
10
+
- sysconf(_SC_NPROCESSORS_ONLN) * 1.1;
11
11
+
+ // Force single thread if reproducibility is desirable.
12
12
+
+ if (!getenv("SOURCE_DATE_EPOCH")) {
13
13
+
+ conf_load.nr_jobs = arg ? atoi(arg) :
14
14
+
+ sysconf(_SC_NPROCESSORS_ONLN) * 1.1;
15
15
+
+ }
16
16
+
#else
17
17
+
fputs("pahole: Multithreading requires elfutils >= 0.178. Continuing with a single thread...\n", stderr);
18
18
+
#endif
+2
-2
pkgs/os-specific/linux/alsa-project/alsa-ucm-conf/default.nix
···
2
2
3
3
stdenv.mkDerivation rec {
4
4
pname = "alsa-ucm-conf";
5
5
-
version = "1.2.8";
5
5
+
version = "1.2.9";
6
6
7
7
src = fetchurl {
8
8
url = "mirror://alsa/lib/${pname}-${version}.tar.bz2";
9
9
-
hash = "sha256-/uSnN4MP0l+WnYPaRqKyMb6whu/ZZvzAfSJeeCMmCug=";
9
9
+
hash = "sha256-N09oM7/XfQpGdeSqK/t53v6FDlpGpdRUKkWWL0ueJyo=";
10
10
};
11
11
12
12
dontBuild = true;
+10
-10
pkgs/servers/sql/postgresql/default.nix
···
290
290
291
291
mkPackages = self: {
292
292
postgresql_11 = self.callPackage generic {
293
293
-
version = "11.19";
293
293
+
version = "11.20";
294
294
psqlSchema = "11.1"; # should be 11, but changing it is invasive
295
295
-
hash = "sha256-ExCeK3HxE5QFwnIB2jczphrOcu4cIo2cnwMg4GruFMI=";
295
295
+
hash = "sha256-PXyIgvZKfphTSgRCV9/uerrXelt9oSUI2F1yK5i1rM4=";
296
296
this = self.postgresql_11;
297
297
thisAttr = "postgresql_11";
298
298
inherit self;
299
299
};
300
300
301
301
postgresql_12 = self.callPackage generic {
302
302
-
version = "12.14";
302
302
+
version = "12.15";
303
303
psqlSchema = "12";
304
304
-
hash = "sha256-eFYQI304LIQtNW40cTjljAb/6uJA5swLUqxevMMNBD4=";
304
304
+
hash = "sha256-u1IG4oZMHEV5k4uW6mCW0VXyKr8tLMKqV1cePEyxKzY=";
305
305
this = self.postgresql_12;
306
306
thisAttr = "postgresql_12";
307
307
inherit self;
308
308
};
309
309
310
310
postgresql_13 = self.callPackage generic {
311
311
-
version = "13.10";
311
311
+
version = "13.11";
312
312
psqlSchema = "13";
313
313
-
hash = "sha256-W7z1pW2FxE86iwWPtGhi/0nLyRg00H4pXQLm3jwhbfI=";
313
313
+
hash = "sha256-SZL/ZHIDVmtnDU5U3FMXSZomhWyTV20OqVG99r7lC/s=";
314
314
this = self.postgresql_13;
315
315
thisAttr = "postgresql_13";
316
316
inherit self;
317
317
};
318
318
319
319
postgresql_14 = self.callPackage generic {
320
320
-
version = "14.7";
320
320
+
version = "14.8";
321
321
psqlSchema = "14";
322
322
-
hash = "sha256-zvYPAJj6gQHBVG9CVORbcir1QxM3lFs3ryBwB2MNszE=";
322
322
+
hash = "sha256-OdOPADBzftA4Nd6+7+47N9M1RizkmV4kl7w41iHr5Fo=";
323
323
this = self.postgresql_14;
324
324
thisAttr = "postgresql_14";
325
325
inherit self;
326
326
};
327
327
328
328
postgresql_15 = self.callPackage generic {
329
329
-
version = "15.2";
329
329
+
version = "15.3";
330
330
psqlSchema = "15";
331
331
-
hash = "sha256-maIXH8PWtbX1a3V6ejy4XVCaOOQnOAXe8jlB7SuEaMc=";
331
331
+
hash = "sha256-/8fUiR8A/79cP06rf7vO2EYLjA7mPFpRZxM7nmWZ2TI=";
332
332
this = self.postgresql_15;
333
333
thisAttr = "postgresql_15";
334
334
inherit self;
+3
-3
pkgs/servers/x11/xorg/default.nix
···
1453
1453
# THIS IS A GENERATED FILE. DO NOT EDIT!
1454
1454
libxcvt = callPackage ({ stdenv, pkg-config, fetchurl, meson, ninja }: stdenv.mkDerivation {
1455
1455
pname = "libxcvt";
1456
1456
-
version = "0.1.1";
1456
1456
+
version = "0.1.2";
1457
1457
builder = ./builder.sh;
1458
1458
src = fetchurl {
1459
1459
-
url = "mirror://xorg/individual/lib/libxcvt-0.1.1.tar.xz";
1460
1460
-
sha256 = "0acc7vrj5kfb19zvyl7f29rnsvx383dvwc19k70r8prm1lccxsr7";
1459
1459
+
url = "mirror://xorg/individual/lib/libxcvt-0.1.2.tar.xz";
1460
1460
+
sha256 = "0f6vf47lay9y288n8yg9ckjgz5ypn2hnp03ipp7javkr8h2njq85";
1461
1461
};
1462
1462
hardeningDisable = [ "bindnow" "relro" ];
1463
1463
strictDeps = true;
+1
-1
pkgs/servers/x11/xorg/tarballs.list
···
180
180
mirror://xorg/individual/lib/libxcb-1.14.tar.xz
181
181
mirror://xorg/individual/lib/libXcomposite-0.4.5.tar.bz2
182
182
mirror://xorg/individual/lib/libXcursor-1.2.0.tar.bz2
183
183
-
mirror://xorg/individual/lib/libxcvt-0.1.1.tar.xz
183
183
+
mirror://xorg/individual/lib/libxcvt-0.1.2.tar.xz
184
184
mirror://xorg/individual/lib/libXdamage-1.1.5.tar.bz2
185
185
mirror://xorg/individual/lib/libXdmcp-1.1.3.tar.bz2
186
186
mirror://xorg/individual/lib/libXext-1.3.4.tar.bz2