nixpkgs/pkgs/by-name/fy/fyi/package.nix
2024-11-07 12:09:21 +02:00

44 lines
870 B
Nix

{
stdenv,
lib,
fetchFromGitea,
pkg-config,
meson,
ninja,
dbus,
scdoc,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "fyi";
version = "1.0.4";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "dnkl";
repo = "fyi";
rev = finalAttrs.version;
hash = "sha256-UGkShHziREQTkQUlbFXT1144BiBApFVbCvu5A1DuoMI=";
};
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
pkg-config
meson
ninja
scdoc
];
buildInputs = [ dbus ];
meta = {
changelog = "https://codeberg.org/dnkl/fyi/releases/tag/${finalAttrs.version}";
description = "Command line utility to create desktop notifications";
homepage = "https://codeberg.org/dnkl/fyi";
license = [ lib.licenses.mit ];
mainProgram = "fyi";
maintainers = with lib.maintainers; [ marnym ];
platforms = lib.platforms.linux;
};
})