mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-28 21:15:57 +00:00
This is almost all find-and-replace. I manually edited: * pkgs/development/python-modules/notifications-android-tv/default.nix, * pkgs/servers/home-assistant/default.nix, * pkgs/development/tools/continuous-integration/buildbot/master.nix A few files have not been changed in this PR because they would cause rebuilds. This PR should have 0 rebuilds.
34 lines
795 B
Nix
34 lines
795 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "adafruit-pureio";
|
|
version = "1.1.11";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "Adafruit_PureIO";
|
|
inherit version;
|
|
hash = "sha256-xM+7NlcxlC0fEJKhFvR9/a4K7xjFsn8QcrWCStXqjHw=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
# Physical SMBus is not present
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "Adafruit_PureIO" ];
|
|
|
|
meta = {
|
|
description = "Python interface to Linux IO including I2C and SPI";
|
|
homepage = "https://github.com/adafruit/Adafruit_Python_PureIO";
|
|
changelog = "https://github.com/adafruit/Adafruit_Python_PureIO/releases/tag/${version}";
|
|
license = with lib.licenses; [ mit ];
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|