Merge pull request #271531 from oliver-koss/lcd-i2c

This commit is contained in:
Maciej Krüger
2023-12-06 19:15:47 +01:00
committed by GitHub
2 changed files with 36 additions and 0 deletions
@@ -0,0 +1,34 @@
{ lib
, python3
, fetchPypi
, buildPythonPackage
, smbus2
, poetry-core
}:
buildPythonPackage rec {
pname = "lcd-i2c";
version = "0.2.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-NYBaCXBmuTziT0WYEqrW10HRmRy3jpjH3YWQh5Y/TdQ=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
smbus2
];
meta = with lib; {
description = "Library for interacting with an I2C LCD screen through Python";
homepage = "https://pypi.org/project/lcd-i2c/";
license = licenses.mit;
maintainers = with maintainers; [ oliver-koss ];
mainProgram = "lcd-i2c";
};
}
+2
View File
@@ -6151,6 +6151,8 @@ self: super: with self; {
lc7001 = callPackage ../development/python-modules/lc7001 { };
lcd-i2c = callPackage ../development/python-modules/lcd-i2c { };
lcgit = callPackage ../development/python-modules/lcgit { };
lcov_cobertura = callPackage ../development/python-modules/lcov_cobertura { };