evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / btsocket / default.nix
blob6065a670f12dab187b4ff12698f373a03f3852b6
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "btsocket";
11   version = "0.3.0";
12   format = "setuptools";
14   disabled = pythonOlder "3.8";
16   src = fetchFromGitHub {
17     owner = "ukBaz";
18     repo = "python-btsocket";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-/T89GZJth7pBGQuN1ytCf649oWv7aZcfPHjYoftbLw8=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "btsocket" ];
27   meta = with lib; {
28     description = "Library to interact with the Bluez Bluetooth Management API";
29     homepage = "https://github.com/ukBaz/python-btsocket";
30     license = with licenses; [ mit ];
31     maintainers = with maintainers; [ fab ];
32   };