depot/third_party/nixpkgs/pkgs/development/python-modules/qrcode/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

29 lines
570 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, six
, pillow
, pymaging_png
, mock
, setuptools
}:
buildPythonPackage rec {
pname = "qrcode";
version = "6.1";
src = fetchPypi {
inherit pname version;
sha256 = "505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369";
};
propagatedBuildInputs = [ six pillow pymaging_png setuptools ];
checkInputs = [ mock ];
meta = with stdenv.lib; {
description = "Quick Response code generation for Python";
homepage = "https://pypi.python.org/pypi/qrcode";
license = licenses.bsd3;
};
}