nixpkgs/pkgs/applications/misc/fnott/default.nix
2023-04-22 11:41:35 +00:00

62 lines
1.0 KiB
Nix

{ stdenv
, lib
, 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.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "dnkl";
repo = "fnott";
rev = version;
sha256 = "sha256-cJ7XmnC4x8lhZ+JRqobeQxTTps4Oz95zYdlFtr3KC1A=";
};
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
pkg-config
meson
ninja
scdoc
wayland-scanner
];
buildInputs = [
fontconfig
freetype
pixman
libpng
tllist
wayland
wayland-protocols
dbus
fcft
];
meta = with lib; {
homepage = "https://codeberg.org/dnkl/fnott";
description = "Keyboard driven and lightweight Wayland notification daemon for wlroots-based compositors";
license = with licenses; [ mit zlib ];
maintainers = with maintainers; [ polykernel ];
platforms = platforms.linux;
};
}