summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyqrcode/default.nix
blob: 6ed1ca58e0d40bf5088915b6f0a1d72281181bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  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 ];
  };
}