lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.bme680: 1.0.5 -> 1.1.1

+15 -6
+15 -6
pkgs/development/python-modules/bme680/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , mock 4 5 , smbus-cffi 5 6 , pytestCheckHook 6 7 }: 7 8 8 9 buildPythonPackage rec { 9 10 pname = "bme680"; 10 - version = "1.0.5"; 11 + version = "1.1.1"; 11 12 12 13 src = fetchFromGitHub { 13 14 owner = "pimoroni"; 14 15 repo = "bme680-python"; 15 16 rev = "v${version}"; 16 - sha256 = "sha256-oIXh1JnGTI/Cj4MQFpWq+sWR2X+ioCsK0Q+T7wPITCQ="; 17 + sha256 = "sha256-gmdRxMJ0DoCyNcb/bYp746PBi4HktHAAYOcSQJ0Uheg="; 17 18 }; 18 19 19 - propagatedBuildInputs = [ smbus-cffi ]; 20 + propagatedBuildInputs = [ 21 + smbus-cffi 22 + ]; 20 23 21 24 preBuild = '' 22 25 cd library 23 26 ''; 24 - checkInputs = [ pytestCheckHook ]; 27 + 28 + checkInputs = [ 29 + mock 30 + pytestCheckHook 31 + ]; 25 32 26 - # next release will have tests, but not the current one 27 - doCheck = false; 33 + postPatch = '' 34 + substituteInPlace library/setup.cfg \ 35 + --replace "smbus" "smbus-cffi" 36 + ''; 28 37 29 38 pythonImportsCheck = [ "bme680" ]; 30 39