1{ lib, buildPythonPackage, fetchPypi }:
2
3buildPythonPackage rec {
4 pname = "python-periphery";
5 version = "2.4.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "sha256-YdRh1zaYKm92boeHIKsQpoFR4ujBCGYA2TiaxH5A6Io=";
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}