From 0eef882cf5e3fcd82e8492dab4bb140cdaad842c Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Tue, 4 Jan 2022 21:57:27 -0300 Subject: [PATCH] pekwm: 0.1.18 -> 0.2.1 --- .../window-managers/pekwm/default.nix | 53 ++++++++++++------- pkgs/top-level/all-packages.nix | 6 ++- 2 files changed, 39 insertions(+), 20 deletions(-) diff --git a/pkgs/applications/window-managers/pekwm/default.nix b/pkgs/applications/window-managers/pekwm/default.nix index faa6f18564b8..6f1a37f9379a 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; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1f949fd8ef13..0cfe37021e46 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27839,7 +27839,11 @@ with pkgs; pdfslicer = callPackage ../applications/misc/pdfslicer { }; - pekwm = callPackage ../applications/window-managers/pekwm { }; + pekwm = callPackage ../applications/window-managers/pekwm { + awk = gawk; + grep = gnugrep; + sed = gnused; + }; pencil = callPackage ../applications/graphics/pencil { };