blob: 8c754289aa0019fb50102dcdd73bd3c32570d509 (
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
|
{
lib,
stdenv,
fetchFromGitHub,
pixman,
fcft,
pkg-config,
wayland-protocols,
wayland-scanner,
wayland
}:
stdenv.mkDerivation (finalAttrs: {
pname = "sandbar";
version = "0.1";
src = fetchFromGitHub {
owner = "kolunmi";
repo = "sandbar";
rev = "v${finalAttrs.version}";
hash = "sha256-uG+/e75s/OQtEotR+8aXTEjW6p3oJM8btuRNgUVmIiQ=";
};
strictDeps = true;
nativeBuildInputs = [ pkg-config ];
buildInputs = [
wayland-scanner
wayland-protocols
wayland
pixman
fcft
];
makeFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
homepage = "https://github.com/kolunmi/sandbar";
description = "DWM-like bar for the river wayland compositor";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fccapria ];
platforms = platforms.all;
badPlatforms = platforms.darwin;
mainProgram = "sandbar";
};
})
|