Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / bless / default.nix
blobdbe92d76c73f62c01949cb30d3dd607cde48fb13
1 { lib
2 , aioconsole
3 , bleak
4 , buildPythonPackage
5 , dbus-next
6 , fetchFromGitHub
7 , numpy
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "bless";
14   version = "0.2.5";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "kevincar";
21     repo = pname;
22     rev = "refs/tags/v${version}";
23     hash = "sha256-+rnMLqNfhIJASCKkIfOKpVil3S/d8BcMxnLHmdOcRIY=";
24   };
26   propagatedBuildInputs = [
27     bleak
28     dbus-next
29   ];
31   nativeCheckInputs = [
32     aioconsole
33     numpy
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [
38     "bless"
39   ];
41   meta = with lib; {
42     description = "Library for creating a BLE Generic Attribute Profile (GATT) server";
43     homepage = "https://github.com/kevincar/bless";
44     changelog = "https://github.com/kevincar/bless/releases/tag/v${version}";
45     license = licenses.mit;
46     maintainers = with maintainers; [ fab ];
47   };