forked from mirrors/nixpkgs
Oroborus: init at 2.0.20
Oroborus (named after the self-eating snake) is a minimalistic window manager.
This commit is contained in:
parent
dc50222a0c
commit
d004ac6857
25
nixos/modules/services/x11/window-managers/oroborus.nix
Normal file
25
nixos/modules/services/x11/window-managers/oroborus.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.services.xserver.windowManager.oroborus;
|
||||
in
|
||||
{
|
||||
###### interface
|
||||
options = {
|
||||
services.xserver.windowManager.oroborus.enable = mkEnableOption "oroborus";
|
||||
};
|
||||
|
||||
###### implementation
|
||||
config = mkIf cfg.enable {
|
||||
services.xserver.windowManager.session = singleton {
|
||||
name = "oroborus";
|
||||
start = ''
|
||||
${pkgs.oroborus}/bin/oroborus &
|
||||
waitPID=$!
|
||||
'';
|
||||
};
|
||||
environment.systemPackages = [ pkgs.oroborus ];
|
||||
};
|
||||
}
|
27
pkgs/applications/window-managers/oroborus/default.nix
Normal file
27
pkgs/applications/window-managers/oroborus/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ stdenv, fetchurl, pkgconfig
|
||||
, freetype, fribidi
|
||||
, libSM, libICE, libXt, libXaw, libXmu
|
||||
, libXext, libXft, libXpm, libXrandr
|
||||
, libXrender, xextproto, libXinerama }:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "oroborus-${version}";
|
||||
version = "2.0.20";
|
||||
|
||||
buildInputs = [ pkgconfig freetype fribidi libSM libICE libXt libXaw libXmu libXext libXft libXpm libXrandr libXrender xextproto libXinerama ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.debian.org/debian/pool/main/o/oroborus/oroborus_${version}.tar.gz";
|
||||
sha256 = "12bvk8x8rfnymbfbwmdcrd9g8m1zxbcq7rgvfdkjr0gnpi0aa82j";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A really minimalistic X window manager";
|
||||
homepage = http://www.oroborus.org/;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -12127,6 +12127,10 @@ let
|
|||
|
||||
openshift = callPackage ../applications/networking/cluster/openshift { };
|
||||
|
||||
oroborus = callPackage ../applications/window-managers/oroborus {
|
||||
inherit (xlibs) libSM libICE libXt libXaw libXmu libXext libXft libXpm libXrandr libXrender xextproto libXinerama;
|
||||
};
|
||||
|
||||
panamax_api = callPackage ../applications/networking/cluster/panamax/api {
|
||||
ruby = ruby_2_1;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue