portfolio: 0.71.2 -> 0.72.2 (#360387)
[NixPkgs.git] / pkgs / development / python-modules / aioblescan / default.nix
blob24e17c54eddab4f04bdd85bf761208d4fed00733
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "aioblescan";
11   version = "0.2.14";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "frawau";
18     repo = pname;
19     rev = "refs/tags/${version}";
20     hash = "sha256-JeA9jX566OSRiejdnlifbcNGm0J0C+xzA6zXDUyZ6jc=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "aioblescan" ];
27   meta = with lib; {
28     description = "Library to listen for BLE advertized packets";
29     mainProgram = "aioblescan";
30     homepage = "https://github.com/frawau/aioblescan";
31     changelog = "https://github.com/frawau/aioblescan/releases/tag/${version}";
32     license = licenses.mit;
33     maintainers = with maintainers; [ fab ];
34   };