mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
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>
27 lines
609 B
Nix
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 ];
|
|
};
|
|
}
|