depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-dependency/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

42 lines
769 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestCheckHook
, setuptools
}:
buildPythonPackage rec {
pname = "pytest-dependency";
version = "0.6.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-k0sOajnZWZUGLBk/fq7tio/6Bv8bzvS2Kw3HSnCLrME=";
};
nativeBuildInputs = [
setuptools
];
buildInputs = [
pytest
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pytest_dependency"
];
meta = with lib; {
homepage = "https://github.com/RKrahl/pytest-dependency";
changelog = "https://github.com/RKrahl/pytest-dependency/blob/${version}/CHANGES.rst";
description = "Manage dependencies of tests";
license = licenses.asl20;
maintainers = [ ];
};
}