2018-06-23 12:13:37 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-periphery";
|
2019-11-29 08:08:01 +00:00
|
|
|
version = "2.0.0";
|
2018-06-23 12:13:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-29 08:08:01 +00:00
|
|
|
sha256 = "1arsibmc19iyzr70lqfrkq0fk6gd6imm3zxa7zxv93b6lwl5bw1d";
|
2018-06-23 12:13:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# Some tests require physical probing and additional physical setup
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/vsergeev/python-periphery;
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|