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