Merge master into staging-next

authored by github-actions[bot] and committed by GitHub b55905ce 3f616fad

+138 -39
+9 -3
nixos/modules/security/sudo.nix
··· 41 41 ''; 42 42 }; 43 43 44 - enable = mkEnableOption (mdDoc '' 45 - the {command}`sudo` command, which allows non-root users to execute commands as root. 46 - ''); 44 + enable = mkOption { 45 + type = types.bool; 46 + default = true; 47 + description = 48 + lib.mdDoc '' 49 + Whether to enable the {command}`sudo` command, which 50 + allows non-root users to execute commands as root. 51 + ''; 52 + }; 47 53 48 54 package = mkPackageOption pkgs "sudo" { }; 49 55
+2 -1
nixos/tests/sudo.nix
··· 21 21 }; 22 22 23 23 security.sudo = { 24 - enable = true; 24 + # Explicitly _not_ defining 'enable = true;' here, to check that sudo is enabled by default 25 + 25 26 wheelNeedsPassword = false; 26 27 27 28 extraConfig = ''
+2 -2
pkgs/applications/audio/qpwgraph/default.nix
··· 13 13 14 14 stdenv.mkDerivation (finalAttrs: { 15 15 pname = "qpwgraph"; 16 - version = "0.5.3"; 16 + version = "0.6.0"; 17 17 18 18 src = fetchFromGitLab { 19 19 domain = "gitlab.freedesktop.org"; 20 20 owner = "rncbc"; 21 21 repo = "qpwgraph"; 22 22 rev = "v${finalAttrs.version}"; 23 - sha256 = "sha256-50KaVpNB5/CTLs2bRbXEinYM23AZxZO/ForrVPFDN8U="; 23 + sha256 = "sha256-wJ+vUw16yBBFjMdJogF1nkLnAh3o2ndN9+0png8ZVJ4="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
+3
pkgs/applications/science/misc/root/5.nix
··· 64 64 url = "https://github.com/root-project/root/commit/c75458024082de0cc35b45505c652b8460a9e71b.patch"; 65 65 sha256 = "sha256-A5zEjQE9OGPFp/L1HUs4NIdxQMRiwbwCRNWOLN2ENrM="; 66 66 }) 67 + # Backport Python 3.11 fix to v5 from v6.26 68 + # https://github.com/root-project/root/commit/484deb056dacf768aba4954073b41105c431bffc 69 + ./root5-python311-fix.patch 67 70 ]; 68 71 69 72 # https://github.com/root-project/root/issues/13216
+17
pkgs/applications/science/misc/root/root5-python311-fix.patch
··· 1 + diff --git a/bindings/pyroot/src/MethodProxy.cxx b/bindings/pyroot/src/MethodProxy.cxx 2 + --- a/bindings/pyroot/src/MethodProxy.cxx 3 + +++ b/bindings/pyroot/src/MethodProxy.cxx 4 + @@ -4,10 +4,10 @@ 5 + // Bindings 6 + #include "PyROOT.h" 7 + #include "structmember.h" // from Python 8 + -#if PY_VERSION_HEX >= 0x02050000 9 + -#include "code.h" // from Python 10 + -#else 11 + +#if PY_VERSION_HEX < 0x02050000 12 + #include "compile.h" // from Python 13 + +#elif PY_VERSION_HEX < 0x030b0000 14 + +#include "code.h" // from Python 15 + #endif 16 + #ifndef CO_NOFREE 17 + // python2.2 does not have CO_NOFREE defined
+35
pkgs/by-name/oa/oauth2l/package.nix
··· 1 + { stdenv 2 + , lib 3 + , buildGoModule 4 + , fetchFromGitHub 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "oauth2l"; 9 + version = "1.3.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "google"; 13 + repo = "oauth2l"; 14 + rev = "v${version}"; 15 + hash = "sha256-bL1bys/CBo/P9VfWc/FB8JHW/aBwC521V8DB1sFBIAA="; 16 + }; 17 + 18 + vendorHash = null; 19 + 20 + ldflags = [ "-s" "-w" ]; 21 + 22 + # Fix tests by preventing them from writing to /homeless-shelter. 23 + preCheck = "export HOME=$(mktemp -d)"; 24 + 25 + # tests fail on linux for some reason 26 + doCheck = stdenv.isDarwin; 27 + 28 + meta = with lib; { 29 + description = "Simple CLI for interacting with Google API authentication"; 30 + homepage = "https://github.com/google/oauth2l"; 31 + license = licenses.asl20; 32 + maintainers = with maintainers; [ happysalada ]; 33 + mainProgram = "oauth2l"; 34 + }; 35 + }
+1 -1
pkgs/development/libraries/physics/apfelgrid/default.nix
··· 19 19 meta = with lib; { 20 20 description = "Ultra-fast theory predictions for collider observables"; 21 21 license = licenses.mit; 22 - homepage = "http://nhartland.github.io/APFELgrid/"; 22 + homepage = "https://nhartland.github.io/APFELgrid/"; 23 23 platforms = platforms.unix; 24 24 maintainers = with maintainers; [ veprbl ]; 25 25 };
+4 -2
pkgs/development/libraries/webrtc-audio-processing/default.nix
··· 1 - { lib, stdenv, fetchFromGitLab 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 2 4 , darwin 3 5 , abseil-cpp 4 6 , meson ··· 30 32 abseil-cpp 31 33 ]; 32 34 33 - buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices ]); 35 + buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Foundation ]); 34 36 35 37 meta = with lib; { 36 38 homepage = "https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing";
+2 -2
pkgs/development/python-modules/eigenpy/default.nix
··· 9 9 10 10 stdenv.mkDerivation (finalAttrs: { 11 11 pname = "eigenpy"; 12 - version = "3.1.1"; 12 + version = "3.1.3"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "stack-of-tasks"; 16 16 repo = finalAttrs.pname; 17 17 rev = "v${finalAttrs.version}"; 18 18 fetchSubmodules = true; 19 - hash = "sha256-mUwckBelFVRCXp3hspB8WRFFaLVyRsfp6XbqU8HeHvw="; 19 + hash = "sha256-8UuJA96pkXXRKDzQTjoz7w8TQrS5+nfLdsT0j9/oqz0="; 20 20 }; 21 21 22 22 strictDeps = true;
+2 -2
pkgs/development/python-modules/timetagger/default.nix
··· 19 19 20 20 buildPythonPackage rec { 21 21 pname = "timetagger"; 22 - version = "23.9.2"; 22 + version = "23.11.2"; 23 23 format = "setuptools"; 24 24 25 25 disabled = pythonOlder "3.6"; ··· 28 28 owner = "almarklein"; 29 29 repo = pname; 30 30 rev = "refs/tags/v${version}"; 31 - hash = "sha256-pg4lKRsgi4SZrKYnVmMfU5hzJriRqVa3InYW9emFLy8="; 31 + hash = "sha256-PPB/BTZLuHmbKmUIe5gZMAwV+TUDqXBYg6fKsokTotg="; 32 32 }; 33 33 34 34 propagatedBuildInputs = [
+52 -17
pkgs/os-specific/linux/tomb/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, makeWrapper 2 - , gettext, zsh, pinentry, cryptsetup, gnupg, util-linux, e2fsprogs, sudo 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , substituteAll 5 + , makeWrapper 6 + , zsh 7 + , coreutils 8 + , cryptsetup 9 + , e2fsprogs 10 + , file 11 + , gawk 12 + , getent 13 + , gettext 14 + , gnugrep 15 + , gnupg 16 + , libargon2 17 + , lsof 18 + , pinentry 19 + , util-linux 20 + , nix-update-script 3 21 }: 4 22 5 23 stdenv.mkDerivation rec { 6 24 pname = "tomb"; 7 - version = "2.9"; 25 + version = "2.10"; 8 26 9 27 src = fetchFromGitHub { 10 - owner = "dyne"; 11 - repo = "Tomb"; 12 - rev = "v${version}"; 13 - sha256 = "0d6vmfcf4kd0p2bcljmdnyc2fmbwvar81cc472zx86r7yc3ih102"; 28 + owner = "dyne"; 29 + repo = "Tomb"; 30 + rev = "refs/tags/v${version}"; 31 + hash = "sha256-lLxQJX0P6b6lbXEcrq45EsX9iKiayZ9XkhqgMfpN3/w="; 14 32 }; 15 33 16 - buildInputs = [ sudo zsh pinentry ]; 34 + buildInputs = [ zsh pinentry ]; 17 35 18 36 nativeBuildInputs = [ makeWrapper ]; 19 37 ··· 23 41 --replace 'TOMBEXEC=$0' 'TOMBEXEC=tomb' 24 42 ''; 25 43 26 - doInstallCheck = true; 27 - installCheckPhase = "$out/bin/tomb -h"; 28 - 29 44 installPhase = '' 30 - install -Dm755 tomb $out/bin/tomb 45 + install -Dm755 tomb $out/bin/tomb 31 46 install -Dm644 doc/tomb.1 $out/share/man/man1/tomb.1 32 47 33 48 wrapProgram $out/bin/tomb \ 34 - --prefix PATH : $out/bin:${lib.makeBinPath [ cryptsetup gettext gnupg pinentry util-linux e2fsprogs ]} 49 + --prefix PATH : $out/bin:${lib.makeBinPath [ 50 + coreutils 51 + cryptsetup 52 + e2fsprogs 53 + file 54 + gawk 55 + getent 56 + gettext 57 + gnugrep 58 + gnupg 59 + libargon2 60 + lsof 61 + pinentry 62 + util-linux 63 + ]} 35 64 ''; 36 65 66 + passthru = { 67 + updateScript = nix-update-script { }; 68 + }; 69 + 37 70 meta = with lib; { 38 71 description = "File encryption on GNU/Linux"; 39 - homepage = "https://www.dyne.org/software/tomb/"; 40 - license = licenses.gpl3; 41 - maintainers = with maintainers; [ peterhoeg ]; 42 - platforms = platforms.linux; 72 + homepage = "https://www.dyne.org/software/tomb/"; 73 + changelog = "https://github.com/dyne/Tomb/blob/v${version}/ChangeLog.md"; 74 + license = licenses.gpl3Only; 75 + mainProgram = "tomb"; 76 + maintainers = with maintainers; [ peterhoeg anthonyroussel ]; 77 + platforms = platforms.linux; 43 78 }; 44 79 }
+3 -3
pkgs/servers/networking/rustus/default.nix
··· 10 10 11 11 let 12 12 pname = "rustus"; 13 - version = "0.7.4"; 13 + version = "0.7.6"; 14 14 in 15 15 rustPlatform.buildRustPackage { 16 16 inherit pname version; ··· 19 19 owner = "s3rius"; 20 20 repo = pname; 21 21 rev = version; 22 - hash = "sha256-RmtkGemFGqvDYd+om/2o4Ki3NWKjJ4/cJ0z40J+L+SY="; 22 + hash = "sha256-osxdqwNUONCScFarpQV48C7CR1DVR/mCttaglqiAKPo="; 23 23 }; 24 24 25 - cargoHash = "sha256-Ayki+hJTyaITOZhiyY8X6d5tR3+CLHZe94zJ9d/Kn4I="; 25 + cargoHash = "sha256-M0mJ+9VznzHDmdKAsT3YamyG/P0JF8oPeVHaX44NWM4="; 26 26 27 27 env.OPENSSL_NO_VENDOR = 1; 28 28
+3 -3
pkgs/servers/plex/raw.nix
··· 12 12 # server, and the FHS userenv and corresponding NixOS module should 13 13 # automatically pick up the changes. 14 14 stdenv.mkDerivation rec { 15 - version = "1.32.6.7557-1cf77d501"; 15 + version = "1.32.7.7621-871adbd44"; 16 16 pname = "plexmediaserver"; 17 17 18 18 # Fetch the source 19 19 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl { 20 20 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb"; 21 - sha256 = "0ym2s425084l5lzpw9j1aqw2nc6f4l5vzizvpj1gicf4yp2dyk91"; 21 + sha256 = "0894hwbl05rsv80p3k0wjs1hv5jwn2zakv758kzx1dvqcmjzhy2w"; 22 22 } else fetchurl { 23 23 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; 24 - sha256 = "1jqgglyzlfzq5saa21338vn2v3x25vl24x1w17j5wq30ca7nmzdr"; 24 + sha256 = "0r2i4y00pcd6hkrypzmgd03w4vj2hchhicgdy3zdwjmfk3aqs4jf"; 25 25 }; 26 26 27 27 outputs = [ "out" "basedb" ];
+3 -3
pkgs/tools/package-management/dnf5/default.nix
··· 25 25 26 26 stdenv.mkDerivation (finalAttrs: { 27 27 pname = "dnf5"; 28 - version = "5.1.6"; 28 + version = "5.1.7"; 29 29 30 30 src = fetchFromGitHub { 31 31 owner = "rpm-software-management"; 32 32 repo = "dnf5"; 33 33 rev = finalAttrs.version; 34 - hash = "sha256-yIv29mwCBk2H1HjJr2IYm/1eZU379jTNEuTuaoIu4TA="; 34 + hash = "sha256-SXgl4YFWl1A3N2/IkDftvBl6Rwhnymxe8AqqaekGHTc="; 35 35 }; 36 36 37 37 nativeBuildInputs = [ cmake createrepo_c gettext help2man pkg-config ]; ··· 88 88 homepage = "https://github.com/rpm-software-management/dnf5"; 89 89 changelog = "https://github.com/rpm-software-management/dnf5/releases/tag/${version}"; 90 90 license = licenses.gpl2Plus; 91 - maintainers = with lib.maintainers; [ malt3 ]; 91 + maintainers = with lib.maintainers; [ malt3 katexochen ]; 92 92 mainProgram = "dnf5"; 93 93 platforms = platforms.linux ++ platforms.darwin; 94 94 };