blob: 27f16ed0e0db38a88557a46458d3302b99a3fb1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pybluez,
}:
buildPythonPackage (finalAttrs: {
pname = "bt-proximity";
version = "0.2.1";
pyproject = true;
__structuredAttrs = true;
src = fetchPypi {
pname = "bt_proximity";
inherit (finalAttrs) version;
hash = "sha256-+F2Ydjz/VxnYEuXfggnNUDFaLXLSh1GKAX/RtUNykXY=";
};
build-system = [ setuptools ];
dependencies = [ pybluez ];
# there are no tests
doCheck = false;
pythonImportsCheck = [ "bt_proximity" ];
meta = {
description = "Bluetooth Proximity Detection using Python";
homepage = "https://github.com/FrederikBolding/bluetooth-proximity";
maintainers = with lib.maintainers; [ peterhoeg ];
license = lib.licenses.asl20;
};
})
|