otpclient: 4.2.0 -> 5.1.1

Diff: https://github.com/paolostivanin/OTPClient/compare/v4.2.0...v5.1.1
This commit is contained in:
2kybe3
2026-06-30 22:41:39 +02:00
parent fae40fa193
commit aa0effe587
+12 -10
View File
@@ -4,30 +4,32 @@
fetchFromGitHub,
cmake,
pkg-config,
gtk3,
gtk4,
wrapGAppsHook3,
jansson,
libgcrypt,
libzip,
libadwaita,
libpng,
libcotp,
protobuf,
glib,
protobufc,
qrencode,
libsecret,
libuuid,
zbar,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "otpclient";
version = "4.2.0";
version = "5.1.1";
strictDeps = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "paolostivanin";
repo = "otpclient";
tag = "v${finalAttrs.version}";
hash = "sha256-KGtASCc07NGdjvQ8tIrnQIaEeld9H6z3odytKd8c5aQ=";
hash = "sha256-sKXxujzHNQUZj9XloQLsZR12ZhyiY+512FOqgkTrxyQ=";
};
nativeBuildInputs = [
@@ -37,15 +39,15 @@ stdenv.mkDerivation (finalAttrs: {
];
buildInputs = [
gtk3
gtk4
glib
libadwaita
jansson
libcotp
libgcrypt
libpng
libsecret
libuuid
libzip
protobuf
protobufc
qrencode
zbar
@@ -54,7 +56,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
description = "Highly secure and easy to use OTP client written in C/GTK that supports both TOTP and HOTP";
homepage = "https://github.com/paolostivanin/OTPClient";
changelog = "https://github.com/paolostivanin/OTPClient/releases/tag/v${finalAttrs.version}";
changelog = "https://github.com/paolostivanin/OTPClient/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ alexbakker ];
platforms = lib.platforms.linux;