mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
586 B
Nix
27 lines
586 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyqrcode";
|
|
version = "1.2.1";
|
|
|
|
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 ];
|
|
};
|
|
}
|