about summary refs log tree commit diff
path: root/pkgs/applications/terminal-emulators
diff options
context:
space:
mode:
authorYorick van Pelt <yorick@yorickvanpelt.nl>2022-10-09 11:40:53 +0200
committerYorick van Pelt <yorick@yorickvanpelt.nl>2022-10-09 11:40:53 +0200
commit5819054b67906123fbf2dfceb1d2b8c7c2189da8 (patch)
tree5ec29fb6301735f4bf50b4b7e660954534f852f2 /pkgs/applications/terminal-emulators
parentaa007170d5f6a966a2b33034672f7c66c627aba0 (diff)
guake: 3.6.3 -> 3.9.0
Fixes CVE-2021-23556
Diffstat (limited to 'pkgs/applications/terminal-emulators')
-rw-r--r--pkgs/applications/terminal-emulators/guake/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/applications/terminal-emulators/guake/default.nix b/pkgs/applications/terminal-emulators/guake/default.nix
index cc2dc5c55d617..84674881a73ab 100644
--- a/pkgs/applications/terminal-emulators/guake/default.nix
+++ b/pkgs/applications/terminal-emulators/guake/default.nix
@@ -15,15 +15,15 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "guake";
-  version = "3.6.3";
+  version = "3.9.0";
 
   format = "other";
 
   src = fetchFromGitHub {
     owner = "Guake";
     repo = "guake";
-    rev = version;
-    sha256 = "13ipnmqcyixpa6qv83m0f91za4kar14s5jpib68b32z65x1h0j3b";
+    rev = "refs/tags/${version}";
+    sha256 = "sha256-BW13fBH26UqMPMjV8JC4QkpgzyoPfCpAfSkJD68uOZU=";
   };
 
   # Strict deps breaks guake
@@ -55,12 +55,15 @@ python3.pkgs.buildPythonApplication rec {
     pycairo
     pygobject3
     setuptools
+    setuptools-scm
+    pyyaml
   ];
 
   PBR_VERSION = version; # pbr needs either .git directory, sdist, or env var
+  SETUPTOOLS_SCM_PRETEND_VERSION = version;
 
   makeFlags = [
-    "prefix=${placeholder "out"}"
+    "PREFIX=${placeholder "out"}"
   ];
 
   preFixup = ''