depot/third_party/nixpkgs/pkgs/development/python-modules/pyfireservicerota/default.nix

38 lines
732 B
Nix
Raw Normal View History

{ 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 ];
};
}