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