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

32 lines
811 B
Nix
Raw Normal View History

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
2019-10-27 16:03:42 +01:00
, wayland-protocols
}:
stdenv.mkDerivation rec {
pname = "wob";
2020-01-07 12:25:21 +01:00
version = "0.6";
2019-10-27 16:03:42 +01:00
src = fetchFromGitHub {
owner = "francma";
repo = pname;
rev = version;
2020-01-07 12:25:21 +01:00
sha256 = "0cfglwh1inv6ng55vgznhll51m9g1lxfh37k4ridyxl64rc9jfq8";
2019-10-27 16:03:42 +01:00
};
2019-12-24 13:24:51 +01:00
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland ];
2019-10-27 16:03:42 +01: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 ];
};
}