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
49 lines
942 B
Nix
49 lines
942 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
libX11,
|
|
libXext,
|
|
libXft,
|
|
}:
|
|
|
|
let
|
|
version = "1.40";
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "windowlab";
|
|
inherit version;
|
|
|
|
src = fetchurl {
|
|
url = "http://nickgravgaard.com/windowlab/windowlab-${version}.tar";
|
|
sha256 = "1fx4jwq4s98p2wpvawsiww7d6568bpjgcjpks61dzfj8p2j32s4d";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
libX11
|
|
libXext
|
|
libXft
|
|
];
|
|
|
|
postPatch = ''
|
|
mv Makefile Makefile.orig
|
|
echo \
|
|
"
|
|
DEFINES += -DXFT
|
|
EXTRA_INC += $(pkg-config --cflags xft)
|
|
EXTRA_LIBS += $(pkg-config --libs xft)
|
|
" > Makefile
|
|
sed "s|/usr/local|$out|g" Makefile.orig >> Makefile
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Small and simple stacking window manager";
|
|
homepage = "http://nickgravgaard.com/windowlab/";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
mainProgram = "windowlab";
|
|
};
|
|
}
|