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

49 lines
1.5 KiB
Nix
Raw Normal View History

2019-09-03 21:51:52 +00:00
{ stdenv, fetchFromGitHub, cmake, gettext, perl, asciidoc
, libjpeg, libtiff, libungif, libpng, imlib, expat
2019-05-22 11:03:39 +00:00
, freetype, fontconfig, pkgconfig, gdk-pixbuf
, mkfontdir, libX11, libXft, libXext, libXinerama
, libXrandr, libICE, libSM, libXpm, libXdmcp, libxcb
2019-09-03 21:51:52 +00:00
, libpthreadstubs, pcre, libXdamage, libXcomposite, libXfixes
, libsndfile, fribidi }:
stdenv.mkDerivation rec {
pname = "icewm";
2020-03-29 20:52:05 +00:00
version = "1.6.5";
2019-09-03 21:51:52 +00:00
src = fetchFromGitHub {
owner = "bbidulock";
repo = "icewm";
rev = version;
2020-03-29 20:52:05 +00:00
sha256 = "1glzpkpl0vl5sjn1d9jlvwd9ch16dvxvsf2n310kb0ycpfkl84vs";
};
2019-09-03 21:51:52 +00:00
nativeBuildInputs = [ cmake pkgconfig perl asciidoc ];
2019-09-03 21:51:52 +00: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" ];
2019-09-03 21:51:52 +00:00
# install legacy themes
postInstall = ''
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} $out/share/icewm/themes/
'';
2019-09-03 21:51:52 +00:00
meta = with stdenv.lib; {
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-03-29 20:52:05 +00:00
homepage = "http://www.icewm.org/";
license = licenses.lgpl2;
maintainers = [ maintainers.AndersonTorres ];
2018-03-19 21:22:25 +00:00
platforms = platforms.linux;
};
}