mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 14:04:52 +00:00
python3Packages.aiorecollect: 1.0.8 -> 2021.10.0
This commit is contained in:
parent
1b36833f2c
commit
7d9f89fb05
@ -6,20 +6,22 @@
|
|||||||
, freezegun
|
, freezegun
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytest-cov
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiorecollect";
|
pname = "aiorecollect";
|
||||||
version = "1.0.8";
|
version = "2021.10.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bachya";
|
owner = "bachya";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-5+v+TlLOgaIA8svpbgFSEWZAUVBRq3zqf8QbidKgygI=";
|
sha256 = "sha256-cLutszJ8VXGcqb8kZv7Qn1ZD/LRYjVgQWQxNMHNd0UQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -34,13 +36,17 @@ buildPythonPackage rec {
|
|||||||
aresponses
|
aresponses
|
||||||
freezegun
|
freezegun
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytest-cov
|
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTestPaths = [ "examples/" ];
|
disabledTestPaths = [
|
||||||
|
# Ignore the examples directory as the files are prefixed with test_.
|
||||||
|
"examples/"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "aiorecollect" ];
|
pythonImportsCheck = [
|
||||||
|
"aiorecollect"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library for the Recollect Waste API";
|
description = "Python library for the Recollect Waste API";
|
||||||
|
Loading…
Reference in New Issue
Block a user