Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / fjaraskupan / default.nix
blob533847786c8917250f061ab697d0ebaaaf9f0da0
1 { lib
2 , bleak
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pytest-mock
6 , pytestCheckHook
7 , pythonOlder
8 , setuptools
9 }:
11 buildPythonPackage rec {
12   pname = "fjaraskupan";
13   version = "2.3.0";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchFromGitHub {
19     owner = "elupus";
20     repo = "fjaraskupan";
21     rev = "refs/tags/${version}";
22     hash = "sha256-3jw42lsCwNkFptMNpnhtbrPIkZP/8lUCcMigzq8Hbc4=";
23   };
25   nativeBuildInputs = [
26     setuptools
27   ];
29   dependencies = [
30     bleak
31   ];
33   nativeCheckInputs = [
34     pytest-mock
35     pytestCheckHook
36   ];
38   pythonImportsCheck = [
39     "fjaraskupan"
40   ];
42   meta = with lib; {
43     description = "Module for controlling Fjäråskupan kitchen fans";
44     homepage = "https://github.com/elupus/fjaraskupan";
45     changelog = "https://github.com/elupus/fjaraskupan/releases/tag/${version}";
46     license = with licenses; [ mit ];
47     maintainers = with maintainers; [ fab ];
48   };