Merge pull request #138612 from fabaff/bump-deezer-python
python3Packages.deezer-python: 2.3.0 -> 2.3.1
This commit is contained in:
commit
fc875028eb
1 changed files with 16 additions and 8 deletions
|
@ -1,26 +1,27 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-mock
|
||||
, pytest-vcr
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, tornado
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pytest-cov
|
||||
, pytest-vcr
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deezer-python";
|
||||
version = "2.3.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
version = "2.3.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "browniebroke";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-pRYC0kJHJ5SKgDdGS1KkQEbv+DkF9oPw/A1GnB0AwfQ=";
|
||||
sha256 = "sha256-0gkPwIz+nZJjxfucy71D0A5CFkhQaW32UH5t1DkuvEs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -29,8 +30,8 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov
|
||||
pytest-vcr
|
||||
pytest-mock
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -38,6 +39,13 @@ buildPythonPackage rec {
|
|||
tornado
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace " --cov=deezer" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "deezer" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A friendly Python wrapper around the Deezer API";
|
||||
homepage = "https://github.com/browniebroke/deezer-python";
|
||||
|
|
Loading…
Reference in a new issue