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