at master 669 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5}: 6 7buildPythonPackage rec { 8 pname = "rpi-gpio"; 9 version = "0.7.1"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 pname = "RPi.GPIO"; 14 inherit version; 15 hash = "sha256-zWHEsDw3tiu6SlrP6phidJwzxhjgKV5+kKpHE/s3O3A="; 16 }; 17 18 # Tests disable because they do a platform check which requires running on a 19 # Raspberry Pi 20 doCheck = false; 21 22 meta = with lib; { 23 homepage = "https://sourceforge.net/p/raspberry-gpio-python"; 24 description = "Python module to control the GPIO on a Raspberry Pi"; 25 license = licenses.mit; 26 platforms = platforms.linux; 27 maintainers = with maintainers; [ onny ]; 28 }; 29}