Files
nixpkgs/pkgs/development/python-modules/aiomisc-pytest/default.nix
T
Martin Weinelt abdf5dc772 treewide: remove pythonRelaxDepsHook references
It is is now provided automatically, when `pythonRelaxDeps` or
`pythonRemoveDeps` is defined through `mk-python-derivation`.
2024-06-14 14:52:00 +02:00

45 lines
809 B
Nix

{
lib,
aiomisc,
buildPythonPackage,
fetchPypi,
poetry-core,
pytest,
pythonOlder,
}:
buildPythonPackage rec {
pname = "aiomisc-pytest";
version = "1.2.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "aiomisc_pytest";
inherit version;
hash = "sha256-4mWP77R3CoX+XhoT6BbxQtxpINpdmeozjYUsegNfMyU=";
};
build-system = [ poetry-core ];
pythonRelaxDeps = [ "pytest" ];
buildInputs = [ pytest ];
dependencies = [ aiomisc ];
pythonImportsCheck = [ "aiomisc_pytest" ];
# Module has no tests
doCheck = false;
meta = with lib; {
description = "Pytest integration for aiomisc";
homepage = "https://github.com/aiokitchen/aiomisc-pytest";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}