python3Packages.adafruit-pureio: init at 1.1.8
This commit is contained in:
parent
d2f86643e3
commit
a2f253dec0
2 changed files with 31 additions and 0 deletions
29
pkgs/development/python-modules/adafruit-pureio/default.nix
Normal file
29
pkgs/development/python-modules/adafruit-pureio/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue