nixpkgs/pkgs/development/python-modules/pyqrcode/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

27 lines
609 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 = {
description = "QR code generator written purely in Python with SVG, EPS, PNG and terminal output";
homepage = "https://github.com/mnooner256/pyqrcode";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ dotlambda ];
};
}