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