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

33 lines
826 B
Nix
Raw Normal View History

2019-10-27 15:03:42 +00:00
{ stdenv, fetchFromGitHub
, meson, ninja, pkg-config, wayland # wayland-scanner
, wayland-protocols
}:
stdenv.mkDerivation rec {
pname = "wob";
2019-11-16 20:25:58 +00:00
version = "0.4";
2019-10-27 15:03:42 +00:00
src = fetchFromGitHub {
owner = "francma";
repo = pname;
rev = version;
fetchSubmodules = true;
2019-11-16 20:25:58 +00:00
sha256 = "1z0vwss3ix5mf7mqpm4dzlv1bblddfi47ykblj0nmscxn1sinr7j";
2019-10-27 15:03:42 +00:00
};
nativeBuildInputs = [ meson ninja pkg-config 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 ];
};
}