python3Packages.rpi-lgpio: init at 0.6 (#490783)
This commit is contained in:
@@ -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
|
||||
];
|
||||
};
|
||||
})
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user