2018-10-28 15:40:17 +00:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, six
|
|
|
|
, pillow
|
|
|
|
, pymaging_png
|
|
|
|
, mock
|
|
|
|
}:
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six pillow pymaging_png ];
|
|
|
|
checkInputs = [ mock ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Quick Response code generation for Python";
|
|
|
|
homepage = "https://pypi.python.org/pypi/qrcode";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|