Merge pull request #144314 from cleeyv/pytest-dotenv

This commit is contained in:
Sandro 2021-11-03 17:06:06 +01:00 committed by GitHub
commit 81462e4767
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View 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 ];
};
}

View file

@ -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 { };