Merge pull request #141964 from fabaff/bump-deezer-python

python3Packages.deezer-python: 3.1.0 -> 3.2.0
This commit is contained in:
Fabian Affolter 2021-10-18 08:14:41 +02:00 committed by GitHub
commit 4677531446
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 58 additions and 5 deletions

View file

@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
, environs
, fetchFromGitHub
, poetry-core
, pytest-mock
@ -12,7 +13,7 @@
buildPythonPackage rec {
pname = "deezer-python";
version = "3.1.0";
version = "3.2.0";
format = "pyproject";
disabled = pythonOlder "3.6";
@ -21,7 +22,7 @@ buildPythonPackage rec {
owner = "browniebroke";
repo = pname;
rev = "v${version}";
sha256 = "1ln9hlix6rbyajgvwd2lk0i7nshvrbkvj9xx1i0q1z1caly9yl0g";
sha256 = "sha256-NwG/VbTHoQl3c//vrrhKQ//gyVIGLY2148mgDToiKks=";
};
nativeBuildInputs = [
@ -29,9 +30,10 @@ buildPythonPackage rec {
];
checkInputs = [
pytestCheckHook
pytest-vcr
environs
pytest-mock
pytest-vcr
pytestCheckHook
];
propagatedBuildInputs = [
@ -47,7 +49,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "deezer" ];
meta = with lib; {
description = "A friendly Python wrapper around the Deezer API";
description = "Python wrapper around the Deezer API";
homepage = "https://github.com/browniebroke/deezer-python";
license = licenses.mit;
maintainers = with maintainers; [ synthetica ];

View file

@ -0,0 +1,49 @@
{ lib
, buildPythonPackage
, dj-database-url
, dj-email-url
, django-cache-url
, fetchFromGitHub
, marshmallow
, pytestCheckHook
, python-dotenv
, pythonOlder
}:
buildPythonPackage rec {
pname = "environs";
version = "9.3.4";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "sloria";
repo = pname;
rev = version;
sha256 = "0n0l9jici2d1pck5pf1c96jj3lhw91jki9nsgxzpikvpyvsw7wga";
};
propagatedBuildInputs = [
marshmallow
python-dotenv
];
checkInputs = [
dj-database-url
dj-email-url
django-cache-url
pytestCheckHook
];
pythonImportsCheck = [
"environs"
];
meta = with lib; {
description = "Python modle for environment variable parsing";
homepage = "https://github.com/sloria/environs";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -2418,6 +2418,8 @@ in {
environmental-override = callPackage ../development/python-modules/environmental-override { };
environs = callPackage ../development/python-modules/environs { };
envisage = callPackage ../development/python-modules/envisage { };
envs = callPackage ../development/python-modules/envs { };