Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5, requests 6, psutil 7, pytest 8, subprocess32 9, zc_lockfile 10}: 11 12buildPythonPackage rec { 13 pname = "pytest-services"; 14 version = "2.1.0"; 15 disabled = !isPy3k; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "0037101eaa17e050542808ecb2e799e9b2b148f1867f62b2296329fdd2034cf5"; 20 }; 21 22 propagatedBuildInputs = [ 23 requests 24 psutil 25 pytest 26 zc_lockfile 27 ] ++ lib.optional (!isPy3k) subprocess32; 28 29 # no tests in PyPI tarball 30 doCheck = false; 31 32 meta = with lib; { 33 description = "Services plugin for pytest testing framework"; 34 homepage = "https://github.com/pytest-dev/pytest-services"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ dotlambda ]; 37 }; 38}