nixpkgs-suyu/pkgs/by-name/fn/fnott/package.nix
2023-11-26 11:15:17 -05:00

66 lines
1.1 KiB
Nix

{ stdenv
, lib
, gitUpdater
, fetchFromGitea
, pkg-config
, meson
, ninja
, scdoc
, wayland-scanner
, fontconfig
, freetype
, pixman
, libpng
, tllist
, wayland
, wayland-protocols
, dbus
, fcft
}:
stdenv.mkDerivation rec {
pname = "fnott";
version = "1.4.1";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "dnkl";
repo = "fnott";
rev = version;
hash = "sha256-8SKInlj54BP3Gn/DNVoLN62+Dfa8G5d/q2xGUXXdsjo=";
};
strictDeps = true;
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
pkg-config
meson
ninja
scdoc
wayland-scanner
];
buildInputs = [
fontconfig
freetype
pixman
libpng
tllist
wayland
wayland-protocols
dbus
fcft
];
passthru.updateScript = gitUpdater { };
meta = {
homepage = "https://codeberg.org/dnkl/fnott";
description = "Keyboard driven and lightweight Wayland notification daemon for wlroots-based compositors";
license = with lib.licenses; [ mit zlib ];
maintainers = with lib.maintainers; [ polykernel ];
mainProgram = "fnott";
platforms = lib.platforms.linux;
};
}