mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / development / python-modules / adafruit-pureio / default.nix
blob0c2ce56f2d0483dde7e7353f82d14d788b9ed79d
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6   setuptools-scm,
7 }:
9 buildPythonPackage rec {
10   pname = "adafruit-pureio";
11   version = "1.1.11";
12   format = "pyproject";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     pname = "Adafruit_PureIO";
18     inherit version;
19     hash = "sha256-xM+7NlcxlC0fEJKhFvR9/a4K7xjFsn8QcrWCStXqjHw=";
20   };
22   nativeBuildInputs = [ setuptools-scm ];
24   # Physical SMBus is not present
25   doCheck = false;
27   pythonImportsCheck = [ "Adafruit_PureIO" ];
29   meta = with lib; {
30     description = "Python interface to Linux IO including I2C and SPI";
31     homepage = "https://github.com/adafruit/Adafruit_Python_PureIO";
32     changelog = "https://github.com/adafruit/Adafruit_Python_PureIO/releases/tag/${version}";
33     license = with licenses; [ mit ];
34     maintainers = with maintainers; [ fab ];
35   };