nixpkgs/pkgs/by-name/fn/fnott/package.nix

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

68 lines
1.2 KiB
Nix
Raw Normal View History

2021-08-07 03:50:19 +00:00
{ stdenv
, lib
2023-11-26 16:09:47 +00:00
, gitUpdater
, fetchFromGitea
2021-08-07 03:50:19 +00:00
, pkg-config
, meson
, ninja
, scdoc
2023-04-22 11:40:24 +00:00
, wayland-scanner
2021-08-07 03:50:19 +00:00
, fontconfig
, freetype
, pixman
, libpng
2023-04-22 11:40:24 +00:00
, tllist
2021-08-07 03:50:19 +00:00
, wayland
2023-04-22 11:40:24 +00:00
, wayland-protocols
2021-08-07 03:50:19 +00:00
, dbus
, fcft
}:
stdenv.mkDerivation rec {
pname = "fnott";
2024-04-27 09:18:59 +00:00
version = "1.5.0";
2021-08-07 03:50:19 +00:00
src = fetchFromGitea {
domain = "codeberg.org";
owner = "dnkl";
repo = "fnott";
2021-08-07 03:50:19 +00:00
rev = version;
2024-04-27 09:18:59 +00:00
hash = "sha256-F2Pt3xbWDZZ3s056KU3qLXUrFQ0wT7QYK4GvR7slMYc=";
2021-08-07 03:50:19 +00:00
};
2023-11-26 16:10:17 +00:00
strictDeps = true;
2023-04-22 11:40:24 +00:00
depsBuildBuild = [
pkg-config
];
2021-08-07 03:50:19 +00:00
nativeBuildInputs = [
pkg-config
meson
ninja
scdoc
2023-04-22 11:40:24 +00:00
wayland-scanner
2021-08-07 03:50:19 +00:00
];
buildInputs = [
fontconfig
freetype
pixman
libpng
2023-04-22 11:40:24 +00:00
tllist
2021-08-07 03:50:19 +00:00
wayland
2023-04-22 11:40:24 +00:00
wayland-protocols
2021-08-07 03:50:19 +00:00
dbus
fcft
];
2023-11-26 16:09:47 +00:00
passthru.updateScript = gitUpdater { };
2023-11-26 16:09:17 +00:00
meta = {
2021-08-07 03:50:19 +00:00
homepage = "https://codeberg.org/dnkl/fnott";
2024-06-16 20:48:03 +00:00
changelog = "https://codeberg.org/dnkl/fnott/src/tag/${src.rev}/CHANGELOG.md";
description = "Keyboard driven and lightweight Wayland notification daemon for wlroots-based compositors";
2023-11-26 16:09:17 +00:00
license = with lib.licenses; [ mit zlib ];
maintainers = with lib.maintainers; [ polykernel ];
2023-11-26 16:08:36 +00:00
mainProgram = "fnott";
2023-11-26 16:09:17 +00:00
platforms = lib.platforms.linux;
2021-08-07 03:50:19 +00:00
};
}