2018-06-23 12:13:37 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-periphery";
|
2020-06-06 07:47:28 +01:00
|
|
|
version = "2.1.0";
|
2018-06-23 12:13:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:28 +01:00
|
|
|
sha256 = "57baa82e6bc59b67747317d16ad0cf9626826e8d43233af13bce924660500bd6";
|
2018-06-23 12:13:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Some tests require physical probing and additional physical setup
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/vsergeev/python-periphery";
|
2018-06-23 12:13:37 +01:00
|
|
|
description = "Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) with Python 2 & 3";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ bandresen ];
|
|
|
|
};
|
|
|
|
}
|