pythonPackages.pytestrunner: 2.6.2 -> 3.0

Also add missing dependency to progressbar2
This commit is contained in:
Robert Schütz
2018-01-17 11:46:27 +01:00
committed by Frederik Rietdijk
parent 1623c8371c
commit ee8f15ec7c
3 changed files with 22 additions and 20 deletions

View File

@@ -14,6 +14,7 @@
, pytestcov
, pytestcache
, pep8
, pytestrunner
}:
buildPythonPackage rec {
@@ -30,6 +31,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [ python-utils ];
nativeBuildInputs = [ pytestrunner ];
checkInputs = [
pytest sphinx coverage execnet flake8 pytestpep8 pytestflakes pytestcov
pytestcache pep8

View File

@@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm, pytest }:
buildPythonPackage rec {
pname = "pytest-runner";
version = "3.0";
src = fetchPypi {
inherit pname version;
sha256 = "00v7pi09q60yx0l1kzyklnmr5bp597mir85a9gsi7bdfyly3lz0g";
};
buildInputs = [ setuptools_scm pytest ];
meta = with stdenv.lib; {
description = "Invoke py.test as distutils command with dependency resolution";
homepage = https://bitbucket.org/pytest-dev/pytest-runner;
license = licenses.mit;
};
}