Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 56 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ lib, aioconsole, bleak, buildPythonPackage, dbus-next, fetchFromGitHub, numpy, pytest-asyncio, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "bless"; version = "0.2.6"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "kevincar"; repo = "bless"; tag = "v${version}"; hash = "sha256-dAdA+d75iE6v6t4mfgvwhRsIARLW+IqCGmaMABaDlZg="; };
postPatch = '' sed -i "/pysetupdi/d" setup.py '';
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ bleak dbus-next ];
nativeCheckInputs = [ aioconsole numpy pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "bless" ];
meta = with lib; { description = "Library for creating a BLE Generic Attribute Profile (GATT) server"; homepage = "https://github.com/kevincar/bless"; changelog = "https://github.com/kevincar/bless/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}