|
|
|
@ -26,6 +26,8 @@ |
|
|
|
|
, withKeePassKeeShareSecure ? true |
|
|
|
|
, withKeePassSSHAgent ? true |
|
|
|
|
, withKeePassNetworking ? false |
|
|
|
|
, withKeePassTouchID ? true |
|
|
|
|
, withKeePassFDOSecrets ? true |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
with stdenv.lib; |
|
|
|
@ -69,6 +71,8 @@ stdenv.mkDerivation rec { |
|
|
|
|
++ (optional withKeePassKeeShare "-DWITH_XC_KEESHARE=ON") |
|
|
|
|
++ (optional withKeePassKeeShareSecure "-DWITH_XC_KEESHARE_SECURE=ON") |
|
|
|
|
++ (optional withKeePassNetworking "-DWITH_XC_NETWORKING=ON") |
|
|
|
|
++ (optional (withKeePassTouchID && stdenv.isDarwin) "-DWITH_XC_TOUCHID=ON") |
|
|
|
|
++ (optional (withKeePassFDOSecrets && stdenv.isLinux) "-DWITH_XC_FDOSECRETS=ON") |
|
|
|
|
++ (optional withKeePassSSHAgent "-DWITH_XC_SSHAGENT=ON"); |
|
|
|
|
|
|
|
|
|
doCheck = true; |
|
|
|
|