linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / bt-proximity / default.nix
blob584b7b12605585a14b44aa3b0cfefd8d8e23803a
1 { lib, buildPythonPackage, fetchFromGitHub
2 , pybluez }:
4 buildPythonPackage {
5   pname = "bt-proximity";
6   version = "0.2";
8   # pypi only has a pre-compiled wheel and no sources
9   src = fetchFromGitHub {
10     owner  = "FrederikBolding";
11     repo   = "bluetooth-proximity";
12     rev    = "463bade8a9080b47f09bf4a47830b31c69c5dffd";
13     sha256 = "0anfh90cj3c2g7zqrjvq0d6dzpb4hjl6gk8zw0r349j2zw9i4h7y";
14   };
16   propagatedBuildInputs = [ pybluez ];
18   # there are no tests
19   doCheck = false;
21   pythonImportsCheck = [ "bt_proximity" ];
23   meta = with lib; {
24     description = "Bluetooth Proximity Detection using Python";
25     homepage = "https://github.com/FrederikBolding/bluetooth-proximity";
26     maintainers = with maintainers; [ peterhoeg ];
27     license = licenses.asl20;
28   };