1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 requests,
6}:
7
8buildPythonPackage rec {
9 pname = "stookalert";
10 version = "0.1.4";
11
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "38c479e2fb7668f9b37aff0f9ffdd7bfd1ee9393528f2d3d36b5911b40da70a1";
17 };
18
19 propagatedBuildInputs = [ requests ];
20
21 # upstream has no tests
22 doCheck = false;
23
24 pythonImportsCheck = [ "stookalert" ];
25
26 meta = {
27 description = "Python package for the RIVM Stookalert";
28 homepage = "https://github.com/fwestenberg/stookalert";
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ dotlambda ];
31 };
32}