depot/third_party/nixpkgs/pkgs/development/python-modules/aioblescan/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

38 lines
815 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioblescan";
version = "0.2.14";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "frawau";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-JeA9jX566OSRiejdnlifbcNGm0J0C+xzA6zXDUyZ6jc=";
};
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"aioblescan"
];
meta = with lib; {
description = "Library to listen for BLE advertized packets";
mainProgram = "aioblescan";
homepage = "https://github.com/frawau/aioblescan";
changelog = "https://github.com/frawau/aioblescan/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}