1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 btlewrap, 7 bluepy, 8}: 9 10buildPythonPackage rec { 11 pname = "beewi-smartclim"; 12 version = "0.0.10"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "alemuro"; 17 repo = "beewi_smartclim"; 18 tag = version; 19 hash = "sha256-xdr545Q4DFhup2BCMZZ1WYWgt97qT6oipIHWcsp90+A="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 btlewrap 26 bluepy 27 ]; 28 29 # No tests available 30 doCheck = false; 31 32 pythonImportsCheck = [ "beewi_smartclim" ]; 33 34 meta = { 35 description = "Library to read data from BeeWi SmartClim sensor using Bluetooth LE"; 36 homepage = "https://github.com/alemuro/beewi_smartclim"; 37 license = lib.licenses.mit; 38 maintainers = [ lib.maintainers.jamiemagee ]; 39 }; 40}