bitwarden-desktop: 2024.12.0 -> 2024.12.1 (#373177)
[NixPkgs.git] / pkgs / development / python-modules / fjaraskupan / default.nix
blob37220b695fb7ffa715b1ef72bff8a3f6c8d13303
2   lib,
3   bleak,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pytest-mock,
7   pytestCheckHook,
8   pythonOlder,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "fjaraskupan";
14   version = "2.3.2";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "elupus";
21     repo = "fjaraskupan";
22     tag = version;
23     hash = "sha256-IKi2kaypwHdK9w+FZlWrreUXBgBgg4y3D8bSJhKHSYo=";
24   };
26   build-system = [ setuptools ];
28   dependencies = [ bleak ];
30   nativeCheckInputs = [
31     pytest-mock
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "fjaraskupan" ];
37   meta = with lib; {
38     description = "Module for controlling Fjäråskupan kitchen fans";
39     homepage = "https://github.com/elupus/fjaraskupan";
40     changelog = "https://github.com/elupus/fjaraskupan/releases/tag/${version}";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };