1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 oauthlib,
6 requests,
7 requests-oauthlib,
8 pythonOlder,
9}:
10
11buildPythonPackage rec {
12 pname = "lmnotify";
13 version = "0.0.6";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-cCP7BU2f7QJe9gAI298cvkp3OGijvBv8G1RN7qfZ5PE=";
21 };
22
23 propagatedBuildInputs = [
24 oauthlib
25 requests
26 requests-oauthlib
27 ];
28
29 # Module has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "lmnotify" ];
33
34 meta = with lib; {
35 description = "Python package for sending notifications to LaMetric Time";
36 homepage = "https://github.com/keans/lmnotify";
37 license = licenses.mit;
38 maintainers = with maintainers; [ rhoriguchi ];
39 };
40}