libcotp: 1.2.4 -> 1.2.6

This commit is contained in:
Alexander Shpilkin 2022-05-19 16:01:19 +03:00 committed by Artturin
parent 89f5bb4d18
commit 9b66b717b7

View file

@ -14,13 +14,6 @@ stdenv.mkDerivation rec {
buildInputs = [ libbaseencode libgcrypt ];
nativeBuildInputs = [ cmake pkg-config ];
# https://github.com/paolostivanin/libcotp/issues/32
postPatch = ''
substituteInPlace cotp.pc.in \
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \
--replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@
'';
meta = with lib; {
description = "C library that generates TOTP and HOTP";
homepage = "https://github.com/paolostivanin/libcotp";