depot/third_party/nixpkgs/pkgs/development/python-modules/aioblescan/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

36 lines
682 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioblescan";
version = "0.2.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "frawau";
repo = pname;
rev = version;
hash = "sha256-n1FiBsuVpVJrIq6+kuMNugpEaUOFQ/Gk/QU7Hry4YrU=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"aioblescan"
];
meta = with lib; {
description = "Library to listen for BLE advertized packets";
homepage = "https://github.com/frawau/aioblescan";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}