Merge pull request #169082 from dotlambda/stookalert-init
This commit is contained in:
commit
01438cba1e
33
pkgs/development/python-modules/stookalert/default.nix
Normal file
33
pkgs/development/python-modules/stookalert/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -2519,7 +2519,8 @@
|
|||
pymodbus
|
||||
]; # missing inputs: pystiebeleltron
|
||||
"stookalert" = ps: with ps; [
|
||||
]; # missing inputs: stookalert
|
||||
stookalert
|
||||
];
|
||||
"stream" = ps: with ps; [
|
||||
pyturbojpeg
|
||||
aiohttp-cors
|
||||
|
@ -3610,6 +3611,7 @@
|
|||
"statistics"
|
||||
"statsd"
|
||||
"steamist"
|
||||
"stookalert"
|
||||
"stream"
|
||||
"stt"
|
||||
"subaru"
|
||||
|
|
|
@ -9739,6 +9739,8 @@ in {
|
|||
|
||||
stone = callPackage ../development/python-modules/stone { };
|
||||
|
||||
stookalert = callPackage ../development/python-modules/stookalert { };
|
||||
|
||||
stopit = callPackage ../development/python-modules/stopit { };
|
||||
|
||||
strategies = callPackage ../development/python-modules/strategies { };
|
||||
|
|
Loading…
Reference in a new issue