Unverified Commit d8bd8e92 authored by Matthias Beyer's avatar Matthias Beyer Committed by GitHub
Browse files

ausweisapp: 2.4.0 -> 2.4.1 (#487384)

parents 2048e695 7e12268b
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
@@ -11,15 +11,21 @@
}:
stdenv.mkDerivation (finalAttrs: {
  pname = "ausweisapp";
  version = "2.4.0";
  version = "2.4.1";

  src = fetchFromGitHub {
    owner = "Governikus";
    repo = "AusweisApp2";
    rev = finalAttrs.version;
    hash = "sha256-vMvCnYSj7y6ETGoudV1YJwI2bibXePSkR4nQ4T5HqTo=";
    hash = "sha256-cLKF5QYDPngvN6+3p7B8YO/MYvDfD1fbnyEMZPmjj8w=";
  };

  postPatch = ''
    # avoid runtime QML cache to fix GUI loading issues
    substituteInPlace src/ui/qml/CMakeLists.txt src/ui/qml/modules/CMakeLists.txt \
      --replace-fail NO_CACHEGEN ""
  '';

  nativeBuildInputs = [
    cmake
    pkg-config
@@ -41,6 +47,8 @@ stdenv.mkDerivation (finalAttrs: {
    qt6.qtwebsockets
  ];

  env.LANG = "C.UTF-8";

  passthru = {
    tests.version = testers.testVersion {
      package = finalAttrs.finalPackage;