depot/third_party/nixpkgs/pkgs/development/python-modules/qrcode/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

29 lines
560 B
Nix

{ lib
, 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 lib; {
description = "Quick Response code generation for Python";
homepage = "https://pypi.python.org/pypi/qrcode";
license = licenses.bsd3;
};
}