depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-dotenv/default.nix

31 lines
645 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
python-dotenv,
}:
buildPythonPackage rec {
pname = "pytest-dotenv";
version = "0.5.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "LcbDrG2HZMccbSgE6QLQ/4EPoZaS6V/hOK78mxqnNzI=";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [ python-dotenv ];
nativeCheckInputs = [ pytest ];
meta = with lib; {
description = "Pytest plugin that parses environment files before running tests";
homepage = "https://github.com/quiqua/pytest-dotenv";
license = licenses.mit;
maintainers = with maintainers; [ cleeyv ];
};
}