Merge pull request #227362 from austinbutler/authenticator-430

authenticator: 4.2.0 -> 4.3.0
This commit is contained in:
Weijia Wang 2023-04-21 22:11:46 +03:00 committed by GitHub
commit 40e4b45adc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,20 +22,20 @@
stdenv.mkDerivation rec {
pname = "authenticator";
version = "4.2.0";
version = "4.3.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "Authenticator";
rev = version;
hash = "sha256-Nv4QE6gyh42Na/stAgTIapV8GQuUHCdL6IEO//J8dV8=";
hash = "sha256-WR5gXGry4wti2M4D/IQvwI7OSak1p+O+XAhr01hdv2Q=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-IS9jdr19VvgX6M1OqM6rjE8veujZcwBuOTuDm5mDXso=";
hash = "sha256-ZVDKTJojblVCbbdtnqcL+UVW1vkmu99AXCbgyCGNHCM=";
};
nativeBuildInputs = [
@ -67,11 +67,6 @@ stdenv.mkDerivation rec {
zbar
];
# https://gitlab.gnome.org/World/Authenticator/-/issues/362
preBuild = ''
export BINDGEN_EXTRA_CLANG_ARGS="$BINDGEN_EXTRA_CLANG_ARGS -DPW_ENABLE_DEPRECATED"
'';
meta = {
description = "Two-factor authentication code generator for GNOME";
homepage = "https://gitlab.gnome.org/World/Authenticator";