Unverified Commit cf4aac40 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.qrcodegen: init at 1.8.0 (#432987)

parents 6fa44511 38e97881
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{
  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
      ;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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;