about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2023-08-16 21:41:13 +0200
committerGitHub <noreply@github.com>2023-08-16 21:41:13 +0200
commit1b554166d96562d5539a6445efd68214b06c6032 (patch)
tree4d9e1df2112b819a2affd75268d9f70b696bdb12 /pkgs/development/python-modules
parent695882636d4c570bdc215de0aa5b6c81ec65952c (diff)
parent2b22c7d93cd46242594978fdaee06f14a08a0c09 (diff)
Merge pull request #249199 from fabaff/zeroconf-bump
python311Packages.zeroconf: 0.74.0 -> 0.79.0
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/librespot/default.nix22
-rw-r--r--pkgs/development/python-modules/zeroconf/default.nix4
2 files changed, 11 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/librespot/default.nix b/pkgs/development/python-modules/librespot/default.nix
index 21a25729fa4bf..97277f68a981e 100644
--- a/pkgs/development/python-modules/librespot/default.nix
+++ b/pkgs/development/python-modules/librespot/default.nix
@@ -1,15 +1,15 @@
 { lib
 , buildPythonPackage
-, fetchFromGitHub
 , defusedxml
+, fetchFromGitHub
 , protobuf
+, pycryptodomex
+, pyogg
+, pytestCheckHook
 , pythonRelaxDepsHook
+, requests
 , websocket-client
-, pyogg
 , zeroconf
-, requests
-, pycryptodomex
-, pytestCheckHook
 }:
 
 buildPythonPackage rec {
@@ -20,10 +20,12 @@ buildPythonPackage rec {
   src = fetchFromGitHub {
     owner = "kokarare1212";
     repo = "librespot-python";
-    rev = "v${version}";
+    rev = "refs/tags/v${version}";
     hash = "sha256-k9qVsxjRlUZ7vCBx00quiAR7S+YkfyoZiAKVnOOG4xM=";
   };
 
+  pythonRelaxDeps = true;
+
   nativeBuildInputs = [
     pythonRelaxDepsHook
   ];
@@ -38,13 +40,6 @@ buildPythonPackage rec {
     zeroconf
   ];
 
-  pythonRelaxDeps = [
-    "protobuf"
-    "pyogg"
-    "requests"
-    "zeroconf"
-  ];
-
   # Doesn't include any tests
   doCheck = false;
 
@@ -55,6 +50,7 @@ buildPythonPackage rec {
   meta = with lib; {
     description = "Open Source Spotify Client";
     homepage = "https://github.com/kokarare1212/librespot-python";
+    changelog = "https://github.com/kokarare1212/librespot-python/releases/tag/v${version}";
     license = licenses.asl20;
     maintainers = with maintainers; [ onny ];
   };
diff --git a/pkgs/development/python-modules/zeroconf/default.nix b/pkgs/development/python-modules/zeroconf/default.nix
index 6cd8253cfc325..10e7cc86b84f3 100644
--- a/pkgs/development/python-modules/zeroconf/default.nix
+++ b/pkgs/development/python-modules/zeroconf/default.nix
@@ -15,7 +15,7 @@
 
 buildPythonPackage rec {
   pname = "zeroconf";
-  version = "0.74.0";
+  version = "0.80.0";
   format = "pyproject";
 
   disabled = pythonOlder "3.7";
@@ -24,7 +24,7 @@ buildPythonPackage rec {
     owner = "jstasiak";
     repo = "python-zeroconf";
     rev = "refs/tags/${version}";
-    hash = "sha256-0QmAq1+dRfRkomZgh4Q0YF20omQBDUTgGt8cP1L6cx0=";
+    hash = "sha256-+NxLQGgTFHOPyOs8yoZvtZj0D42V6qma+PHgTGwPJsg=";
   };
 
   nativeBuildInputs = [