2022-05-14 21:10:52 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, freetype
|
|
|
|
, fribidi
|
|
|
|
, libICE
|
|
|
|
, libSM
|
|
|
|
, libXaw
|
|
|
|
, libXext
|
|
|
|
, libXft
|
|
|
|
, libXinerama
|
|
|
|
, libXmu
|
|
|
|
, libXpm
|
|
|
|
, libXrandr
|
|
|
|
, libXrender
|
|
|
|
, libXt
|
|
|
|
, pkg-config
|
|
|
|
, xorgproto
|
|
|
|
}:
|
2015-07-21 21:49:29 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "oroborus";
|
2015-07-21 21:49:29 +01:00
|
|
|
version = "2.0.20";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-06 01:56:39 +00:00
|
|
|
url = "mirror://debian/pool/main/o/oroborus/oroborus_${version}.tar.gz";
|
2022-05-14 21:10:52 +01:00
|
|
|
hash = "sha256-UiClQLz2gSxnc/vlg9nqP1T0UsusVb7cqt66jDqae4k=a";
|
2015-07-21 21:49:29 +01:00
|
|
|
};
|
|
|
|
|
2022-05-14 21:10:52 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
freetype
|
|
|
|
fribidi
|
|
|
|
libICE
|
|
|
|
libSM
|
|
|
|
libXaw
|
|
|
|
libXext
|
|
|
|
libXft
|
|
|
|
libXinerama
|
|
|
|
libXmu
|
|
|
|
libXpm
|
|
|
|
libXrandr
|
|
|
|
libXrender
|
|
|
|
libXt
|
|
|
|
xorgproto
|
|
|
|
];
|
|
|
|
|
2022-06-05 20:11:57 +01:00
|
|
|
# Workaround build failure on -fno-common toolchains:
|
|
|
|
# ld: workspaces.o:src/keyboard.h:93: multiple definition of
|
|
|
|
# `NumLockMask'; client.o:src/keyboard.h:93: first defined here
|
|
|
|
NIX_CFLAGS_COMPILE = "-fcommon";
|
|
|
|
|
2022-05-14 21:10:52 +01:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://web.archive.org/web/20191129172107/https://www.oroborus.org/";
|
2015-07-21 21:49:29 +01:00
|
|
|
description = "A really minimalistic X window manager";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|