python312Packages.qrcode: refactor

This commit is contained in:
Fabian Affolter 2024-01-18 09:16:23 +01:00
parent 5d49eb0352
commit 2c772de995

View File

@ -1,20 +1,20 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, setuptools , mock
, pillow , pillow
, pypng , pypng
, typing-extensions
, mock
, pytestCheckHook , pytestCheckHook
, testers
, qrcode , qrcode
, setuptools
, testers
, typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "qrcode"; pname = "qrcode";
version = "7.4.2"; version = "7.4.2";
format = "pyproject"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -53,6 +53,6 @@ buildPythonPackage rec {
homepage = "https://github.com/lincolnloop/python-qrcode"; homepage = "https://github.com/lincolnloop/python-qrcode";
changelog = "https://github.com/lincolnloop/python-qrcode/blob/v${version}/CHANGES.rst"; changelog = "https://github.com/lincolnloop/python-qrcode/blob/v${version}/CHANGES.rst";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ ];
}; };
} }