Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 37 lines 730 B view raw
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 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "0037101eaa17e050542808ecb2e799e9b2b148f1867f62b2296329fdd2034cf5"; 19 }; 20 21 propagatedBuildInputs = [ 22 requests 23 psutil 24 pytest 25 zc_lockfile 26 ] ++ lib.optional (!isPy3k) subprocess32; 27 28 # no tests in PyPI tarball 29 doCheck = false; 30 31 meta = with lib; { 32 description = "Services plugin for pytest testing framework"; 33 homepage = "https://github.com/pytest-dev/pytest-services"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ dotlambda ]; 36 }; 37}