2019-09-03 14:51:52 -07:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, gettext, perl, asciidoc
|
2015-07-25 21:08:05 -07:00
|
|
|
, libjpeg, libtiff, libungif, libpng, imlib, expat
|
2019-05-22 04:03:39 -07:00
|
|
|
, freetype, fontconfig, pkgconfig, gdk-pixbuf
|
2015-07-25 21:08:05 -07:00
|
|
|
, mkfontdir, libX11, libXft, libXext, libXinerama
|
|
|
|
, libXrandr, libICE, libSM, libXpm, libXdmcp, libxcb
|
2019-09-03 14:51:52 -07:00
|
|
|
, libpthreadstubs, pcre, libXdamage, libXcomposite, libXfixes
|
|
|
|
, libsndfile, fribidi }:
|
2009-10-28 07:06:56 -07:00
|
|
|
|
2010-01-05 14:48:10 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "icewm";
|
2019-09-03 14:51:52 -07:00
|
|
|
version = "1.6.0";
|
2007-10-23 19:01:54 -07:00
|
|
|
|
2019-09-03 14:51:52 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bbidulock";
|
|
|
|
repo = "icewm";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1l8hjmb19d7ds7z21cx207h86wkjcmmmamcnalgkwh4alvbawc2p";
|
2007-10-23 19:01:54 -07:00
|
|
|
};
|
|
|
|
|
2019-09-03 14:51:52 -07:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig perl asciidoc ];
|
2010-09-01 01:36:46 -07:00
|
|
|
|
2019-09-03 14:51:52 -07:00
|
|
|
buildInputs = [
|
|
|
|
gettext libjpeg libtiff libungif libpng imlib expat
|
|
|
|
freetype fontconfig gdk-pixbuf mkfontdir libX11
|
|
|
|
libXft libXext libXinerama libXrandr libICE libSM libXpm
|
|
|
|
libXdmcp libxcb libpthreadstubs pcre libsndfile fribidi
|
|
|
|
libXdamage libXcomposite libXfixes
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DPREFIX=$out" "-DCFGDIR=/etc/icewm" ];
|
2018-03-27 19:16:33 -07:00
|
|
|
|
2019-09-03 14:51:52 -07:00
|
|
|
# install legacy themes
|
|
|
|
postInstall = ''
|
|
|
|
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} $out/share/icewm/themes/
|
|
|
|
'';
|
2018-03-27 19:16:33 -07:00
|
|
|
|
2019-09-03 14:51:52 -07:00
|
|
|
meta = with stdenv.lib; {
|
2015-07-25 21:08:05 -07:00
|
|
|
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.
|
|
|
|
'';
|
2009-10-28 07:06:56 -07:00
|
|
|
homepage = http://www.icewm.org/;
|
2015-07-25 21:08:05 -07:00
|
|
|
license = licenses.lgpl2;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2018-03-19 14:22:25 -07:00
|
|
|
platforms = platforms.linux;
|
2007-10-23 19:01:54 -07:00
|
|
|
};
|
|
|
|
}
|