ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / adafruit-pureio / default.nix
blobd3712ba46c245b6d40145c9caab52e81cce5a34c
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools-scm
5 }:
7 buildPythonPackage rec {
8   pname = "Adafruit-PureIO";
9   version = "1.1.9";
11   src = fetchPypi {
12     pname = "Adafruit_PureIO";
13     inherit version;
14     sha256 = "0yd8hw676s7plq75gac4z0ilfcfydjkk3wv76bc73xy70zxj5brc";
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   };