nixpkgs/pkgs/tools/misc/wob/default.nix

32 lines
811 B
Nix
Raw Normal View History

2019-10-27 15:03:42 +00:00
{ stdenv, fetchFromGitHub
2019-12-24 12:24:51 +00:00
, meson, ninja, pkg-config, scdoc, wayland # wayland-scanner
2019-10-27 15:03:42 +00:00
, wayland-protocols
}:
stdenv.mkDerivation rec {
pname = "wob";
2020-01-07 11:25:21 +00:00
version = "0.6";
2019-10-27 15:03:42 +00:00
src = fetchFromGitHub {
owner = "francma";
repo = pname;
rev = version;
2020-01-07 11:25:21 +00:00
sha256 = "0cfglwh1inv6ng55vgznhll51m9g1lxfh37k4ridyxl64rc9jfq8";
2019-10-27 15:03:42 +00:00
};
2019-12-24 12:24:51 +00:00
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland ];
2019-10-27 15:03:42 +00:00
buildInputs = [ wayland-protocols ];
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;
license = licenses.isc;
platforms = platforms.unix;
maintainers = with maintainers; [ primeos ];
};
}