Unverified Commit 02d61f0c authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

warpinator: 1.8.10 -> 2.0.0 (#463846)

parents 3874454d e47eb48d
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
  glib,
  gitUpdater,
  bubblewrap,
  xapp-symbolic-icons,
}:

let
@@ -42,13 +43,13 @@ let
in
stdenv.mkDerivation rec {
  pname = "warpinator";
  version = "1.8.10";
  version = "2.0.0";

  src = fetchFromGitHub {
    owner = "linuxmint";
    repo = "warpinator";
    rev = version;
    hash = "sha256-OSZYjCnFIHmWCwVcWP1MLmezt5HL4Njf0WMyCRmPP58=";
    hash = "sha256-R6ccyZLXwxvhvRCDguxufzXfVq5tzrPEtBbXgdO6AoI=";
  };

  nativeBuildInputs = [
@@ -89,6 +90,12 @@ stdenv.mkDerivation rec {
      --replace-fail 'GLib.find_program_in_path("bwrap")' "True"
  '';

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

  passthru.updateScript = gitUpdater {
    ignoredVersions = "^master.*";
  };