depot/third_party/nixpkgs/pkgs/development/python-modules/adafruit-pureio/default.nix
Default email 634fe97655 Project import generated by Copybara.
GitOrigin-RevId: 09c38c29f2c719cd76ca17a596c2fdac9e186ceb
2021-07-03 00:11:41 -03:00

29 lines
678 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
}:
buildPythonPackage rec {
pname = "Adafruit-PureIO";
version = "1.1.9";
src = fetchPypi {
pname = "Adafruit_PureIO";
inherit version;
sha256 = "0yd8hw676s7plq75gac4z0ilfcfydjkk3wv76bc73xy70zxj5brc";
};
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 ];
};
}