depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-env/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

37 lines
709 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
hatch-vcs,
hatchling,
pytest,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-env";
version = "1.1.3";
format = "pyproject";
src = fetchPypi {
pname = "pytest_env";
inherit version;
hash = "sha256-/NfcI7tx79PTVjK94bvl7oyNxEidZhf7AQZ0iA2WIWs=";
};
nativeBuildInputs = [
hatch-vcs
hatchling
];
buildInputs = [ pytest ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Pytest plugin used to set environment variables";
homepage = "https://github.com/MobileDynasty/pytest-env";
license = licenses.mit;
maintainers = with maintainers; [ erikarvstedt ];
};
}