01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
24 lines
639 B
Nix
24 lines
639 B
Nix
{ 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;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
}
|