Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
916 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, aioconsole, bleak, buildPythonPackage, dbus-next, fetchFromGitHub, numpy, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "bless"; version = "0.2.5"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "kevincar"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-+rnMLqNfhIJASCKkIfOKpVil3S/d8BcMxnLHmdOcRIY="; };
propagatedBuildInputs = [ bleak dbus-next ];
nativeCheckInputs = [ aioconsole numpy 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 ]; };}