2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, gettext, perl, asciidoc
|
|
|
|
, libjpeg, libtiff, libungif, libpng, imlib, expat
|
2020-06-18 07:06:33 +00:00
|
|
|
, freetype, fontconfig, pkgconfig, gdk-pixbuf, gdk-pixbuf-xlib, glib
|
2020-04-24 23:36:52 +00:00
|
|
|
, mkfontdir, libX11, libXft, libXext, libXinerama
|
|
|
|
, libXrandr, libICE, libSM, libXpm, libXdmcp, libxcb
|
|
|
|
, libpthreadstubs, pcre, libXdamage, libXcomposite, libXfixes
|
|
|
|
, libsndfile, fribidi }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "icewm";
|
2020-11-06 00:33:48 +00:00
|
|
|
version = "1.9.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bbidulock";
|
2020-10-16 20:44:37 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-11-06 00:33:48 +00:00
|
|
|
sha256 = "08prc9ip96bxbmkkab0ymma9yisgs5yzymg4gjcvr945bj4q7crb";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig perl asciidoc ];
|
|
|
|
|
|
|
|
buildInputs = [
|
2020-10-16 20:44:37 +00:00
|
|
|
gettext libjpeg libtiff libungif libpng imlib expat freetype fontconfig
|
|
|
|
gdk-pixbuf gdk-pixbuf-xlib glib mkfontdir libX11 libXft libXext libXinerama
|
|
|
|
libXrandr libICE libSM libXpm libXdmcp libxcb libpthreadstubs pcre
|
|
|
|
libsndfile fribidi libXdamage libXcomposite libXfixes ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
cmakeFlags = [ "-DPREFIX=$out" "-DCFGDIR=/etc/icewm" ];
|
|
|
|
|
|
|
|
# install legacy themes
|
|
|
|
postInstall = ''
|
|
|
|
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} $out/share/icewm/themes/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple, lightweight X window manager";
|
|
|
|
longDescription = ''
|
|
|
|
IceWM is a window manager for the X Window System. The goal of
|
|
|
|
IceWM is speed, simplicity, and not getting in the user's way.
|
|
|
|
'';
|
|
|
|
homepage = "https://www.ice-wm.org/";
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|