2021-01-25 08:26:54 +00:00
|
|
|
{ lib, 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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-03 11:39:57 +01:00
|
|
|
description = "Extensible server fixures for py.test";
|
|
|
|
homepage = "https://github.com/manahl/pytest-plugins";
|
|
|
|
license = licenses.mit;
|
2021-05-14 15:00:41 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-04-03 11:39:57 +01:00
|
|
|
};
|
|
|
|
}
|