pythonPackages.pytest-shutil: Move to own file

This commit is contained in:
Elis Hirwing 2018-04-03 12:45:49 +02:00 committed by Frederik Rietdijk
parent 1a5ad29c48
commit 50c36d1fb3
2 changed files with 28 additions and 21 deletions

View File

@ -0,0 +1,27 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest, cmdline, pytestcov, coverage, setuptools-git, mock, pathpy, execnet
, contextlib2 }:
buildPythonPackage rec {
pname = "pytest-shutil";
version = "1.2.8";
src = fetchPypi {
inherit pname version;
sha256 = "0gdzarg3l7d80lj0gh9bcsw9r12gmf306n4y2cb18y7kqfpcqjlj";
};
buildInputs = [ cmdline pytest ];
propagatedBuildInputs = [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 ];
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;
};
}

View File

@ -1952,27 +1952,7 @@ in {
pytest-server-fixtures = callPackage ../development/python-modules/pytest-server-fixtures { };
pytest-shutil = buildPythonPackage rec {
name = "pytest-shutil-${version}";
version = "1.2.8";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pytest-shutil/${name}.tar.gz";
sha256 = "924accaec3f3781416139e580386ab4f849cb8662bc1072405a81d3a5e56bf3d";
};
buildInputs = with self; [ cmdline pytest ];
propagatedBuildInputs = with self; [ pytestcov coverage setuptools-git mock pathpy execnet contextlib2 ];
meta = {
description = "A goodie-bag of unix shell and environment tools for py.test";
homepage = https://github.com/manahl/pytest-plugins;
maintainers = with maintainers; [ ryansydnor ];
platforms = platforms.all;
license = licenses.mit;
};
checkPhase = ''
py.test
'';
};
pytest-shutil = callPackage ../development/python-modules/pytest-shutil { };
pytestcov = buildPythonPackage rec {
name = "pytest-cov-2.4.0";