1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
{ 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
}:
stdenv.mkDerivation rec {
pname = "jwm";
version = "2.4.3";
src = fetchFromGitHub {
owner = "joewing";
repo = "jwm";
rev = "v${version}";
sha256 = "sha256-HPcNXf+frYbT8lr5vU5xpUnyjGpQ5rc2G14EjDwpk3c=";
};
nativeBuildInputs = [
autoconf
automake
gettext
pkg-config
which
];
buildInputs = [
expat
fontconfig
freetype
libX11
libXau
libXdmcp
libXext
libXft
libXinerama
libXmu
libXpm
libjpeg
libpng
librsvg
pango
xorg.libXrender
xorgproto
];
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
enableParallelBuilding = true;
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = {
homepage = "http://joewing.net/projects/jwm/";
description = "Joe's Window Manager is a light-weight X11 window manager";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.romildo ];
};
}
|