Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

67 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
testers,
cmake,
pkg-config,
wrapQtAppsHook,
pcsclite,
qtscxml,
qtsvg,
qttools,
qtwayland,
qtwebsockets,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "ausweisapp";
version = "2.3.2";
src = fetchFromGitHub {
owner = "Governikus";
repo = "AusweisApp2";
rev = finalAttrs.version;
hash = "sha256-xY5V5Z6HVtkFzLzWOVRTKdms356OO0EKnG+Nymurowo=";
};
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
];
# The build scripts copy the entire translations directory from Qt
# which ends up being read-only because it's in the store.
preBuild = ''
chmod +w resources/translations
'';
buildInputs = [
pcsclite
qtscxml
qtsvg
qttools
qtwayland
qtwebsockets
];
passthru = {
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
command = "QT_QPA_PLATFORM=offscreen ${finalAttrs.meta.mainProgram} --version";
};
updateScript = gitUpdater { };
};
meta = {
description = "Official authentication app for German ID card and residence permit";
downloadPage = "https://github.com/Governikus/AusweisApp2/releases";
homepage = "https://www.ausweisapp.bund.de/open-source-software";
license = lib.licenses.eupl12;
mainProgram = "AusweisApp";
maintainers = with lib.maintainers; [ b4dm4n ];
platforms = lib.platforms.linux;
};
})