about summary refs log tree commit diff
path: root/pkgs/tools/graphics/goverlay/default.nix
diff options
context:
space:
mode:
authorKira Bruneau <kira.bruneau@pm.me>2021-09-07 14:31:08 -0400
committerKira Bruneau <kira.bruneau@pm.me>2021-09-13 18:52:15 -0400
commit7489323bceddf3e0e1f332d5d9fbfe09b69873e9 (patch)
treea5a85907cc3051ed715b4577ad5670de61a8687b /pkgs/tools/graphics/goverlay/default.nix
parentdf7113c0727881519248d4c7d080324e0ee3327b (diff)
goverlay: 0.6 → 0.6.2
Diffstat (limited to 'pkgs/tools/graphics/goverlay/default.nix')
-rw-r--r--pkgs/tools/graphics/goverlay/default.nix20
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/tools/graphics/goverlay/default.nix b/pkgs/tools/graphics/goverlay/default.nix
index 2296743694ee2..cb1437e5d1072 100644
--- a/pkgs/tools/graphics/goverlay/default.nix
+++ b/pkgs/tools/graphics/goverlay/default.nix
@@ -5,14 +5,15 @@
 , fetchFromGitHub
 , fpc
 , lazarus-qt
-, qt5
-, libX11
+, wrapQtAppsHook
+, libGL
+, libGLU
 , libqt5pas
+, libX11
 , coreutils
 , git
 , gnugrep
 , libnotify
-, mesa-demos
 , polkit
 , procps
 , systemd
@@ -34,13 +35,13 @@ let
   '';
 in stdenv.mkDerivation rec {
   pname = "goverlay";
-  version = "0.6";
+  version = "0.6.2";
 
   src = fetchFromGitHub {
     owner = "benjamimgois";
     repo = pname;
     rev = version;
-    hash = "sha256-E4SMUL9rpDSSdprX4fPyGCHCowdQavjhGIhV3r4jeiw=";
+    hash = "sha256-nV8pcFBxrOlj4ebfLZF2gQwKt4bt+wtD72sXepu5kRI=";
   };
 
   outputs = [ "out" "man" ];
@@ -61,15 +62,17 @@ in stdenv.mkDerivation rec {
   nativeBuildInputs = [
     fpc
     lazarus-qt
-    qt5.wrapQtAppsHook
+    wrapQtAppsHook
   ];
 
   buildInputs = [
-    libX11
+    libGL
+    libGLU
     libqt5pas
+    libX11
   ];
 
-  NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
+  NIX_LDFLAGS = "-lGLU -rpath ${lib.makeLibraryPath buildInputs}";
 
   buildPhase = ''
     runHook preBuild
@@ -85,7 +88,6 @@ in stdenv.mkDerivation rec {
       git
       gnugrep
       libnotify
-      mesa-demos
       polkit
       procps
       systemd