mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
Merge pull request #128310 from dotlambda/forecast-solar-init
This commit is contained in:
commit
a2fed6b076
35
pkgs/development/python-modules/forecast-solar/default.nix
Normal file
35
pkgs/development/python-modules/forecast-solar/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiodns
|
||||
, aiohttp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "forecast-solar";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "forecast_solar";
|
||||
rev = version;
|
||||
sha256 = "1kqzr1ypvdjw0zvac4spb6xdd2qpms9h8nr6vf0w9qx756ir0f95";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiodns
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# no unit tests implemented
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "forecast_solar" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Asynchronous Python client for getting forecast solar information";
|
||||
homepage = "https://github.com/home-assistant-libs/forecast_solar";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -2686,6 +2686,8 @@ in {
|
||||
|
||||
fordpass = callPackage ../development/python-modules/fordpass { };
|
||||
|
||||
forecast-solar = callPackage ../development/python-modules/forecast-solar { };
|
||||
|
||||
fortiosapi = callPackage ../development/python-modules/fortiosapi { };
|
||||
|
||||
FormEncode = callPackage ../development/python-modules/FormEncode { };
|
||||
|
Loading…
Reference in New Issue
Block a user