python3Packages.reportlab-qrcode: init at 0.1.6
This commit is contained in:
parent
8f650600cf
commit
3507f13417
49
pkgs/development/python-modules/reportlab-qrcode/default.nix
Normal file
49
pkgs/development/python-modules/reportlab-qrcode/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, setuptools
|
||||||
|
, wheel
|
||||||
|
, qrcode
|
||||||
|
, reportlab
|
||||||
|
, pillow
|
||||||
|
, pytest
|
||||||
|
, pyzbar
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "reportlab-qrcode";
|
||||||
|
version = "0.1.6";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
hash = "sha256-m/oeuA797MEBOJBIG157VIa7TbEbRRVK/O8Arz/oO/o=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
wheel
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
qrcode
|
||||||
|
reportlab
|
||||||
|
];
|
||||||
|
|
||||||
|
passthru.optional-dependencies = {
|
||||||
|
testing = [
|
||||||
|
pillow
|
||||||
|
pytest
|
||||||
|
pyzbar
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "reportlab_qrcode" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Allows to create QR codes for use with the ReportLab PDF library";
|
||||||
|
homepage = "https://pypi.org/project/reportlab-qrcode/";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ xanderio ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -13119,6 +13119,8 @@ self: super: with self; {
|
||||||
|
|
||||||
reportlab = callPackage ../development/python-modules/reportlab { };
|
reportlab = callPackage ../development/python-modules/reportlab { };
|
||||||
|
|
||||||
|
reportlab-qrcode = callPackage ../development/python-modules/reportlab-qrcode { };
|
||||||
|
|
||||||
repoze-lru = callPackage ../development/python-modules/repoze-lru { };
|
repoze-lru = callPackage ../development/python-modules/repoze-lru { };
|
||||||
|
|
||||||
repoze-sphinx-autointerface = callPackage ../development/python-modules/repoze-sphinx-autointerface { };
|
repoze-sphinx-autointerface = callPackage ../development/python-modules/repoze-sphinx-autointerface { };
|
||||||
|
|
Loading…
Reference in New Issue
Block a user