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