python311Packages.librespot: relax all requirements
This commit is contained in:
parent
7d988081a8
commit
184ef4c61c
1 changed files with 10 additions and 14 deletions
|
@ -1,15 +1,15 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, defusedxml
|
||||
, fetchFromGitHub
|
||||
, protobuf
|
||||
, pythonRelaxDepsHook
|
||||
, websocket-client
|
||||
, pyogg
|
||||
, zeroconf
|
||||
, requests
|
||||
, pycryptodomex
|
||||
, pyogg
|
||||
, pytestCheckHook
|
||||
, pythonRelaxDepsHook
|
||||
, requests
|
||||
, websocket-client
|
||||
, zeroconf
|
||||
}:
|
||||
|
||||
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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue