diff --git a/pkgs/development/python-modules/pyqrcode/default.nix b/pkgs/development/python-modules/pyqrcode/default.nix new file mode 100644 index 000000000000..4313f700ae17 --- /dev/null +++ b/pkgs/development/python-modules/pyqrcode/default.nix @@ -0,0 +1,21 @@ +{ lib, buildPythonPackage, fetchPypi }: + +buildPythonPackage rec { + pname = "PyQRCode"; + version = "1.2.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "fdbf7634733e56b72e27f9bce46e4550b75a3a2c420414035cae9d9d26b234d5"; + }; + + # No tests in PyPI tarball + doCheck = false; + + meta = with lib; { + description = "A 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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9004bcea2598..37488bc3ebaa 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10403,6 +10403,8 @@ in { proj = null; }; + pyqrcode = callPackage ../development/python-modules/pyqrcode { }; + pyrr = callPackage ../development/python-modules/pyrr { }; pysha3 = callPackage ../development/python-modules/pysha3 { };