2021-06-28 23:13:55 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, oauthlib
|
|
|
|
, requests
|
|
|
|
, requests_oauthlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lmnotify";
|
2021-07-14 22:03:04 +00:00
|
|
|
version = "0.0.6";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-07-14 22:03:04 +00:00
|
|
|
sha256 = "sha256-cCP7BU2f7QJe9gAI298cvkp3OGijvBv8G1RN7qfZ5PE=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|