1 { lib, stdenv, fetchFromGitHub, gccmakedep, libX11, libXext, libXpm, imake, installShellFiles, ... }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-ElKmi+ANuB3LPwZTMcr5HEMESjDwENbYnNIGdRP24d0=";
14 nativeBuildInputs = [ installShellFiles ];
16 buildInputs = [ gccmakedep libX11 libXext libXpm imake ];
20 (cd sample_rc && xmkmf)
27 mkdir -p $out/{bin,etc}
28 cp mlvwm/mlvwm $out/bin
29 cp sample_rc/Mlvwmrc* $out/etc
34 mv man/mlvwm.man man/mlvwm.1
35 installManPage man/mlvwm.1
39 homepage = "https://github.com/morgant/mlvwm";
40 description = "Macintosh-like Virtual Window Manager";
41 license = licenses.mit;
43 MLVWM or Macintosh-Like Virtual Window Manager,
44 is an FVWM descendant created by Takashi Hasegawa
45 in 1997 while studying at Nagoya University and
46 was written entirely in the C programming language.
47 As its name implies, it attempts to emulate the
48 pre-Mac OS X Macintosh look and feel in its layout and window design.
50 platforms = platforms.linux;
51 maintainers = [ maintainers.j0hax ];