biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / govee-local-api / default.nix
blobe2e6976b602ebc242960d5b96affecd1282f255d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "govee-local-api";
12   version = "1.5.2";
13   pyproject = true;
15   disabled = pythonOlder "3.10";
17   src = fetchFromGitHub {
18     owner = "Galorhallen";
19     repo = "govee-local-api";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-sxxw/XAPENtNeY/64+pxnPgMBBM7+lpF52ixRm18d48=";
22   };
24   build-system = [ poetry-core ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "govee_local_api" ];
30   meta = with lib; {
31     description = "Library to communicate with Govee local API";
32     homepage = "https://github.com/Galorhallen/govee-local-api";
33     changelog = "https://github.com/Galorhallen/govee-local-api/releases/tag/v${version}";
34     license = licenses.asl20;
35     maintainers = with maintainers; [ fab ];
36   };