diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pytest-dotenv/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/pytest-dotenv/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pytest-dotenv/default.nix b/nixpkgs/pkgs/development/python-modules/pytest-dotenv/default.nix new file mode 100644 index 000000000000..3ae89e6a5197 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/pytest-dotenv/default.nix @@ -0,0 +1,23 @@ +{ lib, buildPythonPackage, fetchPypi, pytest, python-dotenv }: + +buildPythonPackage rec { + pname = "pytest-dotenv"; + version = "0.5.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "LcbDrG2HZMccbSgE6QLQ/4EPoZaS6V/hOK78mxqnNzI="; + }; + + buildInputs = [ pytest ]; + propagatedBuildInputs = [ python-dotenv ]; + + checkInputs = [ pytest ]; + + meta = with lib; { + description = "A pytest plugin that parses environment files before running tests"; + homepage = "https://github.com/quiqua/pytest-dotenv"; + license = licenses.mit; + maintainers = with maintainers; [ cleeyv ]; + }; +} |