2018-04-03 11:45:49 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2019-02-15 09:08:27 +00:00
|
|
|
, pytest_3, cmdline, pytestcov, coverage, setuptools-git, mock, pathpy, execnet
|
2018-04-07 13:55:34 +01:00
|
|
|
, contextlib2, termcolor }:
|
2018-04-03 11:45:49 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-shutil";
|
2019-02-14 07:37:28 +00:00
|
|
|
version = "1.6.0";
|
2018-04-03 11:45:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-14 07:37:28 +00:00
|
|
|
sha256 = "efe615b7709637ec8828abebee7fc2ad033ae0f1fc54145f769a8b5e8cc3b4ca";
|
2018-04-03 11:45:49 +01:00
|
|
|
};
|
|
|
|
|
2019-02-15 09:08:27 +00:00
|
|
|
checkInputs = [ cmdline pytest_3 ];
|
2018-04-07 13:55:34 +01:00
|
|
|
propagatedBuildInputs = [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 termcolor ];
|
2019-02-15 09:08:27 +00:00
|
|
|
nativeBuildInputs = [ pytest_3 ];
|
2018-04-03 11:45:49 +01: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;
|
|
|
|
};
|
|
|
|
}
|