3
0
Fork 0
forked from mirrors/nixpkgs

python310Packages.rpi-gpio: init at 0.7.1

This commit is contained in:
Jonas Heinrich 2022-06-13 15:11:20 +02:00 committed by Yt
parent 8f5ceec1d8
commit 1acbd5cc84
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "rpi-gpio";
version = "0.7.1";
src = fetchPypi {
pname = "RPi.GPIO";
inherit version;
sha256 = "sha256-zWHEsDw3tiu6SlrP6phidJwzxhjgKV5+kKpHE/s3O3A=";
};
# Tests disable because they do a platform check which requires running on a
# Raspberry Pi
doCheck = false;
meta = with lib; {
homepage = "https://sourceforge.net/p/raspberry-gpio-python";
description = "Python module to control the GPIO on a Raspberry Pi";
license = licenses.mit;
maintainers = with maintainers; [ onny ];
};
}

View file

@ -9340,6 +9340,8 @@ in {
rpi-bad-power = callPackage ../development/python-modules/rpi-bad-power { };
rpi-gpio = callPackage ../development/python-modules/rpi-gpio { };
rply = callPackage ../development/python-modules/rply { };
rpm = toPythonModule (pkgs.rpm.override {