blob: ddb1d9bd678316029f41499b1b60d21ec6654894 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
smbus2,
}:
buildPythonPackage rec {
pname = "lcd-i2c";
version = "0.2.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-NYBaCXBmuTziT0WYEqrW10HRmRy3jpjH3YWQh5Y/TdQ=";
};
pythonRelaxDeps = [ "smbus2" ];
build-system = [ poetry-core ];
dependencies = [ smbus2 ];
# Module has no tests
doCheck = false;
# Needs /dev/i2c-1
# pythonImportsCheck = [ "lcd_i2c" ];
meta = {
description = "Library for interacting with an I2C LCD screen through Python";
homepage = "https://pypi.org/project/lcd-i2c/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ oliver-koss ];
mainProgram = "lcd-i2c";
};
}
|