Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / aioblescan / default.nix
blob312dcd20ee90d233e950e21ad8ea329e7787f1bb
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "aioblescan";
10   version = "0.2.14";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchFromGitHub {
16     owner = "frawau";
17     repo = pname;
18     rev = "refs/tags/${version}";
19     hash = "sha256-JeA9jX566OSRiejdnlifbcNGm0J0C+xzA6zXDUyZ6jc=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24   ];
26   pythonImportsCheck = [
27     "aioblescan"
28   ];
30   meta = with lib; {
31     description = "Library to listen for BLE advertized packets";
32     homepage = "https://github.com/frawau/aioblescan";
33     changelog = "https://github.com/frawau/aioblescan/releases/tag/${version}";
34     license = licenses.mit;
35     maintainers = with maintainers; [ fab ];
36   };