2022-06-16 17:23:12 +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
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "jwm";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "2.4.2";
|
2020-10-07 09:15:18 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joewing";
|
|
|
|
repo = "jwm";
|
2021-12-06 16:07:01 +00:00
|
|
|
rev = "v${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-rvuz2Pmon3XBqRMgDwZNrQlWDyLNSK30JPmmQTlN+Rs=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
gettext
|
|
|
|
pkg-config
|
|
|
|
which
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-07 09:15:18 +00:00
|
|
|
buildInputs = [
|
2022-06-16 17:23:12 +00:00
|
|
|
expat
|
|
|
|
fontconfig
|
|
|
|
freetype
|
2020-10-07 09:15:18 +00:00
|
|
|
libX11
|
|
|
|
libXau
|
|
|
|
libXdmcp
|
2022-06-16 17:23:12 +00:00
|
|
|
libXext
|
|
|
|
libXft
|
|
|
|
libXinerama
|
2020-10-07 09:15:18 +00:00
|
|
|
libXmu
|
2022-06-16 17:23:12 +00:00
|
|
|
libXpm
|
2020-10-07 09:15:18 +00:00
|
|
|
libjpeg
|
2022-06-16 17:23:12 +00:00
|
|
|
libpng
|
2020-10-07 09:15:18 +00:00
|
|
|
librsvg
|
2022-06-16 17:23:12 +00:00
|
|
|
pango
|
|
|
|
xorg.libXrender
|
|
|
|
xorgproto
|
2020-10-07 09:15:18 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
inherit pname version;
|
|
|
|
rev-prefix = "v";
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://joewing.net/projects/jwm/";
|
|
|
|
description = "Joe's Window Manager is a light-weight X11 window manager";
|
2021-12-06 16:07:01 +00:00
|
|
|
license = lib.licenses.mit;
|
2021-01-17 00:15:33 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.romildo ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|