2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-28 15:40:17 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, pillow
|
|
|
|
, pymaging_png
|
|
|
|
, mock
|
2019-11-10 13:17:06 +00:00
|
|
|
, setuptools
|
2018-10-28 15:40:17 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "qrcode";
|
2019-01-14 08:54:18 +00:00
|
|
|
version = "6.1";
|
2018-10-28 15:40:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-14 08:54:18 +00:00
|
|
|
sha256 = "505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369";
|
2018-10-28 15:40:17 +00:00
|
|
|
};
|
|
|
|
|
2019-11-10 13:17:06 +00:00
|
|
|
propagatedBuildInputs = [ six pillow pymaging_png setuptools ];
|
2018-10-28 15:40:17 +00:00
|
|
|
checkInputs = [ mock ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-28 15:40:17 +00:00
|
|
|
description = "Quick Response code generation for Python";
|
|
|
|
homepage = "https://pypi.python.org/pypi/qrcode";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|