1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "pyqrcode";
9 version = "1.2.1";
10 format = "setuptools";
11
12 src = fetchPypi {
13 pname = "PyQRCode";
14 inherit version;
15 sha256 = "fdbf7634733e56b72e27f9bce46e4550b75a3a2c420414035cae9d9d26b234d5";
16 };
17
18 # No tests in PyPI tarball
19 doCheck = false;
20
21 meta = with lib; {
22 description = "QR code generator written purely in Python with SVG, EPS, PNG and terminal output";
23 homepage = "https://github.com/mnooner256/pyqrcode";
24 license = licenses.bsd3;
25 maintainers = with maintainers; [ dotlambda ];
26 };
27}