2018-06-23 13:13:37 +02:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-periphery";
|
2020-01-28 07:38:00 +01:00
|
|
|
version = "2.0.1";
|
2018-06-23 13:13:37 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-01-28 07:38:00 +01:00
|
|
|
sha256 = "1v0qpv0i2kqhjvl6wvvvy29hazjdcym7nn14qzv4r5zq1zsdb92x";
|
2018-06-23 13:13:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# Some tests require physical probing and additional physical setup
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/vsergeev/python-periphery";
|
2018-06-23 13:13:37 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|