2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, automake, autoconf, libtool, gettext
|
2020-10-04 13:27:24 +00: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 20:42:12 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "jwm";
|
2018-05-03 17:17:38 +00:00
|
|
|
version = "1685";
|
2020-10-04 13:27:24 +00:00
|
|
|
|
2016-10-27 09:52:23 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joewing";
|
|
|
|
repo = "jwm";
|
|
|
|
rev = "s${version}";
|
2018-05-03 17:17:38 +00:00
|
|
|
sha256 = "1kyvy022sij898g2hm5spy5vq0kw6aqd7fsnawl2xyh06gwh29wg";
|
2008-03-25 09:50:54 +00:00
|
|
|
};
|
|
|
|
|
2020-10-04 13:27:24 +00:00
|
|
|
patches = [ ./0001-Fix-Gettext-Requirement.patch ];
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config automake autoconf libtool gettext which ];
|
2011-03-17 19:21:26 +00:00
|
|
|
|
2020-10-04 13:27:24 +00:00
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
libXext
|
|
|
|
libXinerama
|
|
|
|
libXpm
|
|
|
|
libXft
|
|
|
|
xorg.libXrender
|
|
|
|
libXau
|
|
|
|
libXdmcp
|
|
|
|
libXmu
|
|
|
|
libpng
|
|
|
|
libjpeg
|
|
|
|
expat
|
|
|
|
xorgproto
|
|
|
|
librsvg
|
|
|
|
freetype
|
|
|
|
fontconfig
|
|
|
|
];
|
2016-04-12 15:18:40 +00: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 01:11:51 +00:00
|
|
|
homepage = "http://joewing.net/projects/jwm/";
|
2016-06-02 13:11:05 +00: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
|
|
|
};
|
|
|
|
}
|