python312Packages.deezer-python: 7.0.0 -> 7.1.0 (#352785)

This commit is contained in:
Fabian Affolter 2024-11-03 11:43:18 +01:00 committed by GitHub
commit 92d43674f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@
fetchFromGitHub,
httpx,
poetry-core,
pytest-cov-stub,
pytest-mock,
pytest-vcr,
pytestCheckHook,
@ -14,35 +15,29 @@
buildPythonPackage rec {
pname = "deezer-python";
version = "7.0.0";
version = "7.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "browniebroke";
repo = "deezer-python";
rev = "refs/tags/v${version}";
hash = "sha256-V4M6qRTa7XKbl962Z3y70+v3YCeW65VjeSIv/1Oxnws=";
hash = "sha256-d+cN6f6jw8D+noxyYl/TpDAkeTb8Krt+r0/Ai65cvdU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail " --cov=deezer" ""
'';
build-system = [ poetry-core ];
dependencies = [
httpx
tornado
];
dependencies = [ httpx ];
nativeCheckInputs = [
environs
pytest-cov-stub
pytest-mock
pytest-vcr
pytestCheckHook
tornado
];
pythonImportsCheck = [ "deezer" ];