3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/window-managers/icewm/default.nix

45 lines
1.4 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, gettext
, libjpeg, libtiff, libungif, libpng, imlib, expat
, freetype, fontconfig, pkgconfig, gdk_pixbuf
, mkfontdir, libX11, libXft, libXext, libXinerama
, libXrandr, libICE, libSM, libXpm, libXdmcp, libxcb
2017-08-01 18:30:45 +01:00
, libpthreadstubs, pcre }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "icewm-${version}";
2017-08-01 18:30:45 +01:00
version = "1.4.2";
buildInputs =
[ cmake gettext libjpeg libtiff libungif libpng imlib expat
freetype fontconfig pkgconfig gdk_pixbuf mkfontdir libX11
libXft libXext libXinerama libXrandr libICE libSM libXpm
2017-08-01 18:30:45 +01:00
libXdmcp libxcb libpthreadstubs pcre ];
src = fetchurl {
url = "https://github.com/bbidulock/icewm/archive/${version}.tar.gz";
2017-08-01 18:30:45 +01:00
sha256 = "05chzjjnb4n4j05ld2gmhhr07c887qb4j9inwg9izhvml51af1bw";
};
preConfigure = ''
2017-03-16 16:41:44 +00:00
export cmakeFlags="-DPREFIX=$out -DCFGDIR=/etc/icewm"
'';
patches = [ ./fix-strlcat_strlcpy.patch ] ++
stdenv.lib.optional stdenv.hostPlatform.isMusl ./musl.patch;
patchFlags = [ "-p0" ];
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.
'';
homepage = http://www.icewm.org/;
license = licenses.lgpl2;
maintainers = [ maintainers.AndersonTorres ];
2018-03-19 21:22:25 +00:00
platforms = platforms.linux;
};
}