mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-21 23:40:42 +08:00
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
30 lines
568 B
Nix
30 lines
568 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 ];
|
|
nativeCheckInputs = [ mock ];
|
|
|
|
meta = with lib; {
|
|
description = "Quick Response code generation for Python";
|
|
homepage = "https://pypi.python.org/pypi/qrcode";
|
|
license = licenses.bsd3;
|
|
};
|
|
|
|
}
|