about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/lmnotify/default.nix
blob: 340e8386a0ea69ed0ed7a0787e65bed35e846294 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, buildPythonPackage
, fetchPypi
, oauthlib
, requests
, requests_oauthlib
}:

buildPythonPackage rec {
  pname = "lmnotify";
  version = "0.0.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1l0h4yab7ix8psf65iygc1wy5xwq3v2rwwjixvd8rwk46d2477dx";
  };

  propagatedBuildInputs = [ oauthlib requests requests_oauthlib ];

  doCheck = false; # no tests exist

  pythonImportsCheck = [ "lmnotify" ];

  meta = with lib; {
    description = "Python package for sending notifications to LaMetric Time";
    homepage = "https://github.com/keans/lmnotify";
    maintainers = with maintainers; [ rhoriguchi ];
    license = licenses.mit;
  };
}