mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 21:30:45 +02:00
Merge pull request #289770 from fabaff/govee-local-api
python311Packages.govee-local-api: init at 1.4.4
This commit is contained in:
commit
5225526810
44
pkgs/development/python-modules/govee-local-api/default.nix
Normal file
44
pkgs/development/python-modules/govee-local-api/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, poetry-core
|
||||||
|
, poetry-dynamic-versioning
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "govee-local-api";
|
||||||
|
version = "1.4.4";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.10";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Galorhallen";
|
||||||
|
repo = "govee-local-api";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-J4SG4n6LIZ/G6pEXAzliV7uTWzqsH7rtFe3Y7BJ2dWE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
poetry-dynamic-versioning
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"govee_local_api"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "";
|
||||||
|
homepage = "https://github.com/Galorhallen/govee-local-api";
|
||||||
|
changelog = "https://github.com/Galorhallen/govee-local-api/releases/tag/v${version}";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1807,10 +1807,11 @@
|
||||||
aiohttp-fast-url-dispatcher
|
aiohttp-fast-url-dispatcher
|
||||||
aiohttp-zlib-ng
|
aiohttp-zlib-ng
|
||||||
fnv-hash-fast
|
fnv-hash-fast
|
||||||
|
govee-local-api
|
||||||
ifaddr
|
ifaddr
|
||||||
psutil-home-assistant
|
psutil-home-assistant
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
]; # missing inputs: govee-local-api
|
];
|
||||||
"gpsd" = ps: with ps; [
|
"gpsd" = ps: with ps; [
|
||||||
gps3
|
gps3
|
||||||
];
|
];
|
||||||
|
@ -6077,6 +6078,7 @@
|
||||||
"google_travel_time"
|
"google_travel_time"
|
||||||
"google_wifi"
|
"google_wifi"
|
||||||
"govee_ble"
|
"govee_ble"
|
||||||
|
"govee_light_local"
|
||||||
"gpsd"
|
"gpsd"
|
||||||
"gpslogger"
|
"gpslogger"
|
||||||
"graphite"
|
"graphite"
|
||||||
|
|
|
@ -4854,6 +4854,8 @@ self: super: with self; {
|
||||||
|
|
||||||
govee-led-wez = callPackage ../development/python-modules/govee-led-wez { };
|
govee-led-wez = callPackage ../development/python-modules/govee-led-wez { };
|
||||||
|
|
||||||
|
govee-local-api = callPackage ../development/python-modules/govee-local-api { };
|
||||||
|
|
||||||
goveelights = callPackage ../development/python-modules/goveelights { };
|
goveelights = callPackage ../development/python-modules/goveelights { };
|
||||||
|
|
||||||
gpapi = callPackage ../development/python-modules/gpapi { };
|
gpapi = callPackage ../development/python-modules/gpapi { };
|
||||||
|
|
Loading…
Reference in a new issue