3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.pytest-pythonpath: init at 0.7.3

This commit is contained in:
Matías Lang 2020-07-27 01:57:20 -03:00 committed by Jon
parent 2e40e4578f
commit cf86eb8a2b
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ buildPythonPackage, fetchPypi, lib, pytest }:
buildPythonPackage rec {
pname = "pytest-pythonpath";
version = "0.7.3";
src = fetchPypi {
inherit pname version;
sha256 = "0qhxh0z2b3p52v3i0za9mrmjnb1nlvvyi2g23rf88b3xrrm59z33";
};
propagatedBuildInputs = [ pytest ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
description =
"Pytest plugin for adding to the PYTHONPATH from command line or configs";
homepage = "https://github.com/bigsassy/pytest-pythonpath";
maintainers = with maintainers; [ cript0nauta ];
license = licenses.mit;
};
}

View file

@ -2726,6 +2726,8 @@ in {
pytest-pep257 = callPackage ../development/python-modules/pytest-pep257 { };
pytest-pythonpath = callPackage ../development/python-modules/pytest-pythonpath { };
pytest-raisesregexp = callPackage ../development/python-modules/pytest-raisesregexp { };
pytest-random-order = callPackage ../development/python-modules/pytest-random-order { };