2021-06-15 10:16:32 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytz
|
|
|
|
, oauthlib
|
|
|
|
, requests
|
2021-06-15 11:12:45 +00:00
|
|
|
, websocket-client
|
2021-06-15 10:16:32 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyfireservicerota";
|
2021-07-22 23:37:28 +00:00
|
|
|
version = "0.0.43";
|
2021-06-15 10:16:32 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-3+QK1BVuWYii0oYT4xXMOYJZmVKrB4EmqE0EkdFlZvE=";
|
2021-06-15 10:16:32 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pytz
|
|
|
|
oauthlib
|
|
|
|
requests
|
2021-06-15 11:12:45 +00:00
|
|
|
websocket-client
|
2021-06-15 10:16:32 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# no tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pyfireservicerota" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python 3 API wrapper for FireServiceRota/BrandweerRooster";
|
|
|
|
homepage = "https://github.com/cyberjunky/python-fireservicerota";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|