2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
aiomisc,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
poetry-core,
|
|
|
|
pytest,
|
|
|
|
pythonOlder,
|
|
|
|
pythonRelaxDepsHook,
|
2023-04-29 16:46:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiomisc-pytest";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.2.1";
|
2024-04-21 15:54:59 +00:00
|
|
|
pyproject = true;
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "aiomisc_pytest";
|
|
|
|
inherit version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-4mWP77R3CoX+XhoT6BbxQtxpINpdmeozjYUsegNfMyU=";
|
2023-04-29 16:46:19 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
build-system = [ poetry-core ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
2023-04-29 16:46:19 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
pythonRelaxDeps = [ "pytest" ];
|
2023-04-29 16:46:19 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
buildInputs = [ pytest ];
|
2023-04-29 16:46:19 +00:00
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
dependencies = [ aiomisc ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "aiomisc_pytest" ];
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pytest integration for aiomisc";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/aiokitchen/aiomisc-pytest";
|
2023-04-29 16:46:19 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|