Unverified Commit 31dff340 authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

xviewer: 3.4.12 -> 3.4.13 (#464175)

parents 167bff04 0ffe9d75
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -24,17 +24,18 @@
  cinnamon-desktop,
  yelp-tools,
  xapp,
  xapp-symbolic-icons,
}:

stdenv.mkDerivation rec {
  pname = "xviewer";
  version = "3.4.12";
  version = "3.4.13";

  src = fetchFromGitHub {
    owner = "linuxmint";
    repo = "xviewer";
    rev = version;
    hash = "sha256-WvA8T6r9DtlpOZLMEOILO6/0Am3bhCLM8FnwXvALjS8=";
    hash = "sha256-g7ifQ+2FeZzpWfKgtFrWj0YDOB0++s6KGffHhvqGNQE=";
  };

  nativeBuildInputs = [
@@ -77,6 +78,12 @@ stdenv.mkDerivation rec {
      --replace-fail "g_irepository_require" "gi_repository_require"
  '';

  preFixup = ''
    gappsWrapperArgs+=(
      --prefix XDG_DATA_DIRS : "${lib.makeSearchPath "share" [ xapp-symbolic-icons ]}"
    )
  '';

  meta = with lib; {
    description = "Generic image viewer from Linux Mint";
    mainProgram = "xviewer";