2018-04-03 12:45:49 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pytest, cmdline, pytestcov, coverage, setuptools-git, mock, pathpy, execnet
|
2018-04-07 14:55:34 +02:00
|
|
|
, contextlib2, termcolor }:
|
2018-04-03 12:45:49 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-shutil";
|
2018-04-04 20:15:41 +02:00
|
|
|
version = "1.3.0";
|
2018-04-03 12:45:49 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:15:41 +02:00
|
|
|
sha256 = "2cfe4d3f5f25ad2b19e64847d62563f5494b2e0450ca1cfc5940974029b2cbd1";
|
2018-04-03 12:45:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmdline pytest ];
|
2018-04-07 14:55:34 +02:00
|
|
|
propagatedBuildInputs = [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 termcolor ];
|
2018-04-03 12:45:49 +02:00
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A goodie-bag of unix shell and environment tools for py.test";
|
|
|
|
homepage = https://github.com/manahl/pytest-plugins;
|
|
|
|
maintainers = with maintainers; [ ryansydnor ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|