nixpkgs/pkgs/by-name/pe/pekwm/package.nix

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

79 lines
1.8 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
2021-01-05 02:34:57 +00:00
, cmake
, grep
2021-01-05 02:34:57 +00:00
, libXext
, libXft
, libXinerama
, libXpm
, libXrandr
, libjpeg
, libpng
2022-01-05 00:57:27 +00:00
, pkg-config
, runtimeShell
, sed
2021-01-05 02:34:57 +00:00
}:
2016-07-03 20:09:12 +00:00
2023-04-16 20:49:04 +00:00
stdenv.mkDerivation (finalAttrs: {
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";
2023-04-16 20:49:04 +00:00
rev = "release-${finalAttrs.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
];
2021-01-05 02:34:57 +00:00
buildInputs = [
libXext
libXft
libXinerama
libXpm
libXrandr
libjpeg
libpng
];
2016-07-03 20:09:12 +00:00
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 = {
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.
'';
2023-04-16 20:49:04 +00:00
changelog = "https://raw.githubusercontent.com/pekwm/pekwm/release-${finalAttrs.version}/NEWS.md";
license = lib.licenses.gpl2Plus;
mainProgram = "pekwm";
maintainers = [ lib.maintainers.AndersonTorres ];
platforms = lib.platforms.linux;
2016-07-03 20:09:12 +00:00
};
})