depot/third_party/nixpkgs/pkgs/development/python-modules/qrcode/default.nix
Default email 818c48e259 Project import generated by Copybara.
GitOrigin-RevId: 14aef06d9b3ad1d07626bdbb16083b83f92dc6c1
2021-10-04 09:37:57 -03:00

29 lines
562 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, six
, pillow
, pymaging_png
, mock
, setuptools
}:
buildPythonPackage rec {
pname = "qrcode";
version = "7.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "375a6ff240ca9bd41adc070428b5dfc1dcfbb0f2507f1ac848f6cded38956578";
};
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;
};
}