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