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