mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
4fc689635a
This update fixes checks with python 3
30 lines
555 B
Nix
30 lines
555 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, isPy27
|
|
, fetchPypi
|
|
, six
|
|
, pillow
|
|
, pymaging_png
|
|
, mock
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "qrcode";
|
|
version = "6.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|