mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
38 lines
732 B
Nix
38 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 ];
|
|
};
|
|
}
|