hackedbox: init at 0.8.5.1
This commit is contained in:
parent
901978e1fd
commit
7b6ad60ab4
|
@ -21,6 +21,7 @@ in
|
||||||
./fluxbox.nix
|
./fluxbox.nix
|
||||||
./fvwm2.nix
|
./fvwm2.nix
|
||||||
./fvwm3.nix
|
./fvwm3.nix
|
||||||
|
./hackedbox.nix
|
||||||
./herbstluftwm.nix
|
./herbstluftwm.nix
|
||||||
./i3.nix
|
./i3.nix
|
||||||
./jwm.nix
|
./jwm.nix
|
||||||
|
|
25
nixos/modules/services/x11/window-managers/hackedbox.nix
Normal file
25
nixos/modules/services/x11/window-managers/hackedbox.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.services.xserver.windowManager.hackedbox;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
###### interface
|
||||||
|
options = {
|
||||||
|
services.xserver.windowManager.hackedbox.enable = mkEnableOption "hackedbox";
|
||||||
|
};
|
||||||
|
|
||||||
|
###### implementation
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
services.xserver.windowManager.session = singleton {
|
||||||
|
name = "hackedbox";
|
||||||
|
start = ''
|
||||||
|
${pkgs.hackedbox}/bin/hackedbox &
|
||||||
|
waitPID=$!
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
environment.systemPackages = [ pkgs.hackedbox ];
|
||||||
|
};
|
||||||
|
}
|
61
pkgs/applications/window-managers/hackedbox/default.nix
Normal file
61
pkgs/applications/window-managers/hackedbox/default.nix
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, freetype
|
||||||
|
, fribidi
|
||||||
|
, imlib2
|
||||||
|
, libX11
|
||||||
|
, libXext
|
||||||
|
, libXft
|
||||||
|
, libXinerama
|
||||||
|
, libXpm
|
||||||
|
, libXrandr
|
||||||
|
, libXrender
|
||||||
|
, pkg-config
|
||||||
|
, xorgproto
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "hackedbox";
|
||||||
|
version = "0.8.5.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "museoa";
|
||||||
|
repo = "hackedbox";
|
||||||
|
rev = finalAttrs.version;
|
||||||
|
hash = "sha256-hxfbEj7UxQ19xhetmdi0iyK6ceLUfUvAAyyTbNivlLQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
freetype
|
||||||
|
fribidi
|
||||||
|
imlib2
|
||||||
|
libX11
|
||||||
|
libXext
|
||||||
|
libXft
|
||||||
|
libXinerama
|
||||||
|
libXpm
|
||||||
|
libXrandr
|
||||||
|
libXrender
|
||||||
|
xorgproto
|
||||||
|
];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--x-includes=${libX11.dev}/include"
|
||||||
|
"--x-libraries=${libX11.out}/lib"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A bastard hacked offspring of Blackbox";
|
||||||
|
homepage = "http://github.com/museoa/hackedbox/";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
maintainers = with maintainers; [ AndersonTorres ];
|
||||||
|
inherit (libX11.meta) platforms;
|
||||||
|
};
|
||||||
|
})
|
|
@ -27324,6 +27324,8 @@ with pkgs;
|
||||||
|
|
||||||
fluxbox = callPackage ../applications/window-managers/fluxbox { };
|
fluxbox = callPackage ../applications/window-managers/fluxbox { };
|
||||||
|
|
||||||
|
hackedbox = callPackage ../applications/window-managers/hackedbox { };
|
||||||
|
|
||||||
fomp = callPackage ../applications/audio/fomp { };
|
fomp = callPackage ../applications/audio/fomp { };
|
||||||
|
|
||||||
formatter = callPackage ../applications/misc/formatter { };
|
formatter = callPackage ../applications/misc/formatter { };
|
||||||
|
|
Loading…
Reference in a new issue