7344ae11ab
fnott bundles nanosvg in-tree and builds with it, which is licensed under the zlib license. The `license` meta-attr should reflect this (as this more or less means nanosvg is part of the project), thus add the zlib license to it. See the pull-request discussion [0] and other precedents like [1]. [0] https://github.com/NixOS/nixpkgs/pull/225224 [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982145#74 Signed-off-by: Christoph Heiss <christoph@c8h4.io>
57 lines
950 B
Nix
57 lines
950 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitea
|
|
, pkg-config
|
|
, meson
|
|
, ninja
|
|
, scdoc
|
|
, wayland-protocols
|
|
, tllist
|
|
, fontconfig
|
|
, freetype
|
|
, pixman
|
|
, libpng
|
|
, wayland
|
|
, 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=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
meson
|
|
ninja
|
|
scdoc
|
|
wayland-protocols
|
|
tllist
|
|
];
|
|
buildInputs = [
|
|
fontconfig
|
|
freetype
|
|
pixman
|
|
libpng
|
|
wayland
|
|
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;
|
|
};
|
|
}
|