Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
9c68d30a 67e4f6dd

+295 -275
+13
maintainers/maintainer-list.nix
··· 2872 2872 githubId = 718298; 2873 2873 name = "Michael Livshin"; 2874 2874 }; 2875 + CobaltCause = { 2876 + name = "Charles Hall"; 2877 + email = "charles@computer.surgery"; 2878 + github = "CobaltCause"; 2879 + githubId = 7003738; 2880 + matrix = "@charles:computer.surgery"; 2881 + }; 2875 2882 cobbal = { 2876 2883 email = "andrew.cobb@gmail.com"; 2877 2884 github = "cobbal"; ··· 7174 7181 name = "Sven Slootweg"; 7175 7182 github = "joepie91"; 7176 7183 githubId = 1663259; 7184 + }; 7185 + joerdav = { 7186 + email = "joe.davidson.21111@gmail.com"; 7187 + github = "joerdav"; 7188 + name = "Joe Davidson"; 7189 + githubId = 19927761; 7177 7190 }; 7178 7191 joesalisbury = { 7179 7192 email = "salisbury.joseph@gmail.com";
+4 -4
nixos/doc/manual/installation/installing.chapter.md
··· 428 428 429 429 UEFI systems 430 430 431 - : You must select a boot-loader, either system-boot or GRUB. The recommended 431 + : You must select a boot-loader, either systemd-boot or GRUB. The recommended 432 432 option is systemd-boot: set the option [](#opt-boot.loader.systemd-boot.enable) 433 433 to `true`. `nixos-generate-config` should do this automatically 434 434 for new configurations when booted in UEFI mode. ··· 441 441 If you want to use GRUB, set [](#opt-boot.loader.grub.device) to `nodev` and 442 442 [](#opt-boot.loader.grub.efiSupport) to `true`. 443 443 444 - With system-boot, you should not need any special configuration to detect 444 + With systemd-boot, you should not need any special configuration to detect 445 445 other installed systems. With GRUB, set [](#opt-boot.loader.grub.useOSProber) 446 - to `true`, but this will only detect windows partitions, not other linux 447 - distributions. If you dual boot another linux distribution, use system-boot 446 + to `true`, but this will only detect windows partitions, not other Linux 447 + distributions. If you dual boot another Linux distribution, use systemd-boot 448 448 instead. 449 449 450 450 If you need to configure networking for your machine the
+2
nixos/doc/manual/release-notes/rl-2305.section.md
··· 78 78 79 79 - `git-bug` has been updated to at least version 0.8.0, which includes backwards incompatible changes. The `git-bug-migration` package can be used to upgrade existing repositories. 80 80 81 + - `keepassx` and `keepassx2` have been removed, due to upstream [stopping development](https://www.keepassx.org/index.html%3Fp=636.html). Consider [KeePassXC](https://keepassxc.org) as a maintained alternative. 82 + 81 83 - The `services.kubo.settings` option is now no longer stateful. If you changed any of the options in `services.kubo.settings` in the past and then removed them from your NixOS configuration again, those changes are still in your Kubo configuration file but will now be reset to the default. If you're unsure, you may want to make a backup of your configuration file (probably /var/lib/ipfs/config) and compare after the update. 82 84 83 85 - The EC2 image module no longer fetches instance metadata in stage-1. This results in a significantly smaller initramfs, since network drivers no longer need to be included, and faster boots, since metadata fetching can happen in parallel with startup of other services.
+1 -6
nixos/modules/services/x11/desktop-managers/plasma5.nix
··· 379 379 380 380 security.pam.services.kde = { allowNullPassword = true; }; 381 381 382 - # Doing these one by one seems silly, but we currently lack a better 383 - # construct for handling common pam configs. 384 - security.pam.services.gdm.enableKwallet = true; 385 - security.pam.services.kdm.enableKwallet = true; 386 - security.pam.services.lightdm.enableKwallet = true; 387 - security.pam.services.sddm.enableKwallet = true; 382 + security.pam.services.login.enableKwallet = true; 388 383 389 384 systemd.user.services = { 390 385 plasma-early-setup = mkIf cfg.runUsingSystemd {
+6 -4
nixos/modules/services/x11/display-managers/sddm.nix
··· 215 215 }; 216 216 217 217 security.pam.services = { 218 - sddm = { 219 - allowNullPassword = true; 220 - startSession = true; 221 - }; 218 + sddm.text = '' 219 + auth substack login 220 + account include login 221 + password substack login 222 + session include login 223 + ''; 222 224 223 225 sddm-greeter.text = '' 224 226 auth required pam_succeed_if.so audit quiet_success user = sddm
+37 -6
pkgs/applications/editors/qemacs/default.nix
··· 1 - { fetchurl, lib, stdenv, libX11, libXext, libXv, libpng }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , buildPackages 5 + , which 6 + , texi2html 7 + , enableX11 ? true 8 + , libX11, libXext, libXv, libpng 9 + }: 2 10 3 11 stdenv.mkDerivation rec { 4 12 pname = "qemacs"; 5 - version = "0.3.3"; 13 + version = "5.4.1c"; 6 14 7 - src = fetchurl { 8 - url = "https://bellard.org/${pname}/${pname}-${version}.tar.gz"; 9 - sha256 = "156z4wpj49i6j388yjird5qvrph7hz0grb4r44l4jf3q8imadyrg"; 15 + src = fetchFromGitHub { 16 + owner = "qemacs"; 17 + repo = "qemacs"; 18 + rev = "216b3ff8b77ff138aec22045522d5601b7390e58"; 19 + hash = "sha256-ngVaZZdr/Ym9YswLqzUtDytC0K7L9mKgORopLghGH3k="; 10 20 }; 11 21 12 - buildInputs = [ libpng libX11 libXext libXv ]; 22 + postPatch = '' 23 + substituteInPlace Makefile --replace \ 24 + '$(INSTALL) -m 755 -s' \ 25 + '$(INSTALL) -m 755 -s --strip-program=${stdenv.cc.targetPrefix}strip' 26 + ''; 27 + 28 + nativeBuildInputs = [ which texi2html ]; 29 + buildInputs = lib.optionals enableX11 [ libpng libX11 libXext libXv ]; 30 + 31 + enableParallelBuilding = true; 32 + 33 + configureFlags = [ 34 + "--cross-prefix=${stdenv.cc.targetPrefix}" 35 + ] ++ lib.optionals (!enableX11) [ 36 + "--disable-x11" 37 + ]; 38 + 39 + makeFlags = [ 40 + # is actually used as BUILD_CC 41 + "HOST_CC=${buildPackages.stdenv.cc}/bin/cc" 42 + "CC=${stdenv.cc.targetPrefix}cc" 43 + ]; 13 44 14 45 preInstall = '' 15 46 mkdir -p $out/bin $out/man
+2
pkgs/applications/kde/kalendar.nix
··· 13 13 , qqc2-desktop-style 14 14 15 15 , kirigami2 16 + , kirigami-addons 16 17 , kdbusaddons 17 18 , ki18n 18 19 , kcalendarcore ··· 59 60 qqc2-desktop-style 60 61 61 62 kirigami2 63 + kirigami-addons 62 64 kdbusaddons 63 65 ki18n 64 66 kcalendarcore
-22
pkgs/applications/misc/keepassx/2.0.nix
··· 1 - { lib, stdenv, fetchurl, cmake, libgcrypt, qt4, xorg }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "keepassx2"; 5 - version = "2.0.3"; 6 - 7 - src = fetchurl { 8 - url = "https://www.keepassx.org/releases/${version}/keepassx-${version}.tar.gz"; 9 - sha256 = "1ia7cqx9ias38mnffsl7da7g1f66bcbjsi23k49sln0c6spb9zr3"; 10 - }; 11 - 12 - nativeBuildInputs = [ cmake ]; 13 - buildInputs = [ libgcrypt qt4 xorg.libXtst ]; 14 - 15 - meta = { 16 - description = "Qt password manager compatible with its Win32 and Pocket PC versions"; 17 - homepage = "https://www.keepassx.org/"; 18 - license = lib.licenses.gpl2; 19 - maintainers = with lib.maintainers; [ qknight ]; 20 - platforms = with lib.platforms; linux; 21 - }; 22 - }
pkgs/applications/misc/keepassx/community.nix pkgs/applications/misc/keepassxc/default.nix
pkgs/applications/misc/keepassx/darwin.patch pkgs/applications/misc/keepassxc/darwin.patch
-25
pkgs/applications/misc/keepassx/default.nix
··· 1 - { lib, stdenv, fetchurl, bzip2, qt4, qmake4Hook, libX11, xorgproto, libXtst }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "keepassx"; 5 - version = "0.4.4"; 6 - 7 - src = fetchurl { 8 - url = "https://www.keepassx.org/releases/${version}/${pname}-${version}.tar.gz"; 9 - sha256 = "1i5dq10x28mg7m4c0yacm32xfj4j7imir4ph8x9p0s2ym260c9ry"; 10 - }; 11 - 12 - patches = [ ./random.patch ]; 13 - 14 - buildInputs = [ bzip2 qt4 libX11 xorgproto libXtst ]; 15 - 16 - nativeBuildInputs = [ qmake4Hook ]; 17 - 18 - meta = { 19 - description = "Qt password manager compatible with its Win32 and Pocket PC versions"; 20 - homepage = "https://www.keepassx.org/"; 21 - license = lib.licenses.gpl2; 22 - maintainers = with lib.maintainers; [ qknight ]; 23 - platforms = with lib.platforms; linux; 24 - }; 25 - }
-13
pkgs/applications/misc/keepassx/random.patch
··· 1 - --- a/src/lib/random.cpp 2014-01-21 21:15:55.829312723 +0000 2 - +++ b/src/lib/random.cpp 2014-01-21 21:16:36.752535839 +0000 3 - @@ -28,6 +28,10 @@ 4 - #include <wincrypt.h> 5 - #include <QSysInfo> 6 - #endif 7 - +#ifndef Q_WS_WIN 8 - + #include <sys/types.h> 9 - + #include <unistd.h> 10 - +#endif 11 - 12 - #include <QCryptographicHash> 13 - #include <QCursor>
+9
pkgs/applications/networking/p2p/transmission/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchFromGitHub 4 + , fetchurl 4 5 , cmake 5 6 , pkg-config 6 7 , openssl ··· 45 46 sha256 = "0ccg0km54f700x9p0jsnncnwvfnxfnxf7kcm7pcx1cj0vw78924z"; 46 47 fetchSubmodules = true; 47 48 }; 49 + 50 + patches = [ 51 + # fix build with openssl 3.0 52 + (fetchurl { 53 + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/net-p2p/transmission/files/transmission-3.00-openssl-3.patch"; 54 + hash = "sha256-peVrkGck8AfbC9uYNfv1CIu1alIewpca7A6kRXjVlVs="; 55 + }) 56 + ]; 48 57 49 58 outputs = [ "out" "apparmor" ]; 50 59
+7 -51
pkgs/applications/networking/remote/citrix-workspace/sources.nix
··· 14 14 # The latest versions can be found at https://www.citrix.com/downloads/workspace-app/linux/ 15 15 supportedVersions = lib.mapAttrs mkVersionInfo { 16 16 17 - "21.09.0" = { 18 - major = "21"; 19 - minor = "9"; 20 - patch = "0"; 21 - x64hash = "d58d5cbbcb5ace95b75b1400061d475b8e72dbdf5f03abacea6d39686991f848"; 22 - x86hash = "c646c52889e88aa0bb051070076763d5407f21fb6ad6dfcb0fe635ac01180c51"; 23 - x64suffix = "25"; 24 - x86suffix = "25"; 25 - homepage = "https://www.citrix.com/downloads/workspace-app/legacy-workspace-app-for-linux/workspace-app-for-linux-2109.html"; 26 - }; 27 - 28 - "21.12.0" = { 29 - major = "21"; 30 - minor = "12"; 31 - patch = "0"; 32 - x64hash = "de81deab648e1ebe0ddb12aa9591c8014d7fad4eba0db768f25eb156330bb34d"; 33 - x86hash = "3746cdbe26727f7f6fb85fbe5f3e6df0322d79bb66e3a70158b22cb4f6b6b292"; 34 - x64suffix = "18"; 35 - x86suffix = "18"; 36 - homepage = "https://www.citrix.com/downloads/workspace-app/legacy-workspace-app-for-linux/workspace-app-for-linux-2112.html"; 37 - }; 38 - 39 - "22.05.0" = { 40 - major = "22"; 41 - minor = "5"; 42 - patch = "0"; 43 - x64hash = "49786fd3b5361b1f42b7bb0e36572a209e95acb1335737da5216345b6420f053"; 44 - x86hash = "f2dc1fd64e5314b62ba87f384958c2bbd48b06b55bed10345cddb05fdc8cffa1"; 45 - x64suffix = "16"; 46 - x86suffix = "16"; 47 - homepage = "https://www.citrix.com/downloads/workspace-app/legacy-workspace-app-for-linux/workspace-app-for-linux-latest2.html"; 48 - }; 49 - 50 - "22.07.0" = { 51 - major = "22"; 52 - minor = "7"; 17 + "23.02.0" = { 18 + major = "23"; 19 + minor = "2"; 53 20 patch = "0"; 54 - x64hash = "ba88490e457e0fe6c610778396e40293067173c182f2343c8c1fda5e2444985c"; 55 - x86hash = "ed9ff8b3be968cacaf6121c783326091899b987e53fac1aafae68ea3e5883403"; 56 - x64suffix = "14"; 57 - x86suffix = "14"; 58 - homepage = "https://www.citrix.com/downloads/workspace-app/legacy-workspace-app-for-linux/workspace-app-for-linux-latest-OLD1.html"; 59 - }; 60 - 61 - "22.12.0" = { 62 - major = "22"; 63 - minor = "12"; 64 - patch = "0"; 65 - x64hash = "3ec5a3d5526a6bac17bb977b173542f5bdd535a53baa6dca80c83a0d61229d74"; 66 - x86hash = "b73f90fe51bbb7391c188a394ea614b67f128ed0d9481bd7824cbcadc0338dae"; 67 - x64suffix = "12"; 68 - x86suffix = "12"; 21 + x64hash = "d0030a4782ba4b2628139635a12a7de044a4eb36906ef1eadb05b6ea77c1a7bc"; 22 + x86hash = "39228fc8dd69adca4e56991c1ebc0832fec183c3ab5abd2d65c66b39b634391b"; 23 + x64suffix = "10"; 24 + x86suffix = "10"; 69 25 homepage = "https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html"; 70 26 }; 71 27 };
+7 -1
pkgs/applications/science/math/caffe/default.nix
··· 21 21 }: 22 22 23 23 let 24 - inherit (cudaPackages) cudatoolkit cudnn nccl; 24 + inherit (cudaPackages) cudatoolkit nccl; 25 + # The default for cudatoolkit 10.1 is CUDNN 8.0.5, the last version to support CUDA 10.1. 26 + # However, this caffe does not build with CUDNN 8.x, so we use CUDNN 7.6.5 instead. 27 + # Earlier versions of cudatoolkit use pre-8.x CUDNN, so we use the default. 28 + cudnn = if lib.versionOlder cudatoolkit.version "10.1" 29 + then cudaPackages.cudnn 30 + else cudaPackages.cudnn_7_6_5; 25 31 in 26 32 27 33 assert leveldbSupport -> (leveldb != null && snappy != null);
+3 -1
pkgs/applications/science/misc/openmvg/default.nix
··· 4 4 , libpng ? null 5 5 , eigen ? null 6 6 , libtiff ? null 7 + , ceres-solver 7 8 , enableShared ? !stdenv.hostPlatform.isStatic 8 9 , enableExamples ? false 9 10 , enableDocs ? false }: ··· 20 21 fetchSubmodules = true; 21 22 }; 22 23 23 - buildInputs = [ libjpeg zlib libpng eigen libtiff cereal openmp ]; 24 + buildInputs = [ libjpeg zlib libpng eigen libtiff cereal openmp ceres-solver ]; 24 25 25 26 nativeBuildInputs = [ cmake pkg-config ]; 26 27 ··· 28 29 "-DCMAKE_CXX_FLAGS=-std=c++11" 29 30 "-DOpenMVG_BUILD_EXAMPLES=${if enableExamples then "ON" else "OFF"}" 30 31 "-DOpenMVG_BUILD_DOC=${if enableDocs then "ON" else "OFF"}" 32 + "-DTARGET_ARCHITECTURE=generic" 31 33 ] ++ lib.optional enableShared "-DOpenMVG_BUILD_SHARED=ON"; 32 34 33 35 cmakeDir = "./src";
+3 -3
pkgs/applications/version-management/jujutsu/default.nix
··· 15 15 16 16 rustPlatform.buildRustPackage rec { 17 17 pname = "jujutsu"; 18 - version = "0.6.1"; 18 + version = "0.7.0"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "martinvonz"; 22 22 repo = "jj"; 23 23 rev = "v${version}"; 24 - sha256 = "sha256-ajBL2o5i4UmclL/s9eEVtn/p51/F4gsClmcYBrAZ+1o="; 24 + sha256 = "sha256-FczlSBlLhLIamLiY4cGVAoHx0/sxx+tykICzedFbbx8="; 25 25 }; 26 26 27 - cargoSha256 = "sha256-RgF2StIMfFzbp0azG4yRPvzrZ4kczWtOWVd+KTTPbRw="; 27 + cargoHash = "sha256-PydDgXp47KUSLvAQgfO+09lrzTnBjzGd+zA5f/jZfRc="; 28 28 29 29 # Needed to get openssl-sys to use pkg-config. 30 30 OPENSSL_NO_VENDOR = 1;
+6
pkgs/development/libraries/arrow-cpp/default.nix
··· 234 234 "TestMinioServer.Connect" 235 235 "TestS3FS.*" 236 236 "TestS3FSGeneric.*" 237 + ] ++ lib.optionals stdenv.isDarwin [ 238 + # TODO: revisit at 12.0.0 or when 239 + # https://github.com/apache/arrow/commit/295c6644ca6b67c95a662410b2c7faea0920c989 240 + # is available, see 241 + # https://github.com/apache/arrow/pull/15288#discussion_r1071244661 242 + "ExecPlanExecution.StressSourceSinkStopped" 237 243 ]; 238 244 in 239 245 lib.optionalString doInstallCheck "-${lib.concatStringsSep ":" filteredTests}";
+39
pkgs/development/python-modules/accessible-pygments/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 5 + , pygments 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "accessible-pygments"; 10 + version = "0.0.3"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + hash = "sha256-CRe1B2RqazOT60kJGmJQb2sqOTX12V5NEkncUF+KTq4="; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + pygments 22 + ]; 23 + 24 + # Tests only execute pygments with these styles 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ 28 + "a11y_pygments" 29 + "a11y_pygments.utils" 30 + ]; 31 + 32 + meta = with lib; { 33 + description = "A collection of accessible pygments styles"; 34 + homepage = "https://github.com/Quansight-Labs/accessible-pygments"; 35 + changelog = "https://github.com/Quansight-Labs/accessible-pygments/raw/v${version}/CHANGELOG.md"; 36 + license = licenses.bsd3; 37 + maintainers = with maintainers; [ marsam ]; 38 + }; 39 + }
+3 -3
pkgs/development/python-modules/adjusttext/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "adjusttext"; 11 - version = "0.7.3.1"; 11 + version = "0.8.0"; 12 12 format = "setuptools"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "Phlya"; 16 16 repo = pname; 17 - rev = version; 18 - sha256 = "1a6hizx1cnplj0irn8idgda2lacsb61dw464cwx798pjr1gd401n"; 17 + rev = "refs/tags/${version}"; 18 + sha256 = "sha256-N+eCDwK5E9zGKG7uruuhnpTlJeiXG2a15PKW0gJFAqw="; 19 19 }; 20 20 21 21 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/grad-cam/default.nix
··· 6 6 , numpy 7 7 , opencv4 8 8 , pillow 9 - , scikitlearn 9 + , scikit-learn 10 10 , torch 11 11 , torchvision 12 12 , ttach ··· 33 33 numpy 34 34 opencv4 35 35 pillow 36 - scikitlearn 36 + scikit-learn 37 37 torchvision 38 38 ttach 39 39 tqdm
+2 -2
pkgs/development/python-modules/oslo-context/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "oslo.context"; 5 - version = "5.0.0"; 5 + version = "5.1.0"; 6 6 7 7 src = fetchPypi { 8 8 inherit pname version; 9 - sha256 = "sha256-iMDG0HZoHGDVYPfWZWXkKsEWxaqKKKBNt8CsACUTMiQ="; 9 + sha256 = "sha256-iy2aT4xGrulNTot8oa4JeJv4QqRwaKr6sIjibDMUqyI="; 10 10 }; 11 11 12 12 postPatch = ''
+7 -3
pkgs/development/python-modules/pydata-sphinx-theme/default.nix
··· 3 3 , pythonOlder 4 4 , fetchPypi 5 5 , sphinx 6 + , accessible-pygments 6 7 , beautifulsoup4 7 8 , docutils 8 9 , packaging ··· 10 11 11 12 buildPythonPackage rec { 12 13 pname = "pydata-sphinx-theme"; 13 - version = "0.12.0"; 14 + version = "0.13.0rc4"; 14 15 15 16 format = "wheel"; 16 17 ··· 21 22 dist = "py3"; 22 23 python = "py3"; 23 24 pname = "pydata_sphinx_theme"; 24 - sha256 = "sha256-wX26tno3dPBvNPY3jolvzQZozItdocG6AX5lzx3wr1g="; 25 + sha256 = "sha256-tLkCMX/LvFxYPOskW2LXHkfHggsG/CIo41W3BF1Zvpc="; 25 26 }; 26 27 27 28 propagatedBuildInputs = [ 28 29 sphinx 30 + accessible-pygments 29 31 beautifulsoup4 30 32 docutils 31 33 packaging 32 34 ]; 33 35 34 - pythonImportsCheck = [ "pydata_sphinx_theme" ]; 36 + pythonImportsCheck = [ 37 + "pydata_sphinx_theme" 38 + ]; 35 39 36 40 meta = with lib; { 37 41 description = "Bootstrap-based Sphinx theme from the PyData community";
+10 -3
pkgs/development/python-modules/sphinx-book-theme/default.nix
··· 5 5 , sphinx 6 6 , pydata-sphinx-theme 7 7 , pyyaml 8 + , jupyter-book 8 9 }: 9 10 10 11 buildPythonPackage rec { 11 12 pname = "sphinx-book-theme"; 12 - version = "0.4.0rc1"; 13 + version = "1.0.0rc2"; 13 14 14 15 format = "wheel"; 15 16 ··· 20 21 dist = "py3"; 21 22 python = "py3"; 22 23 pname = "sphinx_book_theme"; 23 - sha256 = "bfad8ef469885da5633f7cf7f8cd9a0ae11ea2351a91e507b44cf15973934512"; 24 + sha256 = "43977402f55b79706e117c6de6f50e67dac6dad698eb9b75be07dc2e6a689bde"; 24 25 }; 25 26 26 27 propagatedBuildInputs = [ ··· 29 30 pyyaml 30 31 ]; 31 32 32 - pythonImportsCheck = [ "sphinx_book_theme" ]; 33 + pythonImportsCheck = [ 34 + "sphinx_book_theme" 35 + ]; 36 + 37 + passthru.tests = { 38 + inherit jupyter-book; 39 + }; 33 40 34 41 meta = with lib; { 35 42 description = "A clean book theme for scientific explanations and documentation with Sphinx";
+6
pkgs/development/python-modules/tempest/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , defusedxml 3 4 , fetchPypi 4 5 , pbr 5 6 , cliff ··· 14 15 , oslo-serialization 15 16 , oslo-utils 16 17 , fixtures 18 + , pythonOlder 17 19 , pyyaml 18 20 , subunit 19 21 , stevedore ··· 29 31 buildPythonPackage rec { 30 32 pname = "tempest"; 31 33 version = "33.0.0"; 34 + format = "setuptools"; 35 + 36 + disabled = pythonOlder "3.8"; 32 37 33 38 src = fetchPypi { 34 39 inherit pname version; ··· 38 43 propagatedBuildInputs = [ 39 44 pbr 40 45 cliff 46 + defusedxml 41 47 jsonschema 42 48 testtools 43 49 paramiko
+5
pkgs/development/ruby-modules/gem-config/default.nix
··· 203 203 }; 204 204 205 205 eventmachine = attrs: { 206 + dontBuild = false; 206 207 buildInputs = [ openssl ]; 208 + postPatch = '' 209 + substituteInPlace ext/em.cpp \ 210 + --replace 'if (bind (' 'if (::bind (' 211 + ''; 207 212 }; 208 213 209 214 exif = attrs: {
+2 -2
pkgs/development/tools/clj-kondo/default.nix
··· 2 2 3 3 buildGraalvmNativeImage rec { 4 4 pname = "clj-kondo"; 5 - version = "2023.01.20"; 5 + version = "2023.02.17"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/clj-kondo/${pname}/releases/download/v${version}/${pname}-${version}-standalone.jar"; 9 - sha256 = "sha256-QS4/kGR3QqwUk0U68AdKvip9YJndltx7YBo9IhZ9syY="; 9 + sha256 = "sha256-HVwZZ280ZABgG/LAAaRfq6wYmUF1c2ojR7XLMCwVSk0="; 10 10 }; 11 11 12 12 extraNativeImageBuildArgs = [
+35
pkgs/development/tools/misc/phpunit/default.nix
··· 1 + { stdenv, fetchurl, makeWrapper, lib, php }: 2 + 3 + let 4 + pname = "phpunit"; 5 + version = "10.0.11"; 6 + in 7 + stdenv.mkDerivation { 8 + inherit pname version; 9 + 10 + src = fetchurl { 11 + url = "https://phar.phpunit.de/phpunit-${version}.phar"; 12 + hash = "sha256-zAAFDiZ2wjncGMI4c74+tzWR++rKMjv1h5gk2GobhbI="; 13 + }; 14 + 15 + dontUnpack = true; 16 + 17 + nativeBuildInputs = [ makeWrapper ]; 18 + 19 + installPhase = '' 20 + runHook preInstall 21 + mkdir -p $out/bin 22 + install -D $src $out/libexec/phpunit/phpunit.phar 23 + makeWrapper ${php}/bin/php $out/bin/phpunit \ 24 + --add-flags "$out/libexec/phpunit/phpunit.phar" 25 + runHook postInstall 26 + ''; 27 + 28 + meta = with lib; { 29 + description = "PHP Unit Testing framework"; 30 + license = licenses.bsd3; 31 + homepage = "https://phpunit.de"; 32 + changelog = "https://github.com/sebastianbergmann/phpunit/blob/${version}/ChangeLog-${lib.versions.majorMinor version}.md"; 33 + maintainers = with maintainers; [ onny ] ++ teams.php.members; 34 + }; 35 + }
+22
pkgs/development/tools/xc/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "xc"; 5 + version = "0.0.154"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "joerdav"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "sha256-GJBSPO0PffGdGAHofd1crEFXJi2xqgd8Vk2/g4ff+E4="; 12 + }; 13 + 14 + vendorHash = "sha256-XDJdCh6P8ScSvxY55ExKgkgFQqmBaM9fMAjAioEQ0+s="; 15 + 16 + meta = with lib; { 17 + homepage = "https://xcfile.dev/"; 18 + description = "Markdown defined task runner"; 19 + license = licenses.mit; 20 + maintainers = with maintainers; [ joerdav ]; 21 + }; 22 + }
+5
pkgs/games/dwarf-fortress/unfuck.nix
··· 82 82 sha256 = release.sha256; 83 83 }; 84 84 85 + postPatch = '' 86 + # https://github.com/svenstaro/dwarf_fortress_unfuck/pull/27 87 + substituteInPlace CMakeLists.txt --replace \''${GLEW_LIBRARIES} GLEW::glew 88 + ''; 89 + 85 90 cmakeFlags = [ 86 91 "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include" 87 92 "-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
-86
pkgs/os-specific/linux/kernel/gen-kheaders-metadata.patch
··· 1 - From 2cc99c9cdc8fde5e92e34f9655829449cebd3e00 Mon Sep 17 00:00:00 2001 2 - From: Dmitry Goldin <dgoldin+lkml@protonmail.ch> 3 - Date: Fri, 4 Oct 2019 10:40:07 +0000 4 - Subject: kheaders: make headers archive reproducible 5 - 6 - In commit 43d8ce9d65a5 ("Provide in-kernel headers to make 7 - extending kernel easier") a new mechanism was introduced, for kernels 8 - >=5.2, which embeds the kernel headers in the kernel image or a module 9 - and exposes them in procfs for use by userland tools. 10 - 11 - The archive containing the header files has nondeterminism caused by 12 - header files metadata. This patch normalizes the metadata and utilizes 13 - KBUILD_BUILD_TIMESTAMP if provided and otherwise falls back to the 14 - default behaviour. 15 - 16 - In commit f7b101d33046 ("kheaders: Move from proc to sysfs") it was 17 - modified to use sysfs and the script for generation of the archive was 18 - renamed to what is being patched. 19 - 20 - Signed-off-by: Dmitry Goldin <dgoldin+lkml@protonmail.ch> 21 - Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 22 - Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org> 23 - Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> 24 - 25 - --- 26 - 27 - nixos note: This patch is from 28 - https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/commit/?h=fixes&id=2cc99c9cdc8fde5e92e34f9655829449cebd3e00 29 - I commented out the documentation part here, so that it easily applies 30 - to linux 5.2 and 5.3, which does not ship with the reproducible build 31 - documentation yet, which only was introduced recently. 32 - 33 - --- 34 - Documentation/kbuild/reproducible-builds.rst | 13 +++++++++---- 35 - kernel/gen_kheaders.sh | 5 ++++- 36 - 2 files changed, 13 insertions(+), 5 deletions(-) 37 - 38 - #diff --git a/Documentation/kbuild/reproducible-builds.rst b/Documentation/kbuild/reproducible-builds.rst 39 - #index ab92e98c89c8..503393854e2e 100644 40 - # --- a/Documentation/kbuild/reproducible-builds.rst 41 - #+++ b/Documentation/kbuild/reproducible-builds.rst 42 - #@@ -16,16 +16,21 @@ the kernel may be unreproducible, and how to avoid them. 43 - # Timestamps 44 - # ---------- 45 - # 46 - #-The kernel embeds a timestamp in two places: 47 - #+The kernel embeds timestamps in three places: 48 - # 49 - # * The version string exposed by ``uname()`` and included in 50 - # ``/proc/version`` 51 - # 52 - # * File timestamps in the embedded initramfs 53 - # 54 - #-By default the timestamp is the current time. This must be overridden 55 - #-using the `KBUILD_BUILD_TIMESTAMP`_ variable. If you are building 56 - #-from a git commit, you could use its commit date. 57 - #+* If enabled via ``CONFIG_IKHEADERS``, file timestamps of kernel 58 - #+ headers embedded in the kernel or respective module, 59 - #+ exposed via ``/sys/kernel/kheaders.tar.xz`` 60 - #+ 61 - #+By default the timestamp is the current time and in the case of 62 - #+``kheaders`` the various files' modification times. This must 63 - #+be overridden using the `KBUILD_BUILD_TIMESTAMP`_ variable. 64 - #+If you are building from a git commit, you could use its commit date. 65 - # 66 - # The kernel does *not* use the ``__DATE__`` and ``__TIME__`` macros, 67 - # and enables warnings if they are used. If you incorporate external 68 - diff --git a/kernel/gen_kheaders.sh b/kernel/gen_kheaders.sh 69 - index 9ff449888d9c..aff79e461fc9 100755 70 - --- a/kernel/gen_kheaders.sh 71 - +++ b/kernel/gen_kheaders.sh 72 - @@ -71,7 +71,10 @@ done | cpio --quiet -pd $cpio_dir >/dev/null 2>&1 73 - find $cpio_dir -type f -print0 | 74 - xargs -0 -P8 -n1 perl -pi -e 'BEGIN {undef $/;}; s/\/\*((?!SPDX).)*?\*\///smg;' 75 - 76 - -tar -Jcf $tarfile -C $cpio_dir/ . > /dev/null 77 - +# Create archive and try to normalize metadata for reproducibility 78 - +tar "${KBUILD_BUILD_TIMESTAMP:+--mtime=$KBUILD_BUILD_TIMESTAMP}" \ 79 - + --owner=0 --group=0 --sort=name --numeric-owner \ 80 - + -Jcf $tarfile -C $cpio_dir/ . > /dev/null 81 - 82 - echo "$src_files_md5" > kernel/kheaders.md5 83 - echo "$obj_files_md5" >> kernel/kheaders.md5 84 - -- 85 - cgit 1.2-0.3.lf.el7 86 -
+2 -13
pkgs/os-specific/linux/kernel/manual-config.nix
··· 86 86 87 87 buildDTBs = kernelConf.DTB or false; 88 88 89 - installsFirmware = (config.isEnabled "FW_LOADER") && 90 - (isModular || (config.isDisabled "FIRMWARE_IN_KERNEL")) && 91 - (lib.versionOlder version "4.14"); 92 89 in (optionalAttrs isModular { outputs = [ "out" "dev" ]; }) // { 93 90 passthru = rec { 94 91 inherit version modDirVersion config kernelPatches configfile ··· 107 104 # Required for deterministic builds along with some postPatch magic. 108 105 ++ optional (lib.versionOlder version "5.19") ./randstruct-provide-seed.patch 109 106 ++ optional (lib.versionAtLeast version "5.19") ./randstruct-provide-seed-5.19.patch 110 - # Fixes determinism by normalizing metadata for the archive of kheaders 111 - ++ optional (lib.versionAtLeast version "5.2" && lib.versionOlder version "5.4") ./gen-kheaders-metadata.patch 112 107 # Linux 5.12 marked certain PowerPC-only symbols as GPL, which breaks 113 108 # OpenZFS; this was fixed in Linux 5.19 so we backport the fix 114 109 # https://github.com/openzfs/zfs/pull/13367 ··· 201 196 installFlags = [ 202 197 "INSTALL_PATH=$(out)" 203 198 ] ++ (optional isModular "INSTALL_MOD_PATH=$(out)") 204 - ++ optional installsFirmware "INSTALL_FW_PATH=$(out)/lib/firmware" 205 199 ++ optionals buildDTBs ["dtbs_install" "INSTALL_DTBS_PATH=$(out)/dtbs"]; 206 200 207 201 preInstall = let ··· 268 262 else "install")) 269 263 ]; 270 264 271 - postInstall = (optionalString installsFirmware '' 272 - mkdir -p $out/lib/firmware 273 - '') + (if isModular then '' 265 + postInstall = optionalString isModular '' 274 266 mkdir -p $dev 275 267 cp vmlinux $dev/ 276 268 if [ -z "''${dontStrip-}" ]; then ··· 343 335 344 336 # Remove reference to kmod 345 337 sed -i Makefile -e 's|= ${buildPackages.kmod}/bin/depmod|= depmod|' 346 - '' else optionalString installsFirmware '' 347 - make firmware_install $makeFlags "''${makeFlagsArray[@]}" \ 348 - $installFlags "''${installFlagsArray[@]}" 349 - ''); 338 + ''; 350 339 351 340 requiredSystemFeatures = [ "big-parallel" ]; 352 341
+3 -3
pkgs/servers/dns/doh-proxy-rust/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "doh-proxy-rust"; 5 - version = "0.9.7"; 5 + version = "0.9.8"; 6 6 7 7 src = fetchCrate { 8 8 inherit version; 9 9 crateName = "doh-proxy"; 10 - sha256 = "sha256-rcLI5sLdqelnpfU7/T0s0l3rtpYBd77BBAXc4xSmCCE="; 10 + sha256 = "sha256-+Z2eneEK6nhcJEKRa1VIolCTZ8to2mMQ8Ik7WEH+1w0="; 11 11 }; 12 12 13 - cargoHash = "sha256-zkZuyegz82xOBq2t0jkMo6SLLteOHuhrFcROZCQeiyk="; 13 + cargoHash = "sha256-nlKzVQeLg3/nBIkD7QoBUWC93m9BiJrybf13Y/ns9gA="; 14 14 15 15 buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ]; 16 16
+3 -3
pkgs/servers/rtsp-simple-server/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "rtsp-simple-server"; 8 - version = "0.21.2"; 8 + version = "0.21.4"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "aler9"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - hash = "sha256-dg+Xl3yHiWJPV+3iFcMVCPHOpHo0+pFiJv+ZVXDAK6k="; 14 + hash = "sha256-56BHSRwiYxQHo32d0ZVKJB44GCEG6GRwrjQq6GlIHBc="; 15 15 }; 16 16 17 - vendorHash = "sha256-KvG0+wxe0D+TxQmxaskTa228zUlOxCZE9rGqMYkdwzM="; 17 + vendorHash = "sha256-HYuW129TQjcG+JGO6OtweIwjcs6hmgaikDaaM4VFSd0="; 18 18 19 19 # Tests need docker 20 20 doCheck = false;
+29
pkgs/tools/misc/engage/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchgit 4 + }: 5 + 6 + let 7 + pname = "engage"; 8 + version = "0.1.2"; 9 + in 10 + rustPlatform.buildRustPackage { 11 + inherit pname version; 12 + 13 + # fetchFromGitLab doesn't work on GitLab's end for unknown reasons 14 + src = fetchgit { 15 + url = "https://or.computer.surgery/charles/${pname}"; 16 + rev = "v${version}"; 17 + hash = "sha256-7zLFgTLeAIaMMoj0iThH/5UhnV9OUGe9CVwbbShCieo="; 18 + }; 19 + 20 + cargoHash = "sha256-+4uqC0VoBSmkS9hYC1lzWeJmK873slZT04TljHPE+Eo="; 21 + 22 + meta = { 23 + description = "A task runner with DAG-based parallelism"; 24 + homepage = "https://or.computer.surgery/charles/engage"; 25 + changelog = "https://or.computer.surgery/charles/engage/-/blob/v${version}/CHANGELOG.md"; 26 + license = with lib.licenses; [ asl20 mit ]; 27 + maintainers = with lib.maintainers; [ CobaltCause ]; 28 + }; 29 + }
+3 -3
pkgs/tools/misc/tbls/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "tbls"; 10 - version = "1.62.0"; 10 + version = "1.62.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "k1LoW"; 14 14 repo = "tbls"; 15 15 rev = "v${version}"; 16 - hash = "sha256-T2zmgGbhWvqaor76mQuQ1O5bF+eGVaH6N4w17iyNhwU="; 16 + hash = "sha256-x3Bh/xB/x71xNjVL5zqp1ag8TPQoxOpuOyDE1f54sGQ="; 17 17 }; 18 18 19 - vendorHash = "sha256-AeaTAjo1wRl7Ymg/fyoijaa9UXf9SiNR447WJtZeN5o="; 19 + vendorHash = "sha256-YrDQSySBplYgakgvb6BwK1AK6h0Usy8MvCndHSSYrlQ="; 20 20 21 21 CGO_CFLAGS = [ "-Wno-format-security" ]; 22 22
+3 -3
pkgs/tools/networking/sing-box/default.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "sing-box"; 11 - version = "1.1.5"; 11 + version = "1.1.6"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "SagerNet"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - hash = "sha256-FEwyJL6pFdp9vXIq1TUFGGDfKefFsVaajjX2U0R5Vog="; 17 + hash = "sha256-CwXhCJo6Nq0dZaTcUetsSpvNKme1PN6pzMRX1QeY3gg="; 18 18 }; 19 19 20 - vendorHash = "sha256-QTk4kKPPOhnCf/1NhWObwf8EsZC+k0EtdSBecD6jq04="; 20 + vendorHash = "sha256-cLaMtnTSmCZoPwfeQpWXCiFtmDm3vA6AD12H5h8Obhk="; 21 21 22 22 tags = [ 23 23 "with_quic"
+2
pkgs/top-level/aliases.nix
··· 729 729 kdecoration-viewer = throw "kdecoration-viewer has been removed from nixpkgs, as there is no upstream activity"; # Added 2020-06-16 730 730 kdiff3-qt5 = throw "'kdiff3-qt5' has been renamed to/replaced by 'kdiff3'"; # Converted to throw 2022-02-22 731 731 keepass-keefox = throw "'keepass-keefox' has been renamed to/replaced by 'keepass-keepassrpc'"; # Converted to throw 2022-02-22 732 + keepassx = throw "KeePassX is no longer actively developed. Please consider KeePassXC as a maintained alternative."; # Added 2023-02-17 732 733 keepassx-community = throw "'keepassx-community' has been renamed to/replaced by 'keepassxc'"; # Converted to throw 2022-02-22 733 734 keepassx-reboot = throw "'keepassx-reboot' has been renamed to/replaced by 'keepassx-community'"; # Converted to throw 2022-02-22 735 + keepassx2 = throw "KeePassX is no longer actively developed. Please consider KeePassXC as a maintained alternative."; # Added 2023-02-17 734 736 keepassx2-http = throw "'keepassx2-http' has been renamed to/replaced by 'keepassx-reboot'"; # Converted to throw 2022-02-22 735 737 keepnote = throw "keepnote has been removed from nixpkgs, as it is stuck on python2"; # Added 2022-01-01 736 738 kerberos = libkrb5; # moved from top-level 2021-03-14
+10 -13
pkgs/top-level/all-packages.nix
··· 3501 3501 3502 3502 waypoint = callPackage ../applications/networking/cluster/waypoint { }; 3503 3503 3504 + xc = callPackage ../development/tools/xc { }; 3505 + 3504 3506 xcodeenv = callPackage ../development/mobile/xcodeenv { }; 3505 3507 3506 3508 gomobile = callPackage ../development/mobile/gomobile { }; ··· 4553 4555 elpa = callPackage ../development/libraries/elpa { }; 4554 4556 4555 4557 enca = callPackage ../tools/text/enca { }; 4558 + 4559 + engage = callPackage ../tools/misc/engage { }; 4556 4560 4557 4561 ent = callPackage ../tools/misc/ent { }; 4558 4562 ··· 5989 5993 cirrusgo = callPackage ../tools/security/cirrusgo { }; 5990 5994 5991 5995 inherit (callPackage ../applications/networking/remote/citrix-workspace { }) 5992 - citrix_workspace_21_09_0 5993 - citrix_workspace_21_12_0 5994 - citrix_workspace_22_05_0 5995 - citrix_workspace_22_07_0 5996 - citrix_workspace_22_12_0 5996 + citrix_workspace_23_02_0 5997 5997 ; 5998 - citrix_workspace = citrix_workspace_22_12_0; 5998 + citrix_workspace = citrix_workspace_23_02_0; 5999 5999 6000 6000 cmigemo = callPackage ../tools/text/cmigemo { }; 6001 6001 ··· 17058 17058 17059 17059 ansible-doctor = with python3.pkgs; toPythonApplication ansible-doctor; 17060 17060 17061 + phpunit = callPackage ../development/tools/misc/phpunit { }; 17062 + 17061 17063 ### DEVELOPMENT / TOOLS / LANGUAGE-SERVERS 17062 17064 17063 17065 ansible-language-server = callPackage ../development/tools/language-servers/ansible-language-server { }; ··· 29302 29304 29303 29305 karlender = callPackage ../applications/office/karlender { }; 29304 29306 29305 - keepassx = callPackage ../applications/misc/keepassx { }; 29306 - keepassx2 = callPackage ../applications/misc/keepassx/2.0.nix { }; 29307 - keepassxc = libsForQt5.callPackage ../applications/misc/keepassx/community.nix { 29307 + keepassxc = libsForQt5.callPackage ../applications/misc/keepassxc { 29308 29308 inherit (darwin.apple_sdk_11_0.frameworks) LocalAuthentication; 29309 29309 stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv; 29310 29310 }; ··· 33531 33531 33532 33532 transcribe = callPackage ../applications/audio/transcribe { }; 33533 33533 33534 - transmission = callPackage ../applications/networking/p2p/transmission { 33535 - # https://github.com/NixOS/nixpkgs/issues/207047 33536 - openssl = openssl_legacy; 33537 - }; 33534 + transmission = callPackage ../applications/networking/p2p/transmission { }; 33538 33535 libtransmission = transmission.override { 33539 33536 installLib = true; 33540 33537 enableDaemon = false;
+2
pkgs/top-level/python-packages.nix
··· 20 20 21 21 absl-py = callPackage ../development/python-modules/absl-py { }; 22 22 23 + accessible-pygments = callPackage ../development/python-modules/accessible-pygments { }; 24 + 23 25 accuweather = callPackage ../development/python-modules/accuweather { }; 24 26 25 27 accupy = callPackage ../development/python-modules/accupy { };