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

33 lines
826 B
Nix
Raw Normal View History

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