From d4497335f08fb4503c6656fdc08dfa6b2c3b12c0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 31 May 2023 08:56:23 +0200 Subject: [PATCH] otpclient: equalize --- pkgs/applications/misc/otpclient/default.nix | 24 +++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/otpclient/default.nix b/pkgs/applications/misc/otpclient/default.nix index d6780af4c977..4821efa9223b 100644 --- a/pkgs/applications/misc/otpclient/default.nix +++ b/pkgs/applications/misc/otpclient/default.nix @@ -26,11 +26,29 @@ stdenv.mkDerivation rec { owner = "paolostivanin"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-TklVOUkdhWDG9GqHl0Sz9fah+Xp/M8xgSuDB1q4mljM="; + hash = "sha256-TklVOUkdhWDG9GqHl0Sz9fah+Xp/M8xgSuDB1q4mljM="; }; - buildInputs = [ gtk3 jansson libgcrypt libzip libpng libcotp zbar protobuf protobufc libsecret qrencode libuuid ]; - nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ]; + nativeBuildInputs = [ + cmake + pkg-config + wrapGAppsHook + ]; + + buildInputs = [ + gtk3 + jansson + libcotp + libgcrypt + libpng + libsecret + libuuid + libzip + protobuf + protobufc + qrencode + zbar + ]; meta = with lib; { description = "Highly secure and easy to use OTP client written in C/GTK that supports both TOTP and HOTP";