nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "aioblescan";
10 version = "0.2.14";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "frawau";
15 repo = "aioblescan";
16 tag = version;
17 hash = "sha256-JeA9jX566OSRiejdnlifbcNGm0J0C+xzA6zXDUyZ6jc=";
18 };
19
20 nativeCheckInputs = [ pytestCheckHook ];
21
22 pythonImportsCheck = [ "aioblescan" ];
23
24 meta = {
25 description = "Library to listen for BLE advertized packets";
26 mainProgram = "aioblescan";
27 homepage = "https://github.com/frawau/aioblescan";
28 changelog = "https://github.com/frawau/aioblescan/releases/tag/${version}";
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ fab ];
31 };
32}