python3Packages.rpi-lgpio: init at 0.6 (#490783)

This commit is contained in:
Doron Behar
2026-02-17 12:30:26 +02:00
committed by GitHub
3 changed files with 49 additions and 0 deletions
+6
View File
@@ -22864,6 +22864,12 @@
githubId = 496447;
name = "Robert Hensing";
};
robertjakub = {
email = "rjakub@pm.me";
github = "robertjakub";
githubId = 7160579;
name = "Robert Jakub";
};
robertodr = {
email = "roberto.diremigio@gmail.com";
github = "robertodr";
@@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
lgpio,
}:
buildPythonPackage (finalAttrs: {
pname = "rpi-lgpio";
version = "0.6";
pyproject = true;
src = fetchFromGitHub {
owner = "waveform80";
repo = "rpi-lgpio";
tag = "release-${finalAttrs.version}";
hash = "sha256-Fmj03O4nWsu02uXhT67KyIN/OvDSiJrx91HhgyldJmk=";
};
build-system = [
setuptools
];
dependencies = [
lgpio
];
# Tests do a platform check which requires running on a Raspberry Pi
doCheck = false;
meta = {
description = "Python module to control the GPIO on a Raspberry Pi";
homepage = "https://github.com/waveform80/rpi-lgpio";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [
robertjakub
];
};
})
+2
View File
@@ -16801,6 +16801,8 @@ self: super: with self; {
rpi-gpio = callPackage ../development/python-modules/rpi-gpio { };
rpi-lgpio = callPackage ../development/python-modules/rpi-lgpio { };
rplcd = callPackage ../development/python-modules/rplcd { };
rply = callPackage ../development/python-modules/rply { };