python311Packages.segno: 1.5.2 -> 1.5.3

https://github.com/heuer/segno/releases/tag/1.5.3
This commit is contained in:
Martin Weinelt 2023-11-04 20:01:34 +01:00
parent 967949c21a
commit 5053502920
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,6 +1,11 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
# build-system
, setuptools
# tests
, pytestCheckHook , pytestCheckHook
, pypng , pypng
, pyzbar , pyzbar
@ -8,24 +13,32 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "segno"; pname = "segno";
version = "1.5.2"; version = "1.5.3";
pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "heuer"; owner = "heuer";
repo = "segno"; repo = "segno";
rev = version; rev = version;
hash = "sha256-+OEXG5OvrZ5Ft7IO/7zodf+SgiRF+frwjltrBENNnHo="; hash = "sha256-j7DUCeMoYziu19WfJu/9YiIMa2ysOPYfqW8AMcE5LaU=";
}; };
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook
pypng pypng
pyzbar pyzbar
]; ];
pythonImportsCheck = [ "segno" ]; pythonImportsCheck = [
"segno"
];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/heuer/segno/releases/tag/${version}";
description = "QR Code and Micro QR Code encoder"; description = "QR Code and Micro QR Code encoder";
homepage = "https://github.com/heuer/segno/"; homepage = "https://github.com/heuer/segno/";
license = licenses.bsd3; license = licenses.bsd3;