mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
34 lines
1.0 KiB
Nix
34 lines
1.0 KiB
Nix
{ lib, mkDerivation, fetchFromGitHub, cmake, pkg-config, pcsclite, qtsvg, qttools, qtwebsockets
|
|
, qtquickcontrols2, qtgraphicaleffects }:
|
|
|
|
mkDerivation rec {
|
|
pname = "AusweisApp2";
|
|
version = "1.26.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Governikus";
|
|
repo = "AusweisApp2";
|
|
rev = version;
|
|
hash = "sha256-i9hfmMp0pEqtIeKc1mcyINXetzD/33aM0utL8nomVcg=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
# 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 = [ qtsvg qttools qtwebsockets qtquickcontrols2 qtgraphicaleffects pcsclite ];
|
|
|
|
meta = with lib; {
|
|
description = "Authentication software for the German ID card";
|
|
downloadPage = "https://github.com/Governikus/AusweisApp2/releases";
|
|
homepage = "https://www.ausweisapp.bund.de/ausweisapp2/";
|
|
license = licenses.eupl12;
|
|
maintainers = with maintainers; [ b4dm4n ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|