summary refs log tree commit diff
path: root/pkgs/development/libraries/appstream
diff options
context:
space:
mode:
authorMalo Bourgon <mbourgon@gmail.com>2022-05-04 17:52:27 -0700
committerMalo Bourgon <mbourgon@gmail.com>2022-05-04 18:11:50 -0700
commit9e4be532219685cdd81e4db54f9fc061d250ba25 (patch)
tree981ea8dadbb4974ed31df2e13049b7a7361d5669 /pkgs/development/libraries/appstream
parent16e15fa68f0247d1ccc9bf94e2906097bcaa2d5c (diff)
treewide: add meta.mainProgram to some libraries
where a single bin is provided and someone might actually want to run it
Diffstat (limited to 'pkgs/development/libraries/appstream')
-rw-r--r--pkgs/development/libraries/appstream/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/appstream/default.nix b/pkgs/development/libraries/appstream/default.nix
index 9b07697a6a9ac..56268146c5db4 100644
--- a/pkgs/development/libraries/appstream/default.nix
+++ b/pkgs/development/libraries/appstream/default.nix
@@ -93,14 +93,15 @@ stdenv.mkDerivation rec {
 
   meta = with lib; {
     description = "Software metadata handling library";
-    homepage = "https://www.freedesktop.org/wiki/Distributions/AppStream/";
     longDescription = ''
       AppStream is a cross-distro effort for building Software-Center applications
       and enhancing metadata provided by software components.  It provides
       specifications for meta-information which is shipped by upstream projects and
       can be consumed by other software.
     '';
+    homepage = "https://www.freedesktop.org/wiki/Distributions/AppStream/";
     license = licenses.lgpl21Plus;
+    mainProgram = "appstreamcli";
     platforms = platforms.unix;
   };
 }