21cecf6002
GitOrigin-RevId: dd14e5d78e90a2ccd6007e569820de9b4861a6c2
37 lines
732 B
Nix
37 lines
732 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytz
|
|
, oauthlib
|
|
, requests
|
|
, websocket-client
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyfireservicerota";
|
|
version = "0.0.43";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-3+QK1BVuWYii0oYT4xXMOYJZmVKrB4EmqE0EkdFlZvE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pytz
|
|
oauthlib
|
|
requests
|
|
websocket-client
|
|
];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|