2018-04-03 11:39:57 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2019-06-01 23:38:15 +01:00
|
|
|
, pytest, pytest-shutil, pytest-fixture-config, psutil
|
2019-03-21 11:58:04 +00:00
|
|
|
, requests, future, retry }:
|
2018-04-03 11:39:57 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-server-fixtures";
|
2019-06-01 23:38:15 +01:00
|
|
|
version = "1.7.0";
|
2018-04-03 11:39:57 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-06-01 23:38:15 +01:00
|
|
|
sha256 = "07vdv3y89qzv89ws0y48h92yplqsx208b9cizx80w644dazb398g";
|
2018-04-03 11:39:57 +01:00
|
|
|
};
|
|
|
|
|
2019-06-01 23:38:15 +01:00
|
|
|
buildInputs = [ pytest ];
|
2019-03-21 11:58:04 +00:00
|
|
|
propagatedBuildInputs = [ pytest-shutil pytest-fixture-config psutil requests future retry ];
|
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 ];
|
|
|
|
};
|
|
|
|
}
|