1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 requests,
7 pytestCheckHook,
8 requests-toolbelt,
9 responses,
10}:
11
12buildPythonPackage rec {
13 pname = "pushover-complete";
14 version = "2.0.0";
15 pyproject = true;
16
17 src = fetchPypi {
18 pname = "pushover_complete";
19 inherit version;
20 hash = "sha256-JPx9hNc0JoQOdnj+6A029A3wEUyzA1K6T5mrOELtIac=";
21 };
22
23 build-system = [ setuptools ];
24
25 dependencies = [
26 requests
27 ];
28
29 nativeCheckInputs = [
30 pytestCheckHook
31 requests-toolbelt
32 responses
33 ];
34
35 pythonImportsCheck = [ "pushover_complete" ];
36
37 meta = with lib; {
38 description = "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}