nixpkgs/pkgs/applications/window-managers/pekwm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

74 lines
1.7 KiB
Nix
Raw Normal View History

2022-01-05 00:57:27 +00:00
{ lib
, stdenv
2021-01-05 02:34:57 +00:00
, fetchFromGitHub
2022-01-05 00:57:27 +00:00
, awk
, grep
, sed
, runtimeShell
2021-01-05 02:34:57 +00:00
, cmake
, libXext
, libXft
, libXinerama
, libXpm
, libXrandr
, libjpeg
, libpng
2022-01-05 00:57:27 +00:00
, pkg-config
2021-01-05 02:34:57 +00:00
}:
2016-07-03 20:09:12 +00:00
stdenv.mkDerivation (self: {
pname = "pekwm";
2023-01-29 06:15:10 +00:00
version = "0.3.0";
2016-07-03 20:09:12 +00:00
2021-01-05 02:34:57 +00:00
src = fetchFromGitHub {
owner = "pekdon";
repo = "pekwm";
rev = "release-${self.version}";
2023-01-29 06:15:10 +00:00
hash= "sha256-hA+TBAs9NMcc5DKIkzyUHWck3Xht+yeCO54xJ6oXXuQ=";
2016-07-03 20:09:12 +00:00
};
2022-01-05 00:57:27 +00:00
nativeBuildInputs = [
cmake
pkg-config
];
cmakeFlags = [
"-DAWK=${awk}/bin/awk"
"-DGREP=${grep}/bin/grep"
"-DSED=${sed}/bin/sed"
"-DSH=${runtimeShell}"
];
2021-01-05 02:34:57 +00:00
buildInputs = [
libXext
libXft
libXinerama
libXpm
libXrandr
libjpeg
libpng
];
2016-07-03 20:09:12 +00:00
meta = {
2022-01-05 00:57:27 +00:00
homepage = "https://www.pekwm.se/";
2016-07-03 20:09:12 +00:00
description = "A lightweight window manager";
longDescription = ''
2022-01-05 00:57:27 +00:00
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.
2016-07-03 20:09:12 +00:00
- Very configurable, we all work and think in different ways.
2022-01-05 00:57:27 +00:00
- Automatic properties, for all the lazy people, make things appear as
they should when starting applications.
2016-07-03 20:09:12 +00:00
- Chainable Keygrabber, usability for everyone.
'';
changelog = "https://raw.githubusercontent.com/pekwm/pekwm/release-${self.version}/NEWS.md";
license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.AndersonTorres ];
platforms = lib.platforms.linux;
2016-07-03 20:09:12 +00:00
};
})