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