1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, requests 6, six 7, tox 8, pytest 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "pushover-complete"; 14 version = "1.1.1"; 15 disabled = isPy27; 16 17 src = fetchPypi { 18 pname = "pushover_complete"; 19 inherit version; 20 sha256 = "8a8f867e1f27762a28a0832c33c6003ca54ee04c935678d124b4c071f7cf5a1f"; 21 }; 22 23 propagatedBuildInputs = [ 24 requests 25 six 26 ]; 27 28 checkInputs = [ pytest tox ]; 29 30 # Fails also on their travis right now: 31 # - https://travis-ci.org/scolby33/pushover_complete/builds?utm_medium=notification&utm_source=github_status 32 doCheck = pythonOlder "3.7"; 33 34 meta = with lib; { 35 description = "A Python package for interacting with *all* aspects of the Pushover API"; 36 homepage = "https://github.com/scolby33/pushover_complete"; 37 license = licenses.mit; 38 maintainers = [ maintainers.mic92 ]; 39 }; 40}