From dc707e41e4ea6675f4338bd649cdbcd66c5294a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 31 Aug 2018 11:36:39 +0200 Subject: [PATCH] python.pkgs.pyqrcode: init at 1.2.1 --- .../python-modules/pyqrcode/default.nix | 21 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/python-modules/pyqrcode/default.nix 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 { };