Merge pull request #3656 from AndersonTorres/fluxbox
Fluxbox: new package (1.3.5)
This commit is contained in:
commit
9b13792075
4 changed files with 64 additions and 0 deletions
|
@ -296,6 +296,7 @@
|
||||||
./services/x11/window-managers/awesome.nix
|
./services/x11/window-managers/awesome.nix
|
||||||
#./services/x11/window-managers/compiz.nix
|
#./services/x11/window-managers/compiz.nix
|
||||||
./services/x11/window-managers/default.nix
|
./services/x11/window-managers/default.nix
|
||||||
|
./services/x11/window-managers/fluxbox.nix
|
||||||
./services/x11/window-managers/icewm.nix
|
./services/x11/window-managers/icewm.nix
|
||||||
./services/x11/window-managers/bspwm.nix
|
./services/x11/window-managers/bspwm.nix
|
||||||
./services/x11/window-managers/metacity.nix
|
./services/x11/window-managers/metacity.nix
|
||||||
|
|
28
nixos/modules/services/x11/window-managers/fluxbox.nix
Normal file
28
nixos/modules/services/x11/window-managers/fluxbox.nix
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.services.xserver.windowManager.fluxbox;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
###### interface
|
||||||
|
options = {
|
||||||
|
services.xserver.windowManager.fluxbox.enable = mkOption {
|
||||||
|
default = false;
|
||||||
|
description = "Enable the Fluxbox window manager.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
###### implementation
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
services.xserver.windowManager.session = singleton {
|
||||||
|
name = "fluxbox";
|
||||||
|
start = ''
|
||||||
|
${pkgs.fluxbox}/bin/startfluxbox &
|
||||||
|
waitPID=$!
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
environment.systemPackages = [ pkgs.fluxbox ];
|
||||||
|
};
|
||||||
|
}
|
33
pkgs/applications/window-managers/fluxbox/default.nix
Normal file
33
pkgs/applications/window-managers/fluxbox/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ stdenv, fetchurl, pkgconfig
|
||||||
|
, freetype, fribidi
|
||||||
|
, libXext, libXft, libXpm, libXrandr, libXrender, xextproto
|
||||||
|
, libXinerama
|
||||||
|
, imlib2
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
|
name = "fluxbox-${version}";
|
||||||
|
version = "1.3.5";
|
||||||
|
|
||||||
|
buildInputs = [ pkgconfig freetype fribidi libXext libXft libXpm libXrandr libXrender xextproto libXinerama imlib2 ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/fluxbox/${name}.tar.bz2";
|
||||||
|
sha256 = "164dd7bf59791d09a1e729a4fcd5e7347a1004ba675629860a5cf1a271c32983";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Full-featured, light-resource X window manager";
|
||||||
|
longDescription = ''
|
||||||
|
Fluxbox is a X window manager based on Blackbox 0.61.1 window manager sources.
|
||||||
|
It is very light on resources and easy to handle but yet full of features to make an easy,
|
||||||
|
and extremely fast, desktop experience. It is written in C++ and licensed under MIT license.
|
||||||
|
'';
|
||||||
|
homepage = http://fluxbox.org/;
|
||||||
|
license = stdenv.lib.licenses.mit;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.AndersonTorres ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
# Many thanks Jack Ryan from Nix-dev mailing list!
|
|
@ -8751,6 +8751,8 @@ let
|
||||||
debug = config.flashplayer.debug or false;
|
debug = config.flashplayer.debug or false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fluxbox = callPackage ../applications/window-managers/fluxbox { };
|
||||||
|
|
||||||
freecad = callPackage ../applications/graphics/freecad {
|
freecad = callPackage ../applications/graphics/freecad {
|
||||||
opencascade = opencascade_6_5;
|
opencascade = opencascade_6_5;
|
||||||
inherit (pythonPackages) matplotlib pycollada;
|
inherit (pythonPackages) matplotlib pycollada;
|
||||||
|
|
Loading…
Reference in a new issue