Merge master into staging-next

authored by github-actions[bot] and committed by GitHub a3e2b0de e9dcfb33

+255 -97
+1 -1
maintainers/maintainer-list.nix
··· 2983 }; 2984 cafkafk = { 2985 email = "christina@cafkafk.com"; 2986 - matrix = "@cafkafk:nixos.dev"; 2987 name = "Christina Sørensen"; 2988 github = "cafkafk"; 2989 githubId = 89321978;
··· 2983 }; 2984 cafkafk = { 2985 email = "christina@cafkafk.com"; 2986 + matrix = "@cafkafk:gitter.im"; 2987 name = "Christina Sørensen"; 2988 github = "cafkafk"; 2989 githubId = 89321978;
+1 -1
nixos/modules/config/nix.nix
··· 1 /* 2 - Manages /etc/nix.conf. 3 4 See also 5 - ./nix-channel.nix
··· 1 /* 2 + Manages /etc/nix/nix.conf. 3 4 See also 5 - ./nix-channel.nix
+16 -5
nixos/tests/power-profiles-daemon.nix
··· 8 nodes.machine = { pkgs, ... }: { 9 security.polkit.enable = true; 10 services.power-profiles-daemon.enable = true; 11 - environment.systemPackages = [ pkgs.glib ]; 12 }; 13 14 testScript = '' 15 def get_profile(): 16 return machine.succeed( 17 - """gdbus call --system --dest net.hadess.PowerProfiles --object-path /net/hadess/PowerProfiles \ 18 - --method org.freedesktop.DBus.Properties.Get 'net.hadess.PowerProfiles' 'ActiveProfile' 19 """ 20 ) 21 22 23 def set_profile(profile): 24 return machine.succeed( 25 - """gdbus call --system --dest net.hadess.PowerProfiles --object-path /net/hadess/PowerProfiles \ 26 - --method org.freedesktop.DBus.Properties.Set 'net.hadess.PowerProfiles' 'ActiveProfile' "<'{profile}'>" 27 """.format( 28 profile=profile 29 ) ··· 42 profile = get_profile() 43 if not "balanced" in profile: 44 raise Exception("Unable to set balanced profile") 45 ''; 46 })
··· 8 nodes.machine = { pkgs, ... }: { 9 security.polkit.enable = true; 10 services.power-profiles-daemon.enable = true; 11 + environment.systemPackages = [ pkgs.glib pkgs.power-profiles-daemon ]; 12 }; 13 14 testScript = '' 15 def get_profile(): 16 return machine.succeed( 17 + """gdbus call --system --dest org.freedesktop.UPower.PowerProfiles --object-path /org/freedesktop/UPower/PowerProfiles \ 18 + --method org.freedesktop.DBus.Properties.Get 'org.freedesktop.UPower.PowerProfiles' 'ActiveProfile' 19 """ 20 ) 21 22 23 def set_profile(profile): 24 return machine.succeed( 25 + """gdbus call --system --dest org.freedesktop.UPower.PowerProfiles --object-path /org/freedesktop/UPower/PowerProfiles \ 26 + --method org.freedesktop.DBus.Properties.Set 'org.freedesktop.UPower.PowerProfiles' 'ActiveProfile' "<'{profile}'>" 27 """.format( 28 profile=profile 29 ) ··· 42 profile = get_profile() 43 if not "balanced" in profile: 44 raise Exception("Unable to set balanced profile") 45 + 46 + # test powerprofilectl CLI 47 + machine.succeed("powerprofilesctl set power-saver") 48 + profile = get_profile() 49 + if not "power-saver" in profile: 50 + raise Exception("Unable to set power-saver profile with powerprofilectl") 51 + 52 + machine.succeed("powerprofilesctl set balanced") 53 + profile = get_profile() 54 + if not "balanced" in profile: 55 + raise Exception("Unable to set balanced profile with powerprofilectl") 56 ''; 57 })
+18 -18
pkgs/applications/emulators/retroarch/hashes.json
··· 307 "src": { 308 "owner": "flyinghead", 309 "repo": "flycast", 310 - "rev": "44fa364f36c43bed19b055096600f075c656f78c", 311 - "hash": "sha256-UfASq8OXtsfubMUfke7P6HTygM/9fP421IoLQeJvPgY=", 312 "fetchSubmodules": true 313 }, 314 - "version": "unstable-2024-02-09" 315 }, 316 "fmsx": { 317 "fetcher": "fetchFromGitHub", ··· 348 "src": { 349 "owner": "libretro", 350 "repo": "gambatte-libretro", 351 - "rev": "05c4e10168aa3070b4ea01f7da7ab1c0d4241103", 352 - "hash": "sha256-W/s8FWjFOIcclLkbM5s2+2dcvr+X2My5319SvRo5/lU=" 353 }, 354 - "version": "unstable-2024-02-09" 355 }, 356 "genesis-plus-gx": { 357 "fetcher": "fetchFromGitHub", 358 "src": { 359 "owner": "libretro", 360 "repo": "Genesis-Plus-GX", 361 - "rev": "7aba063778534a78b080a737c0465667ebd66154", 362 - "hash": "sha256-Rx5ymDqYmtovr/IJRY4loUwwWTk8GEs+oviP4YOk6ZI=" 363 }, 364 - "version": "unstable-2024-02-16" 365 }, 366 "gpsp": { 367 "fetcher": "fetchFromGitHub", ··· 438 "src": { 439 "owner": "libretro", 440 "repo": "mame2003-plus-libretro", 441 - "rev": "fc987f1913203a41bca7f6fd16e92c83729dd7fc", 442 - "hash": "sha256-Mn0WuzGGxDlUEccC21V0FzRyTAgRoAnLCm5jpz9rkdY=" 443 }, 444 - "version": "unstable-2024-02-16" 445 }, 446 "mame2010": { 447 "fetcher": "fetchFromGitHub", ··· 662 "src": { 663 "owner": "hrydgard", 664 "repo": "ppsspp", 665 - "rev": "f5450e40eb3f4861451fb98bf9239dacc5aef81e", 666 - "hash": "sha256-Kj0bxp2ValsmoKHP4x8LJ60priLnRAvgtjsUemm0do4=", 667 "fetchSubmodules": true 668 }, 669 - "version": "unstable-2024-02-16" 670 }, 671 "prboom": { 672 "fetcher": "fetchFromGitHub", ··· 693 "src": { 694 "owner": "libretro", 695 "repo": "libretro-uae", 696 - "rev": "4e8b54dd574eff239b5f4b4e3bc35c40b3a7cdd4", 697 - "hash": "sha256-pBpzzCgZYaA7/+UvwTsKCRseroe98AwRovjIk4Z0fhI=" 698 }, 699 - "version": "unstable-2024-02-20" 700 }, 701 "quicknes": { 702 "fetcher": "fetchFromGitHub",
··· 307 "src": { 308 "owner": "flyinghead", 309 "repo": "flycast", 310 + "rev": "bc51aefa9c52981621abf1d3545bff7befa4d01b", 311 + "hash": "sha256-NSCJxex5Rl7sWe2DkJ2aIyPzfdTcwSRb2iI3xpvYiow=", 312 "fetchSubmodules": true 313 }, 314 + "version": "unstable-2024-02-23" 315 }, 316 "fmsx": { 317 "fetcher": "fetchFromGitHub", ··· 348 "src": { 349 "owner": "libretro", 350 "repo": "gambatte-libretro", 351 + "rev": "4041d5a6c474d2d01b4cb1e81324b06b51d0147b", 352 + "hash": "sha256-TmPOka3oz5xIFDEsmDbvXXmLmP15FtQdoUZ+FErbqrI=" 353 }, 354 + "version": "unstable-2024-02-23" 355 }, 356 "genesis-plus-gx": { 357 "fetcher": "fetchFromGitHub", 358 "src": { 359 "owner": "libretro", 360 "repo": "Genesis-Plus-GX", 361 + "rev": "b38cdca9036332c1b7b05817432d1fd42d59527b", 362 + "hash": "sha256-5yr64Jy8WxamMknIG9nhIV4BLTZg8k7Q8Lnw8sfmWhk=" 363 }, 364 + "version": "unstable-2024-02-23" 365 }, 366 "gpsp": { 367 "fetcher": "fetchFromGitHub", ··· 438 "src": { 439 "owner": "libretro", 440 "repo": "mame2003-plus-libretro", 441 + "rev": "1a5b4b75e1e178a338f8f3dee3dfd940c8c9a3f2", 442 + "hash": "sha256-6r30iB3LQvtHQh5nv+ZL/hag1j/l/uEpVzkzieLaK80=" 443 }, 444 + "version": "unstable-2024-02-21" 445 }, 446 "mame2010": { 447 "fetcher": "fetchFromGitHub", ··· 662 "src": { 663 "owner": "hrydgard", 664 "repo": "ppsspp", 665 + "rev": "d5cfcccbeab6c6b6dc7e851724b9ccd8252b2592", 666 + "hash": "sha256-lBzOIQpv0H0/DTCyWpf3tX3d/N9M49djoIwGgDW+S9A=", 667 "fetchSubmodules": true 668 }, 669 + "version": "unstable-2024-02-23" 670 }, 671 "prboom": { 672 "fetcher": "fetchFromGitHub", ··· 693 "src": { 694 "owner": "libretro", 695 "repo": "libretro-uae", 696 + "rev": "5f683ae67b998fcadd69fa8f65f2440fa8ef135f", 697 + "hash": "sha256-SvV18vqMf9ZtGzrK3bnE0h2ImYi1QuLi7t+ZO91Lm6Y=" 698 }, 699 + "version": "unstable-2024-02-22" 700 }, 701 "quicknes": { 702 "fetcher": "fetchFromGitHub",
+3 -3
pkgs/applications/networking/cluster/werf/default.nix
··· 10 11 buildGoModule rec { 12 pname = "werf"; 13 - version = "1.2.292"; 14 15 src = fetchFromGitHub { 16 owner = "werf"; 17 repo = "werf"; 18 rev = "v${version}"; 19 - hash = "sha256-jBGAd7He2ap7+IF5Og7J6iBoIoLG8KqxSLcPKogJwP8="; 20 }; 21 22 - vendorHash = "sha256-JaAiQC5QnamzUz1hPSldXtZqhTQIlGFGMYhLJd7t3j4="; 23 24 proxyVendor = true; 25
··· 10 11 buildGoModule rec { 12 pname = "werf"; 13 + version = "1.2.294"; 14 15 src = fetchFromGitHub { 16 owner = "werf"; 17 repo = "werf"; 18 rev = "v${version}"; 19 + hash = "sha256-A/Do2UepwV8lmT8qWir7CKR8/YeVKOEoJjvVfj9+wt0="; 20 }; 21 22 + vendorHash = "sha256-Fb9drtVITjka83Y8+YSa9fqSBv7O4muMGqV4w3K7+Dg="; 23 24 proxyVendor = true; 25
+2 -2
pkgs/applications/networking/pyload-ng/default.nix
··· 1 { lib, fetchPypi, nixosTests, python3 }: 2 3 python3.pkgs.buildPythonApplication rec { 4 - version = "0.5.0b3.dev75"; 5 pname = "pyload-ng"; 6 pyproject = true; 7 8 src = fetchPypi { 9 inherit pname version; 10 - hash = "sha256-1lPIKkZESonDaVCnac0iUu/gCqXVDBhNZrk5S0eC6F0="; 11 }; 12 13 patches = [
··· 1 { lib, fetchPypi, nixosTests, python3 }: 2 3 python3.pkgs.buildPythonApplication rec { 4 + version = "0.5.0b3.dev80"; 5 pname = "pyload-ng"; 6 pyproject = true; 7 8 src = fetchPypi { 9 inherit pname version; 10 + hash = "sha256-1vIkEctoj6udowYxFwY42f/zL9Elw2Nl6ZaL2x30k/M="; 11 }; 12 13 patches = [
+3 -3
pkgs/applications/version-management/git-absorb/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "git-absorb"; 5 - version = "0.6.11"; 6 7 src = fetchFromGitHub { 8 owner = "tummychow"; 9 repo = "git-absorb"; 10 rev = "refs/tags/${version}"; 11 - hash = "sha256-SYBJKnzv2oktWubgm/j6wEeoLSBjGqQVXQf9LOaq+NU="; 12 }; 13 14 nativeBuildInputs = [ installShellFiles ]; 15 16 buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 17 18 - cargoHash = "sha256-i2ntM7NTi+hiB7DxEEV+3SXV8sVVWcNanif/wUZ9XvI="; 19 20 postInstall = '' 21 installManPage Documentation/git-absorb.1
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "git-absorb"; 5 + version = "0.6.12"; 6 7 src = fetchFromGitHub { 8 owner = "tummychow"; 9 repo = "git-absorb"; 10 rev = "refs/tags/${version}"; 11 + hash = "sha256-yHCO1v1d0MUakae16fFVvtKG3rVxU/Cii/G6IKzyebA="; 12 }; 13 14 nativeBuildInputs = [ installShellFiles ]; 15 16 buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 17 18 + cargoHash = "sha256-Bx7gH7jSLizG95JyBtziPBby9mF1Nj3CQexIg6gaiM0="; 19 20 postInstall = '' 21 installManPage Documentation/git-absorb.1
+2 -2
pkgs/applications/video/obs-studio/plugins/obs-shaderfilter.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "obs-shaderfilter"; 11 - version = "2.0.0"; 12 13 src = fetchFromGitHub { 14 owner = "exeldro"; 15 repo = "obs-shaderfilter"; 16 rev = version; 17 - sha256 = "sha256-CEe/NUIYhVdvs7/ZvrvuwKPRNofWE+WZxN6yN8RACs8="; 18 }; 19 20 nativeBuildInputs = [ cmake ];
··· 8 9 stdenv.mkDerivation rec { 10 pname = "obs-shaderfilter"; 11 + version = "2.2.2"; 12 13 src = fetchFromGitHub { 14 owner = "exeldro"; 15 repo = "obs-shaderfilter"; 16 rev = version; 17 + sha256 = "sha256-cz4Qk56e9CC//a+7pz5rcTxPlMwDwSAKfmgMyBZI4mo="; 18 }; 19 20 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/applications/video/vdr/softhddevice/default.nix
··· 14 }: 15 stdenv.mkDerivation rec { 16 pname = "vdr-softhddevice"; 17 - version = "2.0.9"; 18 19 src = fetchFromGitHub { 20 owner = "ua0lnj"; 21 repo = "vdr-plugin-softhddevice"; 22 - sha256 = "sha256-FyjKMCKPZVtQhb7wBx4Xr6I/kb2QMH/TEE21bw5gcwc="; 23 rev = "v${version}"; 24 }; 25
··· 14 }: 15 stdenv.mkDerivation rec { 16 pname = "vdr-softhddevice"; 17 + version = "2.1.1"; 18 19 src = fetchFromGitHub { 20 owner = "ua0lnj"; 21 repo = "vdr-plugin-softhddevice"; 22 + sha256 = "sha256-d/Cl0sE4laDdjMhd3xTHcY4OT5tWWCFCvLsNF157+zw="; 23 rev = "v${version}"; 24 }; 25
+64
pkgs/by-name/po/powerhub/package.nix
···
··· 1 + { lib 2 + , fetchFromGitHub 3 + , python3 4 + }: 5 + 6 + python3.pkgs.buildPythonApplication rec { 7 + pname = "powerhub"; 8 + version = "2.0.7"; 9 + pyproject = true; 10 + 11 + src = fetchFromGitHub { 12 + owner = "AdrianVollmer"; 13 + repo = "PowerHub"; 14 + rev = "refs/tags/${version}"; 15 + hash = "sha256-ejdG/vMINyvToP8GAhRMdp/Jq8rZNBubDbRcg2i05lM="; 16 + }; 17 + 18 + nativeBuildInputs = with python3.pkgs; [ 19 + setuptools 20 + setuptools-scm 21 + ]; 22 + 23 + propagatedBuildInputs = with python3.pkgs; [ 24 + cheroot 25 + cryptography 26 + dnspython 27 + flask 28 + flask-socketio 29 + flask-sqlalchemy 30 + importlib-metadata 31 + jinja2 32 + pyopenssl 33 + python-magic 34 + python-socketio 35 + requests 36 + service-identity 37 + simple-websocket 38 + sqlalchemy 39 + twisted 40 + watchdog 41 + werkzeug 42 + wsgidav 43 + ]; 44 + 45 + # Tests uses XDG 46 + doCheck = false; 47 + 48 + pythonImportsCheck = [ 49 + "powerhub" 50 + ]; 51 + 52 + preCheck = '' 53 + cd tests/helpers 54 + ''; 55 + 56 + meta = with lib; { 57 + description = "Post exploitation tool based on a web application, focusing on bypassing endpoint protection and application whitelisting"; 58 + homepage = "https://github.com/AdrianVollmer/PowerHub"; 59 + changelog = "https://github.com/AdrianVollmer/PowerHub/blob/${version}/CHANGELOG.md"; 60 + license = licenses.mit; 61 + maintainers = with maintainers; [ fab ]; 62 + mainProgram = "powerhub"; 63 + }; 64 + }
+31
pkgs/development/compilers/llvm/git/libcxx/0001-darwin-10.12-mbstate_t-fix.patch
···
··· 1 + From 9c1cb26c1dd3f92d1c1177e548107d2cd3c5e616 Mon Sep 17 00:00:00 2001 2 + From: annalee <150648636+a-n-n-a-l-e-e@users.noreply.github.com> 3 + Date: Fri, 23 Feb 2024 22:58:58 +0000 4 + Subject: [PATCH] darwin 10.12 mbstate_t fix 5 + 6 + https://github.com/llvm/llvm-project/issues/64226 7 + 8 + removes space from 9 + https://github.com/macports/macports-ports/raw/acd8acb171f1658596ed1cf25da48d5b932e2d19/lang/llvm-17/files/0042-mbstate_t-not-defined.patch 10 + so it applies cleanly 11 + --- 12 + include/__mbstate_t.h | 3 +++ 13 + 1 file changed, 3 insertions(+) 14 + 15 + diff --git a/include/__mbstate_t.h b/include/__mbstate_t.h 16 + index bfa6d61..5f51112 100644 17 + --- a/include/__mbstate_t.h 18 + +++ b/include/__mbstate_t.h 19 + @@ -42,6 +42,9 @@ 20 + #elif __has_include(<bits/types/mbstate_t.h>) 21 + # include <bits/types/mbstate_t.h> // works on most Unixes 22 + #elif __has_include(<sys/_types/_mbstate_t.h>) 23 + +# if __has_include(<machine/_types.h>) 24 + +# include <machine/_types.h> 25 + +# endif 26 + # include <sys/_types/_mbstate_t.h> // works on Darwin 27 + #elif !defined(_LIBCPP_HAS_NO_WIDE_CHARACTERS) && __has_include_next(<wchar.h>) 28 + # include_next <wchar.h> // fall back to the C standard provider of mbstate_t 29 + -- 30 + 2.43.0 31 +
+5
pkgs/development/compilers/llvm/git/libcxx/default.nix
··· 45 chmod -R u+w . 46 ''; 47 48 postPatch = '' 49 cd ../runtimes 50 '';
··· 45 chmod -R u+w . 46 ''; 47 48 + patches = lib.optionals (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "10.13") [ 49 + # https://github.com/llvm/llvm-project/issues/64226 50 + ./0001-darwin-10.12-mbstate_t-fix.patch 51 + ]; 52 + 53 postPatch = '' 54 cd ../runtimes 55 '';
-3
pkgs/development/compilers/llvm/git/libcxxabi/default.nix
··· 126 # the UIUC License (a BSD-like license)": 127 license = with lib.licenses; [ mit ncsa ]; 128 maintainers = llvm_meta.maintainers ++ [ lib.maintainers.vlstill ]; 129 - # Broken until https://github.com/llvm/llvm-project/issues/64226 is resolved 130 - # We should check if the version is not 10.13 but that is currently broken. 131 - broken = stdenv.isDarwin && stdenv.isx86_64; 132 }; 133 }
··· 126 # the UIUC License (a BSD-like license)": 127 license = with lib.licenses; [ mit ncsa ]; 128 maintainers = llvm_meta.maintainers ++ [ lib.maintainers.vlstill ]; 129 }; 130 }
+2 -2
pkgs/development/python-modules/fastapi-sso/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "fastapi-sso"; 19 - version = "0.11.0"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.8"; ··· 25 owner = "tomasvotava"; 26 repo = "fastapi-sso"; 27 rev = "refs/tags/${version}"; 28 - hash = "sha256-bz4rr7h90d/QkBBqQN1pLF8ANhOiq2v0Vv2pjBGpeTs="; 29 }; 30 31 postPatch = ''
··· 16 17 buildPythonPackage rec { 18 pname = "fastapi-sso"; 19 + version = "0.12.1"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.8"; ··· 25 owner = "tomasvotava"; 26 repo = "fastapi-sso"; 27 rev = "refs/tags/${version}"; 28 + hash = "sha256-/Mt0pmZYsWp/n9YHCy/bFKUPzmoRFB0cHKCNxEfxMLs="; 29 }; 30 31 postPatch = ''
+10 -8
pkgs/development/python-modules/pyrainbird/default.nix
··· 18 , requests 19 , requests-mock 20 , responses 21 }: 22 23 buildPythonPackage rec { 24 pname = "pyrainbird"; 25 - version = "4.0.1"; 26 - format = "setuptools"; 27 28 disabled = pythonOlder "3.10"; 29 30 src = fetchFromGitHub { 31 owner = "allenporter"; 32 - repo = pname; 33 rev = "refs/tags/${version}"; 34 - hash = "sha256-OcCg6Q+FJnmrYf70uNLWTg/tfWVJpiQlnyKfREcP2YM="; 35 }; 36 37 postPatch = '' 38 substituteInPlace pytest.ini \ 39 - --replace "--cov=pyrainbird --cov-report=term-missing" "" 40 41 - substituteInPlace setup.cfg \ 42 - --replace "pycryptodome>=3.16.0" "pycryptodome" 43 - ''; 44 45 propagatedBuildInputs = [ 46 aiohttp-retry
··· 18 , requests 19 , requests-mock 20 , responses 21 + , setuptools 22 }: 23 24 buildPythonPackage rec { 25 pname = "pyrainbird"; 26 + version = "4.0.2"; 27 + pyproject = true; 28 29 disabled = pythonOlder "3.10"; 30 31 src = fetchFromGitHub { 32 owner = "allenporter"; 33 + repo = "pyrainbird"; 34 rev = "refs/tags/${version}"; 35 + hash = "sha256-4AoxLZv0u8wCG3ihw0JqsqsO5zG5UyP4ebSX99ve8sg="; 36 }; 37 38 postPatch = '' 39 substituteInPlace pytest.ini \ 40 + --replace-fail "--cov=pyrainbird --cov-report=term-missing" "" 41 + ''; 42 43 + nativeBuildInputs = [ 44 + setuptools 45 + ]; 46 47 propagatedBuildInputs = [ 48 aiohttp-retry
+21 -6
pkgs/development/python-modules/pysaml2/default.nix
··· 3 , cryptography 4 , defusedxml 5 , fetchFromGitHub 6 - , importlib-resources 7 , poetry-core 8 , pyasn1 9 , pymongo ··· 11 , pytestCheckHook 12 , python-dateutil 13 , pythonOlder 14 , pytz 15 , requests 16 , responses 17 , setuptools 18 , substituteAll 19 , xmlschema 20 , xmlsec 21 }: 22 23 buildPythonPackage rec { 24 pname = "pysaml2"; 25 - version = "7.4.2"; 26 format = "pyproject"; 27 28 disabled = pythonOlder "3.9"; 29 30 src = fetchFromGitHub { 31 owner = "IdentityPython"; 32 - repo = pname; 33 rev = "refs/tags/v${version}"; 34 - hash = "sha256-f8qd1Mfy32CYH9/PshfMMBviDg7OhOPlwz69bPjlYbg="; 35 }; 36 37 patches = [ ··· 46 sed -i 's/2999\(-.*T\)/2029\1/g' tests/*.xml 47 ''; 48 49 nativeBuildInputs = [ 50 poetry-core 51 ]; 52 53 propagatedBuildInputs = [ ··· 59 requests 60 setuptools 61 xmlschema 62 - ] ++ lib.optionals (pythonOlder "3.9") [ 63 - importlib-resources 64 ]; 65 66 nativeCheckInputs = [ 67 pyasn1
··· 3 , cryptography 4 , defusedxml 5 , fetchFromGitHub 6 + , fetchPypi 7 + , paste 8 , poetry-core 9 , pyasn1 10 , pymongo ··· 12 , pytestCheckHook 13 , python-dateutil 14 , pythonOlder 15 + , pythonRelaxDepsHook 16 , pytz 17 + , repoze-who 18 , requests 19 , responses 20 , setuptools 21 , substituteAll 22 , xmlschema 23 , xmlsec 24 + , zope-interface 25 }: 26 27 buildPythonPackage rec { 28 pname = "pysaml2"; 29 + version = "7.5.0"; 30 format = "pyproject"; 31 32 disabled = pythonOlder "3.9"; 33 34 src = fetchFromGitHub { 35 owner = "IdentityPython"; 36 + repo = "pysaml2"; 37 rev = "refs/tags/v${version}"; 38 + hash = "sha256-M/tdKGu6K38TeBZc8/dt376bHhPB0svHB3iis/se0DY="; 39 }; 40 41 patches = [ ··· 50 sed -i 's/2999\(-.*T\)/2029\1/g' tests/*.xml 51 ''; 52 53 + pythonRelaxDeps = [ 54 + "xmlschema" 55 + ]; 56 + 57 nativeBuildInputs = [ 58 poetry-core 59 + pythonRelaxDepsHook 60 ]; 61 62 propagatedBuildInputs = [ ··· 68 requests 69 setuptools 70 xmlschema 71 ]; 72 + 73 + passthru.optional-dependencies = { 74 + s2repoze = [ 75 + paste 76 + repoze-who 77 + zope-interface 78 + ]; 79 + }; 80 81 nativeCheckInputs = [ 82 pyasn1
+54
pkgs/development/python-modules/tencentcloud-sdk-python/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pytestCheckHook 5 + , pythonOlder 6 + , requests 7 + , setuptools 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "tencentcloud-sdk-python"; 12 + version = "3.0.1094"; 13 + pyproject = true; 14 + 15 + disabled = pythonOlder "3.9"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "TencentCloud"; 19 + repo = "tencentcloud-sdk-python"; 20 + rev = "refs/tags/${version}"; 21 + hash = "sha256-h2p9auD8bTDbagAmjsmV06Z75I93LB6h+/ZYyt17ow0="; 22 + }; 23 + 24 + nativeBuildInputs = [ 25 + setuptools 26 + ]; 27 + 28 + propagatedBuildInputs = [ 29 + requests 30 + ]; 31 + 32 + nativeCheckInputs = [ 33 + pytestCheckHook 34 + ]; 35 + 36 + pythonImportsCheck = [ 37 + "tencentcloud" 38 + ]; 39 + 40 + pytestFlagsArray = [ 41 + # Other tests require credentials 42 + "tests/unit/test_deserialize_warning.py" 43 + "tests/unit/test_import.py" 44 + "tests/unit/test_serialization.py" 45 + ]; 46 + 47 + meta = with lib; { 48 + description = "Tencent Cloud API 3.0 SDK for Python"; 49 + homepage = "https://github.com/TencentCloud/tencentcloud-sdk-python"; 50 + changelog = "https://github.com/TencentCloud/tencentcloud-sdk-python/blob/${version}/CHANGELOG.md"; 51 + license = licenses.asl20; 52 + maintainers = with maintainers; [ fab ]; 53 + }; 54 + }
+11 -28
pkgs/os-specific/linux/power-profiles-daemon/default.nix
··· 5 , mesonEmulatorHook 6 , ninja 7 , fetchFromGitLab 8 - , fetchpatch 9 , libgudev 10 , glib 11 , polkit ··· 21 , umockdev 22 , systemd 23 , python3 24 - , wrapGAppsNoGuiHook 25 , nixosTests 26 }: 27 28 stdenv.mkDerivation rec { 29 pname = "power-profiles-daemon"; 30 - version = "0.13"; 31 32 outputs = [ "out" "devdoc" ]; 33 34 src = fetchFromGitLab { 35 domain = "gitlab.freedesktop.org"; 36 - owner = "hadess"; 37 repo = "power-profiles-daemon"; 38 rev = version; 39 - sha256 = "sha256-ErHy+shxZQ/aCryGhovmJ6KmAMt9OZeQGDbHIkC0vUE="; 40 }; 41 42 nativeBuildInputs = [ ··· 50 libxml2 # for xmllint for stripping GResources 51 libxslt # for xsltproc for building docs 52 gobject-introspection 53 - wrapGAppsNoGuiHook 54 - python3.pkgs.wrapPython 55 # checkInput but cheked for during the configuring 56 (python3.pythonOnBuildForHost.withPackages (ps: with ps; [ 57 pygobject3 ··· 68 upower 69 glib 70 polkit 71 - python3 # for cli tool 72 - # Duplicate from nativeCheckInputs until https://github.com/NixOS/nixpkgs/issues/161570 is solved 73 - umockdev 74 ]; 75 76 strictDeps = true; 77 78 - # for cli tool 79 - pythonPath = [ 80 - python3.pkgs.pygobject3 81 ]; 82 83 nativeCheckInputs = [ ··· 95 96 PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "${placeholder "out"}/share/polkit-1/actions"; 97 98 - # Avoid double wrapping 99 - dontWrapGApps = true; 100 - 101 postPatch = '' 102 patchShebangs --build \ 103 tests/integration-test.py \ 104 tests/unittest_inspector.py 105 - ''; 106 107 - postCheck = '' 108 - # Do not contaminate the wrapper with test dependencies. 109 - unset GI_TYPELIB_PATH 110 - unset XDG_DATA_DIRS 111 - ''; 112 - 113 - postFixup = '' 114 - # Avoid double wrapping 115 - makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 116 - # Make Python libraries available 117 - wrapPythonProgramsIn "$out/bin" "$pythonPath" 118 ''; 119 120 passthru = {
··· 5 , mesonEmulatorHook 6 , ninja 7 , fetchFromGitLab 8 , libgudev 9 , glib 10 , polkit ··· 20 , umockdev 21 , systemd 22 , python3 23 , nixosTests 24 }: 25 26 stdenv.mkDerivation rec { 27 pname = "power-profiles-daemon"; 28 + version = "0.20"; 29 30 outputs = [ "out" "devdoc" ]; 31 32 src = fetchFromGitLab { 33 domain = "gitlab.freedesktop.org"; 34 + owner = "upower"; 35 repo = "power-profiles-daemon"; 36 rev = version; 37 + sha256 = "sha256-8wSRPR/1ELcsZ9K3LvSNlPcJvxRhb/LRjTIxKtdQlCA="; 38 }; 39 40 nativeBuildInputs = [ ··· 48 libxml2 # for xmllint for stripping GResources 49 libxslt # for xsltproc for building docs 50 gobject-introspection 51 # checkInput but cheked for during the configuring 52 (python3.pythonOnBuildForHost.withPackages (ps: with ps; [ 53 pygobject3 ··· 64 upower 65 glib 66 polkit 67 + # for cli tool 68 + (python3.withPackages (ps: [ 69 + ps.pygobject3 70 + ])) 71 ]; 72 73 strictDeps = true; 74 75 + checkInputs = [ 76 + umockdev 77 ]; 78 79 nativeCheckInputs = [ ··· 91 92 PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "${placeholder "out"}/share/polkit-1/actions"; 93 94 postPatch = '' 95 patchShebangs --build \ 96 tests/integration-test.py \ 97 tests/unittest_inspector.py 98 99 + patchShebangs --host \ 100 + src/powerprofilesctl 101 ''; 102 103 passthru = {
+3 -3
pkgs/servers/home-assistant/custom-lovelace-modules/mushroom/default.nix
··· 5 6 buildNpmPackage rec { 7 pname = "mushroom"; 8 - version = "3.4.0"; 9 10 src = fetchFromGitHub { 11 owner = "piitaya"; 12 repo = "lovelace-mushroom"; 13 rev = "v${version}"; 14 - hash = "sha256-XVi+VPOVHfYBlIY9xN7x9Qe1bVw/qS9p8bcRZb0ksE0="; 15 }; 16 17 - npmDepsHash = "sha256-XtSeO5+RaBCBLmq6paRX9KipkhcEdJhzrQeEDdysZE0="; 18 19 installPhase = '' 20 runHook preInstall
··· 5 6 buildNpmPackage rec { 7 pname = "mushroom"; 8 + version = "3.4.2"; 9 10 src = fetchFromGitHub { 11 owner = "piitaya"; 12 repo = "lovelace-mushroom"; 13 rev = "v${version}"; 14 + hash = "sha256-OUcOCBLEU8V+eadHuyA6F0uT8fJLRe1Xd9/X5ULCZVc="; 15 }; 16 17 + npmDepsHash = "sha256-oIee6iJ18EBztje1aw4xzWa1wSIbgau4q0MyVx0T41I="; 18 19 installPhase = '' 20 runHook preInstall
-5
pkgs/servers/monitoring/zabbix/versions.nix
··· 10 sha256 = "sha256-+C5fI+eMJKsynVnVJIYj27x1iFQwaG9Fnho0BXgENQI="; 11 vendorHash = "sha256-oSZBzIUL1yHXk7PnkSAlhI0i89aGMFrFHmbMN9rDAJ0="; 12 }; 13 - 14 - v40 = generic { 15 - version = "4.0.48"; 16 - sha256 = "sha256-WK8Zzkd/s9M7N5Qr2kejtp/f/n1wb5zRSfh0RiI2K+Q="; 17 - }; 18 }
··· 10 sha256 = "sha256-+C5fI+eMJKsynVnVJIYj27x1iFQwaG9Fnho0BXgENQI="; 11 vendorHash = "sha256-oSZBzIUL1yHXk7PnkSAlhI0i89aGMFrFHmbMN9rDAJ0="; 12 }; 13 }
+2 -2
pkgs/shells/fish/plugins/forgit.nix
··· 2 3 buildFishPlugin rec { 4 pname = "forgit"; 5 - version = "24.01.0"; 6 7 src = fetchFromGitHub { 8 owner = "wfxr"; 9 repo = "forgit"; 10 rev = version; 11 - hash = "sha256-WHhyllOr/PgR+vlrfMQs/3/d3xpmDylT6BlLCu50a2g="; 12 }; 13 14 postInstall = ''
··· 2 3 buildFishPlugin rec { 4 pname = "forgit"; 5 + version = "24.02.0"; 6 7 src = fetchFromGitHub { 8 owner = "wfxr"; 9 repo = "forgit"; 10 rev = version; 11 + hash = "sha256-DoOtrnEJwSxkCZtsVek+3w9RZH7j7LTvdleBC88xyfI="; 12 }; 13 14 postInstall = ''
+1
pkgs/top-level/aliases.nix
··· 1191 1192 ### Z ### 1193 1194 zinc = zincsearch; # Added 2023-05-28 1195 zkg = throw "'zkg' has been replaced by 'zeek'"; 1196 zq = zed.overrideAttrs (old: { meta = old.meta // { mainProgram = "zq"; }; }); # Added 2023-02-06
··· 1191 1192 ### Z ### 1193 1194 + zabbix40 = throw "'zabbix40' has been removed as it has reached end of life"; # Added 2024-01-07 1195 zinc = zincsearch; # Added 2023-05-28 1196 zkg = throw "'zkg' has been replaced by 'zeek'"; 1197 zq = zed.overrideAttrs (old: { meta = old.meta // { mainProgram = "zq"; }; }); # Added 2023-02-06
+1 -3
pkgs/top-level/all-packages.nix
··· 27341 server-mysql = (callPackages ../servers/monitoring/zabbix/server.nix { mysqlSupport = true; }).${version}; 27342 server-pgsql = (callPackages ../servers/monitoring/zabbix/server.nix { postgresqlSupport = true; }).${version}; 27343 web = (callPackages ../servers/monitoring/zabbix/web.nix {}).${version}; 27344 27345 # backwards compatibility 27346 server = server-pgsql; 27347 - } // lib.optionalAttrs ( version != "v40" ) { # agent2 is not supported in v4 27348 - agent2 = (callPackages ../servers/monitoring/zabbix/agent2.nix {}).${version}; 27349 }; 27350 27351 zabbix60 = recurseIntoAttrs (zabbixFor "v60"); 27352 zabbix50 = recurseIntoAttrs (zabbixFor "v50"); 27353 - zabbix40 = dontRecurseIntoAttrs (zabbixFor "v40"); 27354 27355 zabbix = zabbix60; 27356
··· 27341 server-mysql = (callPackages ../servers/monitoring/zabbix/server.nix { mysqlSupport = true; }).${version}; 27342 server-pgsql = (callPackages ../servers/monitoring/zabbix/server.nix { postgresqlSupport = true; }).${version}; 27343 web = (callPackages ../servers/monitoring/zabbix/web.nix {}).${version}; 27344 + agent2 = (callPackages ../servers/monitoring/zabbix/agent2.nix {}).${version}; 27345 27346 # backwards compatibility 27347 server = server-pgsql; 27348 }; 27349 27350 zabbix60 = recurseIntoAttrs (zabbixFor "v60"); 27351 zabbix50 = recurseIntoAttrs (zabbixFor "v50"); 27352 27353 zabbix = zabbix60; 27354
+2
pkgs/top-level/python-packages.nix
··· 14331 14332 tenacity = callPackage ../development/python-modules/tenacity { }; 14333 14334 tensorboard-data-server = callPackage ../development/python-modules/tensorboard-data-server { }; 14335 14336 tensorboard-plugin-profile = callPackage ../development/python-modules/tensorboard-plugin-profile { };
··· 14331 14332 tenacity = callPackage ../development/python-modules/tenacity { }; 14333 14334 + tencentcloud-sdk-python = callPackage ../development/python-modules/tencentcloud-sdk-python { }; 14335 + 14336 tensorboard-data-server = callPackage ../development/python-modules/tensorboard-data-server { }; 14337 14338 tensorboard-plugin-profile = callPackage ../development/python-modules/tensorboard-plugin-profile { };