git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #141964 from fabaff/bump-deezer-python

python3Packages.deezer-python: 3.1.0 -> 3.2.0

commit467753144622af4d098d075110d34a685c5d550c authorFabian Affolter <fabian@affolter-engineering.ch> dateMon 18 Oct 2021, 08:14 (5 years ago) parentb1d6c9a1e838a5
3 files changed+58−5
pkgs/development/python-modules/deezer-python/default.nix+7−5 pkgs/development/python-modules/environs/default.nix+49 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/deezer-python/default.nix+7−5
@@ -1,5 +1,6 @@
11{ lib
22, buildPythonPackage
3+, environs
34, fetchFromGitHub
45, poetry-core
56, pytest-mock
@@ -12,7 +13,7 @@
1213
1314buildPythonPackage rec {
1415 pname = "deezer-python";
15− version = "3.1.0";
16+ version = "3.2.0";
1617 format = "pyproject";
1718
1819 disabled = pythonOlder "3.6";
@@ -21,7 +22,7 @@ buildPythonPackage rec {
2122 owner = "browniebroke";
2223 repo = pname;
2324 rev = "v${version}";
24− sha256 = "1ln9hlix6rbyajgvwd2lk0i7nshvrbkvj9xx1i0q1z1caly9yl0g";
25+ sha256 = "sha256-NwG/VbTHoQl3c//vrrhKQ//gyVIGLY2148mgDToiKks=";
2526 };
2627
2728 nativeBuildInputs = [
@@ -29,9 +30,10 @@ buildPythonPackage rec {
2930 ];
3031
3132 checkInputs = [
32− pytestCheckHook
33− pytest-vcr
33+ environs
3434 pytest-mock
35+ pytest-vcr
36+ pytestCheckHook
3537 ];
3638
3739 propagatedBuildInputs = [
@@ -47,7 +49,7 @@ buildPythonPackage rec {
4749 pythonImportsCheck = [ "deezer" ];
4850
4951 meta = with lib; {
50− description = "A friendly Python wrapper around the Deezer API";
52+ description = "Python wrapper around the Deezer API";
5153 homepage = "https://github.com/browniebroke/deezer-python";
5254 license = licenses.mit;
5355 maintainers = with maintainers; [ synthetica ];
pkgs/development/python-modules/environs/default.nixnew file+49
@@ -0,0 +1,49 @@
1+{ lib
2+, buildPythonPackage
3+, dj-database-url
4+, dj-email-url
5+, django-cache-url
6+, fetchFromGitHub
7+, marshmallow
8+, pytestCheckHook
9+, python-dotenv
10+, pythonOlder
11+}:
12+
13+buildPythonPackage rec {
14+ pname = "environs";
15+ version = "9.3.4";
16+ format = "setuptools";
17+
18+ disabled = pythonOlder "3.6";
19+
20+ src = fetchFromGitHub {
21+ owner = "sloria";
22+ repo = pname;
23+ rev = version;
24+ sha256 = "0n0l9jici2d1pck5pf1c96jj3lhw91jki9nsgxzpikvpyvsw7wga";
25+ };
26+
27+ propagatedBuildInputs = [
28+ marshmallow
29+ python-dotenv
30+ ];
31+
32+ checkInputs = [
33+ dj-database-url
34+ dj-email-url
35+ django-cache-url
36+ pytestCheckHook
37+ ];
38+
39+ pythonImportsCheck = [
40+ "environs"
41+ ];
42+
43+ meta = with lib; {
44+ description = "Python modle for environment variable parsing";
45+ homepage = "https://github.com/sloria/environs";
46+ license = licenses.mit;
47+ maintainers = with maintainers; [ fab ];
48+ };
49+}
pkgs/top-level/python-packages.nix+2
@@ -2418,6 +2418,8 @@ in {
24182418
24192419 environmental-override = callPackage ../development/python-modules/environmental-override { };
24202420
2421+ environs = callPackage ../development/python-modules/environs { };
2422+
24212423 envisage = callPackage ../development/python-modules/envisage { };
24222424
24232425 envs = callPackage ../development/python-modules/envs { };