depot/third_party/nixpkgs/pkgs/development/python-modules/aiomisc-pytest/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04: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 ];
};
}