depot/third_party/nixpkgs/pkgs/development/python-modules/stookalert/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

32 lines
645 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
}:
buildPythonPackage rec {
pname = "stookalert";
version = "0.1.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "38c479e2fb7668f9b37aff0f9ffdd7bfd1ee9393528f2d3d36b5911b40da70a1";
};
propagatedBuildInputs = [ requests ];
# upstream has no tests
doCheck = false;
pythonImportsCheck = [ "stookalert" ];
meta = {
description = "Python package for the RIVM Stookalert";
homepage = "https://github.com/fwestenberg/stookalert";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}