Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
83 lines
1.8 KiB
Nix
83 lines
1.8 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
awk,
|
|
cmake,
|
|
grep,
|
|
libXext,
|
|
libXft,
|
|
libXinerama,
|
|
libXpm,
|
|
libXrandr,
|
|
libjpeg,
|
|
libpng,
|
|
pkg-config,
|
|
runtimeShell,
|
|
sed,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "pekwm";
|
|
version = "0.3.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pekdon";
|
|
repo = "pekwm";
|
|
rev = "release-${finalAttrs.version}";
|
|
hash = "sha256-rwvecE9T+/zZg0rRUDl/DEMGH9ZmuvYj/Rz6vzmMv1I=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libXext
|
|
libXft
|
|
libXinerama
|
|
libXpm
|
|
libXrandr
|
|
libjpeg
|
|
libpng
|
|
];
|
|
|
|
outputs = [
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
cmakeFlags = [
|
|
"-DAWK=${lib.getBin awk}/bin/awk"
|
|
"-DGREP=${lib.getBin grep}/bin/grep"
|
|
"-DSED=${lib.getBin sed}/bin/sed"
|
|
"-DSH=${runtimeShell}"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://www.pekwm.se/";
|
|
description = "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.
|
|
- 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.
|
|
- Chainable Keygrabber, usability for everyone.
|
|
'';
|
|
changelog = "https://raw.githubusercontent.com/pekwm/pekwm/release-${finalAttrs.version}/NEWS.md";
|
|
license = lib.licenses.gpl2Plus;
|
|
mainProgram = "pekwm";
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|