2018-06-23 12:13:37 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-periphery";
|
2021-03-24 09:28:25 +00:00
|
|
|
version = "2.3.0";
|
2018-06-23 12:13:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:25 +00:00
|
|
|
sha256 = "8a8ec019d9b330a6a6f69a7de61d14b4c98b102d76359047c5ce0263e12246a6";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|