Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / adafruit-pureio / default.nix
blob36bafb0f7a07d248329992bec65c5f31c652959d
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools-scm
5 }:
7 buildPythonPackage rec {
8   pname = "Adafruit-PureIO";
9   version = "1.1.8";
11   src = fetchPypi {
12     pname = "Adafruit_PureIO";
13     inherit version;
14     sha256 = "1mfa6sfz7qwgajz3lqw0s69ivvwbwvblwkjzbrwdrxjbma4jaw66";
15   };
17   nativeBuildInputs = [ setuptools-scm ];
19   # Physical SMBus is not present
20   doCheck = false;
21   pythonImportsCheck = [ "Adafruit_PureIO" ];
23   meta = with lib; {
24     description = "Python interface to Linux IO including I2C and SPI";
25     homepage = "https://github.com/adafruit/Adafruit_Python_PureIO";
26     license = with licenses; [ mit ];
27     maintainers = with maintainers; [ fab ];
28   };