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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1.1 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
2022-11-21 01:46:29 +00:00
, inih
, meson
, ninja
, pkg-config
, scdoc
, wayland-scanner
, wayland
, wayland-protocols
, libseccomp
2019-10-27 15:03:42 +00:00
}:
stdenv.mkDerivation rec {
pname = "wob";
2022-11-21 01:46:29 +00:00
version = "0.14.2";
2019-10-27 15:03:42 +00:00
src = fetchFromGitHub {
owner = "francma";
repo = pname;
rev = version;
2022-11-21 01:46:29 +00:00
sha256 = "sha256-u4jLVLGcMTgDEgN8jW5d59m3GorJX7Z6+qKhzvbON3k=";
2019-10-27 15:03:42 +00:00
};
2022-05-09 14:18:15 +00:00
strictDeps = true;
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
2022-11-21 01:46:29 +00:00
buildInputs = [ inih wayland wayland-protocols ]
2021-01-15 09:19:50 +00:00
++ lib.optional stdenv.isLinux libseccomp;
2020-02-29 13:39:55 +00:00
2021-01-15 09:19:50 +00:00
mesonFlags = lib.optional stdenv.isLinux "-Dseccomp=enabled";
2019-10-27 15:03:42 +00:00
meta = with lib; {
inherit (src.meta) homepage;
2019-10-27 15:03:42 +00:00
description = "A lightweight overlay bar for Wayland";
longDescription = ''
A lightweight overlay volume/backlight/progress/anything bar for Wayland,
inspired by xob.
'';
2020-02-29 13:39:55 +00:00
changelog = "https://github.com/francma/wob/releases/tag/${version}";
2019-10-27 15:03:42 +00:00
license = licenses.isc;
maintainers = with maintainers; [ primeos ];
platforms = platforms.unix;
2019-10-27 15:03:42 +00:00
};
}