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