forked from mirrors/nixpkgs
Merge pull request #8947 from AndersonTorres/oroborus
Oroborus (2.0.20): New Package
This commit is contained in:
commit
558dbbc7f3
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;
|
||||
};
|
||||
}
|
|
@ -12138,6 +12138,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