nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 880 B view raw
1{ 2 bleak, 3 bleak-retry-connector, 4 buildPythonPackage, 5 fetchFromGitHub, 6 lib, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pyprobeplus"; 12 version = "1.1.2"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "pantherale0"; 17 repo = "pyprobeplus"; 18 tag = version; 19 hash = "sha256-CJbQs0xZHdXNPX71G1KrrHHV58gXaQsUHGcX9P8E+iY="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 bleak 26 bleak-retry-connector 27 ]; 28 29 pythonImportsCheck = [ "pyprobeplus" ]; 30 31 # upstream has no tests 32 doCheck = false; 33 34 meta = { 35 changelog = "https://github.com/pantherale0/pyprobeplus/releases/tag/${src.tag}"; 36 description = "Generic library to interact with a Probe Plus BLE device"; 37 homepage = "https://github.com/pantherale0/pyprobeplus"; 38 license = lib.licenses.asl20; 39 maintainers = with lib.maintainers; [ dotlambda ]; 40 }; 41}