1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytest,
6 python-dotenv,
7}:
8
9buildPythonPackage rec {
10 pname = "pytest-dotenv";
11 version = "0.5.2";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "LcbDrG2HZMccbSgE6QLQ/4EPoZaS6V/hOK78mxqnNzI=";
17 };
18
19 buildInputs = [ pytest ];
20 propagatedBuildInputs = [ python-dotenv ];
21
22 nativeCheckInputs = [ pytest ];
23
24 meta = with lib; {
25 description = "Pytest plugin that parses environment files before running tests";
26 homepage = "https://github.com/quiqua/pytest-dotenv";
27 license = licenses.mit;
28 maintainers = with maintainers; [ cleeyv ];
29 };
30}