From 3151b3d7174ef35219dd63896503990ae9623a04 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Tue, 30 Nov 2021 23:16:03 -0500 Subject: [PATCH] =?UTF-8?q?goverlay:=200.6.4=20=E2=86=92=200.7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/tools/graphics/goverlay/default.nix | 9 +++++++-- pkgs/tools/graphics/goverlay/find-xdg-data-files.patch | 10 +++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/graphics/goverlay/default.nix b/pkgs/tools/graphics/goverlay/default.nix index b8cd6df4751f..11fe1a20a195 100644 --- a/pkgs/tools/graphics/goverlay/default.nix +++ b/pkgs/tools/graphics/goverlay/default.nix @@ -20,6 +20,7 @@ , util-linux , vulkan-tools , which +, nix-update-script }: let @@ -36,13 +37,13 @@ let ''; in stdenv.mkDerivation rec { pname = "goverlay"; - version = "0.6.4"; + version = "0.7"; src = fetchFromGitHub { owner = "benjamimgois"; repo = pname; rev = version; - sha256 = "sha256-xuv7u2lLQAB0Zmu7UHGXP/sJwcb8vHDf9hFL+pF+818="; + sha256 = "sha256-LdpgEfCNbf0/sY8v8D3KiapYEd23tVy4nQ7RuGwl7jM="; }; outputs = [ "out" "man" ]; @@ -102,6 +103,10 @@ in stdenv.mkDerivation rec { "--set QT_QPA_PLATFORM xcb" ]; + passthru.updateScript = nix-update-script { + attrPath = pname; + }; + meta = with lib; { description = "An opensource project that aims to create a Graphical UI to help manage Linux overlays"; homepage = "https://github.com/benjamimgois/goverlay"; diff --git a/pkgs/tools/graphics/goverlay/find-xdg-data-files.patch b/pkgs/tools/graphics/goverlay/find-xdg-data-files.patch index 96970cd769a1..86f31a68dc70 100644 --- a/pkgs/tools/graphics/goverlay/find-xdg-data-files.patch +++ b/pkgs/tools/graphics/goverlay/find-xdg-data-files.patch @@ -1,8 +1,8 @@ diff --git a/overlayunit.pas b/overlayunit.pas -index 8c2276d..a62e60a 100644 +index 537491b..744f604 100644 --- a/overlayunit.pas +++ b/overlayunit.pas -@@ -4913,7 +4913,7 @@ begin +@@ -5011,7 +5011,7 @@ begin //Determine Mangohud dependency status //locate MangoHud and store result in tmp folder @@ -11,7 +11,7 @@ index 8c2276d..a62e60a 100644 // Assign Text file dependency_mangohud to variable mangohudVAR AssignFile(mangohudVAR, '/tmp/goverlay/dependency_mangohud'); -@@ -4922,7 +4922,7 @@ begin +@@ -5020,7 +5020,7 @@ begin CloseFile(mangohudVAR); // Read String and store value on mangohuddependencyVALUE based on result @@ -20,7 +20,7 @@ index 8c2276d..a62e60a 100644 mangohuddependencyVALUE := 1 else mangohuddependencyVALUE := 0; -@@ -4931,7 +4931,7 @@ begin +@@ -5029,7 +5029,7 @@ begin //Determine vkBasalt dependency staus //locate vkBasalt and store result in tmp folder @@ -29,7 +29,7 @@ index 8c2276d..a62e60a 100644 // Assign Text file dependency_mangohud to variable mangohudVAR AssignFile(vkbasaltVAR, '/tmp/goverlay/dependency_vkbasalt'); -@@ -4940,7 +4940,7 @@ begin +@@ -5038,7 +5038,7 @@ begin CloseFile(vkbasaltVAR); // Read String and store value on vkbasaltdependencyVALUE based on result