nixpkgs/pkgs/by-name/wo/wob/package.nix

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

51 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
2023-11-19 01:45:44 +00:00
, cmocka
, scdoc
, wayland-scanner
, wayland
, wayland-protocols
, libseccomp
2019-10-27 15:03:42 +00:00
}:
stdenv.mkDerivation rec {
pname = "wob";
2023-11-19 01:45:44 +00:00
version = "0.15.1";
2019-10-27 15:03:42 +00:00
src = fetchFromGitHub {
owner = "francma";
repo = pname;
rev = version;
2023-11-19 01:45:44 +00:00
sha256 = "sha256-9LFAEo17w861ldMJU+t1oLAKoM6gJc4Em4tSwQDXbKU=";
2019-10-27 15:03:42 +00:00
};
2022-05-09 14:18:15 +00:00
strictDeps = true;
depsBuildBuild = [
pkg-config
];
2023-12-09 20:15:03 +00:00
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ];
buildInputs = [ cmocka inih wayland wayland-protocols ]
2021-01-15 09:19:50 +00:00
++ lib.optional stdenv.hostPlatform.isLinux libseccomp;
2020-02-29 13:39:55 +00:00
2021-01-15 09:19:50 +00:00
mesonFlags = lib.optional stdenv.hostPlatform.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 = "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.linux;
2023-11-27 01:17:53 +00:00
mainProgram = "wob";
2019-10-27 15:03:42 +00:00
};
}