3
0
Fork 0
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:
AndersonTorres 2015-07-21 17:49:29 -03:00
parent dc50222a0c
commit d004ac6857
3 changed files with 56 additions and 0 deletions

View 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 ];
};
}

View 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;
};
}

View file

@ -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;
};