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