2021-06-28 00:17:11 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, oauthlib
|
|
|
|
, requests
|
|
|
|
, requests_oauthlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lmnotify";
|
2021-07-02 12:49:24 +01:00
|
|
|
version = "0.0.6";
|
2021-06-28 00:17:11 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-07-02 12:49:24 +01:00
|
|
|
sha256 = "sha256-cCP7BU2f7QJe9gAI298cvkp3OGijvBv8G1RN7qfZ5PE=";
|
2021-06-28 00:17:11 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ oauthlib requests requests_oauthlib ];
|
|
|
|
|
|
|
|
doCheck = false; # no tests exist
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "lmnotify" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-06-28 12:58:55 +01:00
|
|
|
description = "Python package for sending notifications to LaMetric Time";
|
2021-06-28 00:17:11 +01:00
|
|
|
homepage = "https://github.com/keans/lmnotify";
|
|
|
|
maintainers = with maintainers; [ rhoriguchi ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|