2022-05-29 14:36:50 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, expat
|
|
|
|
, fontconfig
|
|
|
|
, freetype
|
|
|
|
, gettext
|
|
|
|
, libX11
|
|
|
|
, libXau
|
|
|
|
, libXdmcp
|
|
|
|
, libXext
|
|
|
|
, libXft
|
|
|
|
, libXinerama
|
|
|
|
, libXmu
|
|
|
|
, libXpm
|
|
|
|
, libjpeg
|
|
|
|
, libpng
|
|
|
|
, librsvg
|
|
|
|
, pango
|
|
|
|
, pkg-config
|
|
|
|
, which
|
|
|
|
, xorg
|
|
|
|
, xorgproto
|
|
|
|
, gitUpdater
|
|
|
|
}:
|
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";
|
2022-10-22 15:39:20 +00:00
|
|
|
version = "2.4.3";
|
2020-10-04 13:27:24 +00:00
|
|
|
|
2016-10-27 09:52:23 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joewing";
|
|
|
|
repo = "jwm";
|
2021-11-08 00:42:56 +00:00
|
|
|
rev = "v${version}";
|
2022-10-22 15:39:20 +00:00
|
|
|
sha256 = "sha256-HPcNXf+frYbT8lr5vU5xpUnyjGpQ5rc2G14EjDwpk3c=";
|
2008-03-25 09:50:54 +00:00
|
|
|
};
|
|
|
|
|
2022-05-29 14:36:50 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
gettext
|
|
|
|
pkg-config
|
|
|
|
which
|
|
|
|
];
|
2011-03-17 19:21:26 +00:00
|
|
|
|
2020-10-04 13:27:24 +00:00
|
|
|
buildInputs = [
|
2022-05-29 14:36:50 +00:00
|
|
|
expat
|
|
|
|
fontconfig
|
|
|
|
freetype
|
2020-10-04 13:27:24 +00:00
|
|
|
libX11
|
|
|
|
libXau
|
|
|
|
libXdmcp
|
2022-05-29 14:36:50 +00:00
|
|
|
libXext
|
|
|
|
libXft
|
|
|
|
libXinerama
|
2020-10-04 13:27:24 +00:00
|
|
|
libXmu
|
2022-05-29 14:36:50 +00:00
|
|
|
libXpm
|
2020-10-04 13:27:24 +00:00
|
|
|
libjpeg
|
2022-05-29 14:36:50 +00:00
|
|
|
libpng
|
2020-10-04 13:27:24 +00:00
|
|
|
librsvg
|
2022-05-29 13:48:29 +00:00
|
|
|
pango
|
2022-05-29 14:36:50 +00:00
|
|
|
xorg.libXrender
|
|
|
|
xorgproto
|
2020-10-04 13:27:24 +00:00
|
|
|
];
|
2016-04-12 15:18:40 +00:00
|
|
|
|
2022-05-29 13:48:29 +00:00
|
|
|
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
|
|
|
|
|
2016-04-12 15:18:40 +00:00
|
|
|
enableParallelBuilding = true;
|
2008-03-25 09:50:54 +00:00
|
|
|
|
2022-05-29 14:33:09 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
rev-prefix = "v";
|
|
|
|
};
|
|
|
|
|
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-11-08 00:42:56 +00:00
|
|
|
license = lib.licenses.mit;
|
2021-01-15 13:21:58 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.romildo ];
|
2008-03-25 09:50:54 +00:00
|
|
|
};
|
|
|
|
}
|