python3Packages.qrcode-terminal: init at 0.8

This commit is contained in:
Moraxyc
2024-05-26 00:39:08 +08:00
parent 7e8989a8f3
commit 3c08c13324
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
qrcode,
pillow,
}:
buildPythonPackage rec {
pname = "qrcode-terminal";
version = "0.8";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Hitp5mK5NG6Y3ZWYMDPp1Dz/BkPYr9oSYF9RVCjmZsA=";
};
build-system = [ setuptools ];
dependencies = [
qrcode
pillow
];
# have no test
doCheck = false;
pythonImportsCheck = [ "qrcode_terminal" ];
meta = {
description = "Display QRCode in Terminal";
homepage = "https://github.com/alishtory/qrcode-terminal";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ moraxyc ];
mainProgram = "qrcode-terminal-py";
};
}

View File

@@ -12891,6 +12891,8 @@ self: super: with self; {
qrcode = callPackage ../development/python-modules/qrcode { };
qrcode-terminal = callPackage ../development/python-modules/qrcode-terminal { };
qreactor = callPackage ../development/python-modules/qreactor { };
qscintilla-qt5 = pkgs.libsForQt5.callPackage ../development/python-modules/qscintilla-qt5 {