2021-06-27 23:17:11 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, oauthlib
|
|
|
|
, requests
|
2022-02-25 14:39:44 +00:00
|
|
|
, requests-oauthlib
|
|
|
|
, pythonOlder
|
2021-06-27 23:17:11 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lmnotify";
|
2021-07-02 11:49:24 +00:00
|
|
|
version = "0.0.6";
|
2022-02-25 14:39:44 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-06-27 23:17:11 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-02-25 14:39:44 +00:00
|
|
|
hash = "sha256-cCP7BU2f7QJe9gAI298cvkp3OGijvBv8G1RN7qfZ5PE=";
|
2021-06-27 23:17:11 +00:00
|
|
|
};
|
|
|
|
|
2022-02-25 14:39:44 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
oauthlib
|
|
|
|
requests
|
|
|
|
requests-oauthlib
|
|
|
|
];
|
2021-06-27 23:17:11 +00:00
|
|
|
|
2022-02-25 14:39:44 +00:00
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
2021-06-27 23:17:11 +00:00
|
|
|
|
2022-02-25 14:39:44 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"lmnotify"
|
|
|
|
];
|
2021-06-27 23:17:11 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2021-06-28 11:58:55 +00:00
|
|
|
description = "Python package for sending notifications to LaMetric Time";
|
2021-06-27 23:17:11 +00:00
|
|
|
homepage = "https://github.com/keans/lmnotify";
|
|
|
|
license = licenses.mit;
|
2022-02-25 14:39:44 +00:00
|
|
|
maintainers = with maintainers; [ rhoriguchi ];
|
2021-06-27 23:17:11 +00:00
|
|
|
};
|
|
|
|
}
|