2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkgconfig, automake, autoconf, libtool, gettext
|
2020-10-04 14:27:24 +01:00
|
|
|
, which, xorg, libX11, libXext, libXinerama, libXpm, libXft, libXau, libXdmcp
|
|
|
|
, libXmu, libpng, libjpeg, expat, xorgproto, librsvg, freetype, fontconfig }:
|
2008-03-25 09:50:54 +00:00
|
|
|
|
2014-05-02 21:42:12 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "jwm";
|
2018-05-03 18:17:38 +01:00
|
|
|
version = "1685";
|
2020-10-04 14:27:24 +01:00
|
|
|
|
2016-10-27 10:52:23 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joewing";
|
|
|
|
repo = "jwm";
|
|
|
|
rev = "s${version}";
|
2018-05-03 18:17:38 +01:00
|
|
|
sha256 = "1kyvy022sij898g2hm5spy5vq0kw6aqd7fsnawl2xyh06gwh29wg";
|
2008-03-25 09:50:54 +00:00
|
|
|
};
|
|
|
|
|
2020-10-04 14:27:24 +01:00
|
|
|
patches = [ ./0001-Fix-Gettext-Requirement.patch ];
|
|
|
|
|
2016-06-02 14:11:05 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig automake autoconf libtool gettext which ];
|
2011-03-17 19:21:26 +00:00
|
|
|
|
2020-10-04 14:27:24 +01:00
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libXext
|
|
|
|
libXinerama
|
|
|
|
libXpm
|
|
|
|
libXft
|
|
|
|
xorg.libXrender
|
|
|
|
libXau
|
|
|
|
libXdmcp
|
|
|
|
libXmu
|
|
|
|
libpng
|
|
|
|
libjpeg
|
|
|
|
expat
|
|
|
|
xorgproto
|
|
|
|
librsvg
|
|
|
|
freetype
|
|
|
|
fontconfig
|
|
|
|
];
|
2016-04-12 16:18:40 +01:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2008-03-25 09:50:54 +00:00
|
|
|
|
2016-03-07 19:11:13 +00:00
|
|
|
preConfigure = "./autogen.sh";
|
2008-03-25 09:50:54 +00:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://joewing.net/projects/jwm/";
|
2016-06-02 14:11:05 +01:00
|
|
|
description = "Joe's Window Manager is a light-weight X11 window manager";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.romildo ];
|
2008-03-25 09:50:54 +00:00
|
|
|
};
|
|
|
|
}
|