2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkgconfig, automake, autoconf, libtool, gettext
|
2020-10-07 09:15:18 +00:00
|
|
|
, which, xorg, libX11, libXext, libXinerama, libXpm, libXft, libXau, libXdmcp
|
|
|
|
, libXmu, libpng, libjpeg, expat, xorgproto, librsvg, freetype, fontconfig }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jwm";
|
|
|
|
version = "1685";
|
2020-10-07 09:15:18 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joewing";
|
|
|
|
repo = "jwm";
|
|
|
|
rev = "s${version}";
|
|
|
|
sha256 = "1kyvy022sij898g2hm5spy5vq0kw6aqd7fsnawl2xyh06gwh29wg";
|
|
|
|
};
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
patches = [ ./0001-Fix-Gettext-Requirement.patch ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig automake autoconf libtool gettext which ];
|
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libXext
|
|
|
|
libXinerama
|
|
|
|
libXpm
|
|
|
|
libXft
|
|
|
|
xorg.libXrender
|
|
|
|
libXau
|
|
|
|
libXdmcp
|
|
|
|
libXmu
|
|
|
|
libpng
|
|
|
|
libjpeg
|
|
|
|
expat
|
|
|
|
xorgproto
|
|
|
|
librsvg
|
|
|
|
freetype
|
|
|
|
fontconfig
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
preConfigure = "./autogen.sh";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://joewing.net/projects/jwm/";
|
|
|
|
description = "Joe's Window Manager is a light-weight X11 window manager";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.romildo ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|