Martin Weinelt ae4a1a485a
treewide: add explicit format attribute for Python packages
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.

This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format

This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00

28 lines
611 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "pyqrcode";
version = "1.2.1";
format = "setuptools";
src = fetchPypi {
pname = "PyQRCode";
inherit version;
sha256 = "fdbf7634733e56b72e27f9bce46e4550b75a3a2c420414035cae9d9d26b234d5";
};
# No tests in PyPI tarball
doCheck = false;
meta = with lib; {
description = "QR code generator written purely in Python with SVG, EPS, PNG and terminal output";
homepage = "https://github.com/mnooner256/pyqrcode";
license = licenses.bsd3;
maintainers = with maintainers; [ dotlambda ];
};
}