mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
29 lines
534 B
Nix
29 lines
534 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, six
|
|
, pillow
|
|
, pymaging_png
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "qrcode";
|
|
version = "5.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0kljfrfq0c2rmxf8am57333ia41kd0snbm2rnqbdy816hgpcq5a1";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|