forked from mirrors/nixpkgs
parent
2c9369dc43
commit
952563d620
|
@ -441,6 +441,7 @@
|
||||||
./services/x11/window-managers/metacity.nix
|
./services/x11/window-managers/metacity.nix
|
||||||
./services/x11/window-managers/none.nix
|
./services/x11/window-managers/none.nix
|
||||||
./services/x11/window-managers/twm.nix
|
./services/x11/window-managers/twm.nix
|
||||||
|
./services/x11/window-managers/windowlab.nix
|
||||||
./services/x11/window-managers/wmii.nix
|
./services/x11/window-managers/wmii.nix
|
||||||
./services/x11/window-managers/xmonad.nix
|
./services/x11/window-managers/xmonad.nix
|
||||||
./services/x11/xfs.nix
|
./services/x11/xfs.nix
|
||||||
|
|
22
nixos/modules/services/x11/window-managers/windowlab.nix
Normal file
22
nixos/modules/services/x11/window-managers/windowlab.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{lib, pkgs, config, ...}:
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.services.xserver.windowManager.windowlab;
|
||||||
|
in
|
||||||
|
|
||||||
|
{
|
||||||
|
options = {
|
||||||
|
services.xserver.windowManager.windowlab.enable =
|
||||||
|
lib.mkEnableOption "windowlab";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
services.xserver.windowManager = {
|
||||||
|
session =
|
||||||
|
[{ name = "windowlab";
|
||||||
|
start = "${pkgs.windowlab}/bin/windowlab";
|
||||||
|
}];
|
||||||
|
};
|
||||||
|
environment.systemPackages = [ pkgs.windowlab ];
|
||||||
|
};
|
||||||
|
}
|
34
pkgs/applications/window-managers/windowlab/default.nix
Normal file
34
pkgs/applications/window-managers/windowlab/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ stdenv, fetchurl, pkgconfig
|
||||||
|
, libX11, libXext, libXft }:
|
||||||
|
|
||||||
|
let version = "1.40"; in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "windowlab-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://nickgravgaard.com/windowlab/windowlab-${version}.tar";
|
||||||
|
sha256 = "1fx4jwq4s98p2wpvawsiww7d6568bpjgcjpks61dzfj8p2j32s4d";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgconfig 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 stdenv.lib;
|
||||||
|
{ description = "Small and simple stacking window manager";
|
||||||
|
homepage = "http://nickgravgaard.com/windowlab/";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ ehmry ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -13571,6 +13571,8 @@ let
|
||||||
freerdp = freerdpUnstable;
|
freerdp = freerdpUnstable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
windowlab = callPackage ../applications/window-managers/windowlab { };
|
||||||
|
|
||||||
windowmaker = callPackage ../applications/window-managers/windowmaker { };
|
windowmaker = callPackage ../applications/window-managers/windowmaker { };
|
||||||
|
|
||||||
alsamixer.app = callPackage ../applications/window-managers/windowmaker/dockapps/alsamixer.app.nix { };
|
alsamixer.app = callPackage ../applications/window-managers/windowmaker/dockapps/alsamixer.app.nix { };
|
||||||
|
|
Loading…
Reference in a new issue