Merge pull request #139751 from fabaff/sunwatcher

python3Packages.sunwatcher: init at 0.2.1
This commit is contained in:
Fabian Affolter 2021-09-30 14:25:39 +02:00 committed by GitHub
commit a2b3e7f7ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 1 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "sunwatcher";
version = "0.2.1";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0swmvmmbfb914k473yv3fc4zizy2abq2qhd7h6lixli11l5wfjxv";
};
propagatedBuildInputs = [
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "sunwatcher" ];
meta = with lib; {
description = "Python module for the SolarLog HTTP API";
homepage = "https://bitbucket.org/Lavode/sunwatcher/src/master/";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -795,7 +795,7 @@
"sochain" = ps: with ps; [ ]; # missing inputs: python-sochain-api
"solaredge" = ps: with ps; [ solaredge stringcase ];
"solaredge_local" = ps: with ps; [ ]; # missing inputs: solaredge-local
"solarlog" = ps: with ps; [ ]; # missing inputs: sunwatcher
"solarlog" = ps: with ps; [ sunwatcher ];
"solax" = ps: with ps; [ solax ];
"soma" = ps: with ps; [ pysoma ];
"somfy" = ps: with ps; [ aiohttp-cors pymfy ];

View file

@ -8765,6 +8765,8 @@ in {
sunpy = callPackage ../development/python-modules/sunpy { };
sunwatcher = callPackage ../development/python-modules/sunwatcher { };
supervise_api = callPackage ../development/python-modules/supervise_api { };
supervisor = callPackage ../development/python-modules/supervisor { };