diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/librespot')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/librespot/default.nix | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/librespot/default.nix b/nixpkgs/pkgs/development/python-modules/librespot/default.nix index 21a25729fa4b..97277f68a981 100644 --- a/nixpkgs/pkgs/development/python-modules/librespot/default.nix +++ b/nixpkgs/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 ]; }; |