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