biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pyfibaro / default.nix
blob1ce5d605f020c6c4582381a2fb937dd94b8157a2
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   requests,
8   requests-mock,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "pyfibaro";
14   version = "0.7.8";
15   pyproject = true;
17   disabled = pythonOlder "3.9";
19   src = fetchFromGitHub {
20     owner = "rappenze";
21     repo = "pyfibaro";
22     rev = "refs/tags/${version}";
23     hash = "sha256-gid+qbl4RgT47zC5i1Usw2Zco+jb2LJeeMkKvni/aDM=";
24   };
26   build-system = [ setuptools ];
28   dependencies = [ requests ];
30   nativeCheckInputs = [
31     pytestCheckHook
32     requests-mock
33   ];
35   pythonImportsCheck = [ "pyfibaro" ];
37   meta = with lib; {
38     description = "Library to access FIBARO Home center";
39     homepage = "https://github.com/rappenze/pyfibaro";
40     changelog = "https://github.com/rappenze/pyfibaro/releases/tag/${version}";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };