1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 hatch-vcs,
6 hatchling,
7 pytest,
8 pytestCheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "pytest-env";
13 version = "1.1.5";
14 format = "pyproject";
15
16 src = fetchPypi {
17 pname = "pytest_env";
18 inherit version;
19 hash = "sha256-kSCYQKoOQzhQc6xGSlVK0pR8wv1mOp3r+I0DsB4Mwc8=";
20 };
21
22 nativeBuildInputs = [
23 hatch-vcs
24 hatchling
25 ];
26
27 buildInputs = [ pytest ];
28
29 nativeCheckInputs = [ pytestCheckHook ];
30
31 meta = with lib; {
32 description = "Pytest plugin used to set environment variables";
33 homepage = "https://github.com/MobileDynasty/pytest-env";
34 license = licenses.mit;
35 maintainers = with maintainers; [ erikarvstedt ];
36 };
37}