Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 isPy27, 6 requests, 7 six, 8 pytestCheckHook, 9 pythonOlder, 10 requests-toolbelt, 11 responses, 12}: 13 14buildPythonPackage rec { 15 pname = "pushover-complete"; 16 version = "1.1.1"; 17 format = "setuptools"; 18 disabled = isPy27; 19 20 src = fetchPypi { 21 pname = "pushover_complete"; 22 inherit version; 23 sha256 = "8a8f867e1f27762a28a0832c33c6003ca54ee04c935678d124b4c071f7cf5a1f"; 24 }; 25 26 propagatedBuildInputs = [ 27 requests 28 six 29 ]; 30 31 nativeCheckInputs = [ 32 pytestCheckHook 33 requests-toolbelt 34 responses 35 ]; 36 37 pythonImportsCheck = [ "pushover_complete" ]; 38 39 meta = with lib; { 40 description = "Python package for interacting with *all* aspects of the Pushover API"; 41 homepage = "https://github.com/scolby33/pushover_complete"; 42 license = licenses.mit; 43 maintainers = [ maintainers.mic92 ]; 44 }; 45}