python3Packages.adafruit-pureio: init at 1.1.8

This commit is contained in:
Fabian Affolter 2021-01-24 09:36:47 +01:00
parent d2f86643e3
commit a2f253dec0
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
}:
buildPythonPackage rec {
pname = "Adafruit-PureIO";
version = "1.1.8";
src = fetchPypi {
pname = "Adafruit_PureIO";
inherit version;
sha256 = "1mfa6sfz7qwgajz3lqw0s69ivvwbwvblwkjzbrwdrxjbma4jaw66";
};
nativeBuildInputs = [ setuptools-scm ];
# Physical SMBus is not present
doCheck = false;
pythonImportsCheck = [ "Adafruit_PureIO" ];
meta = with lib; {
description = "Python interface to Linux IO including I2C and SPI";
homepage = "https://github.com/adafruit/Adafruit_Python_PureIO";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -164,6 +164,8 @@ in {
adafruit-platformdetect = callPackage ../development/python-modules/adafruit-platformdetect { };
adafruit-pureio = callPackage ../development/python-modules/adafruit-pureio { };
adal = callPackage ../development/python-modules/adal { };
adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };