2018-04-03 12:39:57 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2019-03-21 12:58:04 +01:00
|
|
|
, pytest_3, pytest-shutil, pytest-fixture-config, psutil
|
|
|
|
, requests, future, retry }:
|
2018-04-03 12:39:57 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-server-fixtures";
|
2019-02-23 15:36:01 +01:00
|
|
|
version = "1.6.2";
|
2018-04-03 12:39:57 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-02-23 15:36:01 +01:00
|
|
|
sha256 = "c89f9532f62cf851489082ece1ec692b6ed5b0f88f20823bea25e2a963ebee8f";
|
2018-04-03 12:39:57 +02:00
|
|
|
};
|
|
|
|
|
2019-03-21 12:58:04 +01:00
|
|
|
buildInputs = [ pytest_3 ];
|
|
|
|
propagatedBuildInputs = [ pytest-shutil pytest-fixture-config psutil requests future retry ];
|
2018-04-03 12:39:57 +02:00
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|