nixpkgs/pkgs/applications/window-managers/icewm/default.nix

50 lines
1.6 KiB
Nix
Raw Normal View History

2019-09-03 14:51:52 -07:00
{ stdenv, fetchFromGitHub, cmake, gettext, perl, asciidoc
, libjpeg, libtiff, libungif, libpng, imlib, expat
, freetype, fontconfig, pkgconfig, gdk-pixbuf, gdk-pixbuf-xlib, glib
, 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 }:
2020-04-06 15:53:55 -07:00
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "icewm";
2020-09-23 04:06:00 -07:00
version = "1.8.1";
2019-09-03 14:51:52 -07:00
src = fetchFromGitHub {
owner = "bbidulock";
repo = "icewm";
rev = version;
2020-09-23 04:06:00 -07:00
sha256 = "0qd3cakhhjc7h6xr9q3ia9f8wln6q23dlqvw19khia26c0dgyd7b";
};
2019-09-03 14:51:52 -07:00
nativeBuildInputs = [ cmake pkgconfig perl asciidoc ];
2019-09-03 14:51:52 -07:00
buildInputs = [
gettext libjpeg libtiff libungif libpng imlib expat
freetype fontconfig gdk-pixbuf gdk-pixbuf-xlib glib mkfontdir libX11
2019-09-03 14:51:52 -07:00
libXft libXext libXinerama libXrandr libICE libSM libXpm
libXdmcp libxcb libpthreadstubs pcre libsndfile fribidi
libXdamage libXcomposite libXfixes
];
cmakeFlags = [ "-DPREFIX=$out" "-DCFGDIR=/etc/icewm" ];
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/
'';
2020-04-06 15:53:55 -07:00
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.
'';
2020-04-06 15:53:55 -07:00
homepage = "https://www.ice-wm.org/";
license = licenses.lgpl2;
maintainers = [ maintainers.AndersonTorres ];
2018-03-19 14:22:25 -07:00
platforms = platforms.linux;
};
}