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

118 lines
2.4 KiB
Nix
Raw Normal View History

2021-03-04 02:25:18 +00:00
{ lib
, stdenv
2021-01-05 03:54:04 +00:00
, fetchFromGitHub
, cmake
, pkg-config
, asciidoc
, expat
, fontconfig
, freetype
, fribidi
, gdk-pixbuf
, gdk-pixbuf-xlib
, gettext
, glib
, imlib2
, libICE
, libSM
, libX11
, libXcomposite
, libXdamage
, libXdmcp
, libXext
, libXfixes
, libXft
, libXinerama
, libXpm
, libXrandr
, libjpeg
, libpng
, libpthreadstubs
, libsndfile
, libtiff
, giflib
2021-01-05 03:54:04 +00:00
, libxcb
, mkfontdir
, pcre
2021-03-04 02:25:18 +00:00
, perl
2021-01-05 03:54:04 +00:00
}:
stdenv.mkDerivation rec {
pname = "icewm";
2021-05-11 12:39:22 +00:00
version = "2.3.4";
2019-09-03 21:51:52 +00:00
src = fetchFromGitHub {
2021-05-11 12:39:22 +00:00
owner = "ice-wm";
2020-10-10 04:59:09 +00:00
repo = pname;
rev = version;
2021-05-11 12:39:22 +00:00
hash = "sha256-UyLefj0eY/m3Of51NdhMNMq3z+kaLK28zDe63hbDK5A=";
};
2021-03-04 02:25:18 +00:00
nativeBuildInputs = [
asciidoc
cmake
perl
pkg-config
];
2019-09-03 21:51:52 +00:00
buildInputs = [
2021-01-05 03:54:04 +00:00
expat
fontconfig
freetype
fribidi
gdk-pixbuf
gdk-pixbuf-xlib
gettext
glib
imlib2
libICE
libSM
libX11
libXcomposite
libXdamage
libXdmcp
libXext
libXfixes
libXft
libXinerama
libXpm
libXrandr
libjpeg
libpng
libpthreadstubs
libsndfile
libtiff
giflib
2021-01-05 03:54:04 +00:00
libxcb
mkfontdir
pcre
];
2019-09-03 21:51:52 +00:00
cmakeFlags = [ "-DPREFIX=$out" "-DCFGDIR=/etc/icewm" ];
2019-09-03 21:51:52 +00:00
# install legacy themes
postInstall = ''
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} $out/share/icewm/themes/
'';
meta = with lib; {
2021-03-04 02:25:18 +00:00
homepage = "https://www.ice-wm.org/";
description = "A simple, lightweight X window manager";
longDescription = ''
2021-01-05 03:54:04 +00:00
IceWM is a window manager for the X Window System. The goal of IceWM is
speed, simplicity, and not getting in the users way. It comes with a
taskbar with pager, global and per-window keybindings and a dynamic menu
system. Application windows can be managed by keyboard and mouse. Windows
can be iconified to the taskbar, to the tray, to the desktop or be made
hidden. They are controllable by a quick switch window (Alt+Tab) and in a
window list. A handful of configurable focus models are
menu-selectable. Setups with multiple monitors are supported by RandR and
Xinerama. IceWM is very configurable, themeable and well documented. It
includes an optional external background wallpaper manager with
transparency support, a simple session manager and a system tray.
'';
2021-03-04 02:25:18 +00:00
license = licenses.lgpl2Only;
maintainers = [ maintainers.AndersonTorres ];
2018-03-19 21:22:25 +00:00
platforms = platforms.linux;
};
}