mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
38 lines
709 B
Nix
38 lines
709 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
hatch-vcs,
|
|
hatchling,
|
|
pytest,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-env";
|
|
version = "1.1.5";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
pname = "pytest_env";
|
|
inherit version;
|
|
hash = "sha256-kSCYQKoOQzhQc6xGSlVK0pR8wv1mOp3r+I0DsB4Mwc8=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|