blob: 2a41a3d3c0735823223c80c0ec1374dba0ec5c67 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ stdenv, fetchFromGitHub
, libX11, libXft, libXinerama, fontconfig, freetype }:
stdenv.mkDerivation rec {
pname = "berry";
version = "0.1.5";
src = fetchFromGitHub {
owner = "JLErvin";
repo = "berry";
rev = version;
sha256 = "1wxbjzpwqb9x7vd7kb095fiqj271rki980dnwcxjxpqlmmrmjzyl";
};
buildInputs = [ libX11 libXft libXinerama fontconfig freetype ];
preBuild = ''
makeFlagsArray+=( PREFIX="${placeholder "out"}"
X11INC="${libX11.dev}/include"
X11LIB="${libX11}/lib"
XINERAMALIBS="-lXinerama"
XINERAMAFLAGS="-DXINERAMA"
FREETYPELIBS="-lfontconfig -lXft"
FREETYPEINC="${freetype.dev}/include/freetype2" )
'';
meta = with stdenv.lib; {
description = "A healthy, bite-sized window manager";
longDescription = ''
berry is a healthy, bite-sized window manager written in C for unix
systems. Its main features include:
- Controlled via a powerful command-line client, allowing users to control
windows via a hotkey daemon such as sxhkd or expand functionality via
shell scripts.
- Small, hackable source code.
- Extensible themeing options with double borders, title bars, and window
text.
- Intuitively place new windows in unoccupied spaces.
- Virtual desktops.
'';
homepage = "https://berrywm.org/";
license = licenses.mit;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;
};
}
|