summary refs log tree commit diff
path: root/pkgs/applications/window-managers/pekwm
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-01-04 21:57:27 -0300
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-01-05 14:50:02 -0800
commit0eef882cf5e3fcd82e8492dab4bb140cdaad842c (patch)
tree997578ac68c0537fed67b6e3d4504a8663e8f8a2 /pkgs/applications/window-managers/pekwm
parent98f31f139aed9caa6d5aa0a3bb0a11962f1f8329 (diff)
downloadnixpkgs-0eef882cf5e3fcd82e8492dab4bb140cdaad842c.tar
nixpkgs-0eef882cf5e3fcd82e8492dab4bb140cdaad842c.tar.gz
nixpkgs-0eef882cf5e3fcd82e8492dab4bb140cdaad842c.tar.bz2
nixpkgs-0eef882cf5e3fcd82e8492dab4bb140cdaad842c.tar.lz
nixpkgs-0eef882cf5e3fcd82e8492dab4bb140cdaad842c.tar.xz
nixpkgs-0eef882cf5e3fcd82e8492dab4bb140cdaad842c.tar.zst
nixpkgs-0eef882cf5e3fcd82e8492dab4bb140cdaad842c.zip
pekwm: 0.1.18 -> 0.2.1
Diffstat (limited to 'pkgs/applications/window-managers/pekwm')
-rw-r--r--pkgs/applications/window-managers/pekwm/default.nix53
1 files changed, 34 insertions, 19 deletions
diff --git a/pkgs/applications/window-managers/pekwm/default.nix b/pkgs/applications/window-managers/pekwm/default.nix
index faa6f18564b..6f1a37f9379 100644
--- a/pkgs/applications/window-managers/pekwm/default.nix
+++ b/pkgs/applications/window-managers/pekwm/default.nix
@@ -1,6 +1,10 @@
-{ lib, stdenv
+{ lib
+, stdenv
 , fetchFromGitHub
-, pkg-config
+, awk
+, grep
+, sed
+, runtimeShell
 , cmake
 , libXext
 , libXft
@@ -9,20 +13,32 @@
 , libXrandr
 , libjpeg
 , libpng
+, pkg-config
 }:
 
 stdenv.mkDerivation rec {
   pname = "pekwm";
-  version = "0.1.18";
+  version = "0.2.1";
 
   src = fetchFromGitHub {
     owner = "pekdon";
     repo = "pekwm";
     rev = "release-${version}";
-    sha256 = "sha256-R1XDEk097ycMI3R4SjUEJv37CiMaDCQMvg7N8haN0MM=";
+    hash= "sha256-voHPstdcd4CHnAdD3PMxca0A6MyMYJi8Ik0UlFB0vG0=";
   };
 
-  nativeBuildInputs = [ pkg-config cmake ];
+  nativeBuildInputs = [
+    cmake
+    pkg-config
+  ];
+
+  cmakeFlags = [
+    "-DAWK=${awk}/bin/awk"
+    "-DGREP=${grep}/bin/grep"
+    "-DSED=${sed}/bin/sed"
+    "-DSH=${runtimeShell}"
+  ];
+
   buildInputs = [
     libXext
     libXft
@@ -34,24 +50,23 @@ stdenv.mkDerivation rec {
   ];
 
   meta = with lib; {
+    homepage = "https://www.pekwm.se/";
     description = "A lightweight window manager";
     longDescription = ''
-      pekwm is a window manager that once upon a time was based on the
-      aewm++ window manager, but it has evolved enough that it no
-      longer resembles aewm++ at all. It has a much expanded
-      feature-set, including window grouping (similar to ion, pwm, or
-      fluxbox), autoproperties, xinerama, keygrabber that supports
-      keychains, and much more.
-      - Lightweight and Unobtrusive, a window manager shouldn't be
-        noticed.
+      pekwm is a window manager that once upon a time was based on the aewm++
+      window manager, but it has evolved enough that it no longer resembles
+      aewm++ at all. It has a much expanded feature-set, including window
+      grouping (similar to ion, pwm, or fluxbox), autoproperties, xinerama,
+      keygrabber that supports keychains, and much more.
+
+      - Lightweight and Unobtrusive, a window manager shouldn't be noticed.
       - Very configurable, we all work and think in different ways.
-      - Automatic properties, for all the lazy people, make things
-        appear as they should when starting applications.
+      - Automatic properties, for all the lazy people, make things appear as
+        they should when starting applications.
       - Chainable Keygrabber, usability for everyone.
     '';
-      homepage = "https://www.pekwm.se/";
-      license = licenses.gpl2Plus;
-      maintainers = [ maintainers.AndersonTorres ];
-      platforms = platforms.linux;
+    license = licenses.gpl2Plus;
+    maintainers = [ maintainers.AndersonTorres ];
+    platforms = platforms.linux;
   };
 }