lol

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
a8406fc5 cb817ae3

+299 -194
+6
maintainers/maintainer-list.nix
··· 6493 githubId = 1713676; 6494 name = "Luis G. Torres"; 6495 }; 6496 giorgiga = { 6497 email = "giorgio.gallo@bitnic.it"; 6498 github = "giorgiga";
··· 6493 githubId = 1713676; 6494 name = "Luis G. Torres"; 6495 }; 6496 + giomf = { 6497 + email = "giomf@mailbox.org"; 6498 + github = "giomf"; 6499 + githubId = 35076723; 6500 + name = "Guillaume Fournier"; 6501 + }; 6502 giorgiga = { 6503 email = "giorgio.gallo@bitnic.it"; 6504 github = "giorgiga";
+4 -1
nixos/lib/systemd-lib.nix
··· 20 pkgs.runCommand "unit-${mkPathSafeName name}" 21 { preferLocalBuild = true; 22 allowSubstitutes = false; 23 - inherit (unit) text; 24 passAsFile = [ "text" ]; 25 } 26 ''
··· 20 pkgs.runCommand "unit-${mkPathSafeName name}" 21 { preferLocalBuild = true; 22 allowSubstitutes = false; 23 + # unit.text can be null. But variables that are null listed in 24 + # passAsFile are ignored by nix, resulting in no file being created, 25 + # making the mv operation fail. 26 + text = optionalString (unit.text != null) unit.text; 27 passAsFile = [ "text" ]; 28 } 29 ''
+1
nixos/modules/services/home-automation/home-assistant.nix
··· 455 "govee_ble" 456 "homekit_controller" 457 "inkbird" 458 "keymitt_ble" 459 "led_ble" 460 "medcom_ble"
··· 455 "govee_ble" 456 "homekit_controller" 457 "inkbird" 458 + "improv_ble" 459 "keymitt_ble" 460 "led_ble" 461 "medcom_ble"
+2 -2
pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix
··· 2 3 (if stdenv.isDarwin then darwin.apple_sdk_11_0.llvmPackages_14.stdenv else stdenv).mkDerivation rec { 4 pname = "signalbackup-tools"; 5 - version = "20231015"; 6 7 src = fetchFromGitHub { 8 owner = "bepaald"; 9 repo = pname; 10 rev = version; 11 - hash = "sha256-P3IbCWzc7V2yX8qZIPUncJXFFq9iFl7csDj2tiTZ7AY="; 12 }; 13 14 postPatch = ''
··· 2 3 (if stdenv.isDarwin then darwin.apple_sdk_11_0.llvmPackages_14.stdenv else stdenv).mkDerivation rec { 4 pname = "signalbackup-tools"; 5 + version = "20231030-1"; 6 7 src = fetchFromGitHub { 8 owner = "bepaald"; 9 repo = pname; 10 rev = version; 11 + hash = "sha256-xY5UpM1vYAL2hZUkh5O4Z6zJ5HVxXTtvDlXedlsU820="; 12 }; 13 14 postPatch = ''
+37
pkgs/by-name/nu/numbat/package.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , rustPlatform 5 + , darwin 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "numbat"; 10 + version = "1.6.3"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "sharkdp"; 14 + repo = "numbat"; 15 + rev = "v${version}"; 16 + hash = "sha256-r6uPe2NL+6r/fKjf0C/5DLdB5YP3SIo8g8EsDxKP/3g="; 17 + }; 18 + 19 + cargoHash = "sha256-MPqJjCfIwgK8QigWQYfWAYlg9RNMzF4x+0SprS0raKY="; 20 + 21 + buildInputs = lib.optionals stdenv.isDarwin [ 22 + darwin.apple_sdk.frameworks.Security 23 + ]; 24 + 25 + meta = with lib; { 26 + description = "High precision scientific calculator with full support for physical units"; 27 + longDescription = '' 28 + A statically typed programming language for scientific computations 29 + with first class support for physical dimensions and units 30 + ''; 31 + homepage = "https://numbat.dev"; 32 + changelog = "https://github.com/sharkdp/numbat/releases/tag/v${version}"; 33 + license = with licenses; [ asl20 mit ]; 34 + mainProgram = "numbat"; 35 + maintainers = with maintainers; [ giomf ]; 36 + }; 37 + }
+3 -5
pkgs/development/python-modules/aioairzone-cloud/default.nix
··· 4 , fetchFromGitHub 5 , pythonOlder 6 , setuptools 7 - , wheel 8 }: 9 10 buildPythonPackage rec { 11 pname = "aioairzone-cloud"; 12 - version = "0.3.0"; 13 - format = "pyproject"; 14 15 disabled = pythonOlder "3.7"; 16 ··· 18 owner = "Noltari"; 19 repo = "aioairzone-cloud"; 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-tsx98DG/TvTrVwUy9fscErf+3zUC5XVs50lHKW/9pdQ="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools 26 - wheel 27 ]; 28 29 propagatedBuildInputs = [
··· 4 , fetchFromGitHub 5 , pythonOlder 6 , setuptools 7 }: 8 9 buildPythonPackage rec { 10 pname = "aioairzone-cloud"; 11 + version = "0.3.1"; 12 + pyproject = true; 13 14 disabled = pythonOlder "3.7"; 15 ··· 17 owner = "Noltari"; 18 repo = "aioairzone-cloud"; 19 rev = "refs/tags/${version}"; 20 + hash = "sha256-PWdyyzdPXDOfZgyLasT9TW+g+So2wOkcf9Fy77Oydl4="; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools 25 ]; 26 27 propagatedBuildInputs = [
+4 -2
pkgs/development/python-modules/aiocomelit/default.nix
··· 2 , aiohttp 3 , buildPythonPackage 4 , fetchFromGitHub 5 , poetry-core 6 , pytestCheckHook 7 , pythonOlder ··· 9 10 buildPythonPackage rec { 11 pname = "aiocomelit"; 12 - version = "0.0.9"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.10"; ··· 18 owner = "chemelli74"; 19 repo = "aiocomelit"; 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-xVSxXiHSyUa31X+eOK5ZXH/+Uwm8lfStY0nZ2mKWFpI="; 22 }; 23 24 postPatch = '' ··· 32 33 propagatedBuildInputs = [ 34 aiohttp 35 ]; 36 37 nativeCheckInputs = [
··· 2 , aiohttp 3 , buildPythonPackage 4 , fetchFromGitHub 5 + , pint 6 , poetry-core 7 , pytestCheckHook 8 , pythonOlder ··· 10 11 buildPythonPackage rec { 12 pname = "aiocomelit"; 13 + version = "0.3.0"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.10"; ··· 19 owner = "chemelli74"; 20 repo = "aiocomelit"; 21 rev = "refs/tags/v${version}"; 22 + hash = "sha256-o8i1H4MsK21kJVbLD22PAUqj5Q9k31JfdZQYARPQICc="; 23 }; 24 25 postPatch = '' ··· 33 34 propagatedBuildInputs = [ 35 aiohttp 36 + pint 37 ]; 38 39 nativeCheckInputs = [
+2 -2
pkgs/development/python-modules/aiohomekit/default.nix
··· 19 20 buildPythonPackage rec { 21 pname = "aiohomekit"; 22 - version = "3.0.6"; 23 format = "pyproject"; 24 25 disabled = pythonOlder "3.9"; ··· 28 owner = "Jc2k"; 29 repo = pname; 30 rev = "refs/tags/${version}"; 31 - hash = "sha256-e7KSgUOEA3iAR4QdUhjYcHsPdtCJRxu6u+uxuDMaghQ="; 32 }; 33 34 nativeBuildInputs = [
··· 19 20 buildPythonPackage rec { 21 pname = "aiohomekit"; 22 + version = "3.0.9"; 23 format = "pyproject"; 24 25 disabled = pythonOlder "3.9"; ··· 28 owner = "Jc2k"; 29 repo = pname; 30 rev = "refs/tags/${version}"; 31 + hash = "sha256-YaLSpWSaiEP7X+IujrQgXgWl3aPc1WDMq2yaMUTu328="; 32 }; 33 34 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/aiounifi/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "aiounifi"; 19 - version = "63"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.11"; ··· 25 owner = "Kane610"; 26 repo = pname; 27 rev = "refs/tags/v${version}"; 28 - hash = "sha256-am11pFgYMRccUNaK/iKdp6mfk5NQ4QnU41xbFiGCMPs="; 29 }; 30 31 postPatch = ''
··· 16 17 buildPythonPackage rec { 18 pname = "aiounifi"; 19 + version = "64"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.11"; ··· 25 owner = "Kane610"; 26 repo = pname; 27 rev = "refs/tags/v${version}"; 28 + hash = "sha256-A6IfUUaXv/Dm8yncgC0SFBrabCFx0Y24pOul0bqxBLc="; 29 }; 30 31 postPatch = ''
+2 -2
pkgs/development/python-modules/aiovodafone/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "aiovodafone"; 13 - version = "0.3.1"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.10"; ··· 19 owner = "chemelli74"; 20 repo = "aiovodafone"; 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-Zitssjoe88T7gphfAQXyv2el7jbMLKTnr1GSe5LTWnI="; 23 }; 24 25 postPatch = ''
··· 10 11 buildPythonPackage rec { 12 pname = "aiovodafone"; 13 + version = "0.4.2"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.10"; ··· 19 owner = "chemelli74"; 20 repo = "aiovodafone"; 21 rev = "refs/tags/v${version}"; 22 + hash = "sha256-sWONjWchXu5pRFXY/ZhOXvF0z/qUc1LjqcaSiVPA1MU="; 23 }; 24 25 postPatch = ''
+2 -2
pkgs/development/python-modules/bleak-retry-connector/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "bleak-retry-connector"; 16 - version = "3.2.1"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "Bluetooth-Devices"; 23 repo = pname; 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-3dftk/C6g6Hclc/N8LlsYcZfxA1I6bMiXkzRcUg69Oc="; 26 }; 27 28 postPatch = ''
··· 13 14 buildPythonPackage rec { 15 pname = "bleak-retry-connector"; 16 + version = "3.3.0"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "Bluetooth-Devices"; 23 repo = pname; 24 rev = "refs/tags/v${version}"; 25 + hash = "sha256-5yhr+W2ZSy/uSgmz23pyIKcoJ34h/eDsoyv+N9Hi36w="; 26 }; 27 28 postPatch = ''
+7 -2
pkgs/development/python-modules/blinkpy/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "blinkpy"; 17 - version = "0.22.0"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.8"; ··· 23 owner = "fronzbot"; 24 repo = "blinkpy"; 25 rev = "refs/tags/v${version}"; 26 - hash = "sha256-r8kf5L6bvtivqd9dSi8om1wIi8IHmipKFckNMPT515I="; 27 }; 28 29 nativeBuildInputs = [ 30 setuptools
··· 14 15 buildPythonPackage rec { 16 pname = "blinkpy"; 17 + version = "0.22.2"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.8"; ··· 23 owner = "fronzbot"; 24 repo = "blinkpy"; 25 rev = "refs/tags/v${version}"; 26 + hash = "sha256-T6ryiWVpraaXzwHYBXjuIO8PUqUcQBcLi1+O+iNBaoc="; 27 }; 28 + 29 + postPatch = '' 30 + substituteInPlace pyproject.toml \ 31 + --replace ', "wheel~=0.40.0"' "" 32 + ''; 33 34 nativeBuildInputs = [ 35 setuptools
+2 -2
pkgs/development/python-modules/google-nest-sdm/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "google-nest-sdm"; 19 - version = "3.0.2"; 20 format = "setuptools"; 21 22 disabled = pythonOlder "3.10"; ··· 25 owner = "allenporter"; 26 repo = "python-google-nest-sdm"; 27 rev = "refs/tags/${version}"; 28 - hash = "sha256-NNHkcOCoG5Xagc0jTR50uHMA5mMgsh3BIzVJ77OEEjk="; 29 }; 30 31 propagatedBuildInputs = [
··· 16 17 buildPythonPackage rec { 18 pname = "google-nest-sdm"; 19 + version = "3.0.3"; 20 format = "setuptools"; 21 22 disabled = pythonOlder "3.10"; ··· 25 owner = "allenporter"; 26 repo = "python-google-nest-sdm"; 27 rev = "refs/tags/${version}"; 28 + hash = "sha256-VO/TY/QBzVFxqIumVJjw+Ic0hrqkRBS+7wQKBhcN9Jw="; 29 }; 30 31 propagatedBuildInputs = [
+13 -4
pkgs/development/python-modules/hass-nabucasa/default.nix
··· 4 , atomicwrites-homeassistant 5 , attrs 6 , buildPythonPackage 7 , fetchFromGitHub 8 , pycognito 9 , pytest-aiohttp 10 , pytest-timeout 11 , pytestCheckHook 12 , pythonOlder 13 , snitun 14 , syrupy 15 , xmltodict ··· 17 18 buildPythonPackage rec { 19 pname = "hass-nabucasa"; 20 - version = "0.71.0"; 21 - format = "setuptools"; 22 23 - disabled = pythonOlder "3.8"; 24 25 src = fetchFromGitHub { 26 owner = "nabucasa"; 27 repo = pname; 28 rev = "refs/tags/${version}"; 29 - hash = "sha256-2v8LEVYY7PEzcIMaXcy9h+8O2KrU0zTKyZb2IrO35JQ="; 30 }; 31 32 postPatch = '' ··· 36 --replace "snitun==" "snitun>=" \ 37 ''; 38 39 propagatedBuildInputs = [ 40 acme 41 aiohttp 42 atomicwrites-homeassistant 43 attrs 44 pycognito 45 snitun 46 ];
··· 4 , atomicwrites-homeassistant 5 , attrs 6 , buildPythonPackage 7 + , ciso8601 8 + , cryptography 9 , fetchFromGitHub 10 , pycognito 11 , pytest-aiohttp 12 , pytest-timeout 13 , pytestCheckHook 14 , pythonOlder 15 + , setuptools 16 , snitun 17 , syrupy 18 , xmltodict ··· 20 21 buildPythonPackage rec { 22 pname = "hass-nabucasa"; 23 + version = "0.74.0"; 24 + pyproject = true; 25 26 + disabled = pythonOlder "3.10"; 27 28 src = fetchFromGitHub { 29 owner = "nabucasa"; 30 repo = pname; 31 rev = "refs/tags/${version}"; 32 + hash = "sha256-r4Huvn9mBqnASpUd+drwORE+fApLV/l6Y3aO/UIiEC8="; 33 }; 34 35 postPatch = '' ··· 39 --replace "snitun==" "snitun>=" \ 40 ''; 41 42 + nativeBuildInputs = [ 43 + setuptools 44 + ]; 45 + 46 propagatedBuildInputs = [ 47 acme 48 aiohttp 49 atomicwrites-homeassistant 50 attrs 51 + ciso8601 52 + cryptography 53 pycognito 54 snitun 55 ];
+6 -4
pkgs/development/python-modules/icalendar/default.nix
··· 6 , python-dateutil 7 , pytz 8 , hypothesis 9 - , pytest 10 }: 11 12 buildPythonPackage rec { 13 - version = "5.0.7"; 14 pname = "icalendar"; 15 format = "setuptools"; 16 ··· 18 owner = "collective"; 19 repo = "icalendar"; 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-fblcbyctnvd7DOc+tMWzg+90NHzZvH5xiY6BfJakQVo="; 22 }; 23 24 propagatedBuildInputs = [ ··· 30 31 nativeCheckInputs = [ 32 hypothesis 33 - pytest 34 ]; 35 36 meta = with lib; { 37 changelog = "https://github.com/collective/icalendar/blob/v${version}/CHANGES.rst";
··· 6 , python-dateutil 7 , pytz 8 , hypothesis 9 + , pytestCheckHook 10 }: 11 12 buildPythonPackage rec { 13 + version = "5.0.10"; 14 pname = "icalendar"; 15 format = "setuptools"; 16 ··· 18 owner = "collective"; 19 repo = "icalendar"; 20 rev = "refs/tags/v${version}"; 21 + hash = "sha256-sRsUjNClJ58kmCRiwSe7oq20eamj95Vwy/o0xPU8qPw="; 22 }; 23 24 propagatedBuildInputs = [ ··· 30 31 nativeCheckInputs = [ 32 hypothesis 33 + pytestCheckHook 34 ]; 35 + 36 + pytestFlagsArray = [ "src/icalendar" ]; 37 38 meta = with lib; { 39 changelog = "https://github.com/collective/icalendar/blob/v${version}/CHANGES.rst";
+29 -12
pkgs/development/python-modules/mastodon-py/default.nix
··· 7 , http-ece 8 , python-dateutil 9 , python-magic 10 - , pytz 11 , requests 12 , six 13 , pytestCheckHook ··· 15 , pytest-vcr 16 , requests-mock 17 , setuptools 18 - , pytest-cov 19 }: 20 21 buildPythonPackage rec { 22 pname = "mastodon-py"; 23 - # tests are broken on last release, check after next release (> 1.8.1) 24 - version = "unstable-2023-06-24"; 25 - 26 - format = "pyproject"; 27 28 src = fetchFromGitHub { 29 owner = "halcy"; 30 repo = "Mastodon.py"; 31 - rev = "cd86887d88bbc07de462d1e00a8fbc3d956c0151"; 32 - hash = "sha256-rJocFvtBPrSSny3lwENuRsQdAzi3u8b+SfDNGloniWI="; 33 }; 34 35 propagatedBuildInputs = [ 36 blurhash 37 - cryptography 38 decorator 39 - http-ece 40 python-dateutil 41 python-magic 42 - pytz 43 requests 44 six 45 ]; 46 47 nativeCheckInputs = [ 48 pytestCheckHook 49 pytest-mock 50 pytest-vcr 51 - pytest-cov 52 requests-mock 53 setuptools 54 ]; 55 56 pythonImportsCheck = [ "mastodon" ];
··· 7 , http-ece 8 , python-dateutil 9 , python-magic 10 , requests 11 , six 12 , pytestCheckHook ··· 14 , pytest-vcr 15 , requests-mock 16 , setuptools 17 }: 18 19 buildPythonPackage rec { 20 pname = "mastodon-py"; 21 + version = "1.8.1"; 22 + pyproject = true; 23 24 src = fetchFromGitHub { 25 owner = "halcy"; 26 repo = "Mastodon.py"; 27 + rev = "refs/tags/${version}"; 28 + hash = "sha256-r0AAUjd2MBfZANEpyztMNyaQTlGWvWoUVjJNO1eL218="; 29 }; 30 31 + postPatch = '' 32 + sed -i '/addopts/d' setup.cfg 33 + ''; 34 + 35 + nativeBuildInputs = [ 36 + setuptools 37 + ]; 38 + 39 propagatedBuildInputs = [ 40 blurhash 41 decorator 42 python-dateutil 43 python-magic 44 requests 45 six 46 ]; 47 48 + passthru.optional-dependencies = { 49 + blurhash = [ 50 + blurhash 51 + ]; 52 + webpush = [ 53 + http-ece 54 + cryptography 55 + ]; 56 + }; 57 + 58 nativeCheckInputs = [ 59 pytestCheckHook 60 pytest-mock 61 pytest-vcr 62 requests-mock 63 setuptools 64 + ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); 65 + 66 + disabledTests = [ 67 + "test_notifications_dismiss_pre_2_9_2" 68 + "test_status_card_pre_2_9_2" 69 + "test_stream_user_direct" 70 + "test_stream_user_local" 71 ]; 72 73 pythonImportsCheck = [ "mastodon" ];
+2 -2
pkgs/development/python-modules/matrix-nio/default.nix
··· 29 30 buildPythonPackage rec { 31 pname = "matrix-nio"; 32 - version = "0.21.2"; 33 format = "pyproject"; 34 35 src = fetchFromGitHub { 36 owner = "poljar"; 37 repo = "matrix-nio"; 38 rev = version; 39 - hash = "sha256-eK5DPmPZ/hv3i3lzoIuS9sJXKpUNhmBv4+Nw2u/RZi0="; 40 }; 41 42 postPatch = ''
··· 29 30 buildPythonPackage rec { 31 pname = "matrix-nio"; 32 + version = "0.22.1"; 33 format = "pyproject"; 34 35 src = fetchFromGitHub { 36 owner = "poljar"; 37 repo = "matrix-nio"; 38 rev = version; 39 + hash = "sha256-hFSS2Nys95YJgBNED8SBan24iRo2q/UOr6pqUPAF5Ms="; 40 }; 41 42 postPatch = ''
+2 -2
pkgs/development/python-modules/nitime/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "nitime"; 20 - version = "0.10.1"; 21 disabled = pythonOlder "3.7"; 22 format = "pyproject"; 23 24 src = fetchPypi { 25 inherit pname version; 26 - hash = "sha256-NnoVrSt6MTTcNup1e+/1v5JoHCYcycuQH4rHLzXJt+Y="; 27 }; 28 29 # Upstream wants to build against the oldest version of numpy possible, but
··· 17 18 buildPythonPackage rec { 19 pname = "nitime"; 20 + version = "0.10.2"; 21 disabled = pythonOlder "3.7"; 22 format = "pyproject"; 23 24 src = fetchPypi { 25 inherit pname version; 26 + hash = "sha256-NCaWr7ZqL1XV0QfUD+4+Yn33N1cCP33ib5oJ91OtJLU="; 27 }; 28 29 # Upstream wants to build against the oldest version of numpy possible, but
+17 -13
pkgs/development/python-modules/pyatv/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , aiohttp 4 - , bitarray 5 , chacha20poly1305-reuseable 6 , cryptography 7 , deepdiff 8 , fetchFromGitHub 9 , mediafile 10 , miniaudio 11 - , netifaces 12 , protobuf 13 , pytest-aiohttp 14 , pytest-asyncio 15 , pytest-httpserver ··· 18 , pythonRelaxDepsHook 19 , pythonOlder 20 , requests 21 , srptools 22 , stdenv 23 , zeroconf 24 }: 25 26 buildPythonPackage rec { 27 pname = "pyatv"; 28 - version = "0.13.4"; 29 - format = "setuptools"; 30 31 - disabled = pythonOlder "3.7"; 32 33 src = fetchFromGitHub { 34 owner = "postlund"; 35 - repo = pname; 36 rev = "refs/tags/v${version}"; 37 - hash = "sha256-rZnL18vO8eYn70GzeKSY528iTc0r/seGv0dYDYGHNzw="; 38 }; 39 40 postPatch = '' ··· 59 60 nativeBuildInputs = [ 61 pythonRelaxDepsHook 62 ]; 63 64 propagatedBuildInputs = [ 65 aiohttp 66 - bitarray 67 chacha20poly1305-reuseable 68 cryptography 69 mediafile 70 miniaudio 71 - netifaces 72 protobuf 73 requests 74 srptools 75 zeroconf 76 ]; 77 78 nativeCheckInputs = [ 79 deepdiff 80 pytest-aiohttp 81 pytest-asyncio 82 pytest-httpserver 83 pytest-timeout 84 pytestCheckHook 85 - ]; 86 - 87 - pytestFlagsArray = [ 88 - "--asyncio-mode=legacy" 89 ]; 90 91 disabledTests = lib.optionals (stdenv.isDarwin) [
··· 1 { lib 2 , buildPythonPackage 3 , aiohttp 4 + , async-timeout 5 , chacha20poly1305-reuseable 6 , cryptography 7 , deepdiff 8 , fetchFromGitHub 9 + , ifaddr 10 , mediafile 11 , miniaudio 12 , protobuf 13 + , pydantic 14 + , pyfakefs 15 , pytest-aiohttp 16 , pytest-asyncio 17 , pytest-httpserver ··· 20 , pythonRelaxDepsHook 21 , pythonOlder 22 , requests 23 + , setuptools 24 , srptools 25 , stdenv 26 + , tabulate 27 , zeroconf 28 }: 29 30 buildPythonPackage rec { 31 pname = "pyatv"; 32 + version = "0.14.4"; 33 + pyproject = true; 34 35 + disabled = pythonOlder "3.8"; 36 37 src = fetchFromGitHub { 38 owner = "postlund"; 39 + repo = "pyatv"; 40 rev = "refs/tags/v${version}"; 41 + hash = "sha256-w3WOlZFfuCmekUsr8msi2LXTm6j8/Bk49L3MiYF7lOM="; 42 }; 43 44 postPatch = '' ··· 63 64 nativeBuildInputs = [ 65 pythonRelaxDepsHook 66 + setuptools 67 ]; 68 69 propagatedBuildInputs = [ 70 aiohttp 71 + async-timeout 72 chacha20poly1305-reuseable 73 cryptography 74 + ifaddr 75 mediafile 76 miniaudio 77 protobuf 78 + pydantic 79 requests 80 srptools 81 + tabulate 82 zeroconf 83 ]; 84 85 nativeCheckInputs = [ 86 deepdiff 87 + pyfakefs 88 pytest-aiohttp 89 pytest-asyncio 90 pytest-httpserver 91 pytest-timeout 92 pytestCheckHook 93 ]; 94 95 disabledTests = lib.optionals (stdenv.isDarwin) [
+4 -2
pkgs/development/python-modules/python-opensky/default.nix
··· 8 , pytest-asyncio 9 , pytestCheckHook 10 , pythonOlder 11 , yarl 12 }: 13 14 buildPythonPackage rec { 15 pname = "python-opensky"; 16 - version = "0.2.0"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.10"; ··· 22 owner = "joostlek"; 23 repo = "python-opensky"; 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-62ncinv6XUGB1dYle/yqSCyJNbGD9BLaOqrF/zjL2fA="; 26 }; 27 28 postPatch = '' ··· 47 aresponses 48 pytest-asyncio 49 pytestCheckHook 50 ]; 51 52 pythonImportsCheck = [
··· 8 , pytest-asyncio 9 , pytestCheckHook 10 , pythonOlder 11 + , syrupy 12 , yarl 13 }: 14 15 buildPythonPackage rec { 16 pname = "python-opensky"; 17 + version = "0.2.1"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.10"; ··· 23 owner = "joostlek"; 24 repo = "python-opensky"; 25 rev = "refs/tags/v${version}"; 26 + hash = "sha256-xNXFvCUZ/x5ox3KxmG3eA73wpX4fwhvAVmlfcKiT1V8="; 27 }; 28 29 postPatch = '' ··· 48 aresponses 49 pytest-asyncio 50 pytestCheckHook 51 + syrupy 52 ]; 53 54 pythonImportsCheck = [
+2 -2
pkgs/development/python-modules/recurring-ical-events/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "recurring-ical-events"; 16 - version = "2.0.2"; 17 18 format = "setuptools"; 19 ··· 21 owner = "niccokunzmann"; 22 repo = "python-recurring-ical-events"; 23 rev = "v${version}"; 24 - hash = "sha256-aM7c/HE8xLqT5wCLaCrfFn6c7FIkCJA6TTICZprAgNM="; 25 }; 26 27 propagatedBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "recurring-ical-events"; 16 + version = "2.1.0"; 17 18 format = "setuptools"; 19 ··· 21 owner = "niccokunzmann"; 22 repo = "python-recurring-ical-events"; 23 rev = "v${version}"; 24 + hash = "sha256-HNImooD6+hsMIfJX8LuHw1YyFIQNbY7dAjqdupPbhEE="; 25 }; 26 27 propagatedBuildInputs = [
+17 -7
pkgs/development/python-modules/sphinx-sitemap/default.nix
··· 1 { lib 2 , buildPythonPackage 3 - , fetchPypi 4 , sphinx 5 }: 6 let 7 pname = "sphinx-sitemap"; ··· 11 inherit pname version; 12 pyproject = true; 13 14 - src = fetchPypi { 15 - inherit pname version; 16 - sha256 = "sha256-mEvvBou9vCbPriCai2E5LpaBq8kZG0d80w2kBuOmDuU="; 17 }; 18 19 propagatedBuildInputs = [ 20 sphinx 21 ]; 22 23 - # Latest tests do not pass on Sphinx5, although it is supported 24 - # Ref: https://github.com/jdillard/sphinx-sitemap/blob/ce244e9e1e05f09c566432f6a89bcd6f6ebe83bf/tox.ini#L18C25-L18C25 25 - doCheck = false; 26 27 meta = with lib; { 28 changelog = "https://github.com/jdillard/sphinx-sitemap/releases/tag/v${version}";
··· 1 { lib 2 , buildPythonPackage 3 + , fetchFromGitHub 4 + , setuptools 5 , sphinx 6 + , sphinx-pytest 7 + , pytestCheckHook 8 }: 9 let 10 pname = "sphinx-sitemap"; ··· 14 inherit pname version; 15 pyproject = true; 16 17 + src = fetchFromGitHub { 18 + owner = "jdillard"; 19 + repo = "sphinx-sitemap"; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-R8nAaEPd2vQs9Z0Fa5yvTP0KP3O+DnIJLPeISZ10Xtk="; 22 }; 23 24 + nativeBuildInputs = [ 25 + setuptools 26 + ]; 27 + 28 propagatedBuildInputs = [ 29 sphinx 30 ]; 31 32 + nativeCheckInputs = [ 33 + pytestCheckHook 34 + sphinx-pytest 35 + ]; 36 37 meta = with lib; { 38 changelog = "https://github.com/jdillard/sphinx-sitemap/releases/tag/v${version}";
+3
pkgs/development/python-modules/x-wr-timezone/default.nix
··· 36 export PATH=$out/bin:$PATH 37 ''; 38 39 pythonImportsCheck = [ "x_wr_timezone" ]; 40 41 meta = {
··· 36 export PATH=$out/bin:$PATH 37 ''; 38 39 + # https://github.com/niccokunzmann/x-wr-timezone/issues/8 40 + doCheck = false; 41 + 42 pythonImportsCheck = [ "x_wr_timezone" ]; 43 44 meta = {
+2 -2
pkgs/development/python-modules/zeroconf/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "zeroconf"; 18 - version = "0.115.2"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "jstasiak"; 25 repo = "python-zeroconf"; 26 rev = "refs/tags/${version}"; 27 - hash = "sha256-qLJWOZyWyLx5orDbvVSluA+zFvHN2393hyVC3ty87ug="; 28 }; 29 30 nativeBuildInputs = [
··· 15 16 buildPythonPackage rec { 17 pname = "zeroconf"; 18 + version = "0.119.0"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "jstasiak"; 25 repo = "python-zeroconf"; 26 rev = "refs/tags/${version}"; 27 + hash = "sha256-VaqKk2WrRLZM2tfx3+y9GngEc6rMcw0b12ExFVfDYf4="; 28 }; 29 30 nativeBuildInputs = [
+2
pkgs/development/python-modules/zha-quirks/default.nix
··· 2 , aiohttp 3 , buildPythonPackage 4 , fetchFromGitHub 5 , pytestCheckHook 6 , pythonOlder 7 , zigpy ··· 27 ]; 28 29 nativeCheckInputs = [ 30 pytestCheckHook 31 ]; 32
··· 2 , aiohttp 3 , buildPythonPackage 4 , fetchFromGitHub 5 + , pytest-asyncio 6 , pytestCheckHook 7 , pythonOlder 8 , zigpy ··· 28 ]; 29 30 nativeCheckInputs = [ 31 + pytest-asyncio 32 pytestCheckHook 33 ]; 34
+2 -2
pkgs/development/python-modules/zigpy/default.nix
··· 19 20 buildPythonPackage rec { 21 pname = "zigpy"; 22 - version = "0.57.2"; 23 format = "pyproject"; 24 25 disabled = pythonOlder "3.8"; ··· 28 owner = "zigpy"; 29 repo = "zigpy"; 30 rev = "refs/tags/${version}"; 31 - hash = "sha256-v4H8syWbXqmfvOznRECgSjYi246+socPJTffb79MXK4="; 32 }; 33 34 postPatch = ''
··· 19 20 buildPythonPackage rec { 21 pname = "zigpy"; 22 + version = "0.58.1"; 23 format = "pyproject"; 24 25 disabled = pythonOlder "3.8"; ··· 28 owner = "zigpy"; 29 repo = "zigpy"; 30 rev = "refs/tags/${version}"; 31 + hash = "sha256-i2P9QyhT/UQ8Xu0IfQ2OzAxIiMF4H04Jkz3/6e2FCpY="; 32 }; 33 34 postPatch = ''
+2 -2
pkgs/development/tools/glamoroustoolkit/default.nix
··· 21 22 stdenv.mkDerivation (finalAttrs: { 23 pname = "glamoroustoolkit"; 24 - version = "1.0.1"; 25 26 src = fetchzip { 27 url = "https://github.com/feenkcom/gtoolkit-vm/releases/download/v${finalAttrs.version}/GlamorousToolkit-x86_64-unknown-linux-gnu.zip"; 28 stripRoot = false; 29 - hash = "sha256-v63sV0HNHSU9H5rhtJcwZCuIXEGe1+BDyxV0/EqBk2E="; 30 }; 31 32 nativeBuildInputs = [ wrapGAppsHook ];
··· 21 22 stdenv.mkDerivation (finalAttrs: { 23 pname = "glamoroustoolkit"; 24 + version = "1.0.2"; 25 26 src = fetchzip { 27 url = "https://github.com/feenkcom/gtoolkit-vm/releases/download/v${finalAttrs.version}/GlamorousToolkit-x86_64-unknown-linux-gnu.zip"; 28 stripRoot = false; 29 + hash = "sha256-a+B+uAxFXlWVn8b0M17TtP4WTKhMmR6//smV1nmZyxU="; 30 }; 31 32 nativeBuildInputs = [ wrapGAppsHook ];
+3 -3
pkgs/development/tools/pscale/default.nix
··· 8 9 buildGoModule rec { 10 pname = "pscale"; 11 - version = "0.156.0"; 12 13 src = fetchFromGitHub { 14 owner = "planetscale"; 15 repo = "cli"; 16 rev = "v${version}"; 17 - sha256 = "sha256-1VlG+0jzx6Yho0bc3RypXgOFoM+NgOQ2RX4FB5ZllSw="; 18 }; 19 20 - vendorHash = "sha256-T5UmaS7PPZdkPpFxJIqpF5pH24uFrHbrbsI5gfElUOY="; 21 22 ldflags = [ 23 "-s" "-w"
··· 8 9 buildGoModule rec { 10 pname = "pscale"; 11 + version = "0.161.0"; 12 13 src = fetchFromGitHub { 14 owner = "planetscale"; 15 repo = "cli"; 16 rev = "v${version}"; 17 + sha256 = "sha256-7PzuFhlOlU5uGsJyGOY761JfzqaPkkkftRlYrvUKEoU="; 18 }; 19 20 + vendorHash = "sha256-fhYd2C9xY0kQez6+MofimJP+brLvMDFXlW6kDSI4iqA="; 21 22 ldflags = [ 23 "-s" "-w"
+70 -26
pkgs/servers/home-assistant/component-packages.nix
··· 2 # Do not edit! 3 4 { 5 - version = "2023.10.5"; 6 components = { 7 "3_day_blinds" = ps: with ps; [ 8 ]; ··· 682 "cpuspeed" = ps: with ps; [ 683 py-cpuinfo 684 ]; 685 "crownstone" = ps: with ps; [ 686 aiohttp-cors 687 crownstone-cloud ··· 943 ]; # missing inputs: dynalite-panel 944 "eafm" = ps: with ps; [ 945 aioeafm 946 ]; 947 "easyenergy" = ps: with ps; [ 948 easyenergy ··· 984 pythonegardia 985 ]; 986 "eight_sleep" = ps: with ps; [ 987 - pyeight 988 ]; 989 "electrasmart" = ps: with ps; [ 990 ]; # missing inputs: pyElectra ··· 1245 "fitbit" = ps: with ps; [ 1246 aiohttp-cors 1247 fitbit 1248 ]; 1249 "fivem" = ps: with ps; [ 1250 fivem-api ··· 1538 psutil-home-assistant 1539 sqlalchemy 1540 ]; 1541 "google_translate" = ps: with ps; [ 1542 gtts 1543 ]; ··· 1959 aiohttp-cors 1960 aioimaplib 1961 ]; 1962 - "imap_email_content" = ps: with ps; [ 1963 aiohttp-cors 1964 - aioimaplib 1965 - ]; 1966 "incomfort" = ps: with ps; [ 1967 incomfort-client 1968 ]; ··· 2369 ifaddr 2370 psutil-home-assistant 2371 sqlalchemy 2372 ]; 2373 "locative" = ps: with ps; [ 2374 aiohttp-cors ··· 3241 "poolsense" = ps: with ps; [ 3242 poolsense 3243 ]; 3244 "powerwall" = ps: with ps; [ 3245 tesla-powerwall 3246 ]; ··· 3331 "pyload" = ps: with ps; [ 3332 ]; 3333 "python_script" = ps: with ps; [ 3334 restrictedpython 3335 ]; 3336 "qbittorrent" = ps: with ps; [ ··· 3464 psutil-home-assistant 3465 sqlalchemy 3466 ]; 3467 "recswitch" = ps: with ps; [ 3468 ]; # missing inputs: pyrecswitch 3469 "reddit" = ps: with ps; [ ··· 3617 "sabnzbd" = ps: with ps; [ 3618 pysabnzbd 3619 ]; 3620 - "safe_mode" = ps: with ps; [ 3621 - aiohttp-cors 3622 - fnv-hash-fast 3623 - hass-nabucasa 3624 - hassil 3625 - home-assistant-frontend 3626 - home-assistant-intents 3627 - janus 3628 - mutagen 3629 - pillow 3630 - psutil-home-assistant 3631 - pyturbojpeg 3632 - sqlalchemy 3633 - webrtc-noise-gain 3634 - ]; 3635 "saj" = ps: with ps; [ 3636 pysaj 3637 ]; ··· 3828 pyserial 3829 pyudev 3830 sqlalchemy 3831 - ]; 3832 - "shiftr" = ps: with ps; [ 3833 - paho-mqtt 3834 ]; 3835 "shodan" = ps: with ps; [ 3836 shodan ··· 4208 "tailscale" = ps: with ps; [ 4209 tailscale 4210 ]; 4211 "tank_utility" = ps: with ps; [ 4212 tank-utility 4213 ]; ··· 4389 tmb 4390 ]; 4391 "tod" = ps: with ps; [ 4392 ]; 4393 "todoist" = ps: with ps; [ 4394 todoist-api-python ··· 4733 ]; # missing inputs: wirelesstagpy 4734 "withings" = ps: with ps; [ 4735 aiohttp-cors 4736 fnv-hash-fast 4737 hass-nabucasa 4738 hassil ··· 4742 pyturbojpeg 4743 sqlalchemy 4744 webrtc-noise-gain 4745 - withings-api 4746 ]; 4747 "wiz" = ps: with ps; [ 4748 aiohttp-cors ··· 5231 "google_mail" 5232 "google_pubsub" 5233 "google_sheets" 5234 "google_translate" 5235 "google_travel_time" 5236 "google_wifi" ··· 5290 "image_processing" 5291 "image_upload" 5292 "imap" 5293 - "imap_email_content" 5294 "influxdb" 5295 "inkbird" 5296 "input_boolean" ··· 5347 "local_calendar" 5348 "local_file" 5349 "local_ip" 5350 "locative" 5351 "lock" 5352 "logbook" ··· 5518 "rdw" 5519 "recollect_waste" 5520 "recorder" 5521 "reddit" 5522 "remote" 5523 "renault" ··· 5544 "ruuvi_gateway" 5545 "ruuvitag_ble" 5546 "sabnzbd" 5547 - "safe_mode" 5548 "samsungtv" 5549 "scene" 5550 "schedule" ··· 5657 "time_date" 5658 "timer" 5659 "tod" 5660 "todoist" 5661 "tolo" 5662 "tomato"
··· 2 # Do not edit! 3 4 { 5 + version = "2023.11.0"; 6 components = { 7 "3_day_blinds" = ps: with ps; [ 8 ]; ··· 682 "cpuspeed" = ps: with ps; [ 683 py-cpuinfo 684 ]; 685 + "cribl" = ps: with ps; [ 686 + ]; 687 "crownstone" = ps: with ps; [ 688 aiohttp-cors 689 crownstone-cloud ··· 945 ]; # missing inputs: dynalite-panel 946 "eafm" = ps: with ps; [ 947 aioeafm 948 + ]; 949 + "eastron" = ps: with ps; [ 950 ]; 951 "easyenergy" = ps: with ps; [ 952 easyenergy ··· 988 pythonegardia 989 ]; 990 "eight_sleep" = ps: with ps; [ 991 ]; 992 "electrasmart" = ps: with ps; [ 993 ]; # missing inputs: pyElectra ··· 1248 "fitbit" = ps: with ps; [ 1249 aiohttp-cors 1250 fitbit 1251 + fnv-hash-fast 1252 + psutil-home-assistant 1253 + sqlalchemy 1254 ]; 1255 "fivem" = ps: with ps; [ 1256 fivem-api ··· 1544 psutil-home-assistant 1545 sqlalchemy 1546 ]; 1547 + "google_tasks" = ps: with ps; [ 1548 + aiohttp-cors 1549 + fnv-hash-fast 1550 + google-api-python-client 1551 + psutil-home-assistant 1552 + sqlalchemy 1553 + ]; 1554 "google_translate" = ps: with ps; [ 1555 gtts 1556 ]; ··· 1972 aiohttp-cors 1973 aioimaplib 1974 ]; 1975 + "improv_ble" = ps: with ps; [ 1976 + aioesphomeapi 1977 aiohttp-cors 1978 + aioruuvigateway 1979 + aioshelly 1980 + async-interrupt 1981 + bleak 1982 + bleak-retry-connector 1983 + bluetooth-adapters 1984 + bluetooth-auto-recovery 1985 + bluetooth-data-tools 1986 + dbus-fast 1987 + esphome-dashboard-api 1988 + fnv-hash-fast 1989 + hassil 1990 + home-assistant-intents 1991 + ifaddr 1992 + mutagen 1993 + psutil-home-assistant 1994 + pyserial 1995 + pyudev 1996 + sqlalchemy 1997 + webrtc-noise-gain 1998 + zeroconf 1999 + ]; # missing inputs: py-improv-ble-client 2000 "incomfort" = ps: with ps; [ 2001 incomfort-client 2002 ]; ··· 2403 ifaddr 2404 psutil-home-assistant 2405 sqlalchemy 2406 + ]; 2407 + "local_todo" = ps: with ps; [ 2408 + ical 2409 ]; 2410 "locative" = ps: with ps; [ 2411 aiohttp-cors ··· 3278 "poolsense" = ps: with ps; [ 3279 poolsense 3280 ]; 3281 + "portlandgeneral" = ps: with ps; [ 3282 + ]; 3283 "powerwall" = ps: with ps; [ 3284 tesla-powerwall 3285 ]; ··· 3370 "pyload" = ps: with ps; [ 3371 ]; 3372 "python_script" = ps: with ps; [ 3373 + restrictedpython 3374 restrictedpython 3375 ]; 3376 "qbittorrent" = ps: with ps; [ ··· 3504 psutil-home-assistant 3505 sqlalchemy 3506 ]; 3507 + "recovery_mode" = ps: with ps; [ 3508 + aiohttp-cors 3509 + fnv-hash-fast 3510 + hass-nabucasa 3511 + hassil 3512 + home-assistant-frontend 3513 + home-assistant-intents 3514 + janus 3515 + mutagen 3516 + pillow 3517 + psutil-home-assistant 3518 + pyturbojpeg 3519 + sqlalchemy 3520 + webrtc-noise-gain 3521 + ]; 3522 "recswitch" = ps: with ps; [ 3523 ]; # missing inputs: pyrecswitch 3524 "reddit" = ps: with ps; [ ··· 3672 "sabnzbd" = ps: with ps; [ 3673 pysabnzbd 3674 ]; 3675 "saj" = ps: with ps; [ 3676 pysaj 3677 ]; ··· 3868 pyserial 3869 pyudev 3870 sqlalchemy 3871 ]; 3872 "shodan" = ps: with ps; [ 3873 shodan ··· 4245 "tailscale" = ps: with ps; [ 4246 tailscale 4247 ]; 4248 + "tami4" = ps: with ps; [ 4249 + ]; # missing inputs: Tami4EdgeAPI 4250 "tank_utility" = ps: with ps; [ 4251 tank-utility 4252 ]; ··· 4428 tmb 4429 ]; 4430 "tod" = ps: with ps; [ 4431 + ]; 4432 + "todo" = ps: with ps; [ 4433 + aiohttp-cors 4434 ]; 4435 "todoist" = ps: with ps; [ 4436 todoist-api-python ··· 4775 ]; # missing inputs: wirelesstagpy 4776 "withings" = ps: with ps; [ 4777 aiohttp-cors 4778 + aiowithings 4779 fnv-hash-fast 4780 hass-nabucasa 4781 hassil ··· 4785 pyturbojpeg 4786 sqlalchemy 4787 webrtc-noise-gain 4788 ]; 4789 "wiz" = ps: with ps; [ 4790 aiohttp-cors ··· 5273 "google_mail" 5274 "google_pubsub" 5275 "google_sheets" 5276 + "google_tasks" 5277 "google_translate" 5278 "google_travel_time" 5279 "google_wifi" ··· 5333 "image_processing" 5334 "image_upload" 5335 "imap" 5336 "influxdb" 5337 "inkbird" 5338 "input_boolean" ··· 5389 "local_calendar" 5390 "local_file" 5391 "local_ip" 5392 + "local_todo" 5393 "locative" 5394 "lock" 5395 "logbook" ··· 5561 "rdw" 5562 "recollect_waste" 5563 "recorder" 5564 + "recovery_mode" 5565 "reddit" 5566 "remote" 5567 "renault" ··· 5588 "ruuvi_gateway" 5589 "ruuvitag_ble" 5590 "sabnzbd" 5591 "samsungtv" 5592 "scene" 5593 "schedule" ··· 5700 "time_date" 5701 "timer" 5702 "tod" 5703 + "todo" 5704 "todoist" 5705 "tolo" 5706 "tomato"
+3 -23
pkgs/servers/home-assistant/default.nix
··· 77 ]; 78 }); 79 80 - blinkpy = super.blinkpy.overridePythonAttrs (oldAttrs: rec { 81 - version = "0.21.0"; 82 - src = fetchFromGitHub { 83 - owner = "fronzbot"; 84 - repo = "blinkpy"; 85 - rev = "refs/tags/v${version}"; 86 - hash = "sha256-0sEZlnS6CJj8nMyjtSFZRALRKdmY0Uu5N6sozPiDG6w="; 87 - }; 88 - }); 89 - 90 - dsmr-parser = super.dsmr-parser.overridePythonAttrs (oldAttrs: rec { 91 - version = "0.33"; 92 - src = fetchFromGitHub { 93 - owner = "ndokter"; 94 - repo = "dsmr_parser"; 95 - rev = "refs/tags/v${version}"; 96 - hash = "sha256-Phx8Yqx6beTzkQv0fU8Pfs2btPgKVARdO+nMcne1S+w="; 97 - }; 98 - }); 99 - 100 geojson = super.geojson.overridePythonAttrs (oldAttrs: rec { 101 version = "2.5.0"; 102 src = fetchFromGitHub { ··· 395 extraBuildInputs = extraPackages python.pkgs; 396 397 # Don't forget to run parse-requirements.py after updating 398 - hassVersion = "2023.10.5"; 399 400 in python.pkgs.buildPythonApplication rec { 401 pname = "homeassistant"; ··· 411 # Primary source is the pypi sdist, because it contains translations 412 src = fetchPypi { 413 inherit pname version; 414 - hash = "sha256-jVw0Mudb/L4Lw3AodwcOTrNJZctSfEIcXUzxozo7saA="; 415 }; 416 417 # Secondary source is git for tests ··· 419 owner = "home-assistant"; 420 repo = "core"; 421 rev = "refs/tags/${version}"; 422 - hash = "sha256-wKxAwa4t3JbS4puDAufjpzcVLcvEY9Bk73qmg3JeLPk="; 423 }; 424 425 nativeBuildInputs = with python.pkgs; [
··· 77 ]; 78 }); 79 80 geojson = super.geojson.overridePythonAttrs (oldAttrs: rec { 81 version = "2.5.0"; 82 src = fetchFromGitHub { ··· 375 extraBuildInputs = extraPackages python.pkgs; 376 377 # Don't forget to run parse-requirements.py after updating 378 + hassVersion = "2023.11.0"; 379 380 in python.pkgs.buildPythonApplication rec { 381 pname = "homeassistant"; ··· 391 # Primary source is the pypi sdist, because it contains translations 392 src = fetchPypi { 393 inherit pname version; 394 + hash = "sha256-qLs098k/MUvmOl6/tB4SDU55V7KTZ0+T3RUoLH4AQ2Q="; 395 }; 396 397 # Secondary source is git for tests ··· 399 owner = "home-assistant"; 400 repo = "core"; 401 rev = "refs/tags/${version}"; 402 + hash = "sha256-I5I/OcVE6nGO7LG3s2I1P/VUbPjPkUc7qj43z99tIRM="; 403 }; 404 405 nativeBuildInputs = with python.pkgs; [
+2 -2
pkgs/servers/home-assistant/frontend.nix
··· 4 # the frontend version corresponding to a specific home-assistant version can be found here 5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json 6 pname = "home-assistant-frontend"; 7 - version = "20231005.0"; 8 format = "wheel"; 9 10 src = fetchPypi { ··· 12 pname = "home_assistant_frontend"; 13 dist = "py3"; 14 python = "py3"; 15 - hash = "sha256-p93bo5+VQykcuK5f0r848tMoANSexvHDVBm7f3IYOMM="; 16 }; 17 18 # there is nothing to strip in this package
··· 4 # the frontend version corresponding to a specific home-assistant version can be found here 5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json 6 pname = "home-assistant-frontend"; 7 + version = "20231030.1"; 8 format = "wheel"; 9 10 src = fetchPypi { ··· 12 pname = "home_assistant_frontend"; 13 dist = "py3"; 14 python = "py3"; 15 + hash = "sha256-S363j7HnOxLqCBaml1Kb9xfY0AaqBIgj09NutByn6Xo="; 16 }; 17 18 # there is nothing to strip in this package
+2 -2
pkgs/servers/home-assistant/intents.nix
··· 20 21 buildPythonPackage rec { 22 pname = "home-assistant-intents"; 23 - version = "2023.10.2"; 24 format = "pyproject"; 25 26 disabled = pythonOlder "3.9"; ··· 29 owner = "home-assistant"; 30 repo = "intents-package"; 31 rev = "refs/tags/${version}"; 32 - hash = "sha256-4zaMDYHrUape+s9Z1nfGpud74pbkAeKBpJtmIyLdCjk="; 33 fetchSubmodules = true; 34 }; 35
··· 20 21 buildPythonPackage rec { 22 pname = "home-assistant-intents"; 23 + version = "2023.10.16"; 24 format = "pyproject"; 25 26 disabled = pythonOlder "3.9"; ··· 29 owner = "home-assistant"; 30 repo = "intents-package"; 31 rev = "refs/tags/${version}"; 32 + hash = "sha256-qW5KzABEEBw2tu5+fAoWd8nCxuvTzEU14M8iaSo2WzE="; 33 fetchSubmodules = true; 34 }; 35
+3 -3
pkgs/servers/misc/gobgpd/default.nix
··· 5 6 buildGoModule rec { 7 pname = "gobgpd"; 8 - version = "3.19.0"; 9 10 src = fetchFromGitHub { 11 owner = "osrg"; 12 repo = "gobgp"; 13 rev = "refs/tags/v${version}"; 14 - hash = "sha256-zDLL+3k6/Jgq/pflpmjuLcfPzvDl0LQLQklW+kOvtQg="; 15 }; 16 17 - vendorHash = "sha256-8qEGp95y8iBIJXCTh2Pa/JwiruZVVIjHLwaZqwFZMl8="; 18 19 postConfigure = '' 20 export CGO_ENABLED=0
··· 5 6 buildGoModule rec { 7 pname = "gobgpd"; 8 + version = "3.20.0"; 9 10 src = fetchFromGitHub { 11 owner = "osrg"; 12 repo = "gobgp"; 13 rev = "refs/tags/v${version}"; 14 + hash = "sha256-kdeDV8IWbfeC6KDgJtOl1NX6jwvxiaIdGAYtrDuYFdI="; 15 }; 16 17 + vendorHash = "sha256-5eB3vFOo3LCsjMnWYFH0yq5+IunwKXp5C34x6NvpFZ8="; 18 19 postConfigure = '' 20 export CGO_ENABLED=0
+3 -3
pkgs/servers/zigbee2mqtt/default.nix
··· 8 9 buildNpmPackage rec { 10 pname = "zigbee2mqtt"; 11 - version = "1.33.1"; 12 13 src = fetchFromGitHub { 14 owner = "Koenkk"; 15 repo = "zigbee2mqtt"; 16 rev = version; 17 - hash = "sha256-Rd8PJWKPUriVf3BmHFvhmb+SQskVeqOFdJB8Gsopgnw="; 18 }; 19 20 - npmDepsHash = "sha256-rEqbwdeIQg6YS7uLeoP2uMbJWsnovIHBVp9CPlTc2NY="; 21 22 nativeBuildInputs = [ 23 python3
··· 8 9 buildNpmPackage rec { 10 pname = "zigbee2mqtt"; 11 + version = "1.33.2"; 12 13 src = fetchFromGitHub { 14 owner = "Koenkk"; 15 repo = "zigbee2mqtt"; 16 rev = version; 17 + hash = "sha256-pRY4FOIJwsLSKYieN0D1esKdoUqx62NMFgiYXaXguJ0="; 18 }; 19 20 + npmDepsHash = "sha256-9bOFM8Ie0334H2L94ypgkMrB6zyVJ9YTvNnKeBJjOUI="; 21 22 nativeBuildInputs = [ 23 python3
+4 -4
pkgs/shells/fish/plugins/bobthefisher.nix
··· 3 , fetchFromGitHub 4 , 5 }: 6 - buildFishPlugin rec { 7 pname = "bobthefisher"; 8 - version = "unstable-2023-03-09"; 9 10 src = fetchFromGitHub { 11 owner = "Scrumplex"; 12 repo = "bobthefisher"; 13 - rev = "6528033a2c9ca90611d04b6a4afd2131b9495cdc"; 14 - sha256 = "sha256-UDoSMFKtd6ur10guqJlkpA0YSCBv45FR5QKJqdXZWgw="; 15 }; 16 17 meta = with lib; {
··· 3 , fetchFromGitHub 4 , 5 }: 6 + buildFishPlugin { 7 pname = "bobthefisher"; 8 + version = "unstable-2023-10-25"; 9 10 src = fetchFromGitHub { 11 owner = "Scrumplex"; 12 repo = "bobthefisher"; 13 + rev = "f4179a14b087c7fbfc2e892da429adad40a39e44"; 14 + sha256 = "sha256-l1DHSZa40BX2/4GCjm5E53UOeFEnMioWbZtCW14WX6k="; 15 }; 16 17 meta = with lib; {
-32
pkgs/tools/audio/wyoming/piper-entrypoint.patch
··· 1 - diff --git a/setup.py b/setup.py 2 - index 05e42c1..8347acb 100644 3 - --- a/setup.py 4 - +++ b/setup.py 5 - @@ -41,4 +41,9 @@ setup( 6 - "Programming Language :: Python :: 3.10", 7 - ], 8 - keywords="rhasspy wyoming piper", 9 - + entry_points={ 10 - + 'console_scripts': [ 11 - + 'wyoming-piper = wyoming_piper:__main__.run' 12 - + ] 13 - + } 14 - ) 15 - diff --git a/wyoming_piper/__main__.py b/wyoming_piper/__main__.py 16 - index ab1580b..4c0a143 100755 17 - --- a/wyoming_piper/__main__.py 18 - +++ b/wyoming_piper/__main__.py 19 - @@ -143,8 +143,12 @@ def get_description(voice_info: Dict[str, Any]): 20 - 21 - # ----------------------------------------------------------------------------- 22 - 23 - +def run(): 24 - + asyncio.run(main()) 25 - + 26 - + 27 - if __name__ == "__main__": 28 - try: 29 - - asyncio.run(main()) 30 - + run() 31 - except KeyboardInterrupt: 32 - pass
···
+24 -12
pkgs/tools/audio/wyoming/piper.nix
··· 1 { lib 2 - , python3 3 - , fetchPypi 4 }: 5 6 - python3.pkgs.buildPythonApplication rec { 7 pname = "wyoming-piper"; 8 - version = "1.3.2"; 9 - format = "setuptools"; 10 11 - src = fetchPypi { 12 - pname = "wyoming_piper"; 13 - inherit version; 14 - hash = "sha256-WyoHwIF3xC5nOa7iQ8/esfdwahbU6YJzK5G2Vi3mV4M="; 15 }; 16 17 patches = [ 18 - ./piper-entrypoint.patch 19 ]; 20 21 - propagatedBuildInputs = with python3.pkgs; [ 22 wyoming 23 ]; 24 ··· 29 doCheck = false; 30 31 meta = with lib; { 32 description = "Wyoming Server for Piper"; 33 - homepage = "https://pypi.org/project/wyoming-piper/"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ hexa ]; 36 };
··· 1 { lib 2 + , python3Packages 3 + , fetchFromGitHub 4 + , fetchpatch 5 }: 6 7 + python3Packages.buildPythonApplication rec { 8 pname = "wyoming-piper"; 9 + version = "1.4.0"; 10 + pyproject = true; 11 12 + src = fetchFromGitHub { 13 + owner = "rhasspy"; 14 + repo = "wyoming-piper"; 15 + # https://github.com/rhasspy/wyoming-piper/issues/3 16 + rev = "560927437c72eca4d334ca503d15863f0b42980d"; 17 + hash = "sha256-Q4S96zs856zXVAGo4mB466an60naHiS2S/qxYxPE4sI="; 18 }; 19 20 patches = [ 21 + (fetchpatch { 22 + # add console script 23 + url = "https://github.com/rhasspy/wyoming-piper/commit/4c27fbd067fd543adede4626fc5868a3f2458734.patch"; 24 + hash = "sha256-YPjDjeY9RLsgCtbBZoNgPyQTv3rbCJGcqTNSSwiqqEE="; 25 + }) 26 ]; 27 28 + nativeBuildInputs = with python3Packages; [ 29 + setuptools 30 + ]; 31 + 32 + propagatedBuildInputs = with python3Packages; [ 33 wyoming 34 ]; 35 ··· 40 doCheck = false; 41 42 meta = with lib; { 43 + changelog = "https://github.com/rhasspy/wyoming-openwakeword/v${version}/master/CHANGELOG.md"; 44 description = "Wyoming Server for Piper"; 45 + homepage = "https://github.com/rhasspy/wyoming-openwakeword"; 46 license = licenses.mit; 47 maintainers = with maintainers; [ hexa ]; 48 };
+2 -2
pkgs/tools/misc/esphome/default.nix
··· 16 in 17 python.pkgs.buildPythonApplication rec { 18 pname = "esphome"; 19 - version = "2023.10.4"; 20 format = "setuptools"; 21 22 src = fetchFromGitHub { 23 owner = pname; 24 repo = pname; 25 rev = "refs/tags/${version}"; 26 - hash = "sha256-rDq6uudT1kW97TiE9FswfgzLlNPTo8+YjD7HEvbrMn0="; 27 }; 28 29 postPatch = ''
··· 16 in 17 python.pkgs.buildPythonApplication rec { 18 pname = "esphome"; 19 + version = "2023.10.5"; 20 format = "setuptools"; 21 22 src = fetchFromGitHub { 23 owner = pname; 24 repo = pname; 25 rev = "refs/tags/${version}"; 26 + hash = "sha256-I/VA1/vw0WrTsLC1F3IrKYf8lmTJHLG/RYj3VcJx+Zc="; 27 }; 28 29 postPatch = ''
+3 -3
pkgs/tools/networking/gobgp/default.nix
··· 2 3 buildGoModule rec { 4 pname = "gobgp"; 5 - version = "3.19.0"; 6 7 src = fetchFromGitHub { 8 owner = "osrg"; 9 repo = "gobgp"; 10 rev = "v${version}"; 11 - sha256 = "sha256-zDLL+3k6/Jgq/pflpmjuLcfPzvDl0LQLQklW+kOvtQg="; 12 }; 13 14 - vendorHash = "sha256-8qEGp95y8iBIJXCTh2Pa/JwiruZVVIjHLwaZqwFZMl8="; 15 16 postConfigure = '' 17 export CGO_ENABLED=0
··· 2 3 buildGoModule rec { 4 pname = "gobgp"; 5 + version = "3.20.0"; 6 7 src = fetchFromGitHub { 8 owner = "osrg"; 9 repo = "gobgp"; 10 rev = "v${version}"; 11 + sha256 = "sha256-kdeDV8IWbfeC6KDgJtOl1NX6jwvxiaIdGAYtrDuYFdI="; 12 }; 13 14 + vendorHash = "sha256-5eB3vFOo3LCsjMnWYFH0yq5+IunwKXp5C34x6NvpFZ8="; 15 16 postConfigure = '' 17 export CGO_ENABLED=0
+3 -3
pkgs/tools/virtualization/govc/default.nix
··· 2 3 buildGoModule rec { 4 pname = "govc"; 5 - version = "0.32.0"; 6 7 subPackages = [ "govc" ]; 8 ··· 10 rev = "v${version}"; 11 owner = "vmware"; 12 repo = "govmomi"; 13 - sha256 = "sha256-GnMWgN6ZxxGU/tRAPIk2cvpsBiut97iPcU9920wepxM="; 14 }; 15 16 - vendorHash = "sha256-mf9ZYZEmqB/47JLHn8N3VDr57SXbFLubXnwfXj682FA="; 17 18 ldflags = [ 19 "-s"
··· 2 3 buildGoModule rec { 4 pname = "govc"; 5 + version = "0.33.0"; 6 7 subPackages = [ "govc" ]; 8 ··· 10 rev = "v${version}"; 11 owner = "vmware"; 12 repo = "govmomi"; 13 + sha256 = "sha256-YY/rTrL6zEhZkeaYz2yG/h2s81IefClou4abbmQuDiU="; 14 }; 15 16 + vendorHash = "sha256-DBcovHOOfIy4dfi8U9zaCUzz5Zz8oIG44JCqMKtdxgg="; 17 18 ldflags = [ 19 "-s"