2018-04-03 11:39:57 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pytest, setuptools-git, pytest-shutil, pytest-fixture-config, psutil
|
2018-04-07 13:56:42 +01:00
|
|
|
, requests, future }:
|
2018-04-03 11:39:57 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-server-fixtures";
|
2018-07-22 11:18:31 +01:00
|
|
|
version = "1.3.1";
|
2018-04-03 11:39:57 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-07-22 11:18:31 +01:00
|
|
|
sha256 = "902607675ce2ee09bdc72381b4470f79504fc131afdc15174e49a84d031760df";
|
2018-04-03 11:39:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
2018-04-07 13:56:42 +01:00
|
|
|
propagatedBuildInputs = [ setuptools-git pytest-shutil pytest-fixture-config psutil requests future ];
|
2018-04-03 11:39:57 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|