nixpkgs/pkgs/tools/misc/wob/default.nix
2020-01-07 12:32:18 +01:00

32 lines
811 B
Nix

{ stdenv, fetchFromGitHub
, meson, ninja, pkg-config, scdoc, wayland # wayland-scanner
, wayland-protocols
}:
stdenv.mkDerivation rec {
pname = "wob";
version = "0.6";
src = fetchFromGitHub {
owner = "francma";
repo = pname;
rev = version;
sha256 = "0cfglwh1inv6ng55vgznhll51m9g1lxfh37k4ridyxl64rc9jfq8";
};
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland ];
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 ];
};
}