diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-11-10 13:05:52 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-11-10 13:05:52 +0100 |
commit | 7d9f89fb0543375b62766e44952312e84f00bd31 (patch) | |
tree | 37202da4465a4a3ded01e0af36e10dde174d49f8 /pkgs/development/python-modules/aiorecollect | |
parent | 1b36833f2c1bf1f9972c1f745966ed3a3f66f40d (diff) |
python3Packages.aiorecollect: 1.0.8 -> 2021.10.0
Diffstat (limited to 'pkgs/development/python-modules/aiorecollect')
-rw-r--r-- | pkgs/development/python-modules/aiorecollect/default.nix | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/aiorecollect/default.nix b/pkgs/development/python-modules/aiorecollect/default.nix index 2f62a31e129c1..79bc2a787b96b 100644 --- a/pkgs/development/python-modules/aiorecollect/default.nix +++ b/pkgs/development/python-modules/aiorecollect/default.nix @@ -6,20 +6,22 @@ , freezegun , poetry-core , pytest-asyncio -, pytest-cov , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "aiorecollect"; - version = "1.0.8"; + version = "2021.10.0"; format = "pyproject"; + disabled = pythonOlder "3.7"; + src = fetchFromGitHub { owner = "bachya"; repo = pname; rev = version; - sha256 = "sha256-5+v+TlLOgaIA8svpbgFSEWZAUVBRq3zqf8QbidKgygI="; + sha256 = "sha256-cLutszJ8VXGcqb8kZv7Qn1ZD/LRYjVgQWQxNMHNd0UQ="; }; nativeBuildInputs = [ @@ -34,13 +36,17 @@ buildPythonPackage rec { aresponses freezegun pytest-asyncio - pytest-cov pytestCheckHook ]; - disabledTestPaths = [ "examples/" ]; + disabledTestPaths = [ + # Ignore the examples directory as the files are prefixed with test_. + "examples/" + ]; - pythonImportsCheck = [ "aiorecollect" ]; + pythonImportsCheck = [ + "aiorecollect" + ]; meta = with lib; { description = "Python library for the Recollect Waste API"; |