mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
Merge pull request #139751 from fabaff/sunwatcher
python3Packages.sunwatcher: init at 0.2.1
This commit is contained in:
commit
a2b3e7f7ab
35
pkgs/development/python-modules/sunwatcher/default.nix
Normal file
35
pkgs/development/python-modules/sunwatcher/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -795,7 +795,7 @@
|
||||||
"sochain" = ps: with ps; [ ]; # missing inputs: python-sochain-api
|
"sochain" = ps: with ps; [ ]; # missing inputs: python-sochain-api
|
||||||
"solaredge" = ps: with ps; [ solaredge stringcase ];
|
"solaredge" = ps: with ps; [ solaredge stringcase ];
|
||||||
"solaredge_local" = ps: with ps; [ ]; # missing inputs: solaredge-local
|
"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 ];
|
"solax" = ps: with ps; [ solax ];
|
||||||
"soma" = ps: with ps; [ pysoma ];
|
"soma" = ps: with ps; [ pysoma ];
|
||||||
"somfy" = ps: with ps; [ aiohttp-cors pymfy ];
|
"somfy" = ps: with ps; [ aiohttp-cors pymfy ];
|
||||||
|
|
|
@ -8765,6 +8765,8 @@ in {
|
||||||
|
|
||||||
sunpy = callPackage ../development/python-modules/sunpy { };
|
sunpy = callPackage ../development/python-modules/sunpy { };
|
||||||
|
|
||||||
|
sunwatcher = callPackage ../development/python-modules/sunwatcher { };
|
||||||
|
|
||||||
supervise_api = callPackage ../development/python-modules/supervise_api { };
|
supervise_api = callPackage ../development/python-modules/supervise_api { };
|
||||||
|
|
||||||
supervisor = callPackage ../development/python-modules/supervisor { };
|
supervisor = callPackage ../development/python-modules/supervisor { };
|
||||||
|
|
Loading…
Reference in a new issue