pythonPackages.pytest-dependency: init at 0.4.0 (#51912)

This commit is contained in:
Mario Rodas 2018-12-14 14:53:02 -05:00 committed by Robert Schütz
parent 24be8a7f7c
commit 87d84a6397
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
version = "0.4.0";
pname = "pytest-dependency";
src = fetchPypi {
inherit pname version;
sha256 = "bda0ef48e6a44c091399b12ab4a7e580d2dd8294c222b301f88d7d57f47ba142";
};
propagatedBuildInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
homepage = https://github.com/RKrahl/pytest-dependency;
description = "Manage dependencies of tests";
license = licenses.asl20;
maintainers = [ maintainers.marsam ];
};
}

View File

@ -1423,6 +1423,8 @@ in {
pytest-datafiles = callPackage ../development/python-modules/pytest-datafiles { };
pytest-dependency = callPackage ../development/python-modules/pytest-dependency { };
pytest-django = callPackage ../development/python-modules/pytest-django { };
pytest-faulthandler = callPackage ../development/python-modules/pytest-faulthandler { };