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