diff options
author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2022-04-17 20:08:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-17 20:08:46 +0200 |
commit | 01438cba1e19b7f2fc624eaf5813436d96c4639e (patch) | |
tree | e628dd41b01d8a614f6f3c193f191e3ed164c043 /pkgs/development | |
parent | 6a7286afec361c4208df2d193cb3c282e85fb6cd (diff) | |
parent | f613f4648899a0fca1455eccc7b10b20dc3557b2 (diff) |
Merge pull request #169082 from dotlambda/stookalert-init
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/stookalert/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/stookalert/default.nix b/pkgs/development/python-modules/stookalert/default.nix new file mode 100644 index 0000000000000..82552ca44bb39 --- /dev/null +++ b/pkgs/development/python-modules/stookalert/default.nix @@ -0,0 +1,33 @@ +{ 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 ]; + }; +} |