Merge pull request #144314 from cleeyv/pytest-dotenv
This commit is contained in:
commit
81462e4767
2 changed files with 25 additions and 0 deletions
23
pkgs/development/python-modules/pytest-dotenv/default.nix
Normal file
23
pkgs/development/python-modules/pytest-dotenv/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -7262,6 +7262,8 @@ in {
|
|||
|
||||
pytest-doctestplus = callPackage ../development/python-modules/pytest-doctestplus { };
|
||||
|
||||
pytest-dotenv = callPackage ../development/python-modules/pytest-dotenv { };
|
||||
|
||||
pytest-env = callPackage ../development/python-modules/pytest-env { };
|
||||
|
||||
pytest-error-for-skips = callPackage ../development/python-modules/pytest-error-for-skips { };
|
||||
|
|
Loading…
Reference in a new issue