python3Packages.qrcodegen: init at 1.8.0 (#432987)

This commit is contained in:
Gaétan Lepage 2025-08-18 10:22:09 +02:00 committed by GitHub
commit cf4aac40d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{
lib,
buildPythonPackage,
qrcodegen,
setuptools,
python,
}:
buildPythonPackage rec {
pname = "qrcodegen";
pyproject = true;
inherit (qrcodegen)
version
src
;
sourceRoot = "${src.name}/python";
build-system = [ setuptools ];
pythonImportsCheck = [ "qrcodegen" ];
checkPhase = ''
runHook preCheck
${python.interpreter} qrcodegen-demo.py
runHook postCheck
'';
meta = {
inherit (qrcodegen.meta)
description
homepage
license
maintainers
platforms
;
};
}

View File

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