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
|
2020-06-11 14:50:38 +01:00
|
|
|
, freetype, fontconfig, pkgconfig, gdk-pixbuf, gdk-pixbuf-xlib, glib
|
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
|
|
|
|
2020-04-06 23:53:55 +01:00
|
|
|
with stdenv.lib;
|
2010-01-05 22:48:10 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "icewm";
|
2020-11-13 16:53:31 +00:00
|
|
|
version = "1.9.2";
|
2007-10-24 03:01:54 +01:00
|
|
|
|
2019-09-03 22:51:52 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bbidulock";
|
2020-10-10 05:59:09 +01:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-11-13 16:53:31 +00:00
|
|
|
sha256 = "16a9ikknjmhrrlc5r6z2ilkjj5vzyfk4ypwab39mg7vcmd7jzc41";
|
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 = [
|
2020-10-10 05:59:09 +01: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 ];
|
2019-09-03 22:51:52 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
2020-04-06 23:53:55 +01:00
|
|
|
meta = {
|
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.
|
|
|
|
'';
|
2020-04-06 23:53:55 +01:00
|
|
|
homepage = "https://www.ice-wm.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
|
|
|
};
|
|
|
|
}
|