From aba41ae0d8872baad2e6e96da9a5b12d695dfd6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20S=C3=BCtter?= Date: Sat, 26 Oct 2024 13:54:29 +0200 Subject: [PATCH] dbus-broker: add meta information and license to c-util library --- pkgs/os-specific/linux/dbus-broker/default.nix | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/pkgs/os-specific/linux/dbus-broker/default.nix b/pkgs/os-specific/linux/dbus-broker/default.nix index 784024f8754d0..9414f4fb33feb 100644 --- a/pkgs/os-specific/linux/dbus-broker/default.nix +++ b/pkgs/os-specific/linux/dbus-broker/default.nix @@ -11,6 +11,10 @@ }: let + meta = { + maintainers = with lib.maintainers; [ peterhoeg ]; + platforms = lib.platforms.linux; + }; dep = { pname, version, hash, rev ? "v${version}", buildInputs ? [ ] }: stdenv.mkDerivation { @@ -22,6 +26,14 @@ let }; nativeBuildInputs = [ meson ninja pkg-config ]; inherit buildInputs; + meta = meta // { + description = "The C-Util Project is a collection of utility libraries for the C11 language."; + homepage = "https://c-util.github.io/"; + license = [ + lib.licenses.asl20 + lib.licenses.lgpl21Plus + ]; + }; }; # These libraries are not used outside of dbus-broker. @@ -89,11 +101,9 @@ stdenv.mkDerivation (finalAttrs: { doCheck = true; - meta = with lib; { + meta = meta // { description = "Linux D-Bus Message Broker"; homepage = "https://github.com/bus1/dbus-broker/wiki"; - license = licenses.asl20; - maintainers = with maintainers; [ peterhoeg ]; - platforms = platforms.linux; + license = lib.licenses.asl20; }; })