mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-14 09:13:56 +00:00
36 lines
827 B
Nix
36 lines
827 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "aioblescan";
|
|
version = "0.2.14";
|
|
pyproject = true;
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "frawau";
|
|
repo = "aioblescan";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-JeA9jX566OSRiejdnlifbcNGm0J0C+xzA6zXDUyZ6jc=";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "aioblescan" ];
|
|
|
|
meta = {
|
|
description = "Library to listen for BLE advertized packets";
|
|
mainProgram = "aioblescan";
|
|
homepage = "https://github.com/frawau/aioblescan";
|
|
changelog = "https://github.com/frawau/aioblescan/releases/tag/${finalAttrs.version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
})
|