Merge master into staging-next

Changed files
+201 -268
nixos
modules
hardware
tests
pkgs
applications
editors
orbiton
pulsar
emulators
networking
cluster
instant-messengers
signal-cli
juju
radio
by-name
sc
scdoc
development
libraries
python-modules
azure-storage-blob
hap-python
localstack
losant-rest
pydrawise
rjsmin
simple-websocket
twilio
tools
goa
misc
pest-ide-tools
zprint
os-specific
linux
device-tree
kernel
hardened
zfs
servers
frr
monitoring
prometheus
shairport-sync
sickbeard
web-apps
tools
admin
audio
audiowaveform
misc
calamares-nixos-extensions
top-level
+47 -19
nixos/modules/hardware/device-tree.nix
···
};
filterDTBs = src: if cfg.filter == null
-
then "${src}/dtbs"
+
then src
else
pkgs.runCommand "dtbs-filtered" {} ''
mkdir -p $out
-
cd ${src}/dtbs
+
cd ${src}
find . -type f -name '${cfg.filter}' -print0 \
| xargs -0 cp -v --no-preserve=mode --target-directory $out --parents
'';
-
filteredDTBs = filterDTBs cfg.kernelPackage;
-
-
# Compile single Device Tree overlay source
-
# file (.dts) into its compiled variant (.dtbo)
-
compileDTS = name: f: pkgs.callPackage({ stdenv, dtc }: stdenv.mkDerivation {
-
name = "${name}-dtbo";
-
-
nativeBuildInputs = [ dtc ];
-
-
buildCommand = ''
-
$CC -E -nostdinc -I${getDev cfg.kernelPackage}/lib/modules/${cfg.kernelPackage.modDirVersion}/source/scripts/dtc/include-prefixes -undef -D__DTS__ -x assembler-with-cpp ${f} | \
-
dtc -I dts -O dtb -@ -o $out
-
'';
-
}) {};
+
filteredDTBs = filterDTBs cfg.dtbSource;
# Fill in `dtboFile` for each overlay if not set already.
# Existence of one of these is guarded by assertion below
withDTBOs = xs: flip map xs (o: o // { dtboFile =
+
let
+
includePaths = ["${getDev cfg.kernelPackage}/lib/modules/${cfg.kernelPackage.modDirVersion}/source/scripts/dtc/include-prefixes"] ++ cfg.dtboBuildExtraIncludePaths;
+
extraPreprocessorFlags = cfg.dtboBuildExtraPreprocessorFlags;
+
in
if o.dtboFile == null then
-
if o.dtsFile != null then compileDTS o.name o.dtsFile
-
else compileDTS o.name (pkgs.writeText "dts" o.dtsText)
+
let
+
dtsFile = if o.dtsFile == null then (pkgs.writeText "dts" o.dtsText) else o.dtsFile;
+
in
+
pkgs.deviceTree.compileDTS {
+
name = "${o.name}-dtbo";
+
inherit includePaths extraPreprocessorFlags dtsFile;
+
}
else o.dtboFile; } );
in
···
example = literalExpression "pkgs.linux_latest";
type = types.path;
description = lib.mdDoc ''
-
Kernel package containing the base device-tree (.dtb) to boot. Uses
+
Kernel package where device tree include directory is from. Also used as default source of dtb package to apply overlays to
+
'';
+
};
+
+
dtboBuildExtraPreprocessorFlags = mkOption {
+
default = [];
+
example = literalExpression "[ \"-DMY_DTB_DEFINE\" ]";
+
type = types.listOf types.str;
+
description = lib.mdDoc ''
+
Additional flags to pass to the preprocessor during dtbo compilations
+
'';
+
};
+
+
dtboBuildExtraIncludePaths = mkOption {
+
default = [];
+
example = literalExpression ''
+
[
+
./my_custom_include_dir_1
+
./custom_include_dir_2
+
]
+
'';
+
type = types.listOf types.path;
+
description = lib.mdDoc ''
+
Additional include paths that will be passed to the preprocessor when creating the final .dts to compile into .dtbo
+
'';
+
};
+
+
dtbSource = mkOption {
+
default = "${cfg.kernelPackage}/dtbs";
+
defaultText = literalExpression "\${cfg.kernelPackage}/dtbs";
+
type = types.path;
+
description = lib.mdDoc ''
+
Path to dtb directory that overlays and other processing will be applied to. Uses
device trees bundled with the Linux kernel by default.
'';
};
-1
nixos/tests/kernel-generic.nix
···
linux_5_10_hardened
linux_5_15_hardened
linux_6_1_hardened
-
linux_6_4_hardened
linux_6_5_hardened
linux_rt_5_4
linux_rt_5_10
+2 -2
pkgs/applications/editors/orbiton/default.nix
···
buildGoModule rec {
pname = "orbiton";
-
version = "2.65.0";
+
version = "2.65.1";
src = fetchFromGitHub {
owner = "xyproto";
repo = "orbiton";
rev = "v${version}";
-
hash = "sha256-ul5E5xOtH5qh5tNE+S/VhUOr079wHwgtXF7ZIAwGzgU=";
+
hash = "sha256-ebtzhir6nBnIawkJJq+BgXv/5CbXtbhujXkMBzQEsNY=";
};
vendorHash = null;
+3 -3
pkgs/applications/editors/pulsar/default.nix
···
let
pname = "pulsar";
-
version = "1.108.0";
+
version = "1.109.0";
sourcesPath = {
x86_64-linux.tarname = "Linux.${pname}-${version}.tar.gz";
-
x86_64-linux.hash = "sha256-9wxMKekowNkFX+m3h2ZeTXu/uMLyPi6IIbseJ16shG4=";
+
x86_64-linux.hash = "sha256-pIm3mI1YdfapxXgIciSHtI4LeqMw5RdYTnH+eHUQ4Yo=";
aarch64-linux.tarname = "ARM.Linux.${pname}-${version}-arm64.tar.gz";
-
aarch64-linux.hash = "sha256-GdPnmhMZR3Y2WB2j98JEWomdKFZuTgxN8oga/tBwA4U=";
+
aarch64-linux.hash = "sha256-KIY/qzfl7CU0YwIgQlNHoAMhLfrTbQe7ZZvzdkUVw+M=";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
newLibpath = lib.makeLibraryPath [
+15 -113
pkgs/applications/emulators/vice/default.nix
···
, perl
, libpng
, giflib
-
, libjpeg
, alsa-lib
, readline
, libGLU
, libGL
-
, libXaw
, pkg-config
-
, gtk2
+
, gtk3
+
, glew
, SDL
, SDL_image
-
, autoreconfHook
-
, makeDesktopItem
, dos2unix
+
, runtimeShell
, xa
, file
+
, wrapGAppsHook
+
, xdg-utils
}:
-
let
-
desktopItems = [
-
(makeDesktopItem {
-
name = "x128";
-
exec = "x128";
-
comment = "VICE: C128 Emulator";
-
desktopName = "VICE: C128 Emulator";
-
genericName = "Commodore 128 emulator";
-
categories = [ "System" ];
-
})
-
-
(makeDesktopItem {
-
name = "x64dtv";
-
exec = "x64dtv";
-
comment = "VICE: C64 DTV Emulator";
-
desktopName = "VICE: C64 DTV Emulator";
-
genericName = "Commodore 64 DTV emulator";
-
categories = [ "System" ];
-
})
-
-
(makeDesktopItem {
-
name = "x64sc";
-
exec = "x64sc";
-
comment = "VICE: C64 Emulator";
-
desktopName = "VICE: C64 Emulator";
-
genericName = "Commodore 64 SC emulator";
-
categories = [ "System" ];
-
})
-
-
(makeDesktopItem {
-
name = "xcbm2";
-
exec = "xcbm2";
-
comment = "VICE: CBM-II B-Model Emulator";
-
desktopName = "VICE: CBM-II B-Model Emulator";
-
genericName = "CBM-II B-Model Emulator";
-
categories = [ "System" ];
-
})
-
-
(makeDesktopItem {
-
name = "xcbm5x0";
-
exec = "xcbm5x0";
-
comment = "VICE: CBM-II P-Model Emulator";
-
desktopName = "VICE: CBM-II P-Model Emulator";
-
genericName = "CBM-II P-Model Emulator";
-
categories = [ "System" ];
-
})
-
-
(makeDesktopItem {
-
name = "xpet";
-
exec = "xpet";
-
comment = "VICE: PET Emulator";
-
desktopName = "VICE: PET Emulator";
-
genericName = "Commodore PET Emulator";
-
categories = [ "System" ];
-
})
-
-
(makeDesktopItem {
-
name = "xplus4";
-
exec = "xplus4";
-
comment = "VICE: PLUS4 Emulator";
-
desktopName = "VICE: PLUS4 Emulator";
-
genericName = "Commodore PLUS4 Emulator";
-
categories = [ "System" ];
-
})
-
-
(makeDesktopItem {
-
name = "xscpu64";
-
exec = "xscpu64";
-
comment = "VICE: SCPU64 Emulator";
-
desktopName = "VICE: SCPU64 Emulator";
-
genericName = "Commodore SCPU64 Emulator";
-
categories = [ "System" ];
-
})
-
-
(makeDesktopItem {
-
name = "xvic";
-
exec = "xvic";
-
comment = "VICE: VIC-20 Emulator";
-
desktopName = "VICE: VIC-20 Emulator";
-
genericName = "Commodore VIC-20 Emulator";
-
categories = [ "System" ];
-
})
-
-
(makeDesktopItem {
-
name = "vsid";
-
exec = "vsid";
-
comment = "VSID: The SID Emulator";
-
desktopName = "VSID: The SID Emulator";
-
genericName = "SID Emulator";
-
categories = [ "System" ];
-
})
-
];
-
in
stdenv.mkDerivation rec {
pname = "vice";
version = "3.7.1";
···
};
nativeBuildInputs = [
-
autoreconfHook
bison
dos2unix
file
flex
pkg-config
+
wrapGAppsHook
];
buildInputs = [
alsa-lib
giflib
-
gtk2
+
gtk3
+
glew
libGL
libGLU
-
libXaw
-
libjpeg
libpng
perl
readline
SDL
SDL_image
xa
+
xdg-utils
];
dontDisableStatic = true;
-
configureFlags = [ "--enable-fullscreen" "--enable-gnomeui" "--disable-pdf-docs" ];
+
configureFlags = [ "--enable-sdl2ui" "--enable-gtk3ui" "--enable-desktop-files" "--disable-pdf-docs" "--with-gif" ];
+
+
LIBS = "-lGL";
preBuild = ''
-
for i in src/resid src/resid-dtv
-
do
-
mkdir -pv $i/src
-
ln -sv ../../wrap-u-ar.sh $i/src
-
done
+
sed -i -e 's|#!/usr/bin/env bash|${runtimeShell}/bin/bash|' src/arch/gtk3/novte/box_drawing_generate.sh
'';
postInstall = ''
-
for app in ${toString desktopItems}
-
do
-
mkdir -p $out/share/applications
-
cp $app/share/applications/* $out/share/applications
-
done
+
mkdir -p $out/share/applications
+
cp src/arch/gtk3/data/unix/vice-org-*.desktop $out/share/applications
'';
meta = {
+2 -2
pkgs/applications/networking/cluster/tilt/default.nix
···
/* Do not use "dev" as a version. If you do, Tilt will consider itself
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
-
version = "0.33.5";
+
version = "0.33.6";
src = fetchFromGitHub {
owner = "tilt-dev";
repo = "tilt";
rev = "v${version}";
-
hash = "sha256-o78PoIKj+0FvZRpm0AqtUq3N9a9/LDYc7DIPZgSZe4s=";
+
hash = "sha256-WtE8ExUKFRtdYeg0+My/DB+L/qT+J1EaKHKChNjC5oI=";
};
vendorHash = null;
+2 -2
pkgs/applications/networking/instant-messengers/signal-cli/default.nix
···
stdenv.mkDerivation rec {
pname = "signal-cli";
-
version = "0.12.1";
+
version = "0.12.2";
# Building from source would be preferred, but is much more involved.
src = fetchurl {
url = "https://github.com/AsamK/signal-cli/releases/download/v${version}/signal-cli-${version}-Linux.tar.gz";
-
hash = "sha256-pxDSAVh/zg3hCuTlSuilgD4VKe1CPSG/ZLl0TF1nc1I=";
+
hash = "sha256-XhLTovymqjbc19X717WyNIi4jdpwnyttXGqkkHBFwQA=";
};
buildInputs = lib.optionals stdenv.isLinux [ libmatthew_java dbus dbus_java ];
+3 -3
pkgs/applications/networking/juju/default.nix
···
buildGoModule rec {
pname = "juju";
-
version = "3.2.2";
+
version = "3.2.3";
src = fetchFromGitHub {
owner = "juju";
repo = "juju";
rev = "juju-${version}";
-
sha256 = "sha256-ZmMOQCKQWtzB2O6CNZTRhhj7gkpRRXY9ILN2KdSQoWk=";
+
sha256 = "sha256-sUlM4bLy/kluZmGOzMACz92GG46XYKicNPP5k2FPSGA=";
};
-
vendorHash = "sha256-rqf5nAXwcW6lm7sidEcxMqatT4KPju4Seo1/Awse5Zs=";
+
vendorHash = "sha256-mPEixXVuxAqgkBoNqIYnZaFJynHJsnmamaHqyh/svwQ=";
# Disable tests because it attempts to use a mongodb instance
doCheck = false;
+2 -2
pkgs/applications/radio/gqrx/default.nix
···
gnuradioMinimal.pkgs.mkDerivation rec {
pname = "gqrx";
-
version = "2.16";
+
version = "2.17";
src = fetchFromGitHub {
owner = "gqrx-sdr";
repo = "gqrx";
rev = "v${version}";
-
hash = "sha256-14MVimOxM7upq6vpEhvVRnrverBuFToE2ktNhG59LKE=";
+
hash = "sha256-QnwkiH8KqoHa2Q3knh0OAyGBySAArEtdpO+lTzqJ4j0=";
};
nativeBuildInputs = [
+4 -7
pkgs/development/libraries/webkitgtk/default.nix
···
, libxkbcommon
, libavif
, libepoxy
+
, libjxl
, at-spi2-core
, libxml2
, libsoup
···
, libxslt
, harfbuzz
, libpthreadstubs
-
, pcre
, nettle
, libtasn1
, p11-kit
···
, openjpeg
, geoclue2
, sqlite
-
, enableGLES ? true
, gst-plugins-base
, gst-plugins-bad
, woff2
···
stdenv.mkDerivation (finalAttrs: {
pname = "webkitgtk";
-
version = "2.40.5";
+
version = "2.42.1";
name = "${finalAttrs.pname}-${finalAttrs.version}+abi=${if lib.versionAtLeast gtk3.version "4.0" then "6.0" else "4.${if lib.versions.major libsoup.version == "2" then "0" else "1"}"}";
outputs = [ "out" "dev" "devdoc" ];
···
src = fetchurl {
url = "https://webkitgtk.org/releases/webkitgtk-${finalAttrs.version}.tar.xz";
-
hash = "sha256-feBRomNmhiHZGmGl6xw3cdGnzskABD1K/vBsMmwWA38=";
+
hash = "sha256-b0H6yZidPuUcCMSN4dQ5ze3ey8dX40thgJh9mbFtJJk=";
};
patches = lib.optionals stdenv.isLinux [
···
enchant2
libavif
libepoxy
+
libjxl
gnutls
gst-plugins-bad
gst-plugins-base
···
nettle
openjpeg
p11-kit
-
pcre
sqlite
woff2
] ++ (with xorg; [
···
"-DUSE_GTK4=ON"
] ++ lib.optionals (!systemdSupport) [
"-DENABLE_JOURNALD_LOG=OFF"
-
] ++ lib.optionals (stdenv.isLinux && enableGLES) [
-
"-DENABLE_GLES2=ON"
];
postPatch = ''
+1 -1
pkgs/development/libraries/webkitgtk/fdo-backend-path.patch
···
@@ -84,7 +84,7 @@ void WebProcessPool::platformInitializeWebProcess(const WebProcessProxy& process
#if PLATFORM(WAYLAND)
-
if (WebCore::PlatformDisplay::sharedDisplay().type() == WebCore::PlatformDisplay::Type::Wayland) {
+
if (WebCore::PlatformDisplay::sharedDisplay().type() == WebCore::PlatformDisplay::Type::Wayland && parameters.dmaBufRendererBufferMode.isEmpty()) {
- wpe_loader_init("libWPEBackend-fdo-1.0.so.1");
+ wpe_loader_init("@wpebackend_fdo@/lib/libWPEBackend-fdo-1.0.so.1");
if (AcceleratedBackingStoreWayland::checkRequirements()) {
+2 -9
pkgs/development/python-modules/azure-storage-blob/default.nix
···
{ lib
-
, azure-common
, azure-core
-
, azure-storage-common
, buildPythonPackage
, cryptography
, fetchPypi
, isodate
-
, msrest
, pythonOlder
, typing-extensions
}:
buildPythonPackage rec {
pname = "azure-storage-blob";
-
version = "12.17.0";
+
version = "12.18.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
extension = "zip";
-
hash = "sha256-wUt4WhcFCzD8MmoxW9rmvEoHiFX0+UpMMDrXSkjcjGM=";
+
hash = "sha256-4Rk1NImB/8AFuEi1XbJcBPLR+Q4e4zAAZZkGt2PPFMg=";
};
propagatedBuildInputs = [
-
azure-common
azure-core
-
azure-storage-common
cryptography
isodate
-
msrest
typing-extensions
];
+2 -2
pkgs/development/python-modules/hap-python/default.nix
···
buildPythonPackage rec {
pname = "hap-python";
-
version = "4.7.1";
+
version = "4.8.0";
format = "setuptools";
disabled = pythonOlder "3.6";
···
owner = "ikalchev";
repo = "HAP-python";
rev = "refs/tags/${version}";
-
hash = "sha256-M/STfco+Bx+KxBT1lUIrYyGSjBcPw2UVX02gNOROke4=";
+
hash = "sha256-1NLLNE4LgV0r45nc21xCAAaKuH6bQm2YQWlxzhgajSI=";
};
propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/localstack/default.nix
···
buildPythonPackage rec {
pname = "localstack";
-
version = "2.2.0";
+
version = "2.3.0";
src = fetchFromGitHub {
owner = "localstack";
repo = "localstack";
rev = "refs/tags/v${version}";
-
hash = "sha256-hlK3pltajFRAtiwLOJQNmxRfoRAX5Jccygglbhb45O8=";
+
hash = "sha256-Sdyl/ccyhKRP5eb866ly1ZJrrFSQMLdX22R7UNRfDCA=";
};
postPatch = ''
+2 -2
pkgs/development/python-modules/losant-rest/default.nix
···
buildPythonPackage rec {
pname = "losant-rest";
-
version = "1.19.0";
+
version = "1.19.1";
format = "setuptools";
disabled = pythonOlder "3.7";
···
owner = "Losant";
repo = "losant-rest-python";
rev = "v${version}";
-
hash = "sha256-Kr+L8zHcutpxzqvwQ10iebHiwBIT+sZiiT38G6O/joY=";
+
hash = "sha256-xCC0AEiHrulxNdBf59ap9oKh/mF1u9IzZsPYFJeHNR0=";
};
propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pydrawise/default.nix
···
buildPythonPackage rec {
pname = "pydrawise";
-
version = "2023.9.4";
+
version = "2023.10.0";
format = "pyproject";
disabled = pythonOlder "3.10";
···
owner = "dknowles2";
repo = "pydrawise";
rev = "refs/tags/${version}";
-
hash = "sha256-e6S5osxNh61KSLEq8NWZadXEcZT8DCKBavuIQjyJgAA=";
+
hash = "sha256-CSjYLiOvnm1kFp4DL3w/YmAsDcbaCfLfGT0xUZy+GZ0=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
+17 -4
pkgs/development/python-modules/rjsmin/default.nix
···
-
{ lib, buildPythonPackage, fetchPypi }:
+
{ lib
+
, buildPythonPackage
+
, fetchPypi
+
, pythonOlder
+
}:
+
buildPythonPackage rec {
pname = "rjsmin";
-
version = "1.2.1";
+
version = "1.2.2";
+
format = "setuptools";
+
+
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-H5gr6OARQ4d3qUMHJ5tAE0o5NfwPB5MS7imXJbivVBE=";
+
hash = "sha256-jBvNghFD/s8jJCAStV4TYQhAqDnNRns1jxY1kBDWLa4=";
};
# The package does not ship tests, and the setup machinary confuses
# tests auto-discovery
doCheck = false;
+
pythonImportsCheck = [
+
"rjsmin"
+
];
+
meta = with lib; {
+
description = "Module to minify Javascript";
homepage = "http://opensource.perlig.de/rjsmin/";
license = licenses.asl20;
-
description = "Javascript minifier written in python";
+
maintainers = with maintainers; [ ];
};
}
+2 -2
pkgs/development/python-modules/simple-websocket/default.nix
···
buildPythonPackage rec {
pname = "simple-websocket";
-
version = "0.10.1";
+
version = "1.0.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "miguelgrinberg";
repo = "simple-websocket";
rev = "refs/tags/v${version}";
-
hash = "sha256-OdgMYi2UobIlE4cDl5aNtVaFiHPTpf5TcuohG+TCSpg=";
+
hash = "sha256-5dUZnbjHzH1sQ93CbFdEoW9j2zY4Z+8wNsYfmOrgC8E=";
};
nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/twilio/default.nix
···
buildPythonPackage rec {
pname = "twilio";
-
version = "8.9.0";
+
version = "8.9.1";
format = "setuptools";
disabled = pythonOlder "3.7";
···
owner = "twilio";
repo = "twilio-python";
rev = "refs/tags/${version}";
-
hash = "sha256-apdLWv4UV4MTAx+kyi/MaOibmBYjwMamaI9b6IGKIl0=";
+
hash = "sha256-F+0nYZIvZVH0QuEkuiV2lwA62r6T/amWFWg7rfBqddU=";
};
propagatedBuildInputs = [
+3 -3
pkgs/development/tools/goa/default.nix
···
buildGoModule rec {
pname = "goa";
-
version = "3.13.0";
+
version = "3.13.2";
src = fetchFromGitHub {
owner = "goadesign";
repo = "goa";
rev = "v${version}";
-
sha256 = "sha256-iGp3Nkew1Xrvq9Hvhu645e4oguZaHxCXi+mJkdS1mp8=";
+
sha256 = "sha256-TGTFfwkRvrE2sbqPqx1YKR2w9vZ5veYEV+8CRZPWT5Y=";
};
-
vendorHash = "sha256-QtMBJk0T8+ExX5S/DvltHQfxET5bo563pJoalBx4SAs=";
+
vendorHash = "sha256-Twoafjo1ZBzrXZFPZn5uz+khZ3nNTbMVaqxdNIRXRQ4=";
subPackages = [ "cmd/goa" ];
+3 -3
pkgs/development/tools/misc/pest-ide-tools/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "pest-ide-tools";
-
version = "0.3.3";
-
cargoSha256 = "sha256-TXsRGkhswxxLCPOk1qMTvDjs4de1sClRJMr/0o6u4Pg=";
+
version = "0.3.6";
+
cargoSha256 = "sha256-uFcEE5Hlb0fhOH0birqeH+hOuAyZVjQOYFhoMdR8czM=";
src = fetchFromGitHub {
owner = "pest-parser";
repo = "pest-ide-tools";
rev = "v${version}";
-
sha256 = "sha256-XAdQQFU8ZF0zarqCB6WlhpZVNqNyX6e4np4Wjalhobo=";
+
sha256 = "sha256-SymtMdj7QVOEiSeTjmVidejFeGK8swnM6nfT7u18URs=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
+2 -2
pkgs/development/tools/zprint/default.nix
···
buildGraalvmNativeImage rec {
pname = "zprint";
-
version = "1.2.7";
+
version = "1.2.8";
src = fetchurl {
url = "https://github.com/kkinnear/${pname}/releases/download/${version}/${pname}-filter-${version}";
-
sha256 = "sha256-C2WEzF7Xl37/LDlk6f77/WcWNadE0zAfzxEw+RTRGto=";
+
sha256 = "sha256-o0yoW45a5r+sTGvjEqr5VZgQKm72qsPH/kbLTbMTgEM=";
};
extraNativeImageBuildArgs = [
+24 -1
pkgs/os-specific/linux/device-tree/default.nix
···
-
{ lib, stdenvNoCC, dtc }:
+
{ lib, stdenv, stdenvNoCC, dtc }:
with lib; {
+
# Compile single Device Tree overlay source
+
# file (.dts) into its compiled variant (.dtb)
+
compileDTS = ({
+
name,
+
dtsFile,
+
includePaths ? [],
+
extraPreprocessorFlags ? []
+
}: stdenv.mkDerivation {
+
inherit name;
+
+
nativeBuildInputs = [ dtc ];
+
+
buildCommand =
+
let
+
includeFlagsStr = lib.concatMapStringsSep " " (includePath: "-I${includePath}") includePaths;
+
extraPreprocessorFlagsStr = lib.concatStringsSep " " extraPreprocessorFlags;
+
in
+
''
+
$CC -E -nostdinc ${includeFlagsStr} -undef -D__DTS__ -x assembler-with-cpp ${extraPreprocessorFlagsStr} ${dtsFile} | \
+
dtc -I dts -O dtb -@ -o $out
+
'';
+
});
+
applyOverlays = (base: overlays': stdenvNoCC.mkDerivation {
name = "device-tree-overlays";
nativeBuildInputs = [ dtc ];
-10
pkgs/os-specific/linux/kernel/hardened/patches.json
···
"sha256": "09sfrq2l8f777mx2n9mhb6bgz1064bl04921byqnmk87si31w653",
"version": "6.1.54"
},
-
"6.4": {
-
"patch": {
-
"extra": "-hardened1",
-
"name": "linux-hardened-6.4.16-hardened1.patch",
-
"sha256": "10lydnnhhq9ynng1gfaqh1mncsb0dmr27zzcbygs1xigy2bl70n9",
-
"url": "https://github.com/anthraxx/linux-hardened/releases/download/6.4.16-hardened1/linux-hardened-6.4.16-hardened1.patch"
-
},
-
"sha256": "0zgj1z97jyx7wf12zrnlcp0mj4cl43ais9qsy6dh1jwylf2fq9ln",
-
"version": "6.4.16"
-
},
"6.5": {
"patch": {
"extra": "-hardened1",
+1 -3
pkgs/os-specific/linux/zfs/unstable.nix
···
then kernel.kernelOlder "6.5"
else kernel.kernelOlder "6.2";
-
latestCompatibleLinuxPackages = if stdenv'.isx86_64 || removeLinuxDRM
-
then linuxKernel.packages.linux_6_4
-
else linuxKernel.packages.linux_6_1;
+
latestCompatibleLinuxPackages = linuxKernel.packages.linux_6_1;
# this package should point to a version / git revision compatible with the latest kernel release
# IMPORTANT: Always use a tagged release candidate or commits from the
+3 -1
pkgs/servers/frr/default.nix
···
pkg-config
python3.pkgs.sphinx
texinfo
+
protobufc
];
buildInputs = [
···
'';
license = with licenses; [ gpl2Plus lgpl21Plus ];
maintainers = with maintainers; [ woffs thillux ];
-
platforms = platforms.unix;
+
# adapt to platforms stated in http://docs.frrouting.org/en/latest/overview.html#supported-platforms
+
platforms = (platforms.linux ++ platforms.freebsd ++ platforms.netbsd ++ platforms.openbsd);
};
passthru.tests = { inherit (nixosTests) frr; };
+3 -3
pkgs/servers/monitoring/prometheus/default.nix
···
}:
let
-
version = "2.47.0";
+
version = "2.47.1";
webUiStatic = fetchurl {
url = "https://github.com/prometheus/prometheus/releases/download/v${version}/prometheus-web-ui-${version}.tar.gz";
-
hash = "sha256-MjnTFDHMLDML8crhtCfAv3aK67vwLEUVglIzXgc5mBU=";
+
hash = "sha256-NgVwxKhag/acE5sdP3910CuGWVWfmTSnXSSztEjLobs=";
};
in
buildGoModule rec {
···
owner = "prometheus";
repo = "prometheus";
rev = "v${version}";
-
hash = "sha256-I0tl7DlZ1Yp5nHm3JK1hP+u+yLGBjwubfaTxUvXSDUE=";
+
hash = "sha256-AK2DLFDWrpnkvOUb9dFYjdAa6+Vm6ftZQpexy/FULrs=";
};
vendorHash = "sha256-qFp+tMHhXmJGY9MSukVRjBVzaIBgfxB0BorWiuInMwk=";
+2 -2
pkgs/servers/shairport-sync/default.nix
···
stdenv.mkDerivation rec {
pname = "shairport-sync";
-
version = "4.2";
+
version = "4.3.1";
src = fetchFromGitHub {
repo = "shairport-sync";
owner = "mikebrady";
rev = "refs/tags/${version}";
-
hash = "sha256-ru2iaXSgS+w2ktqGLGC9SiYztkmmOQVzHaeLwMqvMzk=";
+
hash = "sha256-Yj0SKMKACj2B/ADPkUzO4EvaYZX39erKmjaTsr5UN0s=";
};
nativeBuildInputs = [
+2 -2
pkgs/servers/sickbeard/sickgear.nix
···
pythonEnv = python3.withPackages(ps: with ps; [ cheetah3 lxml ]);
in stdenv.mkDerivation rec {
pname = "sickgear";
-
version = "3.29.3";
+
version = "3.30.0";
src = fetchFromGitHub {
owner = "SickGear";
repo = "SickGear";
rev = "release_${version}";
-
hash = "sha256-aPpzWGVQS7waPJXHSdL/6cBhARgpE7/uIdvSadvsB0A=";
+
hash = "sha256-Y9FXaDODeuMaXeqmfBCd96JgwrqDe5k6RCtGKvTOMKw=";
};
patches = [
+2 -2
pkgs/servers/web-apps/sogo/default.nix
···
, libwbxml }:
gnustep.stdenv.mkDerivation rec {
pname = "SOGo";
-
version = "5.8.0";
+
version = "5.9.0";
src = fetchFromGitHub {
owner = "inverse-inc";
repo = pname;
rev = "SOGo-${version}";
-
hash = "sha256-lHUEV5yYLs3oc8Arl3KX8G/OEAoLmS7pRLCGsRAJAr4=";
+
hash = "sha256-Jv+gOWNcjdXk51I22+znYLTUWDEdAOAmRJql9P+/OuQ=";
};
nativeBuildInputs = [ gnustep.make makeWrapper python3 pkg-config ];
+13 -7
pkgs/tools/admin/azure-cli/default.nix
···
-
{ stdenv, lib, python3, fetchPypi, fetchFromGitHub, installShellFiles }:
+
{ lib
+
, stdenv
+
, python3
+
, fetchPypi
+
, fetchFromGitHub
+
, installShellFiles
+
}:
let
-
version = "2.52.0";
+
version = "2.53.0";
src = fetchFromGitHub {
name = "azure-cli-${version}-src";
owner = "Azure";
repo = "azure-cli";
rev = "azure-cli-${version}";
-
hash = "sha256-wa0LmBMv3eQIsWEKMAHks+TvBZmTdFepPGG5XQRvZXk=";
+
hash = "sha256-5c2Z0EJnKyLqWiz8/BEFAdy5A0+sBbai7UQ2KPL1jr8=";
};
# put packages that needs to be overridden in the py package scope
···
--replace "chardet~=3.0.4" "chardet" \
--replace "javaproperties~=0.5.1" "javaproperties" \
--replace "scp~=0.13.2" "scp" \
-
--replace "packaging>=20.9,<22.0" "packaging" \
--replace "fabric~=2.4" "fabric"
# remove namespace hacks
# remove urllib3 because it was added as 'urllib3[secure]', which doesn't get handled well
sed -i setup.py \
-
-e '/azure-cli-command_modules-nspkg/d' \
-
-e '/azure-cli-nspkg/d' \
-e '/urllib3/d'
'';
-
nativeBuildInputs = [ installShellFiles ];
+
nativeBuildInputs = [
+
installShellFiles
+
];
propagatedBuildInputs = with py.pkgs; [
azure-appconfiguration
···
azure-mgmt-web
azure-multiapi-storage
azure-storage-blob
+
azure-storage-common
azure-synapse-accesscontrol
azure-synapse-artifacts
azure-synapse-managedprivateendpoints
+10 -20
pkgs/tools/admin/azure-cli/python-packages.nix
···
-
{ stdenv, python3, fetchPypi, src, version }:
+
{ stdenv
+
, python3
+
, fetchPypi
+
, src
+
, version
+
}:
let
buildAzureCliPackage = with py.pkgs; buildPythonPackage;
···
tabulate
];
-
postPatch = ''
-
substituteInPlace setup.py \
-
--replace "requests[socks]~=2.25.1" "requests[socks]~=2.25" \
-
--replace "cryptography>=3.2,<3.4" "cryptography" \
-
--replace "msal-extensions>=0.3.1,<0.4" "msal-extensions" \
-
--replace "msal[broker]==1.24.0b1" "msal[broker]" \
-
--replace "packaging>=20.9,<22.0" "packaging"
-
'';
nativeCheckInputs = with self; [ pytest ];
+
doCheck = stdenv.isLinux;
+
# ignore tests that does network call, or assume powershell
checkPhase = ''
rm azure/{,cli/}__init__.py
···
azure-mgmt-devtestlabs = overrideAzureMgmtPackage super.azure-mgmt-devtestlabs "4.0.0" "zip"
"sha256-WVScTEBo8mRmsQl7V0qOUJn7LNbIvgoAOVsG07KeJ40=r";
-
azure-mgmt-netapp = overrideAzureMgmtPackage super.azure-mgmt-netapp "10.0.0" "zip"
-
"sha256-9+cXsY8Qr5ds9lYw39duWdcqm6QUTedQbjn8x6zJoyE=";
+
azure-mgmt-netapp = overrideAzureMgmtPackage super.azure-mgmt-netapp "10.1.0" "zip"
+
"sha256-eJiWTOCk2C79Jotku9bKlu3vU6H8004hWrX+h76MjQM=";
azure-mgmt-dns = overrideAzureMgmtPackage super.azure-mgmt-dns "8.0.0" "zip"
"sha256-QHwtrLM1E/++nKS+Wt216dS64Mt++mE8P31THve/jeg=";
···
inherit version;
hash = "sha256-0Lti2L+OGWuQPzlxukr6RI5P4U6DlOv83ZQdhNYuyv4=";
extension = "zip";
-
};
-
});
-
-
azure-storage-blob = super.azure-storage-blob.overrideAttrs (oldAttrs: rec {
-
version = "1.5.0";
-
src = fetchPypi {
-
inherit (oldAttrs) pname;
-
inherit version;
-
hash = "sha256-8YeoeOehkfTgmBWZBPcrQUbPcOGquvZISrS6cvxvJSw=";
};
});
+2 -2
pkgs/tools/audio/audiowaveform/default.nix
···
stdenv.mkDerivation rec {
pname = "audiowaveform";
-
version = "1.8.1";
+
version = "1.9.1";
src = fetchFromGitHub {
owner = "bbc";
repo = "audiowaveform";
rev = version;
-
sha256 = "sha256-MbOQY1Yvtwuy6IPV1BfwwRBhEQIzQ7mPzedE74xsQSk=";
+
sha256 = "sha256-qnidR+V2CwDnztUv73k72lVyH+B1yfb3c7BLus4P6Wk=";
};
nativeBuildInputs = [ cmake gtest ];
+2 -2
pkgs/tools/misc/calamares-nixos-extensions/default.nix
···
stdenv.mkDerivation rec {
pname = "calamares-nixos-extensions";
-
version = "0.3.13";
+
version = "0.3.14";
src = fetchFromGitHub {
owner = "NixOS";
repo = "calamares-nixos-extensions";
rev = version;
-
sha256 = "YCtm7OzPdhtV7/fQijJfZvZyX7oEk92F34CK2lnRHnI=";
+
hash = "sha256-wRKZ80yU3WsUkGn5/ft4wDR22s39/WTxTrjFE0/9mlc=";
};
installPhase = ''
+6 -6
pkgs/tools/typesetting/scdoc/default.nix pkgs/by-name/sc/scdoc/package.nix
···
stdenv.mkDerivation (finalAttrs: {
pname = "scdoc";
-
version = "1.11.2";
+
version = "1.11.2-unstable-2023-03-08";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "scdoc";
-
rev = finalAttrs.version;
-
hash = "sha256-2NVC+1in1Yt6/XGcHXP+V4AAz8xW/hSq9ctF/Frdgh0=";
+
rev = "afeda241f3f9b2c27e461f32d9c2a704ab82ef61";
+
hash = "sha256-jIYygjUXP/6o5d9drlZjdr25KjEQx8oy4TaQwQEu8fM=";
};
outputs = [ "out" "man" "dev" ];
postPatch = ''
substituteInPlace Makefile \
-
--replace "-static" ""
+
--replace "LDFLAGS+=-static" "LDFLAGS+="
'';
makeFlags = [
···
meta = {
description = "A simple man page generator written in C99 for POSIX systems";
homepage = "https://git.sr.ht/~sircmpwn/scdoc";
-
changelog = "https://git.sr.ht/~sircmpwn/scdoc/refs/${finalAttrs.version}";
+
changelog = "https://git.sr.ht/~sircmpwn/scdoc/refs/${finalAttrs.src.rev}";
license = lib.licenses.mit;
+
mainProgram = "scdoc";
maintainers = with lib.maintainers; [ primeos AndersonTorres ];
platforms = lib.platforms.unix;
-
mainProgram = "scdoc";
};
})
-4
pkgs/top-level/all-packages.nix
···
scdl = callPackage ../tools/misc/scdl { };
-
scdoc = callPackage ../tools/typesetting/scdoc { };
-
scorecard = callPackage ../tools/security/scorecard { };
scream = callPackage ../applications/audio/scream { };
···
linux_5_15_hardened = linuxKernel.kernels.linux_5_15_hardened;
linuxPackages_6_1_hardened = linuxKernel.packages.linux_6_1_hardened;
linux_6_1_hardened = linuxKernel.kernels.linux_6_1_hardened;
-
linuxPackages_6_4_hardened = linuxKernel.packages.linux_6_4_hardened;
-
linux_6_4_hardened = linuxKernel.kernels.linux_6_4_hardened;
linuxPackages_6_5_hardened = linuxKernel.packages.linux_6_5_hardened;
linux_6_5_hardened = linuxKernel.kernels.linux_6_5_hardened;
+11 -15
pkgs/top-level/linux-kernels.nix
···
];
};
-
linux_6_4 = callPackage ../os-specific/linux/kernel/mainline.nix {
-
branch = "6.4";
-
kernelPatches = [
-
kernelPatches.bridge_stp_helper
-
kernelPatches.request_key_helper
-
kernelPatches.dell_xps_regression
-
];
-
};
-
linux_6_5 = callPackage ../os-specific/linux/kernel/mainline.nix {
branch = "6.5";
kernelPatches = [
···
linux_testing_bcachefs = callPackage ../os-specific/linux/kernel/linux-testing-bcachefs.nix {
# Pinned on the last version which Kent's commits can be cleany rebased up.
-
kernel = linux_6_4;
-
kernelPatches = linux_6_4.kernelPatches;
-
};
+
kernel = callPackage ../os-specific/linux/kernel/mainline.nix {
+
branch = "6.4";
+
};
+
kernelPatches = [
+
kernelPatches.bridge_stp_helper
+
kernelPatches.request_key_helper
+
kernelPatches.dell_xps_regression
+
];
+
};
linux_hardkernel_4_14 = callPackage ../os-specific/linux/kernel/linux-hardkernel-4.14.nix {
kernelPatches = [
···
linux_5_10_hardened = hardenedKernelFor kernels.linux_5_10 { };
linux_5_15_hardened = hardenedKernelFor kernels.linux_5_15 { };
linux_6_1_hardened = hardenedKernelFor kernels.linux_6_1 { };
-
linux_6_4_hardened = hardenedKernelFor kernels.linux_6_4 { };
linux_6_5_hardened = hardenedKernelFor kernels.linux_6_5 { };
} // lib.optionalAttrs config.allowAliases {
···
linux_6_0 = throw "linux 6.0 was removed because it has reached its end of life upstream";
linux_6_2 = throw "linux 6.2 was removed because it has reached its end of life upstream";
linux_6_3 = throw "linux 6.3 was removed because it has reached its end of life upstream";
+
linux_6_4 = throw "linux 6.4 was removed because it has reached its end of life upstream";
linux_xanmod_tt = throw "linux_xanmod_tt was removed because upstream no longer offers this option";
···
linux_5_10 = recurseIntoAttrs (packagesFor kernels.linux_5_10);
linux_5_15 = recurseIntoAttrs (packagesFor kernels.linux_5_15);
linux_6_1 = recurseIntoAttrs (packagesFor kernels.linux_6_1);
-
linux_6_4 = recurseIntoAttrs (packagesFor kernels.linux_6_4);
linux_6_5 = recurseIntoAttrs (packagesFor kernels.linux_6_5);
} // lib.optionalAttrs config.allowAliases {
linux_4_9 = throw "linux 4.9 was removed because it will reach its end of life within 22.11"; # Added 2022-11-08
···
linux_6_0 = throw "linux 6.0 was removed because it reached its end of life upstream"; # Added 2023-01-20
linux_6_2 = throw "linux 6.2 was removed because it reached its end of life upstream"; # Added 2023-05-26
linux_6_3 = throw "linux 6.3 was removed because it reached its end of life upstream"; # Added 2023-07-22
+
linux_6_4 = throw "linux 6.4 was removed because it reached its end of life upstream"; # Added 2023-10-02
};
rtPackages = {
···
linux_5_10_hardened = recurseIntoAttrs (packagesFor kernels.linux_5_10_hardened);
linux_5_15_hardened = recurseIntoAttrs (packagesFor kernels.linux_5_15_hardened);
linux_6_1_hardened = recurseIntoAttrs (packagesFor kernels.linux_6_1_hardened);
-
linux_6_4_hardened = recurseIntoAttrs (packagesFor kernels.linux_6_4_hardened);
linux_6_5_hardened = recurseIntoAttrs (packagesFor kernels.linux_6_5_hardened);
linux_zen = recurseIntoAttrs (packagesFor kernels.linux_zen);