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