AusweisApp2: 1.26.7 -> 2.0.1

authored by

Fabian Möller and committed by
Yaya
cd631134 6ed37e8e

+67 -37
+3 -3
nixos/modules/programs/ausweisapp.nix
··· 7 7 in 8 8 { 9 9 options.programs.ausweisapp = { 10 - enable = mkEnableOption (lib.mdDoc "AusweisApp2"); 10 + enable = mkEnableOption (lib.mdDoc "AusweisApp"); 11 11 12 12 openFirewall = mkOption { 13 13 description = lib.mdDoc '' 14 - Whether to open the required firewall ports for the Smartphone as Card Reader (SaC) functionality of AusweisApp2. 14 + Whether to open the required firewall ports for the Smartphone as Card Reader (SaC) functionality of AusweisApp. 15 15 ''; 16 16 default = false; 17 17 type = lib.types.bool; ··· 19 19 }; 20 20 21 21 config = mkIf cfg.enable { 22 - environment.systemPackages = with pkgs; [ AusweisApp2 ]; 22 + environment.systemPackages = with pkgs; [ ausweisapp ]; 23 23 networking.firewall.allowedUDPPorts = lib.optionals cfg.openFirewall [ 24727 ]; 24 24 }; 25 25 }
+62
pkgs/applications/misc/ausweisapp/default.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + testers, 6 + cmake, 7 + pkg-config, 8 + wrapQtAppsHook, 9 + pcsclite, 10 + qtscxml, 11 + qtsvg, 12 + qttools, 13 + qtwayland, 14 + qtwebsockets, 15 + }: 16 + stdenv.mkDerivation (finalAttrs: { 17 + pname = "ausweisapp"; 18 + version = "2.0.1"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "Governikus"; 22 + repo = "AusweisApp2"; 23 + rev = finalAttrs.version; 24 + hash = "sha256-RUjc4KqyKZXBW+CMaRhKsbwVzmWw6/QHNK+RpBd7Gxw="; 25 + }; 26 + 27 + nativeBuildInputs = [ 28 + cmake 29 + pkg-config 30 + wrapQtAppsHook 31 + ]; 32 + 33 + # The build scripts copy the entire translations directory from Qt 34 + # which ends up being read-only because it's in the store. 35 + preBuild = '' 36 + chmod +w resources/translations 37 + ''; 38 + 39 + buildInputs = [ 40 + pcsclite 41 + qtscxml 42 + qtsvg 43 + qttools 44 + qtwayland 45 + qtwebsockets 46 + ]; 47 + 48 + passthru.tests.version = testers.testVersion { 49 + package = finalAttrs.finalPackage; 50 + command = "QT_QPA_PLATFORM=offscreen ${finalAttrs.meta.mainProgram} --version"; 51 + }; 52 + 53 + meta = { 54 + description = "Official authentication app for German ID card and residence permit"; 55 + downloadPage = "https://github.com/Governikus/AusweisApp2/releases"; 56 + homepage = "https://www.ausweisapp.bund.de/open-source-software"; 57 + license = lib.licenses.eupl12; 58 + mainProgram = "AusweisApp"; 59 + maintainers = with lib.maintainers; [b4dm4n]; 60 + platforms = lib.platforms.linux; 61 + }; 62 + })
-33
pkgs/applications/misc/ausweisapp2/default.nix
··· 1 - { lib, mkDerivation, fetchFromGitHub, cmake, pkg-config, pcsclite, qtsvg, qttools, qtwebsockets 2 - , qtquickcontrols2, qtgraphicaleffects }: 3 - 4 - mkDerivation rec { 5 - pname = "AusweisApp2"; 6 - version = "1.26.7"; 7 - 8 - src = fetchFromGitHub { 9 - owner = "Governikus"; 10 - repo = "AusweisApp2"; 11 - rev = version; 12 - hash = "sha256-i9hfmMp0pEqtIeKc1mcyINXetzD/33aM0utL8nomVcg="; 13 - }; 14 - 15 - nativeBuildInputs = [ cmake pkg-config ]; 16 - 17 - # The build scripts copy the entire translations directory from Qt 18 - # which ends up being read-only because it's in the store. 19 - preBuild = '' 20 - chmod +w resources/translations 21 - ''; 22 - 23 - buildInputs = [ qtsvg qttools qtwebsockets qtquickcontrols2 qtgraphicaleffects pcsclite ]; 24 - 25 - meta = with lib; { 26 - description = "Authentication software for the German ID card"; 27 - downloadPage = "https://github.com/Governikus/AusweisApp2/releases"; 28 - homepage = "https://www.ausweisapp.bund.de/ausweisapp2/"; 29 - license = licenses.eupl12; 30 - maintainers = with maintainers; [ b4dm4n ]; 31 - platforms = platforms.linux; 32 - }; 33 - }
+1
pkgs/top-level/aliases.nix
··· 55 55 56 56 ### A ### 57 57 58 + AusweisApp2 = ausweisapp; # Added 2023-11-08 58 59 a4term = a4; # Added 2023-10-06 59 60 aether = throw "aether has been removed from nixpkgs; upstream unmaintained, security issues"; # Added 2023-10-03 60 61 airfield = throw "airfield has been removed due to being unmaintained"; # Added 2023-05-19
+1 -1
pkgs/top-level/all-packages.nix
··· 30550 30550 30551 30551 autopanosiftc = callPackage ../applications/graphics/autopanosiftc { }; 30552 30552 30553 - AusweisApp2 = libsForQt5.callPackage ../applications/misc/ausweisapp2 { }; 30553 + ausweisapp = qt6Packages.callPackage ../applications/misc/ausweisapp { }; 30554 30554 30555 30555 avidemux = libsForQt5.callPackage ../applications/video/avidemux { }; 30556 30556