Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

90 lines
1.4 KiB
Nix

{
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.6";
src = fetchFromGitHub {
owner = "joewing";
repo = "jwm";
rev = "v${version}";
hash = "sha256-odGqHdm8xnjEcXmpKMy51HEhbjcROLL3hRSdlbmTr2g=";
};
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
];
postPatch = ''
sed -i '/AM_ICONV/i AC_CONFIG_MACRO_DIRS([m4])' configure.ac
'';
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 ];
mainProgram = "jwm";
};
}