pythonPackages.pytest-server-fixtures: Move to own file
This commit is contained in:
parent
9fc3f7f12d
commit
1a5ad29c48
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytest, setuptools-git, pytest-shutil, pytest-fixture-config, psutil
|
||||||
|
, requests}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pytest-server-fixtures";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1gs9qimcn8q6xi9d6i5624l0dziwvn6nj2rda07fg15g1cq66s8l";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ setuptools-git pytest-shutil pytest-fixture-config psutil requests ];
|
||||||
|
|
||||||
|
# RuntimeError: Unable to find a free server number to start Xvfb
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Extensible server fixures for py.test";
|
||||||
|
homepage = "https://github.com/manahl/pytest-plugins";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ nand0p ];
|
||||||
|
};
|
||||||
|
}
|
@ -1950,30 +1950,7 @@ in {
|
|||||||
|
|
||||||
pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
|
pytestquickcheck = callPackage ../development/python-modules/pytest-quickcheck { };
|
||||||
|
|
||||||
pytest-server-fixtures = buildPythonPackage rec {
|
pytest-server-fixtures = callPackage ../development/python-modules/pytest-server-fixtures { };
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "pytest-server-fixtures";
|
|
||||||
version = "1.1.0";
|
|
||||||
|
|
||||||
buildInputs = with self; [ pytest ];
|
|
||||||
propagatedBuildInputs = with self; [ setuptools-git pytest-shutil pytest-fixture-config psutil requests ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Extensible server fixures for py.test";
|
|
||||||
homepage = "https://github.com/manahl/pytest-plugins";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ nand0p ];
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
# RuntimeError: Unable to find a free server number to start Xvfb
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/${pname}/${name}.tar.gz";
|
|
||||||
sha256 = "1gs9qimcn8q6xi9d6i5624l0dziwvn6nj2rda07fg15g1cq66s8l";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pytest-shutil = buildPythonPackage rec {
|
pytest-shutil = buildPythonPackage rec {
|
||||||
name = "pytest-shutil-${version}";
|
name = "pytest-shutil-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user