1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "python-periphery";
5 version = "2.3.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "8a8ec019d9b330a6a6f69a7de61d14b4c98b102d76359047c5ce0263e12246a6";
10 };
11
12 # Some tests require physical probing and additional physical setup
13 doCheck = false;
14
15 meta = {
16 homepage = "https://github.com/vsergeev/python-periphery";
17 description = "Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) with Python 2 & 3";
18 license = lib.licenses.mit;
19 maintainers = with lib.maintainers; [ bandresen ];
20 };
21}