nixpkgs-suyu/pkgs/development/python-modules/aiomisc-pytest/default.nix
2023-04-03 21:27:43 +02:00

48 lines
799 B
Nix

{ lib
, aiomisc
, buildPythonPackage
, fetchPypi
, poetry-core
, pytest
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiomisc-pytest";
version = "1.1.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "aiomisc_pytest";
inherit version;
hash = "sha256-LDeMQbB4wFdgJ95r9/vFN6fmkoXSPq9NRXONXQ3lbdM=";
};
nativeBuildInputs = [
poetry-core
];
buildInputs = [
pytest
];
propagatedBuildInputs = [
aiomisc
];
pythonImportsCheck = [
"aiomisc_pytest"
];
# Module has no tests
doCheck = false;
meta = with lib; {
description = "Pytest integration for aiomisc";
homepage = "https://github.com/aiokitchen/aiomisc";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}