Merge pull request #332681 from dotlambda/python3Packages.stookwijzer
home-assistant: support stookwijzer component
This commit is contained in:
commit
def4d3fdf4
41
pkgs/development/python-modules/stookwijzer/default.nix
Normal file
41
pkgs/development/python-modules/stookwijzer/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
aiohttp,
|
||||
pytz,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stookwijzer";
|
||||
version = "1.4.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fwestenberg";
|
||||
repo = "stookwijzer";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-QXCusmbt40Tg73ozl9nIDgMtQJ152uNhOuFyHn+OEA8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
pytz
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "stookwijzer" ];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/fwestenberg/stookwijzer/releases/tag/v${version}";
|
||||
description = "Python package for the Stookwijzer API";
|
||||
homepage = "https://github.com/fwestenberg/stookwijzer";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -4304,7 +4304,8 @@
|
||||
stookalert
|
||||
];
|
||||
"stookwijzer" = ps: with ps; [
|
||||
]; # missing inputs: stookwijzer
|
||||
stookwijzer
|
||||
];
|
||||
"stream" = ps: with ps; [
|
||||
av
|
||||
numpy_1
|
||||
@ -5917,6 +5918,7 @@
|
||||
"steam_online"
|
||||
"steamist"
|
||||
"stookalert"
|
||||
"stookwijzer"
|
||||
"stream"
|
||||
"streamlabswater"
|
||||
"stt"
|
||||
|
@ -14984,6 +14984,8 @@ self: super: with self; {
|
||||
|
||||
stookalert = callPackage ../development/python-modules/stookalert { };
|
||||
|
||||
stookwijzer = callPackage ../development/python-modules/stookwijzer { };
|
||||
|
||||
stopit = callPackage ../development/python-modules/stopit { };
|
||||
|
||||
stransi = callPackage ../development/python-modules/stransi { };
|
||||
|
Loading…
Reference in New Issue
Block a user