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 2983 }; 2984 2984 cafkafk = { 2985 2985 email = "christina@cafkafk.com"; 2986 - matrix = "@cafkafk:nixos.dev"; 2986 + matrix = "@cafkafk:gitter.im"; 2987 2987 name = "Christina Sørensen"; 2988 2988 github = "cafkafk"; 2989 2989 githubId = 89321978;
+1 -1
nixos/modules/config/nix.nix
··· 1 1 /* 2 - Manages /etc/nix.conf. 2 + Manages /etc/nix/nix.conf. 3 3 4 4 See also 5 5 - ./nix-channel.nix
+16 -5
nixos/tests/power-profiles-daemon.nix
··· 8 8 nodes.machine = { pkgs, ... }: { 9 9 security.polkit.enable = true; 10 10 services.power-profiles-daemon.enable = true; 11 - environment.systemPackages = [ pkgs.glib ]; 11 + environment.systemPackages = [ pkgs.glib pkgs.power-profiles-daemon ]; 12 12 }; 13 13 14 14 testScript = '' 15 15 def get_profile(): 16 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' 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 19 """ 20 20 ) 21 21 22 22 23 23 def set_profile(profile): 24 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}'>" 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 27 """.format( 28 28 profile=profile 29 29 ) ··· 42 42 profile = get_profile() 43 43 if not "balanced" in profile: 44 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") 45 56 ''; 46 57 })
+18 -18
pkgs/applications/emulators/retroarch/hashes.json
··· 307 307 "src": { 308 308 "owner": "flyinghead", 309 309 "repo": "flycast", 310 - "rev": "44fa364f36c43bed19b055096600f075c656f78c", 311 - "hash": "sha256-UfASq8OXtsfubMUfke7P6HTygM/9fP421IoLQeJvPgY=", 310 + "rev": "bc51aefa9c52981621abf1d3545bff7befa4d01b", 311 + "hash": "sha256-NSCJxex5Rl7sWe2DkJ2aIyPzfdTcwSRb2iI3xpvYiow=", 312 312 "fetchSubmodules": true 313 313 }, 314 - "version": "unstable-2024-02-09" 314 + "version": "unstable-2024-02-23" 315 315 }, 316 316 "fmsx": { 317 317 "fetcher": "fetchFromGitHub", ··· 348 348 "src": { 349 349 "owner": "libretro", 350 350 "repo": "gambatte-libretro", 351 - "rev": "05c4e10168aa3070b4ea01f7da7ab1c0d4241103", 352 - "hash": "sha256-W/s8FWjFOIcclLkbM5s2+2dcvr+X2My5319SvRo5/lU=" 351 + "rev": "4041d5a6c474d2d01b4cb1e81324b06b51d0147b", 352 + "hash": "sha256-TmPOka3oz5xIFDEsmDbvXXmLmP15FtQdoUZ+FErbqrI=" 353 353 }, 354 - "version": "unstable-2024-02-09" 354 + "version": "unstable-2024-02-23" 355 355 }, 356 356 "genesis-plus-gx": { 357 357 "fetcher": "fetchFromGitHub", 358 358 "src": { 359 359 "owner": "libretro", 360 360 "repo": "Genesis-Plus-GX", 361 - "rev": "7aba063778534a78b080a737c0465667ebd66154", 362 - "hash": "sha256-Rx5ymDqYmtovr/IJRY4loUwwWTk8GEs+oviP4YOk6ZI=" 361 + "rev": "b38cdca9036332c1b7b05817432d1fd42d59527b", 362 + "hash": "sha256-5yr64Jy8WxamMknIG9nhIV4BLTZg8k7Q8Lnw8sfmWhk=" 363 363 }, 364 - "version": "unstable-2024-02-16" 364 + "version": "unstable-2024-02-23" 365 365 }, 366 366 "gpsp": { 367 367 "fetcher": "fetchFromGitHub", ··· 438 438 "src": { 439 439 "owner": "libretro", 440 440 "repo": "mame2003-plus-libretro", 441 - "rev": "fc987f1913203a41bca7f6fd16e92c83729dd7fc", 442 - "hash": "sha256-Mn0WuzGGxDlUEccC21V0FzRyTAgRoAnLCm5jpz9rkdY=" 441 + "rev": "1a5b4b75e1e178a338f8f3dee3dfd940c8c9a3f2", 442 + "hash": "sha256-6r30iB3LQvtHQh5nv+ZL/hag1j/l/uEpVzkzieLaK80=" 443 443 }, 444 - "version": "unstable-2024-02-16" 444 + "version": "unstable-2024-02-21" 445 445 }, 446 446 "mame2010": { 447 447 "fetcher": "fetchFromGitHub", ··· 662 662 "src": { 663 663 "owner": "hrydgard", 664 664 "repo": "ppsspp", 665 - "rev": "f5450e40eb3f4861451fb98bf9239dacc5aef81e", 666 - "hash": "sha256-Kj0bxp2ValsmoKHP4x8LJ60priLnRAvgtjsUemm0do4=", 665 + "rev": "d5cfcccbeab6c6b6dc7e851724b9ccd8252b2592", 666 + "hash": "sha256-lBzOIQpv0H0/DTCyWpf3tX3d/N9M49djoIwGgDW+S9A=", 667 667 "fetchSubmodules": true 668 668 }, 669 - "version": "unstable-2024-02-16" 669 + "version": "unstable-2024-02-23" 670 670 }, 671 671 "prboom": { 672 672 "fetcher": "fetchFromGitHub", ··· 693 693 "src": { 694 694 "owner": "libretro", 695 695 "repo": "libretro-uae", 696 - "rev": "4e8b54dd574eff239b5f4b4e3bc35c40b3a7cdd4", 697 - "hash": "sha256-pBpzzCgZYaA7/+UvwTsKCRseroe98AwRovjIk4Z0fhI=" 696 + "rev": "5f683ae67b998fcadd69fa8f65f2440fa8ef135f", 697 + "hash": "sha256-SvV18vqMf9ZtGzrK3bnE0h2ImYi1QuLi7t+ZO91Lm6Y=" 698 698 }, 699 - "version": "unstable-2024-02-20" 699 + "version": "unstable-2024-02-22" 700 700 }, 701 701 "quicknes": { 702 702 "fetcher": "fetchFromGitHub",
+3 -3
pkgs/applications/networking/cluster/werf/default.nix
··· 10 10 11 11 buildGoModule rec { 12 12 pname = "werf"; 13 - version = "1.2.292"; 13 + version = "1.2.294"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "werf"; 17 17 repo = "werf"; 18 18 rev = "v${version}"; 19 - hash = "sha256-jBGAd7He2ap7+IF5Og7J6iBoIoLG8KqxSLcPKogJwP8="; 19 + hash = "sha256-A/Do2UepwV8lmT8qWir7CKR8/YeVKOEoJjvVfj9+wt0="; 20 20 }; 21 21 22 - vendorHash = "sha256-JaAiQC5QnamzUz1hPSldXtZqhTQIlGFGMYhLJd7t3j4="; 22 + vendorHash = "sha256-Fb9drtVITjka83Y8+YSa9fqSBv7O4muMGqV4w3K7+Dg="; 23 23 24 24 proxyVendor = true; 25 25
+2 -2
pkgs/applications/networking/pyload-ng/default.nix
··· 1 1 { lib, fetchPypi, nixosTests, python3 }: 2 2 3 3 python3.pkgs.buildPythonApplication rec { 4 - version = "0.5.0b3.dev75"; 4 + version = "0.5.0b3.dev80"; 5 5 pname = "pyload-ng"; 6 6 pyproject = true; 7 7 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - hash = "sha256-1lPIKkZESonDaVCnac0iUu/gCqXVDBhNZrk5S0eC6F0="; 10 + hash = "sha256-1vIkEctoj6udowYxFwY42f/zL9Elw2Nl6ZaL2x30k/M="; 11 11 }; 12 12 13 13 patches = [
+3 -3
pkgs/applications/version-management/git-absorb/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "git-absorb"; 5 - version = "0.6.11"; 5 + version = "0.6.12"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tummychow"; 9 9 repo = "git-absorb"; 10 10 rev = "refs/tags/${version}"; 11 - hash = "sha256-SYBJKnzv2oktWubgm/j6wEeoLSBjGqQVXQf9LOaq+NU="; 11 + hash = "sha256-yHCO1v1d0MUakae16fFVvtKG3rVxU/Cii/G6IKzyebA="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ installShellFiles ]; 15 15 16 16 buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 17 17 18 - cargoHash = "sha256-i2ntM7NTi+hiB7DxEEV+3SXV8sVVWcNanif/wUZ9XvI="; 18 + cargoHash = "sha256-Bx7gH7jSLizG95JyBtziPBby9mF1Nj3CQexIg6gaiM0="; 19 19 20 20 postInstall = '' 21 21 installManPage Documentation/git-absorb.1
+2 -2
pkgs/applications/video/obs-studio/plugins/obs-shaderfilter.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "obs-shaderfilter"; 11 - version = "2.0.0"; 11 + version = "2.2.2"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "exeldro"; 15 15 repo = "obs-shaderfilter"; 16 16 rev = version; 17 - sha256 = "sha256-CEe/NUIYhVdvs7/ZvrvuwKPRNofWE+WZxN6yN8RACs8="; 17 + sha256 = "sha256-cz4Qk56e9CC//a+7pz5rcTxPlMwDwSAKfmgMyBZI4mo="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/applications/video/vdr/softhddevice/default.nix
··· 14 14 }: 15 15 stdenv.mkDerivation rec { 16 16 pname = "vdr-softhddevice"; 17 - version = "2.0.9"; 17 + version = "2.1.1"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "ua0lnj"; 21 21 repo = "vdr-plugin-softhddevice"; 22 - sha256 = "sha256-FyjKMCKPZVtQhb7wBx4Xr6I/kb2QMH/TEE21bw5gcwc="; 22 + sha256 = "sha256-d/Cl0sE4laDdjMhd3xTHcY4OT5tWWCFCvLsNF157+zw="; 23 23 rev = "v${version}"; 24 24 }; 25 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 45 chmod -R u+w . 46 46 ''; 47 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 + 48 53 postPatch = '' 49 54 cd ../runtimes 50 55 '';
-3
pkgs/development/compilers/llvm/git/libcxxabi/default.nix
··· 126 126 # the UIUC License (a BSD-like license)": 127 127 license = with lib.licenses; [ mit ncsa ]; 128 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 129 }; 133 130 }
+2 -2
pkgs/development/python-modules/fastapi-sso/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "fastapi-sso"; 19 - version = "0.11.0"; 19 + version = "0.12.1"; 20 20 pyproject = true; 21 21 22 22 disabled = pythonOlder "3.8"; ··· 25 25 owner = "tomasvotava"; 26 26 repo = "fastapi-sso"; 27 27 rev = "refs/tags/${version}"; 28 - hash = "sha256-bz4rr7h90d/QkBBqQN1pLF8ANhOiq2v0Vv2pjBGpeTs="; 28 + hash = "sha256-/Mt0pmZYsWp/n9YHCy/bFKUPzmoRFB0cHKCNxEfxMLs="; 29 29 }; 30 30 31 31 postPatch = ''
+10 -8
pkgs/development/python-modules/pyrainbird/default.nix
··· 18 18 , requests 19 19 , requests-mock 20 20 , responses 21 + , setuptools 21 22 }: 22 23 23 24 buildPythonPackage rec { 24 25 pname = "pyrainbird"; 25 - version = "4.0.1"; 26 - format = "setuptools"; 26 + version = "4.0.2"; 27 + pyproject = true; 27 28 28 29 disabled = pythonOlder "3.10"; 29 30 30 31 src = fetchFromGitHub { 31 32 owner = "allenporter"; 32 - repo = pname; 33 + repo = "pyrainbird"; 33 34 rev = "refs/tags/${version}"; 34 - hash = "sha256-OcCg6Q+FJnmrYf70uNLWTg/tfWVJpiQlnyKfREcP2YM="; 35 + hash = "sha256-4AoxLZv0u8wCG3ihw0JqsqsO5zG5UyP4ebSX99ve8sg="; 35 36 }; 36 37 37 38 postPatch = '' 38 39 substituteInPlace pytest.ini \ 39 - --replace "--cov=pyrainbird --cov-report=term-missing" "" 40 + --replace-fail "--cov=pyrainbird --cov-report=term-missing" "" 41 + ''; 40 42 41 - substituteInPlace setup.cfg \ 42 - --replace "pycryptodome>=3.16.0" "pycryptodome" 43 - ''; 43 + nativeBuildInputs = [ 44 + setuptools 45 + ]; 44 46 45 47 propagatedBuildInputs = [ 46 48 aiohttp-retry
+21 -6
pkgs/development/python-modules/pysaml2/default.nix
··· 3 3 , cryptography 4 4 , defusedxml 5 5 , fetchFromGitHub 6 - , importlib-resources 6 + , fetchPypi 7 + , paste 7 8 , poetry-core 8 9 , pyasn1 9 10 , pymongo ··· 11 12 , pytestCheckHook 12 13 , python-dateutil 13 14 , pythonOlder 15 + , pythonRelaxDepsHook 14 16 , pytz 17 + , repoze-who 15 18 , requests 16 19 , responses 17 20 , setuptools 18 21 , substituteAll 19 22 , xmlschema 20 23 , xmlsec 24 + , zope-interface 21 25 }: 22 26 23 27 buildPythonPackage rec { 24 28 pname = "pysaml2"; 25 - version = "7.4.2"; 29 + version = "7.5.0"; 26 30 format = "pyproject"; 27 31 28 32 disabled = pythonOlder "3.9"; 29 33 30 34 src = fetchFromGitHub { 31 35 owner = "IdentityPython"; 32 - repo = pname; 36 + repo = "pysaml2"; 33 37 rev = "refs/tags/v${version}"; 34 - hash = "sha256-f8qd1Mfy32CYH9/PshfMMBviDg7OhOPlwz69bPjlYbg="; 38 + hash = "sha256-M/tdKGu6K38TeBZc8/dt376bHhPB0svHB3iis/se0DY="; 35 39 }; 36 40 37 41 patches = [ ··· 46 50 sed -i 's/2999\(-.*T\)/2029\1/g' tests/*.xml 47 51 ''; 48 52 53 + pythonRelaxDeps = [ 54 + "xmlschema" 55 + ]; 56 + 49 57 nativeBuildInputs = [ 50 58 poetry-core 59 + pythonRelaxDepsHook 51 60 ]; 52 61 53 62 propagatedBuildInputs = [ ··· 59 68 requests 60 69 setuptools 61 70 xmlschema 62 - ] ++ lib.optionals (pythonOlder "3.9") [ 63 - importlib-resources 64 71 ]; 72 + 73 + passthru.optional-dependencies = { 74 + s2repoze = [ 75 + paste 76 + repoze-who 77 + zope-interface 78 + ]; 79 + }; 65 80 66 81 nativeCheckInputs = [ 67 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 5 , mesonEmulatorHook 6 6 , ninja 7 7 , fetchFromGitLab 8 - , fetchpatch 9 8 , libgudev 10 9 , glib 11 10 , polkit ··· 21 20 , umockdev 22 21 , systemd 23 22 , python3 24 - , wrapGAppsNoGuiHook 25 23 , nixosTests 26 24 }: 27 25 28 26 stdenv.mkDerivation rec { 29 27 pname = "power-profiles-daemon"; 30 - version = "0.13"; 28 + version = "0.20"; 31 29 32 30 outputs = [ "out" "devdoc" ]; 33 31 34 32 src = fetchFromGitLab { 35 33 domain = "gitlab.freedesktop.org"; 36 - owner = "hadess"; 34 + owner = "upower"; 37 35 repo = "power-profiles-daemon"; 38 36 rev = version; 39 - sha256 = "sha256-ErHy+shxZQ/aCryGhovmJ6KmAMt9OZeQGDbHIkC0vUE="; 37 + sha256 = "sha256-8wSRPR/1ELcsZ9K3LvSNlPcJvxRhb/LRjTIxKtdQlCA="; 40 38 }; 41 39 42 40 nativeBuildInputs = [ ··· 50 48 libxml2 # for xmllint for stripping GResources 51 49 libxslt # for xsltproc for building docs 52 50 gobject-introspection 53 - wrapGAppsNoGuiHook 54 - python3.pkgs.wrapPython 55 51 # checkInput but cheked for during the configuring 56 52 (python3.pythonOnBuildForHost.withPackages (ps: with ps; [ 57 53 pygobject3 ··· 68 64 upower 69 65 glib 70 66 polkit 71 - python3 # for cli tool 72 - # Duplicate from nativeCheckInputs until https://github.com/NixOS/nixpkgs/issues/161570 is solved 73 - umockdev 67 + # for cli tool 68 + (python3.withPackages (ps: [ 69 + ps.pygobject3 70 + ])) 74 71 ]; 75 72 76 73 strictDeps = true; 77 74 78 - # for cli tool 79 - pythonPath = [ 80 - python3.pkgs.pygobject3 75 + checkInputs = [ 76 + umockdev 81 77 ]; 82 78 83 79 nativeCheckInputs = [ ··· 95 91 96 92 PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "${placeholder "out"}/share/polkit-1/actions"; 97 93 98 - # Avoid double wrapping 99 - dontWrapGApps = true; 100 - 101 94 postPatch = '' 102 95 patchShebangs --build \ 103 96 tests/integration-test.py \ 104 97 tests/unittest_inspector.py 105 - ''; 106 98 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" 99 + patchShebangs --host \ 100 + src/powerprofilesctl 118 101 ''; 119 102 120 103 passthru = {
+3 -3
pkgs/servers/home-assistant/custom-lovelace-modules/mushroom/default.nix
··· 5 5 6 6 buildNpmPackage rec { 7 7 pname = "mushroom"; 8 - version = "3.4.0"; 8 + version = "3.4.2"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "piitaya"; 12 12 repo = "lovelace-mushroom"; 13 13 rev = "v${version}"; 14 - hash = "sha256-XVi+VPOVHfYBlIY9xN7x9Qe1bVw/qS9p8bcRZb0ksE0="; 14 + hash = "sha256-OUcOCBLEU8V+eadHuyA6F0uT8fJLRe1Xd9/X5ULCZVc="; 15 15 }; 16 16 17 - npmDepsHash = "sha256-XtSeO5+RaBCBLmq6paRX9KipkhcEdJhzrQeEDdysZE0="; 17 + npmDepsHash = "sha256-oIee6iJ18EBztje1aw4xzWa1wSIbgau4q0MyVx0T41I="; 18 18 19 19 installPhase = '' 20 20 runHook preInstall
-5
pkgs/servers/monitoring/zabbix/versions.nix
··· 10 10 sha256 = "sha256-+C5fI+eMJKsynVnVJIYj27x1iFQwaG9Fnho0BXgENQI="; 11 11 vendorHash = "sha256-oSZBzIUL1yHXk7PnkSAlhI0i89aGMFrFHmbMN9rDAJ0="; 12 12 }; 13 - 14 - v40 = generic { 15 - version = "4.0.48"; 16 - sha256 = "sha256-WK8Zzkd/s9M7N5Qr2kejtp/f/n1wb5zRSfh0RiI2K+Q="; 17 - }; 18 13 }
+2 -2
pkgs/shells/fish/plugins/forgit.nix
··· 2 2 3 3 buildFishPlugin rec { 4 4 pname = "forgit"; 5 - version = "24.01.0"; 5 + version = "24.02.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "wfxr"; 9 9 repo = "forgit"; 10 10 rev = version; 11 - hash = "sha256-WHhyllOr/PgR+vlrfMQs/3/d3xpmDylT6BlLCu50a2g="; 11 + hash = "sha256-DoOtrnEJwSxkCZtsVek+3w9RZH7j7LTvdleBC88xyfI="; 12 12 }; 13 13 14 14 postInstall = ''
+1
pkgs/top-level/aliases.nix
··· 1191 1191 1192 1192 ### Z ### 1193 1193 1194 + zabbix40 = throw "'zabbix40' has been removed as it has reached end of life"; # Added 2024-01-07 1194 1195 zinc = zincsearch; # Added 2023-05-28 1195 1196 zkg = throw "'zkg' has been replaced by 'zeek'"; 1196 1197 zq = zed.overrideAttrs (old: { meta = old.meta // { mainProgram = "zq"; }; }); # Added 2023-02-06
+1 -3
pkgs/top-level/all-packages.nix
··· 27341 27341 server-mysql = (callPackages ../servers/monitoring/zabbix/server.nix { mysqlSupport = true; }).${version}; 27342 27342 server-pgsql = (callPackages ../servers/monitoring/zabbix/server.nix { postgresqlSupport = true; }).${version}; 27343 27343 web = (callPackages ../servers/monitoring/zabbix/web.nix {}).${version}; 27344 + agent2 = (callPackages ../servers/monitoring/zabbix/agent2.nix {}).${version}; 27344 27345 27345 27346 # backwards compatibility 27346 27347 server = server-pgsql; 27347 - } // lib.optionalAttrs ( version != "v40" ) { # agent2 is not supported in v4 27348 - agent2 = (callPackages ../servers/monitoring/zabbix/agent2.nix {}).${version}; 27349 27348 }; 27350 27349 27351 27350 zabbix60 = recurseIntoAttrs (zabbixFor "v60"); 27352 27351 zabbix50 = recurseIntoAttrs (zabbixFor "v50"); 27353 - zabbix40 = dontRecurseIntoAttrs (zabbixFor "v40"); 27354 27352 27355 27353 zabbix = zabbix60; 27356 27354
+2
pkgs/top-level/python-packages.nix
··· 14331 14331 14332 14332 tenacity = callPackage ../development/python-modules/tenacity { }; 14333 14333 14334 + tencentcloud-sdk-python = callPackage ../development/python-modules/tencentcloud-sdk-python { }; 14335 + 14334 14336 tensorboard-data-server = callPackage ../development/python-modules/tensorboard-data-server { }; 14335 14337 14336 14338 tensorboard-plugin-profile = callPackage ../development/python-modules/tensorboard-plugin-profile { };