Merge pull request #141964 from fabaff/bump-deezer-python
python3Packages.deezer-python: 3.1.0 -> 3.2.0
This commit is contained in:
commit
4677531446
3 changed files with 58 additions and 5 deletions
|
@ -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 ];
|
||||
|
|
49
pkgs/development/python-modules/environs/default.nix
Normal file
49
pkgs/development/python-modules/environs/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue