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
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
|
||||||
, defusedxml
|
, defusedxml
|
||||||
|
, fetchFromGitHub
|
||||||
, protobuf
|
, protobuf
|
||||||
, pythonRelaxDepsHook
|
|
||||||
, websocket-client
|
|
||||||
, pyogg
|
|
||||||
, zeroconf
|
|
||||||
, requests
|
|
||||||
, pycryptodomex
|
, pycryptodomex
|
||||||
|
, pyogg
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonRelaxDepsHook
|
||||||
|
, requests
|
||||||
|
, websocket-client
|
||||||
|
, zeroconf
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -20,10 +20,12 @@ buildPythonPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kokarare1212";
|
owner = "kokarare1212";
|
||||||
repo = "librespot-python";
|
repo = "librespot-python";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-k9qVsxjRlUZ7vCBx00quiAR7S+YkfyoZiAKVnOOG4xM=";
|
hash = "sha256-k9qVsxjRlUZ7vCBx00quiAR7S+YkfyoZiAKVnOOG4xM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pythonRelaxDeps = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pythonRelaxDepsHook
|
pythonRelaxDepsHook
|
||||||
];
|
];
|
||||||
|
@ -38,13 +40,6 @@ buildPythonPackage rec {
|
||||||
zeroconf
|
zeroconf
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
|
||||||
"protobuf"
|
|
||||||
"pyogg"
|
|
||||||
"requests"
|
|
||||||
"zeroconf"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Doesn't include any tests
|
# Doesn't include any tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -55,6 +50,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Open Source Spotify Client";
|
description = "Open Source Spotify Client";
|
||||||
homepage = "https://github.com/kokarare1212/librespot-python";
|
homepage = "https://github.com/kokarare1212/librespot-python";
|
||||||
|
changelog = "https://github.com/kokarare1212/librespot-python/releases/tag/v${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ onny ];
|
maintainers = with maintainers; [ onny ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue