1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/development/python-modules/qrcode/default.nix
2018-10-30 00:50:53 -04:00

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;
};
}