pythonPackages.pytest-shutil: Move to own file
This commit is contained in:
parent
1a5ad29c48
commit
50c36d1fb3
27
pkgs/development/python-modules/pytest-shutil/default.nix
Normal file
27
pkgs/development/python-modules/pytest-shutil/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user