2016-10-27 11:52:23 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, automake, autoconf, libtool,
|
|
|
|
gettext, which, xorg, libX11, libXext, libXinerama, libXpm, libXft,
|
|
|
|
libXau, libXdmcp, libXmu, libpng, libjpeg, expat, xproto, xextproto,
|
|
|
|
xineramaproto, librsvg, freetype, fontconfig }:
|
2008-03-25 10:50:54 +01:00
|
|
|
|
2014-05-02 22:42:12 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2016-03-07 20:11:13 +01:00
|
|
|
name = "jwm-${version}";
|
2017-02-24 10:29:24 +01:00
|
|
|
version = "1582";
|
2010-07-28 17:35:01 +02:00
|
|
|
|
2016-10-27 11:52:23 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joewing";
|
|
|
|
repo = "jwm";
|
|
|
|
rev = "s${version}";
|
2017-02-24 10:29:24 +01:00
|
|
|
sha256 = "1z6cxf18n69sjd20bbyxrnd19hhy955ddvakgpfyhiprpfjkkv70";
|
2008-03-25 10:50:54 +01:00
|
|
|
};
|
|
|
|
|
2016-06-02 15:11:05 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig automake autoconf libtool gettext which ];
|
2011-03-17 20:21:26 +01:00
|
|
|
|
2016-03-07 20:11:13 +01:00
|
|
|
buildInputs = [ libX11 libXext libXinerama libXpm libXft xorg.libXrender
|
2016-04-12 17:18:40 +02:00
|
|
|
libXau libXdmcp libXmu libpng libjpeg expat xproto xextproto xineramaproto
|
|
|
|
librsvg freetype fontconfig ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2008-03-25 10:50:54 +01:00
|
|
|
|
2016-03-07 20:11:13 +01:00
|
|
|
preConfigure = "./autogen.sh";
|
2008-03-25 10:50:54 +01:00
|
|
|
|
|
|
|
meta = {
|
2016-03-07 20:11:13 +01:00
|
|
|
homepage = "http://joewing.net/projects/jwm/";
|
2016-06-02 15:11:05 +02:00
|
|
|
description = "Joe's Window Manager is a light-weight X11 window manager";
|
2016-03-07 20:11:13 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-06-02 15:11:05 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
2008-03-25 10:50:54 +01:00
|
|
|
};
|
|
|
|
}
|