2019-10-27 16:03:42 +01:00
|
|
|
{ stdenv, fetchFromGitHub
|
2019-12-24 13:24:51 +01:00
|
|
|
, meson, ninja, pkg-config, scdoc, wayland # wayland-scanner
|
2020-02-29 14:39:55 +01:00
|
|
|
, wayland-protocols, libseccomp
|
2019-10-27 16:03:42 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wob";
|
2020-03-01 17:42:20 +01:00
|
|
|
version = "0.8";
|
2019-10-27 16:03:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "francma";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-03-01 17:42:20 +01:00
|
|
|
sha256 = "0gzqc75wjm3yj81rm03zkp5lvsmlhhp79qlz85yyan1gcz5spdb6";
|
2019-10-27 16:03:42 +01:00
|
|
|
};
|
|
|
|
|
2019-12-24 13:24:51 +01:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland ];
|
2020-02-29 14:39:55 +01:00
|
|
|
buildInputs = [ wayland-protocols ]
|
|
|
|
++ stdenv.lib.optional stdenv.isLinux libseccomp;
|
|
|
|
|
|
|
|
mesonFlags = stdenv.lib.optional stdenv.isLinux "-Dseccomp=enabled";
|
2019-10-27 16:03:42 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A lightweight overlay bar for Wayland";
|
|
|
|
longDescription = ''
|
|
|
|
A lightweight overlay volume/backlight/progress/anything bar for Wayland,
|
|
|
|
inspired by xob.
|
|
|
|
'';
|
|
|
|
inherit (src.meta) homepage;
|
2020-02-29 14:39:55 +01:00
|
|
|
changelog = "https://github.com/francma/wob/releases/tag/${version}";
|
2019-10-27 16:03:42 +01:00
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|