spicedb: 1.39.1 -> 1.40.0
[NixPkgs.git] / pkgs / development / python-modules / broadlink / default.nix
blob5f294fc24dfc14164d1695f211573d3fc05d8079
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   cryptography,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "broadlink";
12   version = "0.19.0";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-ID5YpUjio68xChs6ZhTQBW995kqbmwsASRJKQ1a5M2U=";
20   };
22   build-system = [ setuptools ];
24   dependencies = [ cryptography ];
26   # Module has no tests
27   doCheck = false;
29   pythonImportsCheck = [ "broadlink" ];
31   meta = with lib; {
32     description = "Python API for controlling Broadlink IR controllers";
33     homepage = "https://github.com/mjg59/python-broadlink";
34     changelog = "https://github.com/mjg59/python-broadlink/releases/tag/${version}";
35     license = licenses.mit;
36     maintainers = with maintainers; [ fab ];
37   };