diff --git a/doc/languages-frameworks/java.section.md b/doc/languages-frameworks/java.section.md index 371bdf6323fb..0ce1442cca68 100644 --- a/doc/languages-frameworks/java.section.md +++ b/doc/languages-frameworks/java.section.md @@ -4,12 +4,31 @@ Ant-based Java packages are typically built from source as follows: ```nix stdenv.mkDerivation { - name = "..."; + pname = "..."; + version = "..."; + src = fetchurl { ... }; - nativeBuildInputs = [ jdk ant ]; + nativeBuildInputs = [ + ant + jdk + stripJavaArchivesHook # removes timestamp metadata from jar files + ]; - buildPhase = "ant"; + buildPhase = '' + runHook preBuild + ant # build the project using ant + runHook postBuild + ''; + + installPhase = '' + runHook preInstall + + # copy generated jar file(s) to an appropriate location in $out + install -Dm644 build/foo.jar $out/share/java/foo.jar + + runHook postInstall + ''; } ``` @@ -17,6 +36,10 @@ Note that `jdk` is an alias for the OpenJDK (self-built where available, or pre-built via Zulu). Platforms with OpenJDK not (yet) in Nixpkgs (`Aarch32`, `Aarch64`) point to the (unfree) `oraclejdk`. +Also note that not using `stripJavaArchivesHook` will likely cause the +generated `.jar` files to be non-deterministic, which is not optimal. +Using it, however, does not always guarantee reproducibility. + JAR files that are intended to be used by other packages should be installed in `$out/share/java`. JDKs have a stdenv setup hook that add any JARs in the `share/java` directories of the build inputs to the diff --git a/maintainers/scripts/nix-generate-from-cpan.nix b/maintainers/scripts/nix-generate-from-cpan.nix index bf48a5318611..a8135f4b304a 100644 --- a/maintainers/scripts/nix-generate-from-cpan.nix +++ b/maintainers/scripts/nix-generate-from-cpan.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation { meta = { maintainers = with lib.maintainers; [ eelco ]; description = "Utility to generate a Nix expression for a Perl package from CPAN"; + mainProgram = "nix-generate-from-cpan"; platforms = lib.platforms.unix; }; } diff --git a/maintainers/scripts/nixpkgs-lint.nix b/maintainers/scripts/nixpkgs-lint.nix index 873905373af0..b400ce034b3e 100644 --- a/maintainers/scripts/nixpkgs-lint.nix +++ b/maintainers/scripts/nixpkgs-lint.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation { meta = with lib; { maintainers = [ maintainers.eelco ]; description = "A utility for Nixpkgs contributors to check Nixpkgs for common errors"; + mainProgram = "nixpkgs-lint"; platforms = platforms.unix; }; } diff --git a/pkgs/applications/audio/alsa-scarlett-gui/default.nix b/pkgs/applications/audio/alsa-scarlett-gui/default.nix index de4f8b3db98a..2b5aea7e5843 100644 --- a/pkgs/applications/audio/alsa-scarlett-gui/default.nix +++ b/pkgs/applications/audio/alsa-scarlett-gui/default.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GUI for alsa controls presented by Focusrite Scarlett Gen 2/3 Mixer Driver"; + mainProgram = "alsa-scarlett-gui"; homepage = "https://github.com/geoffreybennett/alsa-scarlett-gui"; license = licenses.gpl3Plus; maintainers = with maintainers; [ sebtm ]; diff --git a/pkgs/applications/audio/ams/default.nix b/pkgs/applications/audio/ams/default.nix index c51dced37724..9086bfc33387 100644 --- a/pkgs/applications/audio/ams/default.nix +++ b/pkgs/applications/audio/ams/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Realtime modular synthesizer for ALSA"; + mainProgram = "ams"; homepage = "https://alsamodular.sourceforge.net"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/applications/audio/ario/default.nix b/pkgs/applications/audio/ario/default.nix index 5b956e8f5961..b9e14f486b7a 100644 --- a/pkgs/applications/audio/ario/default.nix +++ b/pkgs/applications/audio/ario/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GTK client for MPD (Music player daemon)"; + mainProgram = "ario"; homepage = "https://ario-player.sourceforge.net/"; license = licenses.gpl2Plus; maintainers = [ maintainers.garrison ]; diff --git a/pkgs/applications/audio/asunder/default.nix b/pkgs/applications/audio/asunder/default.nix index dbaef1cf2acf..8e209a4717fa 100644 --- a/pkgs/applications/audio/asunder/default.nix +++ b/pkgs/applications/audio/asunder/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A graphical Audio CD ripper and encoder for Linux"; + mainProgram = "asunder"; homepage = "http://littlesvr.ca/asunder/index.php"; license = licenses.gpl2; maintainers = with maintainers; [ mudri ]; diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix index f476b3c8a8e6..74af177d0e27 100644 --- a/pkgs/applications/audio/audacity/default.nix +++ b/pkgs/applications/audio/audacity/default.nix @@ -190,6 +190,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Sound editor with graphical UI"; + mainProgram = "audacity"; homepage = "https://www.audacityteam.org"; changelog = "https://github.com/audacity/audacity/releases"; license = with licenses; [ diff --git a/pkgs/applications/audio/audio-recorder/default.nix b/pkgs/applications/audio/audio-recorder/default.nix index aaf6777533ff..72d31e2966ff 100644 --- a/pkgs/applications/audio/audio-recorder/default.nix +++ b/pkgs/applications/audio/audio-recorder/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Audio recorder for GNOME and Unity Desktops"; + mainProgram = "audio-recorder"; longDescription = '' This program allows you to record your favourite music or audio to a file. It can record audio from your system soundcard, microphones, browsers and diff --git a/pkgs/applications/audio/bambootracker/default.nix b/pkgs/applications/audio/bambootracker/default.nix index 6c1bd006c7a6..5ebc2caf0f71 100644 --- a/pkgs/applications/audio/bambootracker/default.nix +++ b/pkgs/applications/audio/bambootracker/default.nix @@ -76,6 +76,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A tracker for YM2608 (OPNA) which was used in NEC PC-8801/9801 series computers"; + mainProgram = "BambooTracker"; homepage = "https://bambootracker.github.io/BambooTracker/"; license = licenses.gpl2Plus; platforms = platforms.all; diff --git a/pkgs/applications/audio/blanket/default.nix b/pkgs/applications/audio/blanket/default.nix index 5a3d9949f8c5..4b08f8cf223a 100644 --- a/pkgs/applications/audio/blanket/default.nix +++ b/pkgs/applications/audio/blanket/default.nix @@ -59,6 +59,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/rafaelmardojai/blanket"; description = "Listen to different sounds"; + mainProgram = "blanket"; maintainers = with maintainers; [ onny ]; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/audio/bucklespring/default.nix b/pkgs/applications/audio/bucklespring/default.nix index dbdef66c5bc4..ccc25da4f1ed 100644 --- a/pkgs/applications/audio/bucklespring/default.nix +++ b/pkgs/applications/audio/bucklespring/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Nostalgia bucklespring keyboard sound"; + mainProgram = "buckle"; longDescription = '' When built with libinput (wayland or bare console), users need to be in the input group to use this: diff --git a/pkgs/applications/audio/cantata/default.nix b/pkgs/applications/audio/cantata/default.nix index c5f3cfe5b68f..0d5c85625253 100644 --- a/pkgs/applications/audio/cantata/default.nix +++ b/pkgs/applications/audio/cantata/default.nix @@ -111,6 +111,7 @@ mkDerivation rec { meta = with lib; { description = "A graphical client for MPD"; + mainProgram = "cantata"; homepage = "https://github.com/cdrummond/cantata"; license = licenses.gpl3Only; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/applications/audio/cd-discid/default.nix b/pkgs/applications/audio/cd-discid/default.nix index 16c574e8d038..e13a64e4bd83 100644 --- a/pkgs/applications/audio/cd-discid/default.nix +++ b/pkgs/applications/audio/cd-discid/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { license = licenses.gpl2Plus; platforms = platforms.unix; description = "Command-line utility to get CDDB discid information from a CD-ROM disc"; + mainProgram = "cd-discid"; longDescription = '' cd-discid is a backend utility to get CDDB discid information diff --git a/pkgs/applications/audio/cplay-ng/default.nix b/pkgs/applications/audio/cplay-ng/default.nix index d4eb815bd14c..caecd35bed18 100644 --- a/pkgs/applications/audio/cplay-ng/default.nix +++ b/pkgs/applications/audio/cplay-ng/default.nix @@ -29,6 +29,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/xi/cplay-ng"; description = "Simple curses audio player"; + mainProgram = "cplay-ng"; longDescription = '' cplay is a minimalist music player with a textual user interface written in Python. It aims to provide a power-user-friendly interface with simple diff --git a/pkgs/applications/audio/curseradio/default.nix b/pkgs/applications/audio/curseradio/default.nix index 94059e06e546..0faa58b99884 100644 --- a/pkgs/applications/audio/curseradio/default.nix +++ b/pkgs/applications/audio/curseradio/default.nix @@ -29,6 +29,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Command line radio player"; + mainProgram = "curseradio"; homepage = "https://github.com/chronitis/curseradio"; license = licenses.mit; maintainers = [ maintainers.eyjhb ]; diff --git a/pkgs/applications/audio/deadbeef/default.nix b/pkgs/applications/audio/deadbeef/default.nix index 2c08477d07a0..f26fd4903726 100644 --- a/pkgs/applications/audio/deadbeef/default.nix +++ b/pkgs/applications/audio/deadbeef/default.nix @@ -130,6 +130,7 @@ in clangStdenv.mkDerivation { meta = with lib; { description = "Ultimate Music Player for GNU/Linux"; + mainProgram = "deadbeef"; homepage = "http://deadbeef.sourceforge.net/"; downloadPage = "https://github.com/DeaDBeeF-Player/deadbeef"; license = licenses.gpl2; diff --git a/pkgs/applications/audio/dfasma/default.nix b/pkgs/applications/audio/dfasma/default.nix index cb2ac2b9e0bf..78ab9c8a5f4f 100644 --- a/pkgs/applications/audio/dfasma/default.nix +++ b/pkgs/applications/audio/dfasma/default.nix @@ -49,6 +49,7 @@ in mkDerivation rec { meta = with lib; { description = "Analyse and compare audio files in time and frequency"; + mainProgram = "dfasma"; longDescription = '' DFasma is free open-source software to compare audio files by time and frequency. The comparison is first visual, using wavforms and spectra. It diff --git a/pkgs/applications/audio/dr14_tmeter/default.nix b/pkgs/applications/audio/dr14_tmeter/default.nix index 649c0f39097f..6ae27b93f29e 100644 --- a/pkgs/applications/audio/dr14_tmeter/default.nix +++ b/pkgs/applications/audio/dr14_tmeter/default.nix @@ -22,6 +22,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Compute the DR14 of a given audio file according to the procedure described by the Pleasurize Music Foundation"; + mainProgram = "dr14_tmeter"; license = licenses.gpl3Plus; homepage = "http://dr14tmeter.sourceforge.net/"; maintainers = [ maintainers.adisbladis ]; diff --git a/pkgs/applications/audio/drumkv1/default.nix b/pkgs/applications/audio/drumkv1/default.nix index 30d6328b5758..8dfb00318c15 100644 --- a/pkgs/applications/audio/drumkv1/default.nix +++ b/pkgs/applications/audio/drumkv1/default.nix @@ -15,6 +15,7 @@ mkDerivation rec { meta = with lib; { description = "An old-school drum-kit sampler synthesizer with stereo fx"; + mainProgram = "drumkv1_jack"; homepage = "http://drumkv1.sourceforge.net/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/audio/easyabc/default.nix b/pkgs/applications/audio/easyabc/default.nix index edf6e3596aa2..9fb792626ac2 100644 --- a/pkgs/applications/audio/easyabc/default.nix +++ b/pkgs/applications/audio/easyabc/default.nix @@ -73,6 +73,7 @@ in python.pkgs.buildPythonApplication { meta = { description = "ABC music notation editor"; + mainProgram = "easyabc"; homepage = "https://easyabc.sourceforge.net/"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; diff --git a/pkgs/applications/audio/easytag/default.nix b/pkgs/applications/audio/easytag/default.nix index d55fd7ff0cb6..6d3fd8f1d17d 100644 --- a/pkgs/applications/audio/easytag/default.nix +++ b/pkgs/applications/audio/easytag/default.nix @@ -33,6 +33,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "View and edit tags for various audio files"; + mainProgram = "easytag"; homepage = "https://wiki.gnome.org/Apps/EasyTAG"; license = licenses.gpl2Plus; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/audio/espeak/default.nix b/pkgs/applications/audio/espeak/default.nix index 7164cb5fd3e0..4693995883d9 100644 --- a/pkgs/applications/audio/espeak/default.nix +++ b/pkgs/applications/audio/espeak/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Compact open source software speech synthesizer"; + mainProgram = "espeak"; homepage = "https://espeak.sourceforge.net/"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/audio/espeak/edit.nix b/pkgs/applications/audio/espeak/edit.nix index 6c4da056c848..4be2f404f60f 100644 --- a/pkgs/applications/audio/espeak/edit.nix +++ b/pkgs/applications/audio/espeak/edit.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Phoneme editor for espeak"; + mainProgram = "espeakedit"; homepage = "https://espeak.sourceforge.net/"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/audio/exaile/default.nix b/pkgs/applications/audio/exaile/default.nix index 77054b2d9144..a2f75fd85a70 100644 --- a/pkgs/applications/audio/exaile/default.nix +++ b/pkgs/applications/audio/exaile/default.nix @@ -93,6 +93,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.exaile.org/"; description = "A music player with a simple interface and powerful music management capabilities"; + mainProgram = "exaile"; license = licenses.gpl2Only; maintainers = with maintainers; [ ryneeverett ]; platforms = platforms.all; diff --git a/pkgs/applications/audio/faust/faustlive.nix b/pkgs/applications/audio/faust/faustlive.nix index 1d91f561c044..3826bb8b4bad 100644 --- a/pkgs/applications/audio/faust/faustlive.nix +++ b/pkgs/applications/audio/faust/faustlive.nix @@ -86,6 +86,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A standalone just-in-time Faust compiler"; + mainProgram = "FaustLive"; longDescription = '' FaustLive is a standalone just-in-time Faust compiler. It tries to bring together the convenience of a standalone interpreted language with the diff --git a/pkgs/applications/audio/fdkaac/default.nix b/pkgs/applications/audio/fdkaac/default.nix index 2350bde0bd6a..55e014e001fb 100644 --- a/pkgs/applications/audio/fdkaac/default.nix +++ b/pkgs/applications/audio/fdkaac/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Command line encoder frontend for libfdk-aac encoder"; + mainProgram = "fdkaac"; longDescription = '' fdkaac reads linear PCM audio in either WAV, raw PCM, or CAF format, and encodes it into either M4A / AAC file. diff --git a/pkgs/applications/audio/flac2all/default.nix b/pkgs/applications/audio/flac2all/default.nix index 4a6132d39af3..7020879eae9b 100644 --- a/pkgs/applications/audio/flac2all/default.nix +++ b/pkgs/applications/audio/flac2all/default.nix @@ -37,6 +37,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Multi process, clustered, FLAC to multi codec audio converter with tagging support"; + mainProgram = "flac2all"; homepage = "https://github.com/ZivaVatra/flac2all"; license = licenses.gpl3; # TODO: This has only been tested on Linux, but may work on Mac too. diff --git a/pkgs/applications/audio/flacon/default.nix b/pkgs/applications/audio/flacon/default.nix index b5d57e5a6178..a06efc1c78ea 100644 --- a/pkgs/applications/audio/flacon/default.nix +++ b/pkgs/applications/audio/flacon/default.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Extracts audio tracks from an audio CD image to separate tracks"; + mainProgram = "flacon"; homepage = "https://flacon.github.io/"; license = licenses.lgpl21; platforms = platforms.linux; diff --git a/pkgs/applications/audio/friture/default.nix b/pkgs/applications/audio/friture/default.nix index eb702d086312..60a098bb1ab8 100644 --- a/pkgs/applications/audio/friture/default.nix +++ b/pkgs/applications/audio/friture/default.nix @@ -49,6 +49,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A real-time audio analyzer"; + mainProgram = "friture"; homepage = "https://friture.org/"; license = licenses.gpl3; platforms = platforms.linux; # fails on Darwin diff --git a/pkgs/applications/audio/g4music/default.nix b/pkgs/applications/audio/g4music/default.nix index ed8b067ade32..bbb31c114659 100644 --- a/pkgs/applications/audio/g4music/default.nix +++ b/pkgs/applications/audio/g4music/default.nix @@ -51,6 +51,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A beautiful, fast, fluent, light weight music player written in GTK4"; + mainProgram = "g4music"; homepage = "https://gitlab.gnome.org/neithern/g4music"; license = licenses.gpl3Only; maintainers = with maintainers; [ magnouvean ]; diff --git a/pkgs/applications/audio/giada/default.nix b/pkgs/applications/audio/giada/default.nix index 0b272226f19a..7008e6a53155 100644 --- a/pkgs/applications/audio/giada/default.nix +++ b/pkgs/applications/audio/giada/default.nix @@ -69,6 +69,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A free, minimal, hardcore audio tool for DJs, live performers and electronic musicians"; + mainProgram = "giada"; homepage = "https://giadamusic.com/"; license = licenses.gpl3; maintainers = with maintainers; [ kashw2 ]; diff --git a/pkgs/applications/audio/gnome-podcasts/default.nix b/pkgs/applications/audio/gnome-podcasts/default.nix index 8753b1893ea3..bba557913297 100644 --- a/pkgs/applications/audio/gnome-podcasts/default.nix +++ b/pkgs/applications/audio/gnome-podcasts/default.nix @@ -68,6 +68,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Listen to your favorite podcasts"; + mainProgram = "gnome-podcasts"; homepage = "https://wiki.gnome.org/Apps/Podcasts"; license = licenses.gpl3Plus; maintainers = teams.gnome.members; diff --git a/pkgs/applications/audio/greg/default.nix b/pkgs/applications/audio/greg/default.nix index 2193447c02c7..5e6d5e2583ab 100644 --- a/pkgs/applications/audio/greg/default.nix +++ b/pkgs/applications/audio/greg/default.nix @@ -18,6 +18,7 @@ with pythonPackages; buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/manolomartinez/greg"; description = "A command-line podcast aggregator"; + mainProgram = "greg"; license = licenses.gpl3; maintainers = with maintainers; [ edwtjo ]; }; diff --git a/pkgs/applications/audio/guitarix/default.nix b/pkgs/applications/audio/guitarix/default.nix index 84308d59d44c..2134370eac9f 100644 --- a/pkgs/applications/audio/guitarix/default.nix +++ b/pkgs/applications/audio/guitarix/default.nix @@ -117,6 +117,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A virtual guitar amplifier for Linux running with JACK"; + mainProgram = "guitarix"; longDescription = '' guitarix is a virtual guitar amplifier for Linux running with JACK (Jack Audio Connection Kit). It is free as in speech and diff --git a/pkgs/applications/audio/helio-workstation/default.nix b/pkgs/applications/audio/helio-workstation/default.nix index 0b92b23d1800..eaaa197a9c6a 100644 --- a/pkgs/applications/audio/helio-workstation/default.nix +++ b/pkgs/applications/audio/helio-workstation/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "One music sequencer for all major platforms, both desktop and mobile"; + mainProgram = "helio"; homepage = "https://helio.fm/"; license = licenses.gpl3Only; maintainers = [ maintainers.suhr ]; diff --git a/pkgs/applications/audio/hushboard/default.nix b/pkgs/applications/audio/hushboard/default.nix index f0fde190db99..3248ab35b22c 100644 --- a/pkgs/applications/audio/hushboard/default.nix +++ b/pkgs/applications/audio/hushboard/default.nix @@ -67,6 +67,7 @@ buildPythonApplication { homepage = "https://kryogenix.org/code/hushboard/"; license = licenses.mit; description = "Mute your microphone while typing"; + mainProgram = "hushboard"; platforms = platforms.linux; maintainers = with maintainers; [ sersorrel ]; }; diff --git a/pkgs/applications/audio/iannix/default.nix b/pkgs/applications/audio/iannix/default.nix index 31f0bbbb4c7d..f55fcdfd3601 100644 --- a/pkgs/applications/audio/iannix/default.nix +++ b/pkgs/applications/audio/iannix/default.nix @@ -21,6 +21,7 @@ mkDerivation rec { meta = with lib; { description = "Graphical open-source sequencer"; + mainProgram = "iannix"; homepage = "https://www.iannix.org/"; license = licenses.lgpl3; platforms = platforms.linux; diff --git a/pkgs/applications/audio/in-formant/default.nix b/pkgs/applications/audio/in-formant/default.nix index 3df72add7f6b..89e7e876af8e 100644 --- a/pkgs/applications/audio/in-formant/default.nix +++ b/pkgs/applications/audio/in-formant/default.nix @@ -62,6 +62,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A real-time pitch and formant tracking software"; + mainProgram = "in-formant"; homepage = "https://github.com/in-formant/in-formant"; license = licenses.asl20; # currently broken on i686-linux and aarch64-linux due to other nixpkgs dependencies diff --git a/pkgs/applications/audio/indicator-sound-switcher/default.nix b/pkgs/applications/audio/indicator-sound-switcher/default.nix index 6610e53e2cc7..c47aff47fffe 100644 --- a/pkgs/applications/audio/indicator-sound-switcher/default.nix +++ b/pkgs/applications/audio/indicator-sound-switcher/default.nix @@ -54,6 +54,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Sound input/output selector indicator for Linux"; + mainProgram = "indicator-sound-switcher"; homepage = "https://yktoo.com/en/software/sound-switcher-indicator/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ alexnortung ]; diff --git a/pkgs/applications/audio/jack-autoconnect/default.nix b/pkgs/applications/audio/jack-autoconnect/default.nix index 302571c2be4d..d4fd50ca4f6d 100644 --- a/pkgs/applications/audio/jack-autoconnect/default.nix +++ b/pkgs/applications/audio/jack-autoconnect/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { homepage = "https://github.com/kripton/jack_autoconnect"; description = "Tiny application that reacts on port registrations by clients and connects them"; + mainProgram = "jack_autoconnect"; maintainers = with maintainers; [ unclechu ]; license = licenses.gpl2Only; platforms = platforms.linux; diff --git a/pkgs/applications/audio/jack-capture/default.nix b/pkgs/applications/audio/jack-capture/default.nix index e0b761a70f90..62fa23be2e5b 100644 --- a/pkgs/applications/audio/jack-capture/default.nix +++ b/pkgs/applications/audio/jack-capture/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A program for recording soundfiles with jack"; + mainProgram = "jack_capture"; homepage = "https://github.com/kmatheussen/jack_capture/"; license = licenses.gpl2; maintainers = with maintainers; [ goibhniu orivej ]; diff --git a/pkgs/applications/audio/jack-oscrolloscope/default.nix b/pkgs/applications/audio/jack-oscrolloscope/default.nix index 9905d072361e..8cdac43a3882 100644 --- a/pkgs/applications/audio/jack-oscrolloscope/default.nix +++ b/pkgs/applications/audio/jack-oscrolloscope/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple waveform viewer for JACK"; + mainProgram = "jack_oscrolloscope"; homepage = "http://das.nasophon.de/jack_oscrolloscope"; license = licenses.gpl2; maintainers = [ maintainers.goibhniu ]; diff --git a/pkgs/applications/audio/jackmix/default.nix b/pkgs/applications/audio/jackmix/default.nix index b34c7fbc1801..86c8a91862e7 100644 --- a/pkgs/applications/audio/jackmix/default.nix +++ b/pkgs/applications/audio/jackmix/default.nix @@ -36,6 +36,7 @@ mkDerivation rec { meta = with lib; { description = "Matrix-Mixer for the Jack-Audio-connection-Kit"; + mainProgram = "jackmix"; homepage = "https://github.com/kampfschlaefer/jackmix"; license = licenses.gpl2Only; maintainers = with maintainers; [ kampfschlaefer ]; diff --git a/pkgs/applications/audio/jacktrip/default.nix b/pkgs/applications/audio/jacktrip/default.nix index b813a397bd43..26a9bd4164c8 100644 --- a/pkgs/applications/audio/jacktrip/default.nix +++ b/pkgs/applications/audio/jacktrip/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Multi-machine audio network performance over the Internet"; + mainProgram = "jacktrip"; homepage = "https://jacktrip.github.io/jacktrip/"; license = with licenses; [ gpl3 lgpl3 mit ]; maintainers = [ maintainers.iwanb ]; diff --git a/pkgs/applications/audio/jamesdsp/default.nix b/pkgs/applications/audio/jamesdsp/default.nix index d7e96c84c6a5..4d2b7cf6dba1 100644 --- a/pkgs/applications/audio/jamesdsp/default.nix +++ b/pkgs/applications/audio/jamesdsp/default.nix @@ -80,6 +80,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { broken = (stdenv.isLinux && stdenv.isAarch64); description = "An audio effect processor for PipeWire clients"; + mainProgram = "jamesdsp"; homepage = "https://github.com/Audio4Linux/JDSP4Linux"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ pasqui23 rewine ]; diff --git a/pkgs/applications/audio/librespot/default.nix b/pkgs/applications/audio/librespot/default.nix index 2617030829a5..dc60185fc0f7 100644 --- a/pkgs/applications/audio/librespot/default.nix +++ b/pkgs/applications/audio/librespot/default.nix @@ -50,6 +50,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Open Source Spotify client library and playback daemon"; + mainProgram = "librespot"; homepage = "https://github.com/librespot-org/librespot"; changelog = "https://github.com/librespot-org/librespot/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; diff --git a/pkgs/applications/audio/lingot/default.nix b/pkgs/applications/audio/lingot/default.nix index 234e2d675cb1..3d7339f571d6 100644 --- a/pkgs/applications/audio/lingot/default.nix +++ b/pkgs/applications/audio/lingot/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { meta = { description = "Not a Guitar-Only tuner"; + mainProgram = "lingot"; homepage = "https://www.nongnu.org/lingot/"; license = lib.licenses.gpl2Plus; platforms = with lib.platforms; linux; diff --git a/pkgs/applications/audio/linvstmanager/default.nix b/pkgs/applications/audio/linvstmanager/default.nix index dc8376c4166f..8df3fd507adc 100644 --- a/pkgs/applications/audio/linvstmanager/default.nix +++ b/pkgs/applications/audio/linvstmanager/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Graphical companion application for various bridges like LinVst, etc"; + mainProgram = "linvstmanager"; homepage = "https://github.com/Goli4thus/linvstmanager"; license = with licenses; [ gpl3 ]; platforms = platforms.linux; diff --git a/pkgs/applications/audio/lmms/default.nix b/pkgs/applications/audio/lmms/default.nix index 01b84780607b..75e5e9d39e83 100644 --- a/pkgs/applications/audio/lmms/default.nix +++ b/pkgs/applications/audio/lmms/default.nix @@ -48,6 +48,7 @@ mkDerivation rec { meta = with lib; { description = "DAW similar to FL Studio (music production software)"; + mainProgram = "lmms"; homepage = "https://lmms.io"; license = licenses.gpl2Plus; platforms = [ "x86_64-linux" "i686-linux" ]; diff --git a/pkgs/applications/audio/lyrebird/default.nix b/pkgs/applications/audio/lyrebird/default.nix index 4f1d8ca36e84..5eb2d745cdc3 100644 --- a/pkgs/applications/audio/lyrebird/default.nix +++ b/pkgs/applications/audio/lyrebird/default.nix @@ -55,6 +55,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Simple and powerful voice changer for Linux, written in GTK 3"; + mainProgram = "lyrebird"; homepage = "https://github.com/chxrlt/lyrebird"; license = licenses.mit; maintainers = with maintainers; [ OPNA2608 ]; diff --git a/pkgs/applications/audio/mellowplayer/default.nix b/pkgs/applications/audio/mellowplayer/default.nix index b736ae882990..b5eb65cad444 100644 --- a/pkgs/applications/audio/mellowplayer/default.nix +++ b/pkgs/applications/audio/mellowplayer/default.nix @@ -65,6 +65,7 @@ mkDerivation rec { broken = stdenv.isDarwin; # test build fails, but the project is not maintained anymore description = "Cloud music integration for your desktop"; + mainProgram = "MellowPlayer"; homepage = "https://gitlab.com/ColinDuquesnoy/MellowPlayer"; license = licenses.gpl2; maintainers = with maintainers; [ kalbasit ]; diff --git a/pkgs/applications/audio/meters_lv2/default.nix b/pkgs/applications/audio/meters_lv2/default.nix index e79da2fd1ea9..d4dbcf210ec9 100644 --- a/pkgs/applications/audio/meters_lv2/default.nix +++ b/pkgs/applications/audio/meters_lv2/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Collection of audio level meters with GUI in LV2 plugin format"; + mainProgram = "x42-meter"; homepage = "https://x42.github.io/meters.lv2/"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/applications/audio/mhwaveedit/default.nix b/pkgs/applications/audio/mhwaveedit/default.nix index e6b21dff2dc5..42d4c38d47a3 100644 --- a/pkgs/applications/audio/mhwaveedit/default.nix +++ b/pkgs/applications/audio/mhwaveedit/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Graphical program for editing, playing and recording sound files"; + mainProgram = "mhwaveedit"; homepage = "https://github.com/magnush/mhwaveedit"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/audio/midi-visualizer/default.nix b/pkgs/applications/audio/midi-visualizer/default.nix index ed48c129418c..907a17eccb30 100644 --- a/pkgs/applications/audio/midi-visualizer/default.nix +++ b/pkgs/applications/audio/midi-visualizer/default.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A small MIDI visualizer tool, using OpenGL"; + mainProgram = "MIDIVisualizer"; homepage = "https://github.com/kosua20/MIDIVisualizer"; license = licenses.mit; platforms = platforms.unix; diff --git a/pkgs/applications/audio/midisheetmusic/default.nix b/pkgs/applications/audio/midisheetmusic/default.nix index 0d07663d115a..645c69a1c86b 100644 --- a/pkgs/applications/audio/midisheetmusic/default.nix +++ b/pkgs/applications/audio/midisheetmusic/default.nix @@ -54,6 +54,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "Convert MIDI Files to Piano Sheet Music for two hands"; + mainProgram = "midisheetmusic.mono.exe"; homepage = "http://midisheetmusic.com"; license = licenses.gpl2; maintainers = [ ]; diff --git a/pkgs/applications/audio/miniaudicle/default.nix b/pkgs/applications/audio/miniaudicle/default.nix index 00f71063bac3..d0aed09ee863 100644 --- a/pkgs/applications/audio/miniaudicle/default.nix +++ b/pkgs/applications/audio/miniaudicle/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A light-weight integrated development environment for the ChucK digital audio programming language"; + mainProgram = "miniAudicle"; homepage = "https://audicle.cs.princeton.edu/mini/"; downloadPage = "https://audicle.cs.princeton.edu/mini/linux/"; license = licenses.gpl2Plus; diff --git a/pkgs/applications/audio/mixxx/default.nix b/pkgs/applications/audio/mixxx/default.nix index f9e860d78177..4abc6d4956f4 100644 --- a/pkgs/applications/audio/mixxx/default.nix +++ b/pkgs/applications/audio/mixxx/default.nix @@ -142,6 +142,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://mixxx.org"; description = "Digital DJ mixing software"; + mainProgram = "mixxx"; license = licenses.gpl2Plus; maintainers = with maintainers; [ goibhniu bfortz ]; platforms = platforms.linux; diff --git a/pkgs/applications/audio/mopidy/mopidy.nix b/pkgs/applications/audio/mopidy/mopidy.nix index b92d0fd77c11..bf7f9a07f772 100644 --- a/pkgs/applications/audio/mopidy/mopidy.nix +++ b/pkgs/applications/audio/mopidy/mopidy.nix @@ -46,6 +46,7 @@ pythonPackages.buildPythonApplication rec { meta = with lib; { homepage = "https://www.mopidy.com/"; description = "An extensible music server that plays music from local disk, Spotify, SoundCloud, and more"; + mainProgram = "mopidy"; license = licenses.asl20; maintainers = [ maintainers.fpletz ]; hydraPlatforms = []; diff --git a/pkgs/applications/audio/mousai/default.nix b/pkgs/applications/audio/mousai/default.nix index c2bcc0200fbc..1ce6a0ea8209 100644 --- a/pkgs/applications/audio/mousai/default.nix +++ b/pkgs/applications/audio/mousai/default.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Identify any songs in seconds"; + mainProgram = "mousai"; homepage = "https://github.com/SeaDve/Mousai"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dotlambda ]; diff --git a/pkgs/applications/audio/munt/mt32emu-qt.nix b/pkgs/applications/audio/munt/mt32emu-qt.nix index 51501de4a89e..9ebb59ddafdd 100644 --- a/pkgs/applications/audio/munt/mt32emu-qt.nix +++ b/pkgs/applications/audio/munt/mt32emu-qt.nix @@ -65,6 +65,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://munt.sourceforge.net/"; description = "A synthesizer application built on Qt and libmt32emu"; + mainProgram = "mt32emu-qt"; longDescription = '' mt32emu-qt is a synthesiser application that facilitates both realtime synthesis and conversion of pre-recorded SMF files to WAVE making use of diff --git a/pkgs/applications/audio/munt/mt32emu-smf2wav.nix b/pkgs/applications/audio/munt/mt32emu-smf2wav.nix index 517d1b200aab..3ebadcca91be 100644 --- a/pkgs/applications/audio/munt/mt32emu-smf2wav.nix +++ b/pkgs/applications/audio/munt/mt32emu-smf2wav.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://munt.sourceforge.net/"; description = "Produces a WAVE file from a Standard MIDI file (SMF)"; + mainProgram = "mt32emu-smf2wav"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ OPNA2608 ]; platforms = platforms.all; diff --git a/pkgs/applications/audio/muso/default.nix b/pkgs/applications/audio/muso/default.nix index 95c45216ef2e..30b26e7e5979 100644 --- a/pkgs/applications/audio/muso/default.nix +++ b/pkgs/applications/audio/muso/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { broken = stdenv.isDarwin; description = "An automatic music sorter (based on ID3 tags)"; + mainProgram = "muso"; homepage = "https://github.com/quebin31/muso"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/audio/nootka/default.nix b/pkgs/applications/audio/nootka/default.nix index 3ce835138f6d..a52c5bb98176 100644 --- a/pkgs/applications/audio/nootka/default.nix +++ b/pkgs/applications/audio/nootka/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Application for practicing playing musical scores and ear training"; + mainProgram = "nootka"; homepage = "https://nootka.sourceforge.io/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ mmlb orivej ]; diff --git a/pkgs/applications/audio/padthv1/default.nix b/pkgs/applications/audio/padthv1/default.nix index 2c4581cc7319..f51a3f69a2c5 100644 --- a/pkgs/applications/audio/padthv1/default.nix +++ b/pkgs/applications/audio/padthv1/default.nix @@ -15,6 +15,7 @@ mkDerivation rec { meta = with lib; { description = "polyphonic additive synthesizer"; + mainProgram = "padthv1_jack"; homepage = "http://padthv1.sourceforge.net/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/audio/paprefs/default.nix b/pkgs/applications/audio/paprefs/default.nix index ef45cc4676a1..212d866059da 100644 --- a/pkgs/applications/audio/paprefs/default.nix +++ b/pkgs/applications/audio/paprefs/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "PulseAudio Preferences"; + mainProgram = "paprefs"; longDescription = '' PulseAudio Preferences (paprefs) is a simple GTK based configuration diff --git a/pkgs/applications/audio/parlatype/default.nix b/pkgs/applications/audio/parlatype/default.nix index 23fb4380a2e5..d05130de4124 100644 --- a/pkgs/applications/audio/parlatype/default.nix +++ b/pkgs/applications/audio/parlatype/default.nix @@ -64,6 +64,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GNOME audio player for transcription"; + mainProgram = "parlatype"; longDescription = '' Parlatype is a minimal audio player for manual speech transcription, written for the GNOME desktop environment. It plays audio sources to diff --git a/pkgs/applications/audio/patchance/default.nix b/pkgs/applications/audio/patchance/default.nix index 7770065b3d1c..86e1d2745b96 100644 --- a/pkgs/applications/audio/patchance/default.nix +++ b/pkgs/applications/audio/patchance/default.nix @@ -42,6 +42,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/Houston4444/Patchance"; description = "JACK Patchbay GUI"; + mainProgram = "patchance"; license = licenses.gpl2; maintainers = with maintainers; [ orivej ]; platforms = platforms.linux; diff --git a/pkgs/applications/audio/pianobooster/default.nix b/pkgs/applications/audio/pianobooster/default.nix index 7d62aa61d6b0..a83c5ee7e401 100644 --- a/pkgs/applications/audio/pianobooster/default.nix +++ b/pkgs/applications/audio/pianobooster/default.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A MIDI file player that teaches you how to play the piano"; + mainProgram = "pianobooster"; homepage = "https://github.com/pianobooster/PianoBooster"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/audio/picard/default.nix b/pkgs/applications/audio/picard/default.nix index 36ed7069ea80..82909a6296bf 100644 --- a/pkgs/applications/audio/picard/default.nix +++ b/pkgs/applications/audio/picard/default.nix @@ -77,6 +77,7 @@ pythonPackages.buildPythonApplication rec { homepage = "https://picard.musicbrainz.org"; changelog = "https://picard.musicbrainz.org/changelog"; description = "The official MusicBrainz tagger"; + mainProgram = "picard"; license = licenses.gpl2Plus; platforms = platforms.all; }; diff --git a/pkgs/applications/audio/pipecontrol/default.nix b/pkgs/applications/audio/pipecontrol/default.nix index 0f302bc72e5d..1586be58e3cf 100644 --- a/pkgs/applications/audio/pipecontrol/default.nix +++ b/pkgs/applications/audio/pipecontrol/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Pipewire control GUI program in Qt (Kirigami2)"; + mainProgram = "pipecontrol"; homepage = "https://github.com/portaloffreedom/pipecontrol"; license = licenses.gpl3Only; maintainers = with maintainers; [ tilcreator ]; diff --git a/pkgs/applications/audio/pithos/default.nix b/pkgs/applications/audio/pithos/default.nix index bb1273424d7e..1ff4aedb6b00 100644 --- a/pkgs/applications/audio/pithos/default.nix +++ b/pkgs/applications/audio/pithos/default.nix @@ -34,6 +34,7 @@ pythonPackages.buildPythonApplication rec { meta = with lib; { broken = stdenv.isDarwin; description = "Pandora Internet Radio player for GNOME"; + mainProgram = "pithos"; homepage = "https://pithos.github.io/"; license = licenses.gpl3; maintainers = with maintainers; [ obadz ]; diff --git a/pkgs/applications/audio/plugdata/default.nix b/pkgs/applications/audio/plugdata/default.nix index b4f587f2e807..9af5c4a9fa85 100644 --- a/pkgs/applications/audio/plugdata/default.nix +++ b/pkgs/applications/audio/plugdata/default.nix @@ -114,6 +114,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Plugin wrapper around Pure Data to allow patching in a wide selection of DAWs"; + mainProgram = "plugdata"; homepage = "https://plugdata.org/"; license = licenses.gpl3; platforms = platforms.linux; diff --git a/pkgs/applications/audio/polyphone/default.nix b/pkgs/applications/audio/polyphone/default.nix index 0e73861aa0f4..a01ce9773afa 100644 --- a/pkgs/applications/audio/polyphone/default.nix +++ b/pkgs/applications/audio/polyphone/default.nix @@ -46,6 +46,7 @@ mkDerivation rec { meta = with lib; { broken = (stdenv.isLinux && stdenv.isAarch64); description = "A soundfont editor for creating musical instruments"; + mainProgram = "polyphone"; homepage = "https://www.polyphone-soundfonts.com/"; license = licenses.gpl3; maintainers = [ maintainers.maxdamantus ]; diff --git a/pkgs/applications/audio/praat/default.nix b/pkgs/applications/audio/praat/default.nix index 0f98ba2357a5..6274d448ad51 100644 --- a/pkgs/applications/audio/praat/default.nix +++ b/pkgs/applications/audio/praat/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Doing phonetics by computer"; + mainProgram = "praat"; homepage = "https://www.fon.hum.uva.nl/praat/"; license = lib.licenses.gpl2Plus; # Has some 3rd-party code in it though maintainers = with lib.maintainers; [ orivej ]; diff --git a/pkgs/applications/audio/pragha/default.nix b/pkgs/applications/audio/pragha/default.nix index 8e039f05927f..2ae9e233c4e2 100644 --- a/pkgs/applications/audio/pragha/default.nix +++ b/pkgs/applications/audio/pragha/default.nix @@ -95,6 +95,7 @@ mkDerivation rec { meta = with lib; { description = "A lightweight GTK+ music manager - fork of Consonance Music Manager"; + mainProgram = "pragha"; homepage = "https://pragha-music-player.github.io/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ mbaeten ]; diff --git a/pkgs/applications/audio/puddletag/default.nix b/pkgs/applications/audio/puddletag/default.nix index 4d897f1a3256..ddeee09d829d 100644 --- a/pkgs/applications/audio/puddletag/default.nix +++ b/pkgs/applications/audio/puddletag/default.nix @@ -72,6 +72,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "An audio tag editor similar to the Windows program, Mp3tag"; + mainProgram = "puddletag"; homepage = "https://docs.puddletag.net"; license = licenses.gpl3Plus; maintainers = with maintainers; [ peterhoeg dschrempf ]; diff --git a/pkgs/applications/audio/pulseaudio-ctl/default.nix b/pkgs/applications/audio/pulseaudio-ctl/default.nix index 1b21aa9d4163..e58d8edba6f9 100644 --- a/pkgs/applications/audio/pulseaudio-ctl/default.nix +++ b/pkgs/applications/audio/pulseaudio-ctl/default.nix @@ -33,6 +33,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Control pulseaudio volume from the shell or mapped to keyboard shortcuts. No need for alsa-utils"; + mainProgram = "pulseaudio-ctl"; homepage = "https://bbs.archlinux.org/viewtopic.php?id=124513"; license = licenses.mit; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/applications/audio/pulseaudio-dlna/default.nix b/pkgs/applications/audio/pulseaudio-dlna/default.nix index 5358750b13e2..57f99b81299e 100644 --- a/pkgs/applications/audio/pulseaudio-dlna/default.nix +++ b/pkgs/applications/audio/pulseaudio-dlna/default.nix @@ -67,6 +67,7 @@ python3Packages.buildPythonApplication { meta = with lib; { description = "A lightweight streaming server which brings DLNA / UPNP and Chromecast support to PulseAudio and Linux"; + mainProgram = "pulseaudio-dlna"; homepage = "https://github.com/Cygn/pulseaudio-dlna"; license = licenses.gpl3Plus; maintainers = with maintainers; [ mog ]; diff --git a/pkgs/applications/audio/pulseeffects-legacy/default.nix b/pkgs/applications/audio/pulseeffects-legacy/default.nix index 7d255b7a71e2..c243b99f098c 100644 --- a/pkgs/applications/audio/pulseeffects-legacy/default.nix +++ b/pkgs/applications/audio/pulseeffects-legacy/default.nix @@ -106,6 +106,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Limiter, compressor, reverberation, equalizer and auto volume effects for Pulseaudio applications"; + mainProgram = "pulseeffects"; homepage = "https://github.com/wwmm/pulseeffects"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/audio/pyradio/default.nix b/pkgs/applications/audio/pyradio/default.nix index e9ef64260f46..9748c9f16111 100644 --- a/pkgs/applications/audio/pyradio/default.nix +++ b/pkgs/applications/audio/pyradio/default.nix @@ -39,6 +39,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "http://www.coderholic.com/pyradio/"; description = "Curses based internet radio player"; + mainProgram = "pyradio"; changelog = "https://github.com/coderholic/pyradio/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ contrun ]; diff --git a/pkgs/applications/audio/qjackctl/default.nix b/pkgs/applications/audio/qjackctl/default.nix index abfcef0d2f75..47f8f10fbf0f 100644 --- a/pkgs/applications/audio/qjackctl/default.nix +++ b/pkgs/applications/audio/qjackctl/default.nix @@ -38,6 +38,7 @@ mkDerivation rec { meta = with lib; { description = "A Qt application to control the JACK sound server daemon"; + mainProgram = "qjackctl"; homepage = "https://github.com/rncbc/qjackctl"; license = licenses.gpl2Plus; maintainers = [ maintainers.goibhniu ]; diff --git a/pkgs/applications/audio/qmidiarp/default.nix b/pkgs/applications/audio/qmidiarp/default.nix index 4c2de70efc0f..7b7f929e5379 100644 --- a/pkgs/applications/audio/qmidiarp/default.nix +++ b/pkgs/applications/audio/qmidiarp/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An advanced MIDI arpeggiator"; + mainProgram = "qmidiarp"; longDescription = '' An advanced MIDI arpeggiator, programmable step sequencer and LFO for Linux. It can hold any number of arpeggiator, sequencer, or LFO modules running in diff --git a/pkgs/applications/audio/qmidinet/default.nix b/pkgs/applications/audio/qmidinet/default.nix index 556787ca9ea5..29c8ad7a797f 100644 --- a/pkgs/applications/audio/qmidinet/default.nix +++ b/pkgs/applications/audio/qmidinet/default.nix @@ -17,6 +17,7 @@ mkDerivation rec { meta = with lib; { description = "A MIDI network gateway application that sends and receives MIDI data (ALSA Sequencer and/or JACK MIDI) over the network"; + mainProgram = "qmidinet"; homepage = "http://qmidinet.sourceforge.net/"; license = licenses.gpl2Plus; maintainers = [ maintainers.magnetophon ]; diff --git a/pkgs/applications/audio/qmmp/default.nix b/pkgs/applications/audio/qmmp/default.nix index 54da814c5f20..427d9f48c1fd 100644 --- a/pkgs/applications/audio/qmmp/default.nix +++ b/pkgs/applications/audio/qmmp/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Qt-based audio player that looks like Winamp"; + mainProgram = "qmmp"; homepage = "https://qmmp.ylsoftware.com/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/audio/qsampler/default.nix b/pkgs/applications/audio/qsampler/default.nix index bb40e0b3eebc..bd4922394f6a 100644 --- a/pkgs/applications/audio/qsampler/default.nix +++ b/pkgs/applications/audio/qsampler/default.nix @@ -20,6 +20,7 @@ mkDerivation rec { meta = with lib; { homepage = "http://www.linuxsampler.org"; description = "Graphical frontend to LinuxSampler"; + mainProgram = "qsampler"; license = licenses.gpl2; maintainers = [ maintainers.goibhniu ]; platforms = platforms.linux; diff --git a/pkgs/applications/audio/qsynth/default.nix b/pkgs/applications/audio/qsynth/default.nix index a24625ca7de8..965c3e723e80 100644 --- a/pkgs/applications/audio/qsynth/default.nix +++ b/pkgs/applications/audio/qsynth/default.nix @@ -23,6 +23,7 @@ mkDerivation rec { meta = with lib; { description = "Fluidsynth GUI"; + mainProgram = "qsynth"; homepage = "https://sourceforge.net/projects/qsynth"; license = licenses.gpl2Plus; maintainers = with maintainers; [ goibhniu ]; diff --git a/pkgs/applications/audio/r128gain/default.nix b/pkgs/applications/audio/r128gain/default.nix index 8cf6871a76b4..6cf7f41f10ce 100644 --- a/pkgs/applications/audio/r128gain/default.nix +++ b/pkgs/applications/audio/r128gain/default.nix @@ -36,6 +36,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Fast audio loudness scanner & tagger (ReplayGain v2 / R128)"; + mainProgram = "r128gain"; homepage = "https://github.com/desbma/r128gain"; license = licenses.lgpl2Plus; maintainers = [ maintainers.AluisioASG ]; diff --git a/pkgs/applications/audio/radioboat/default.nix b/pkgs/applications/audio/radioboat/default.nix index 3dc97a84b62f..b5421115201a 100644 --- a/pkgs/applications/audio/radioboat/default.nix +++ b/pkgs/applications/audio/radioboat/default.nix @@ -51,6 +51,7 @@ buildGoModule rec { meta = with lib; { description = "A terminal web radio client"; + mainProgram = "radioboat"; homepage = "https://github.com/slashformotion/radioboat"; license = licenses.asl20; platforms = platforms.linux; diff --git a/pkgs/applications/audio/redoflacs/default.nix b/pkgs/applications/audio/redoflacs/default.nix index 999dc90a6e4e..75425375f6af 100644 --- a/pkgs/applications/audio/redoflacs/default.nix +++ b/pkgs/applications/audio/redoflacs/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Parallel BASH commandline FLAC compressor, verifier, organizer, analyzer, and retagger"; + mainProgram = "redoflacs"; homepage = src.meta.homepage; license = licenses.gpl2; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/applications/audio/rofi-mpd/default.nix b/pkgs/applications/audio/rofi-mpd/default.nix index 8f9819bd913b..65c4c700e262 100644 --- a/pkgs/applications/audio/rofi-mpd/default.nix +++ b/pkgs/applications/audio/rofi-mpd/default.nix @@ -18,6 +18,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A rofi menu for interacting with MPD written in Python"; + mainProgram = "rofi-mpd"; homepage = "https://github.com/JakeStanger/Rofi_MPD"; license = licenses.mit; maintainers = with maintainers; [ jakestanger ]; diff --git a/pkgs/applications/audio/rofi-pulse-select/default.nix b/pkgs/applications/audio/rofi-pulse-select/default.nix index 0664a6c2c4d7..857cdddeb638 100644 --- a/pkgs/applications/audio/rofi-pulse-select/default.nix +++ b/pkgs/applications/audio/rofi-pulse-select/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Rofi-based interface to select source/sink (aka input/output) with PulseAudio"; + mainProgram = "rofi-pulse-select"; homepage = "https://gitlab.com/DamienCassou/rofi-pulse-select"; license = licenses.gpl3Plus; maintainers = with maintainers; [ DamienCassou ]; diff --git a/pkgs/applications/audio/rosegarden/default.nix b/pkgs/applications/audio/rosegarden/default.nix index 0a82a4671db2..57a7ca82254a 100644 --- a/pkgs/applications/audio/rosegarden/default.nix +++ b/pkgs/applications/audio/rosegarden/default.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.rosegardenmusic.com/"; description = "Music composition and editing environment"; + mainProgram = "rosegarden"; longDescription = '' Rosegarden is a music composition and editing environment based around a MIDI sequencer that features a rich understanding of music notation diff --git a/pkgs/applications/audio/rubyripper/default.nix b/pkgs/applications/audio/rubyripper/default.nix index 23cc0577c688..a30eca6a7686 100644 --- a/pkgs/applications/audio/rubyripper/default.nix +++ b/pkgs/applications/audio/rubyripper/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "High quality CD audio ripper"; + mainProgram = "rrip_cli"; platforms = platforms.linux; license = licenses.gpl3Plus; homepage = "https://github.com/bleskodev/rubyripper"; diff --git a/pkgs/applications/audio/samplebrain/default.nix b/pkgs/applications/audio/samplebrain/default.nix index 942e7bccc13c..54314812491c 100644 --- a/pkgs/applications/audio/samplebrain/default.nix +++ b/pkgs/applications/audio/samplebrain/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A custom sample mashing app"; + mainProgram = "samplebrain"; homepage = "https://thentrythis.org/projects/samplebrain"; changelog = "https://gitlab.com/then-try-this/samplebrain/-/releases/v${version}_release"; maintainers = with maintainers; [ mitchmindtree ]; diff --git a/pkgs/applications/audio/samplv1/default.nix b/pkgs/applications/audio/samplv1/default.nix index 95035570e924..1af25d0d75b5 100644 --- a/pkgs/applications/audio/samplv1/default.nix +++ b/pkgs/applications/audio/samplv1/default.nix @@ -18,6 +18,7 @@ mkDerivation rec { meta = with lib; { description = "An old-school all-digital polyphonic sampler synthesizer with stereo fx"; + mainProgram = "samplv1_jack"; homepage = "http://samplv1.sourceforge.net/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/audio/sfxr-qt/default.nix b/pkgs/applications/audio/sfxr-qt/default.nix index 2b264cfd56b9..529d12db967f 100644 --- a/pkgs/applications/audio/sfxr-qt/default.nix +++ b/pkgs/applications/audio/sfxr-qt/default.nix @@ -58,6 +58,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/agateau/sfxr-qt"; description = "A sound effect generator, QtQuick port of sfxr"; + mainProgram = "sfxr-qt"; license = licenses.gpl2; maintainers = with maintainers; [ fgaz ]; platforms = platforms.linux; diff --git a/pkgs/applications/audio/sfxr/default.nix b/pkgs/applications/audio/sfxr/default.nix index 08efb7690335..552bc8ea52a5 100644 --- a/pkgs/applications/audio/sfxr/default.nix +++ b/pkgs/applications/audio/sfxr/default.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation (finalAttrs: { broken = stdenv.isDarwin; homepage = "http://www.drpetter.se/project_sfxr.html"; description = "A videogame sound effect generator"; + mainProgram = "sfxr"; license = licenses.mit; maintainers = with maintainers; [ fgaz ]; platforms = platforms.unix; diff --git a/pkgs/applications/audio/shortwave/default.nix b/pkgs/applications/audio/shortwave/default.nix index b64e4bf5e50e..c1f3f53416fd 100644 --- a/pkgs/applications/audio/shortwave/default.nix +++ b/pkgs/applications/audio/shortwave/default.nix @@ -75,6 +75,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.gnome.org/World/Shortwave"; description = "Find and listen to internet radio stations"; + mainProgram = "shortwave"; longDescription = '' Shortwave is a streaming audio player designed for the GNOME desktop. It is the successor to the older Gradio application. diff --git a/pkgs/applications/audio/sonata/default.nix b/pkgs/applications/audio/sonata/default.nix index e5aa90180120..97397da96f25 100644 --- a/pkgs/applications/audio/sonata/default.nix +++ b/pkgs/applications/audio/sonata/default.nix @@ -46,6 +46,7 @@ in buildPythonApplication rec { meta = { description = "An elegant client for the Music Player Daemon"; + mainProgram = "sonata"; longDescription = '' Sonata is an elegant client for the Music Player Daemon. diff --git a/pkgs/applications/audio/sonic-lineup/default.nix b/pkgs/applications/audio/sonic-lineup/default.nix index 6ea4bcd6628d..f58f88b32138 100644 --- a/pkgs/applications/audio/sonic-lineup/default.nix +++ b/pkgs/applications/audio/sonic-lineup/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Comparative visualisation of related audio recordings"; + mainProgram = "sonic-lineup"; homepage = "https://www.sonicvisualiser.org/sonic-lineup/"; license = licenses.gpl2Plus; maintainers = [ maintainers.vandenoever ]; diff --git a/pkgs/applications/audio/sound-juicer/default.nix b/pkgs/applications/audio/sound-juicer/default.nix index 999b2825eff7..261de6e48450 100644 --- a/pkgs/applications/audio/sound-juicer/default.nix +++ b/pkgs/applications/audio/sound-juicer/default.nix @@ -62,6 +62,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Gnome CD Ripper"; + mainProgram = "sound-juicer"; homepage = "https://wiki.gnome.org/Apps/SoundJuicer"; maintainers = [ maintainers.bdimcheff ]; license = licenses.gpl2Plus; diff --git a/pkgs/applications/audio/soundconverter/default.nix b/pkgs/applications/audio/soundconverter/default.nix index e2e5094e8452..b07ed63f220d 100644 --- a/pkgs/applications/audio/soundconverter/default.nix +++ b/pkgs/applications/audio/soundconverter/default.nix @@ -73,6 +73,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://soundconverter.org/"; description = "Leading audio file converter for the GNOME Desktop"; + mainProgram = "soundconverter"; longDescription = '' SoundConverter reads anything the GStreamer library can read, and writes WAV, FLAC, MP3, AAC and Ogg Vorbis files. diff --git a/pkgs/applications/audio/soundkonverter/default.nix b/pkgs/applications/audio/soundkonverter/default.nix index b044db5fab82..0aebd46210da 100644 --- a/pkgs/applications/audio/soundkonverter/default.nix +++ b/pkgs/applications/audio/soundkonverter/default.nix @@ -78,6 +78,7 @@ mkDerivation rec { license = lib.licenses.gpl2; maintainers = [ lib.maintainers.schmittlauch ]; description = "Audio file converter, CD ripper and Replay Gain tool"; + mainProgram = "soundkonverter"; longDescription = '' soundKonverter is a frontend to various audio converters. diff --git a/pkgs/applications/audio/spek/default.nix b/pkgs/applications/audio/spek/default.nix index f54e661b4c74..bd206709c26e 100644 --- a/pkgs/applications/audio/spek/default.nix +++ b/pkgs/applications/audio/spek/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Analyse your audio files by showing their spectrogram"; + mainProgram = "spek"; homepage = "http://spek.cc/"; license = licenses.gpl3; maintainers = with maintainers; [ bjornfor ]; diff --git a/pkgs/applications/audio/spot/default.nix b/pkgs/applications/audio/spot/default.nix index d9a0babb6840..7cf683beb918 100644 --- a/pkgs/applications/audio/spot/default.nix +++ b/pkgs/applications/audio/spot/default.nix @@ -79,6 +79,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Native Spotify client for the GNOME desktop"; + mainProgram = "spot"; homepage = "https://github.com/xou816/spot"; license = licenses.mit; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/audio/spotify-cli-linux/default.nix b/pkgs/applications/audio/spotify-cli-linux/default.nix index 82aa5c366ab6..73b1ea913206 100644 --- a/pkgs/applications/audio/spotify-cli-linux/default.nix +++ b/pkgs/applications/audio/spotify-cli-linux/default.nix @@ -23,6 +23,7 @@ python3Packages.buildPythonApplication rec { homepage = "https://pwittchen.github.io/spotify-cli-linux/"; maintainers = [ maintainers.kmein ]; description = "A command line interface to Spotify on Linux."; + mainProgram = "spotifycli"; license = licenses.gpl3; platforms = platforms.linux; }; diff --git a/pkgs/applications/audio/spotify-qt/default.nix b/pkgs/applications/audio/spotify-qt/default.nix index d302643eb47d..4f6460bd3a2d 100644 --- a/pkgs/applications/audio/spotify-qt/default.nix +++ b/pkgs/applications/audio/spotify-qt/default.nix @@ -28,6 +28,7 @@ mkDerivation rec { meta = with lib; { description = "Lightweight unofficial Spotify client using Qt"; + mainProgram = "spotify-qt"; homepage = "https://github.com/kraxarn/spotify-qt"; license = licenses.gpl3Only; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/audio/sublime-music/default.nix b/pkgs/applications/audio/sublime-music/default.nix index a2f6b17a8746..b2cf3a5d842d 100644 --- a/pkgs/applications/audio/sublime-music/default.nix +++ b/pkgs/applications/audio/sublime-music/default.nix @@ -117,6 +117,7 @@ python.pkgs.buildPythonApplication rec { meta = with lib; { description = "GTK3 Subsonic/Airsonic client"; + mainProgram = "sublime-music"; homepage = "https://sublimemusic.app/"; changelog = "https://github.com/sublime-music/sublime-music/blob/v${version}/CHANGELOG.rst"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/audio/synthv1/default.nix b/pkgs/applications/audio/synthv1/default.nix index b0e9e9bde9d0..770c5d924a1d 100644 --- a/pkgs/applications/audio/synthv1/default.nix +++ b/pkgs/applications/audio/synthv1/default.nix @@ -15,6 +15,7 @@ mkDerivation rec { meta = with lib; { description = "An old-school 4-oscillator subtractive polyphonic synthesizer with stereo fx"; + mainProgram = "synthv1_jack"; homepage = "https://synthv1.sourceforge.io/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/audio/tauon/default.nix b/pkgs/applications/audio/tauon/default.nix index 979907202835..09136728a4b9 100644 --- a/pkgs/applications/audio/tauon/default.nix +++ b/pkgs/applications/audio/tauon/default.nix @@ -134,6 +134,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "The Linux desktop music player from the future"; + mainProgram = "tauon"; homepage = "https://tauonmusicbox.rocks/"; changelog = "https://github.com/Taiko2k/TauonMusicBox/releases/tag/v${finalAttrs.version}"; license = licenses.gpl3; diff --git a/pkgs/applications/audio/tenacity/default.nix b/pkgs/applications/audio/tenacity/default.nix index 6c4dd61c6674..c2879d412324 100644 --- a/pkgs/applications/audio/tenacity/default.nix +++ b/pkgs/applications/audio/tenacity/default.nix @@ -150,6 +150,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Sound editor with graphical UI"; + mainProgram = "tenacity"; homepage = "https://tenacityaudio.org/"; license = licenses.gpl2Plus; maintainers = with maintainers; [ irenes lheckemann ]; diff --git a/pkgs/applications/audio/tony/default.nix b/pkgs/applications/audio/tony/default.nix index 33561122b191..a0af1a706643 100644 --- a/pkgs/applications/audio/tony/default.nix +++ b/pkgs/applications/audio/tony/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Pitch and note annotation of unaccompanied melody"; + mainProgram = "tony"; homepage = "https://www.sonicvisualiser.org/tony/"; license = licenses.gpl2Plus; maintainers = with maintainers; [ orivej ]; diff --git a/pkgs/applications/audio/traverso/default.nix b/pkgs/applications/audio/traverso/default.nix index 698a03b4a713..b8a81ec7a8e9 100644 --- a/pkgs/applications/audio/traverso/default.nix +++ b/pkgs/applications/audio/traverso/default.nix @@ -22,6 +22,7 @@ mkDerivation { meta = with lib; { description = "Cross-platform multitrack audio recording and audio editing suite"; + mainProgram = "traverso"; homepage = "https://traverso-daw.org/"; license = with licenses; [ gpl2Plus lgpl21Plus ]; platforms = platforms.all; diff --git a/pkgs/applications/audio/vmpk/default.nix b/pkgs/applications/audio/vmpk/default.nix index c40af7b046ed..7802c6cce704 100644 --- a/pkgs/applications/audio/vmpk/default.nix +++ b/pkgs/applications/audio/vmpk/default.nix @@ -23,6 +23,7 @@ mkDerivation rec { meta = with lib; { description = "Virtual MIDI Piano Keyboard"; + mainProgram = "vmpk"; homepage = "http://vmpk.sourceforge.net/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ orivej ]; diff --git a/pkgs/applications/audio/waylyrics/default.nix b/pkgs/applications/audio/waylyrics/default.nix index f22f4f1e8203..9f55645a56bb 100644 --- a/pkgs/applications/audio/waylyrics/default.nix +++ b/pkgs/applications/audio/waylyrics/default.nix @@ -55,6 +55,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Desktop lyrics with QQ and NetEase Music source"; + mainProgram = "waylyrics"; homepage = "https://github.com/poly000/waylyrics"; license = with licenses; [ mit cc-by-40 ]; maintainers = with maintainers; [ shadowrz aleksana ]; diff --git a/pkgs/applications/audio/xsynth-dssi/default.nix b/pkgs/applications/audio/xsynth-dssi/default.nix index e28d773d6e2a..02336f753450 100644 --- a/pkgs/applications/audio/xsynth-dssi/default.nix +++ b/pkgs/applications/audio/xsynth-dssi/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Classic-analog (VCOs-VCF-VCA) style software synthesizer"; + mainProgram = "Xsynth_gtk"; longDescription = '' Xsynth-DSSI is a classic-analog (VCOs-VCF-VCA) style software synthesizer which operates as a plugin for the DSSI Soft Synth diff --git a/pkgs/applications/audio/yams/default.nix b/pkgs/applications/audio/yams/default.nix index 96c1ab27b72c..e4afe4ad2729 100644 --- a/pkgs/applications/audio/yams/default.nix +++ b/pkgs/applications/audio/yams/default.nix @@ -23,6 +23,7 @@ python3Packages.buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/Berulacks/yams"; description = "Last.FM scrobbler for MPD"; + mainProgram = "yams"; license = licenses.gpl3Only; maintainers = with maintainers; [ ccellado ]; }; diff --git a/pkgs/applications/audio/yesplaymusic/default.nix b/pkgs/applications/audio/yesplaymusic/default.nix index aee0d1d192fe..a7f81dcf4c40 100644 --- a/pkgs/applications/audio/yesplaymusic/default.nix +++ b/pkgs/applications/audio/yesplaymusic/default.nix @@ -65,6 +65,7 @@ let meta = with lib; { description = "A good-looking third-party netease cloud music player"; + mainProgram = "yesplaymusic"; homepage = "https://github.com/qier222/YesPlayMusic/"; license = licenses.mit; maintainers = with maintainers; [ ChaosAttractor ]; diff --git a/pkgs/applications/audio/zynaddsubfx/default.nix b/pkgs/applications/audio/zynaddsubfx/default.nix index 0060e8d4c7f4..20dcd0d491e8 100644 --- a/pkgs/applications/audio/zynaddsubfx/default.nix +++ b/pkgs/applications/audio/zynaddsubfx/default.nix @@ -141,6 +141,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "High quality software synthesizer (${guiName} GUI)"; + mainProgram = "zynaddsubfx"; homepage = if guiModule == "zest" then "https://zynaddsubfx.sourceforge.io/zyn-fusion.html" diff --git a/pkgs/applications/blockchains/bisq-desktop/default.nix b/pkgs/applications/blockchains/bisq-desktop/default.nix index 8e6881f0d7e8..31c044f39c61 100644 --- a/pkgs/applications/blockchains/bisq-desktop/default.nix +++ b/pkgs/applications/blockchains/bisq-desktop/default.nix @@ -9,7 +9,7 @@ , dpkg , writeScript , bash -, strip-nondeterminism +, stripJavaArchivesHook , tor , zip , xz @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { dpkg imagemagick makeWrapper - strip-nondeterminism + stripJavaArchivesHook xz zip findutils @@ -89,7 +89,6 @@ stdenv.mkDerivation rec { tar --sort=name --mtime="@$SOURCE_DATE_EPOCH" -cJf native/linux/x64/tor.tar.xz tor tor_jar_file=$(find ./opt/bisq/lib/app -name "tor-binary-linux64-*.jar") zip -r $tor_jar_file native - strip-nondeterminism ./opt/bisq/lib/app/*.jar ''; installPhase = '' diff --git a/pkgs/applications/blockchains/cgminer/default.nix b/pkgs/applications/blockchains/cgminer/default.nix index 7d2dbe920858..1f8cf152e080 100644 --- a/pkgs/applications/blockchains/cgminer/default.nix +++ b/pkgs/applications/blockchains/cgminer/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "CPU/GPU miner in c for bitcoin"; + mainProgram = "cgminer"; homepage = "https://github.com/ckolivas/cgminer"; license = licenses.gpl3; maintainers = with maintainers; [ offline mmahut ]; diff --git a/pkgs/applications/display-managers/greetd/dlm.nix b/pkgs/applications/display-managers/greetd/dlm.nix index 3b6f4773a29c..02df9876bad1 100644 --- a/pkgs/applications/display-managers/greetd/dlm.nix +++ b/pkgs/applications/display-managers/greetd/dlm.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A stupid simple graphical login manager"; + mainProgram = "dlm"; homepage = "https://git.sr.ht/~kennylevinsen/dlm"; license = licenses.gpl3Plus; maintainers = with maintainers; [ luc65r ]; diff --git a/pkgs/applications/display-managers/greetd/wlgreet.nix b/pkgs/applications/display-managers/greetd/wlgreet.nix index cea23577cc45..803b61caa8be 100644 --- a/pkgs/applications/display-managers/greetd/wlgreet.nix +++ b/pkgs/applications/display-managers/greetd/wlgreet.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Raw wayland greeter for greetd, to be run under sway or similar"; + mainProgram = "wlgreet"; homepage = "https://git.sr.ht/~kennylevinsen/wlgreet"; license = licenses.gpl3Plus; maintainers = with maintainers; [ luc65r ]; diff --git a/pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix b/pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix index cd406686df86..a35b52bf8cd6 100644 --- a/pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix +++ b/pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix @@ -61,6 +61,7 @@ stdenv.mkDerivation { A fork of pantheon greeter that positions elements in a central and vertigal manner and adds a blur effect to the background ''; + mainProgram = "pantheon-greeter"; homepage = "https://github.com/nick92/Enso-OS"; platforms = platforms.linux; license = licenses.gpl3; diff --git a/pkgs/applications/display-managers/lightdm-mini-greeter/default.nix b/pkgs/applications/display-managers/lightdm-mini-greeter/default.nix index 72f386798709..353e5150356f 100644 --- a/pkgs/applications/display-managers/lightdm-mini-greeter/default.nix +++ b/pkgs/applications/display-managers/lightdm-mini-greeter/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A minimal, configurable, single-user GTK3 LightDM greeter"; + mainProgram = "lightdm-mini-greeter"; homepage = "https://github.com/prikhi/lightdm-mini-greeter"; license = licenses.gpl3; maintainers = with maintainers; [ mnacamura prikhi ]; diff --git a/pkgs/applications/display-managers/lightdm-tiny-greeter/default.nix b/pkgs/applications/display-managers/lightdm-tiny-greeter/default.nix index bb70fa299d10..c6c479505d12 100644 --- a/pkgs/applications/display-managers/lightdm-tiny-greeter/default.nix +++ b/pkgs/applications/display-managers/lightdm-tiny-greeter/default.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A tiny multi user lightdm greeter"; + mainProgram = "lightdm-tiny-greeter"; homepage = "https://github.com/off-world/lightdm-tiny-greeter"; license = licenses.bsd3; maintainers = with maintainers; [ edwtjo ]; diff --git a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix index 4ceeeb9f6b5d..6d29d90d4b56 100644 --- a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix +++ b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/Xubuntu/lightdm-gtk-greeter"; description = "A GTK greeter for LightDM"; + mainProgram = "lightdm-gtk-greeter"; platforms = platforms.linux; license = licenses.gpl3Plus; maintainers = with maintainers; [ bobby285271 ]; diff --git a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/cask/default.nix b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/cask/default.nix index 692481cc7fbc..3ab796bcbd19 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/manual-packages/cask/default.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/manual-packages/cask/default.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Project management for Emacs"; + mainProgram = "cask"; longDescription = '' Cask is a project management tool for Emacs that helps automate the package development cycle; development, dependencies, testing, building, diff --git a/pkgs/applications/editors/gobby/default.nix b/pkgs/applications/editors/gobby/default.nix index 063833ceaa15..d36f89e3c1c7 100644 --- a/pkgs/applications/editors/gobby/default.nix +++ b/pkgs/applications/editors/gobby/default.nix @@ -23,6 +23,7 @@ in stdenv.mkDerivation rec { meta = with lib; { homepage = "http://gobby.0x539.de/"; description = "A GTK-based collaborative editor supporting multiple documents in one session and a multi-user chat"; + mainProgram = "gobby-0.5"; license = lib.licenses.gpl2Plus; maintainers = [ ]; platforms = platforms.all; diff --git a/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix b/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix index f223043ca3b6..326d5a32e4b8 100644 --- a/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix +++ b/pkgs/applications/editors/jupyter-kernels/xeus-cling/xeus-cling.nix @@ -79,6 +79,7 @@ clangStdenv.mkDerivation rec { meta = { description = "Jupyter kernel for the C++ programming language"; + mainProgram = "xcpp"; homepage = "https://github.com/jupyter-xeus/xeus-cling"; maintainers = with lib.maintainers; [ thomasjm ]; platforms = lib.platforms.unix; diff --git a/pkgs/applications/editors/kakoune/plugins/generated.nix b/pkgs/applications/editors/kakoune/plugins/generated.nix index 84fc2cec0a95..9bc508d618d6 100644 --- a/pkgs/applications/editors/kakoune/plugins/generated.nix +++ b/pkgs/applications/editors/kakoune/plugins/generated.nix @@ -133,6 +133,7 @@ packages = ( self: sha256 = "1i3id7xw0j4z1a14mscr68ckpgvcwsjpl86lr864wy7w7qcmblx6"; }; meta.homepage = "https://github.com/listentolist/kakoune-rainbow/"; + meta.mainProgram = "kak-rainbow.scm"; }; kakoune-registers = buildKakounePluginFrom2Nix { diff --git a/pkgs/applications/editors/neovim/gnvim/default.nix b/pkgs/applications/editors/neovim/gnvim/default.nix index 01248b287c51..fc39298321e9 100644 --- a/pkgs/applications/editors/neovim/gnvim/default.nix +++ b/pkgs/applications/editors/neovim/gnvim/default.nix @@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "GUI for neovim, without any web bloat"; + mainProgram = "gnvim"; homepage = "https://github.com/vhakulinen/gnvim"; license = licenses.mit; maintainers = with maintainers; [ minijackson ]; diff --git a/pkgs/applications/editors/neovim/neovide/default.nix b/pkgs/applications/editors/neovim/neovide/default.nix index da50844aa726..b103c9f20be5 100644 --- a/pkgs/applications/editors/neovim/neovide/default.nix +++ b/pkgs/applications/editors/neovim/neovide/default.nix @@ -109,6 +109,7 @@ rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec { meta = with lib; { description = "This is a simple graphical user interface for Neovim."; + mainProgram = "neovide"; homepage = "https://github.com/neovide/neovide"; changelog = "https://github.com/neovide/neovide/releases/tag/${version}"; license = with licenses; [ mit ]; diff --git a/pkgs/applications/editors/setzer/default.nix b/pkgs/applications/editors/setzer/default.nix index e2e7638550f9..e331619d6266 100644 --- a/pkgs/applications/editors/setzer/default.nix +++ b/pkgs/applications/editors/setzer/default.nix @@ -69,6 +69,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "LaTeX editor written in Python with Gtk"; + mainProgram = "setzer"; homepage = src.meta.homepage; license = licenses.gpl3Plus; maintainers = with maintainers; [ dotlambda ]; diff --git a/pkgs/applications/editors/vim/plugins/vim-clap/default.nix b/pkgs/applications/editors/vim/plugins/vim-clap/default.nix index b6b0267216f5..dade53492fd2 100644 --- a/pkgs/applications/editors/vim/plugins/vim-clap/default.nix +++ b/pkgs/applications/editors/vim/plugins/vim-clap/default.nix @@ -22,6 +22,7 @@ let meta = with lib; { description = "A modern performant fuzzy picker for Vim and NeoVim"; + mainProgram = "maple"; homepage = "https://github.com/liuchengxu/vim-clap"; changelog = "https://github.com/liuchengxu/vim-clap/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/applications/emulators/86box/default.nix b/pkgs/applications/emulators/86box/default.nix index 93b95b4c2b7c..1fceee8182ed 100644 --- a/pkgs/applications/emulators/86box/default.nix +++ b/pkgs/applications/emulators/86box/default.nix @@ -76,6 +76,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Emulator of x86-based machines based on PCem."; + mainProgram = "86Box"; homepage = "https://86box.net/"; license = with licenses; [ gpl2Only ] ++ optional unfreeEnableDiscord unfree; maintainers = [ maintainers.jchw ]; diff --git a/pkgs/applications/emulators/bsnes/ares/default.nix b/pkgs/applications/emulators/bsnes/ares/default.nix index b3d362cd11aa..0a5993557a08 100644 --- a/pkgs/applications/emulators/bsnes/ares/default.nix +++ b/pkgs/applications/emulators/bsnes/ares/default.nix @@ -83,6 +83,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://ares-emu.net"; description = "Open-source multi-system emulator with a focus on accuracy and preservation"; + mainProgram = "ares"; license = lib.licenses.isc; maintainers = with lib.maintainers; [ Madouura AndersonTorres ]; platforms = lib.platforms.unix; diff --git a/pkgs/applications/emulators/fceux/default.nix b/pkgs/applications/emulators/fceux/default.nix index 8c5c554d6dc0..6a33b68dbe70 100644 --- a/pkgs/applications/emulators/fceux/default.nix +++ b/pkgs/applications/emulators/fceux/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "http://www.fceux.com/"; description = "A Nintendo Entertainment System (NES) Emulator"; + mainProgram = "fceux"; changelog = "https://github.com/TASEmulators/blob/fceux/${finalAttrs.src.rev}/changelog.txt"; license = with lib.licenses; [ gpl2Plus ]; maintainers = with lib.maintainers; [ AndersonTorres sbruder ]; diff --git a/pkgs/applications/emulators/flycast/default.nix b/pkgs/applications/emulators/flycast/default.nix index ee02b1eee071..2661fada5f79 100644 --- a/pkgs/applications/emulators/flycast/default.nix +++ b/pkgs/applications/emulators/flycast/default.nix @@ -56,6 +56,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/flyinghead/flycast"; changelog = "https://github.com/flyinghead/flycast/releases/tag/v${version}"; description = "A multi-platform Sega Dreamcast, Naomi and Atomiswave emulator"; + mainProgram = "flycast"; license = licenses.gpl2Only; platforms = platforms.unix; maintainers = [ maintainers.ivar ]; diff --git a/pkgs/applications/emulators/fuse-emulator/default.nix b/pkgs/applications/emulators/fuse-emulator/default.nix index 91aec6d52ed6..378437ca30c8 100644 --- a/pkgs/applications/emulators/fuse-emulator/default.nix +++ b/pkgs/applications/emulators/fuse-emulator/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://fuse-emulator.sourceforge.net/"; description = "ZX Spectrum emulator"; + mainProgram = "fuse"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = with maintainers; [ orivej ]; diff --git a/pkgs/applications/emulators/mednafen/server.nix b/pkgs/applications/emulators/mednafen/server.nix index 24c13bf0228c..3e11ff41d48d 100644 --- a/pkgs/applications/emulators/mednafen/server.nix +++ b/pkgs/applications/emulators/mednafen/server.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Netplay server for Mednafen"; + mainProgram = "mednafen-server"; homepage = "https://mednafen.github.io/"; license = licenses.gpl2; maintainers = with maintainers; [ AndersonTorres ]; diff --git a/pkgs/applications/emulators/mednaffe/default.nix b/pkgs/applications/emulators/mednaffe/default.nix index 32bb06b27042..75a25a4bec3b 100644 --- a/pkgs/applications/emulators/mednaffe/default.nix +++ b/pkgs/applications/emulators/mednaffe/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GTK-based frontend for mednafen emulator"; + mainProgram = "mednaffe"; homepage = "https://github.com/AmatCoder/mednaffe"; license = licenses.gpl3Plus; maintainers = with maintainers; [ sheenobu yana AndersonTorres ]; diff --git a/pkgs/applications/emulators/pcem/default.nix b/pkgs/applications/emulators/pcem/default.nix index bd9503f01778..e680dd450d30 100644 --- a/pkgs/applications/emulators/pcem/default.nix +++ b/pkgs/applications/emulators/pcem/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Emulator for IBM PC computers and clones"; + mainProgram = "pcem"; homepage = "https://pcem-emulator.co.uk/"; license = licenses.gpl2Only; maintainers = [ maintainers.terin ]; diff --git a/pkgs/applications/emulators/punes/default.nix b/pkgs/applications/emulators/punes/default.nix index 529dce536430..73cdd865d172 100644 --- a/pkgs/applications/emulators/punes/default.nix +++ b/pkgs/applications/emulators/punes/default.nix @@ -71,6 +71,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Qt-based Nintendo Entertainment System emulator and NSF/NSFe Music Player"; + mainProgram = "punes"; homepage = "https://github.com/punesemu/puNES"; license = licenses.gpl2Plus; maintainers = with maintainers; [ OPNA2608 ]; diff --git a/pkgs/applications/emulators/rpcemu/default.nix b/pkgs/applications/emulators/rpcemu/default.nix index 9fad3725203f..25930470412a 100644 --- a/pkgs/applications/emulators/rpcemu/default.nix +++ b/pkgs/applications/emulators/rpcemu/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://www.marutan.net/rpcemu/index.php"; description = "Risc PC Emulator"; + mainProgram = "rpcemu-interpreter"; longDescription = '' RPCEmu is an emulator of classic Acorn computer systems, such as the Risc PC and A7000. It runs on multiple platforms including Windows, Linux and diff --git a/pkgs/applications/emulators/sameboy/default.nix b/pkgs/applications/emulators/sameboy/default.nix index 94c9b9562864..7433d2128a71 100644 --- a/pkgs/applications/emulators/sameboy/default.nix +++ b/pkgs/applications/emulators/sameboy/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://sameboy.github.io"; description = "Game Boy, Game Boy Color, and Super Game Boy emulator"; + mainProgram = "sameboy"; longDescription = '' SameBoy is a user friendly Game Boy, Game Boy Color and Super diff --git a/pkgs/applications/emulators/termtekst/default.nix b/pkgs/applications/emulators/termtekst/default.nix index 56f56cffad97..76aa0c79832b 100644 --- a/pkgs/applications/emulators/termtekst/default.nix +++ b/pkgs/applications/emulators/termtekst/default.nix @@ -22,6 +22,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Console NOS Teletekst viewer in Python"; + mainProgram = "tt"; longDescription = '' Small Python app using curses to display Dutch NOS Teletekst on the Linux console. The original Teletekst font includes 2x6 diff --git a/pkgs/applications/emulators/wine/winetricks.nix b/pkgs/applications/emulators/wine/winetricks.nix index c5d8e9bd95b3..2b31faae18a4 100644 --- a/pkgs/applications/emulators/wine/winetricks.nix +++ b/pkgs/applications/emulators/wine/winetricks.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = { description = "A script to install DLLs needed to work around problems in Wine"; + mainProgram = "winetricks"; license = lib.licenses.lgpl21; homepage = "https://github.com/Winetricks/winetricks"; platforms = with lib.platforms; linux; diff --git a/pkgs/applications/emulators/yabause/default.nix b/pkgs/applications/emulators/yabause/default.nix index 17b7b563c15f..fea9a439bb8f 100644 --- a/pkgs/applications/emulators/yabause/default.nix +++ b/pkgs/applications/emulators/yabause/default.nix @@ -28,6 +28,7 @@ mkDerivation rec { meta = with lib; { description = "An open-source Sega Saturn emulator"; + mainProgram = "yabause"; homepage = "https://yabause.org/"; license = licenses.gpl2Plus; maintainers = with maintainers; [ AndersonTorres ]; diff --git a/pkgs/applications/file-managers/browsr/default.nix b/pkgs/applications/file-managers/browsr/default.nix index a772dfa71750..dbf481ed0048 100644 --- a/pkgs/applications/file-managers/browsr/default.nix +++ b/pkgs/applications/file-managers/browsr/default.nix @@ -83,6 +83,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "A file explorer in your terminal"; + mainProgram = "browsr"; homepage = "https://juftin.com/browsr"; changelog = "https://github.com/juftin/browsr/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/applications/file-managers/dfilemanager/default.nix b/pkgs/applications/file-managers/dfilemanager/default.nix index 6c5544aded3e..8a30535f646e 100644 --- a/pkgs/applications/file-managers/dfilemanager/default.nix +++ b/pkgs/applications/file-managers/dfilemanager/default.nix @@ -19,6 +19,7 @@ mkDerivation { meta = { homepage = "https://github.com/probonopd/dfilemanager"; description = "File manager written in Qt/C++"; + mainProgram = "dfm"; license = lib.licenses.gpl2; platforms = lib.platforms.unix; }; diff --git a/pkgs/applications/graphics/ahoviewer/default.nix b/pkgs/applications/graphics/ahoviewer/default.nix index d903ce1adf8e..4c1d309ebbab 100644 --- a/pkgs/applications/graphics/ahoviewer/default.nix +++ b/pkgs/applications/graphics/ahoviewer/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/ahodesuka/ahoviewer"; description = "A GTK2 image viewer, manga reader, and booru browser"; + mainProgram = "ahoviewer"; maintainers = with maintainers; [ xzfc ]; license = licenses.mit; # Unintentionally not working on Darwin: diff --git a/pkgs/applications/graphics/antimony/default.nix b/pkgs/applications/graphics/antimony/default.nix index 50156802779c..56ee01f8bbe8 100644 --- a/pkgs/applications/graphics/antimony/default.nix +++ b/pkgs/applications/graphics/antimony/default.nix @@ -62,6 +62,7 @@ in meta = with lib; { description = "A computer-aided design (CAD) tool from a parallel universe"; + mainProgram = "antimony"; homepage = "https://github.com/mkeeter/antimony"; license = licenses.mit; maintainers = with maintainers; [ rnhmjoj ]; diff --git a/pkgs/applications/graphics/apngasm/2.nix b/pkgs/applications/graphics/apngasm/2.nix index 81d2915c96df..f581f9dd1245 100644 --- a/pkgs/applications/graphics/apngasm/2.nix +++ b/pkgs/applications/graphics/apngasm/2.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Create highly optimized Animated PNG files from PNG/TGA images"; + mainProgram = "apngasm"; homepage = "https://apngasm.sourceforge.net/"; license = licenses.zlib; maintainers = with maintainers; [ orivej ]; diff --git a/pkgs/applications/graphics/conjure/default.nix b/pkgs/applications/graphics/conjure/default.nix index b0b00369ffde..634cf7132b1d 100644 --- a/pkgs/applications/graphics/conjure/default.nix +++ b/pkgs/applications/graphics/conjure/default.nix @@ -57,6 +57,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Magically transform your images"; + mainProgram = "conjure"; longDescription = '' Resize, crop, rotate, flip images, apply various filters and effects, adjust levels and brightness, and much more. An intuitive tool for designers, diff --git a/pkgs/applications/graphics/curtail/default.nix b/pkgs/applications/graphics/curtail/default.nix index 30ca2289526b..2a881c153f68 100644 --- a/pkgs/applications/graphics/curtail/default.nix +++ b/pkgs/applications/graphics/curtail/default.nix @@ -69,6 +69,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Simple & useful image compressor"; + mainProgram = "curtail"; homepage = "https://github.com/Huluti/Curtail"; license = licenses.gpl3Only; maintainers = with maintainers; [ anselmschueler ]; diff --git a/pkgs/applications/graphics/dia/default.nix b/pkgs/applications/graphics/dia/default.nix index eb9d54d5cfc1..c79f50e86d79 100644 --- a/pkgs/applications/graphics/dia/default.nix +++ b/pkgs/applications/graphics/dia/default.nix @@ -68,6 +68,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Gnome Diagram drawing software"; + mainProgram = "dia"; homepage = "http://live.gnome.org/Dia"; maintainers = with maintainers; [ raskin ]; license = licenses.gpl2; diff --git a/pkgs/applications/graphics/djview/default.nix b/pkgs/applications/graphics/djview/default.nix index 6386c39ce910..5bbbfc0c686c 100644 --- a/pkgs/applications/graphics/djview/default.nix +++ b/pkgs/applications/graphics/djview/default.nix @@ -46,6 +46,7 @@ mkDerivation rec { meta = with lib; { broken = stdenv.isDarwin; description = "A portable DjVu viewer (Qt5) and browser (nsdejavu) plugin"; + mainProgram = "djview"; homepage = "https://djvu.sourceforge.net/djview4.html"; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/applications/graphics/dosage/default.nix b/pkgs/applications/graphics/dosage/default.nix index 6bdf149c9b97..1aaa53948619 100644 --- a/pkgs/applications/graphics/dosage/default.nix +++ b/pkgs/applications/graphics/dosage/default.nix @@ -23,6 +23,7 @@ python3Packages.buildPythonApplication rec { meta = { description = "A comic strip downloader and archiver"; + mainProgram = "dosage"; homepage = "https://dosage.rocks/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ toonn ]; diff --git a/pkgs/applications/graphics/drawing/default.nix b/pkgs/applications/graphics/drawing/default.nix index 693c0b213b54..90caf78d6313 100644 --- a/pkgs/applications/graphics/drawing/default.nix +++ b/pkgs/applications/graphics/drawing/default.nix @@ -63,6 +63,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "A free basic image editor, similar to Microsoft Paint, but aiming at the GNOME desktop"; + mainProgram = "drawing"; homepage = "https://maoschanz.github.io/drawing/"; changelog = "https://github.com/maoschanz/drawing/releases/tag/${version}"; maintainers = with maintainers; [ mothsart ]; diff --git a/pkgs/applications/graphics/drawio/default.nix b/pkgs/applications/graphics/drawio/default.nix index 08a0ba5b8125..20f061c50e04 100644 --- a/pkgs/applications/graphics/drawio/default.nix +++ b/pkgs/applications/graphics/drawio/default.nix @@ -13,19 +13,19 @@ stdenv.mkDerivation rec { pname = "drawio"; - version = "23.1.5"; + version = "24.0.4"; src = fetchFromGitHub { owner = "jgraph"; repo = "drawio-desktop"; rev = "v${version}"; fetchSubmodules = true; - hash = "sha256-ThmTahuU0o/vr6h/T/zCyEB5/APJlVA6t1TNfZgqTJ0="; + hash = "sha256-+TCnVXcmAEpa7MiL0dyeoh2aUfIIO8eze9pEaHgKnME="; }; offlineCache = fetchYarnDeps { yarnLock = src + "/yarn.lock"; - hash = "sha256-hL89WVYy/EQe6Zppmr17Q9T2o/UjBvydDIgGpr7AA5M="; + hash = "sha256-QS0bkDDQq3sn79TQ+pTZsmbmXgMccyLmlPLTsko7eGg="; }; nativeBuildInputs = [ diff --git a/pkgs/applications/graphics/drawpile/default.nix b/pkgs/applications/graphics/drawpile/default.nix index ea07e2314217..5c43c609f31f 100644 --- a/pkgs/applications/graphics/drawpile/default.nix +++ b/pkgs/applications/graphics/drawpile/default.nix @@ -98,6 +98,7 @@ in mkDerivation rec { meta = { description = "A collaborative drawing program that allows multiple users to sketch on the same canvas simultaneously"; + mainProgram = "drawpile-srv"; homepage = "https://drawpile.net/"; downloadPage = "https://drawpile.net/download/"; license = licenses.gpl3; diff --git a/pkgs/applications/graphics/eddy/default.nix b/pkgs/applications/graphics/eddy/default.nix index 58b8777bb223..6dac49fc5d15 100644 --- a/pkgs/applications/graphics/eddy/default.nix +++ b/pkgs/applications/graphics/eddy/default.nix @@ -40,6 +40,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "http://www.obdasystems.com/eddy"; description = "Graphical editor for the specification and visualization of Graphol ontologies"; + mainProgram = "eddy"; license = licenses.gpl3Only; platforms = platforms.linux; maintainers = with maintainers; [ koslambrou ]; diff --git a/pkgs/applications/graphics/emblem/default.nix b/pkgs/applications/graphics/emblem/default.nix index b2df35c20c4b..6d490fc24141 100644 --- a/pkgs/applications/graphics/emblem/default.nix +++ b/pkgs/applications/graphics/emblem/default.nix @@ -57,6 +57,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Generate project icons and avatars from a symbolic icon"; + mainProgram = "emblem"; homepage = "https://gitlab.gnome.org/World/design/emblem"; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/applications/graphics/evilpixie/default.nix b/pkgs/applications/graphics/evilpixie/default.nix index 8e6d8328a3cb..fb397239849b 100644 --- a/pkgs/applications/graphics/evilpixie/default.nix +++ b/pkgs/applications/graphics/evilpixie/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Pixel-oriented paint program, modelled on Deluxe Paint"; + mainProgram = "evilpixie"; homepage = "https://github.com/bcampbell/evilpixie"; # http://evilpixie.scumways.com/ is gone downloadPage = "https://github.com/bcampbell/evilpixie/releases"; license = licenses.gpl3Only; diff --git a/pkgs/applications/graphics/eyedropper/default.nix b/pkgs/applications/graphics/eyedropper/default.nix index f531f8c16271..efa60ac32826 100644 --- a/pkgs/applications/graphics/eyedropper/default.nix +++ b/pkgs/applications/graphics/eyedropper/default.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Pick and format colors"; + mainProgram = "eyedropper"; homepage = "https://github.com/FineFindus/eyedropper"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/graphics/fiji/default.nix b/pkgs/applications/graphics/fiji/default.nix index e3847b98d519..c5f4d08f30e4 100644 --- a/pkgs/applications/graphics/fiji/default.nix +++ b/pkgs/applications/graphics/fiji/default.nix @@ -65,6 +65,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://imagej.net/software/fiji/"; description = "batteries-included distribution of ImageJ2, bundling a lot of plugins which facilitate scientific image analysis"; + mainProgram = "fiji"; platforms = [ "x86_64-linux" ]; sourceProvenance = with sourceTypes; [ binaryBytecode diff --git a/pkgs/applications/graphics/fstl/default.nix b/pkgs/applications/graphics/fstl/default.nix index c7faf43e24e8..a004c2dd8d77 100644 --- a/pkgs/applications/graphics/fstl/default.nix +++ b/pkgs/applications/graphics/fstl/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = with lib; { description = "The fastest STL file viewer"; + mainProgram = "fstl"; homepage = "https://github.com/fstl-app/fstl"; license = licenses.mit; platforms = platforms.linux ++ platforms.darwin; diff --git a/pkgs/applications/graphics/gcolor3/default.nix b/pkgs/applications/graphics/gcolor3/default.nix index 6895a334f1e5..ae36266f29c8 100644 --- a/pkgs/applications/graphics/gcolor3/default.nix +++ b/pkgs/applications/graphics/gcolor3/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple color chooser written in GTK3"; + mainProgram = "gcolor3"; homepage = "https://gitlab.gnome.org/World/gcolor3"; license = licenses.gpl2Plus; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/graphics/geeqie/default.nix b/pkgs/applications/graphics/geeqie/default.nix index 653dad23b638..a064e27a6657 100644 --- a/pkgs/applications/graphics/geeqie/default.nix +++ b/pkgs/applications/graphics/geeqie/default.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Lightweight GTK based image viewer"; + mainProgram = "geeqie"; longDescription = '' diff --git a/pkgs/applications/graphics/gnome-photos/default.nix b/pkgs/applications/graphics/gnome-photos/default.nix index 7a51f037f995..fbcc5ebcf478 100644 --- a/pkgs/applications/graphics/gnome-photos/default.nix +++ b/pkgs/applications/graphics/gnome-photos/default.nix @@ -114,6 +114,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Access, organize and share your photos"; + mainProgram = "gnome-photos"; homepage = "https://wiki.gnome.org/Apps/Photos"; license = licenses.gpl3Plus; maintainers = teams.gnome.members; diff --git a/pkgs/applications/graphics/goxel/default.nix b/pkgs/applications/graphics/goxel/default.nix index 5f04312965a0..000fd3719263 100644 --- a/pkgs/applications/graphics/goxel/default.nix +++ b/pkgs/applications/graphics/goxel/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Open Source 3D voxel editor"; + mainProgram = "goxel"; homepage = "https://guillaumechereau.github.io/goxel/"; license = licenses.gpl3; platforms = platforms.linux; diff --git a/pkgs/applications/graphics/gthumb/default.nix b/pkgs/applications/graphics/gthumb/default.nix index 86de9fb2aede..79793c688711 100644 --- a/pkgs/applications/graphics/gthumb/default.nix +++ b/pkgs/applications/graphics/gthumb/default.nix @@ -109,6 +109,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Gthumb"; description = "Image browser and viewer for GNOME"; + mainProgram = "gthumb"; platforms = platforms.linux; license = licenses.gpl2Plus; maintainers = [ maintainers.mimame ]; diff --git a/pkgs/applications/graphics/hdrmerge/default.nix b/pkgs/applications/graphics/hdrmerge/default.nix index 827ee15af60a..cfd5fe516be5 100644 --- a/pkgs/applications/graphics/hdrmerge/default.nix +++ b/pkgs/applications/graphics/hdrmerge/default.nix @@ -72,6 +72,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/jcelaya/hdrmerge"; description = "Combines two or more raw images into an HDR"; + mainProgram = "hdrmerge"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = [ maintainers.paperdigits ]; diff --git a/pkgs/applications/graphics/icon-library/default.nix b/pkgs/applications/graphics/icon-library/default.nix index 6033843e4aeb..25cc1ebebfbc 100644 --- a/pkgs/applications/graphics/icon-library/default.nix +++ b/pkgs/applications/graphics/icon-library/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.gnome.org/World/design/icon-library"; description = "Symbolic icons for your apps"; + mainProgram = "icon-library"; maintainers = with maintainers; [ qyliss ]; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/applications/graphics/identity/default.nix b/pkgs/applications/graphics/identity/default.nix index a17ecf7a6fb2..8d9caa58543c 100644 --- a/pkgs/applications/graphics/identity/default.nix +++ b/pkgs/applications/graphics/identity/default.nix @@ -69,6 +69,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A program for comparing multiple versions of an image or video"; + mainProgram = "identity"; homepage = "https://gitlab.gnome.org/YaLTeR/identity"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/graphics/image-roll/default.nix b/pkgs/applications/graphics/image-roll/default.nix index 461a07837d83..2c142b7bbb80 100644 --- a/pkgs/applications/graphics/image-roll/default.nix +++ b/pkgs/applications/graphics/image-roll/default.nix @@ -40,6 +40,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Simple and fast GTK image viewer with basic image manipulation tools"; + mainProgram = "image-roll"; homepage = "https://github.com/weclaw1/image-roll"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/applications/graphics/imgp/default.nix b/pkgs/applications/graphics/imgp/default.nix index 995aaf2599df..bb2334222fb7 100644 --- a/pkgs/applications/graphics/imgp/default.nix +++ b/pkgs/applications/graphics/imgp/default.nix @@ -31,6 +31,7 @@ buildPythonApplication rec { meta = with lib; { description = "High-performance CLI batch image resizer & rotator"; + mainProgram = "imgp"; homepage = "https://github.com/jarun/imgp"; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/applications/graphics/kgraphviewer/default.nix b/pkgs/applications/graphics/kgraphviewer/default.nix index 4b9b93505ad8..65ec4eb71d42 100644 --- a/pkgs/applications/graphics/kgraphviewer/default.nix +++ b/pkgs/applications/graphics/kgraphviewer/default.nix @@ -29,6 +29,7 @@ mkDerivation rec { meta = with lib; { description = "A Graphviz dot graph viewer for KDE"; + mainProgram = "kgraphviewer"; license = licenses.gpl2; maintainers = with maintainers; [ ]; platforms = platforms.linux; diff --git a/pkgs/applications/graphics/komikku/default.nix b/pkgs/applications/graphics/komikku/default.nix index 4a4b499ca4d0..d69475213439 100644 --- a/pkgs/applications/graphics/komikku/default.nix +++ b/pkgs/applications/graphics/komikku/default.nix @@ -88,6 +88,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Manga reader for GNOME"; + mainProgram = "komikku"; homepage = "https://apps.gnome.org/Komikku/"; license = licenses.gpl3Plus; changelog = "https://codeberg.org/valos/Komikku/releases/tag/v${version}"; diff --git a/pkgs/applications/graphics/krop/default.nix b/pkgs/applications/graphics/krop/default.nix index 0adcf0b538d2..93e24b24b53b 100644 --- a/pkgs/applications/graphics/krop/default.nix +++ b/pkgs/applications/graphics/krop/default.nix @@ -37,6 +37,7 @@ python3Packages.buildPythonApplication rec { meta = { homepage = "http://arminstraub.com/software/krop"; description = "Graphical tool to crop the pages of PDF files"; + mainProgram = "krop"; longDescription = '' Krop is a tool that allows you to optimise your PDF files, and remove sections of the page you do not want. A unique feature of krop, at least to my diff --git a/pkgs/applications/graphics/ktikz/default.nix b/pkgs/applications/graphics/ktikz/default.nix index d176ce38f0ad..b7fe2e205fa8 100644 --- a/pkgs/applications/graphics/ktikz/default.nix +++ b/pkgs/applications/graphics/ktikz/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Editor for the TikZ language"; + mainProgram = "qtikz"; homepage = "https://github.com/fhackenberger/ktikz"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/applications/graphics/leocad/default.nix b/pkgs/applications/graphics/leocad/default.nix index bb37dc5ef027..9a0bbaefe505 100644 --- a/pkgs/applications/graphics/leocad/default.nix +++ b/pkgs/applications/graphics/leocad/default.nix @@ -56,6 +56,7 @@ mkDerivation rec { meta = with lib; { description = "CAD program for creating virtual LEGO models"; + mainProgram = "leocad"; homepage = "https://www.leocad.org/"; license = licenses.gpl2Only; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/applications/graphics/mandelbulber/default.nix b/pkgs/applications/graphics/mandelbulber/default.nix index 68e88bdea28a..1f1116096821 100644 --- a/pkgs/applications/graphics/mandelbulber/default.nix +++ b/pkgs/applications/graphics/mandelbulber/default.nix @@ -55,6 +55,7 @@ mkDerivation rec { meta = with lib; { description = "A 3D fractal rendering engine"; + mainProgram = "mandelbulber2"; longDescription = "Mandelbulber creatively generates three-dimensional fractals. Explore trigonometric, hyper-complex, Mandelbox, IFS, and many other 3D fractals."; homepage = "https://mandelbulber.com"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/graphics/meshlab/default.nix b/pkgs/applications/graphics/meshlab/default.nix index bee1e35ec129..32d528831539 100644 --- a/pkgs/applications/graphics/meshlab/default.nix +++ b/pkgs/applications/graphics/meshlab/default.nix @@ -86,6 +86,7 @@ mkDerivation rec { meta = { description = "A system for processing and editing 3D triangular meshes"; + mainProgram = "meshlab"; homepage = "https://www.meshlab.net/"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ viric ]; diff --git a/pkgs/applications/graphics/ovito/default.nix b/pkgs/applications/graphics/ovito/default.nix index 596ae0d07a11..81ce2518cea7 100644 --- a/pkgs/applications/graphics/ovito/default.nix +++ b/pkgs/applications/graphics/ovito/default.nix @@ -54,6 +54,7 @@ mkDerivation rec { meta = with lib; { description = "Scientific visualization and analysis software for atomistic and particle simulation data"; + mainProgram = "ovito"; homepage = "https://ovito.org"; license = with licenses; [ gpl3Only mit ]; maintainers = with maintainers; [ twhitehead ]; diff --git a/pkgs/applications/graphics/paleta/default.nix b/pkgs/applications/graphics/paleta/default.nix index 062c157c3f02..6275b3d10e4c 100644 --- a/pkgs/applications/graphics/paleta/default.nix +++ b/pkgs/applications/graphics/paleta/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Extract the dominant colors from any image"; + mainProgram = "paleta"; homepage = "https://github.com/nate-xyz/paleta"; license = licenses.gpl3Only; platforms = platforms.linux; diff --git a/pkgs/applications/graphics/pencil/default.nix b/pkgs/applications/graphics/pencil/default.nix index ffd31bf7325a..9924e0b58c14 100644 --- a/pkgs/applications/graphics/pencil/default.nix +++ b/pkgs/applications/graphics/pencil/default.nix @@ -98,6 +98,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "GUI prototyping/mockup tool"; + mainProgram = "pencil"; homepage = "https://pencil.evolus.vn/"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.gpl2; # Commercial license is also available diff --git a/pkgs/applications/graphics/photoflare/default.nix b/pkgs/applications/graphics/photoflare/default.nix index 6c6ea1059c73..3f47a0073d24 100644 --- a/pkgs/applications/graphics/photoflare/default.nix +++ b/pkgs/applications/graphics/photoflare/default.nix @@ -21,6 +21,7 @@ mkDerivation rec { meta = with lib; { description = "A cross-platform image editor with a powerful features and a very friendly graphical user interface"; + mainProgram = "photoflare"; homepage = "https://photoflare.io"; maintainers = [ maintainers.omgbebebe ]; license = licenses.gpl3Plus; diff --git a/pkgs/applications/graphics/phototonic/default.nix b/pkgs/applications/graphics/phototonic/default.nix index 738f78cf347d..345398435a07 100644 --- a/pkgs/applications/graphics/phototonic/default.nix +++ b/pkgs/applications/graphics/phototonic/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An image viewer and organizer"; + mainProgram = "phototonic"; homepage = "https://github.com/oferkv/phototonic"; license = licenses.gpl3Plus; maintainers = with maintainers; [ pSub ]; diff --git a/pkgs/applications/graphics/pick-colour-picker/default.nix b/pkgs/applications/graphics/pick-colour-picker/default.nix index a4b8bbc9c2fd..bd9ab649d633 100644 --- a/pkgs/applications/graphics/pick-colour-picker/default.nix +++ b/pkgs/applications/graphics/pick-colour-picker/default.nix @@ -47,6 +47,7 @@ buildPythonPackage rec { license = licenses.mit; platforms = platforms.linux; description = "A colour picker that remembers where you picked colours from"; + mainProgram = "pick-colour-picker"; maintainers = [ maintainers.mkg20001 ]; longDescription = '' diff --git a/pkgs/applications/graphics/pikopixel/default.nix b/pkgs/applications/graphics/pikopixel/default.nix index f8719cc0a4cd..586870527508 100644 --- a/pkgs/applications/graphics/pikopixel/default.nix +++ b/pkgs/applications/graphics/pikopixel/default.nix @@ -39,6 +39,7 @@ clangStdenv.mkDerivation rec { meta = with lib; { description = "Application for drawing and editing pixel-art images"; + mainProgram = "PikoPixel"; homepage = "https://twilightedge.com/mac/pikopixel/"; downloadPage = "https://twilightedge.com/mac/pikopixel/"; license = licenses.agpl3; diff --git a/pkgs/applications/graphics/pizarra/default.nix b/pkgs/applications/graphics/pizarra/default.nix index f9d7fc650647..b53368439d75 100644 --- a/pkgs/applications/graphics/pizarra/default.nix +++ b/pkgs/applications/graphics/pizarra/default.nix @@ -41,6 +41,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple blackboard written in GTK"; + mainProgram = "pizarra"; longDescription = '' A simple endless blackboard. Contains various features, such as: diff --git a/pkgs/applications/graphics/qcomicbook/default.nix b/pkgs/applications/graphics/qcomicbook/default.nix index 47bf2d950283..ee2296b391bb 100644 --- a/pkgs/applications/graphics/qcomicbook/default.nix +++ b/pkgs/applications/graphics/qcomicbook/default.nix @@ -27,6 +27,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/stolowski/QComicBook"; description = "Comic book reader in Qt5"; + mainProgram = "qcomicbook"; license = licenses.gpl2; longDescription = '' diff --git a/pkgs/applications/graphics/qimgv/default.nix b/pkgs/applications/graphics/qimgv/default.nix index 2cb5f8ddde24..c6789fd05738 100644 --- a/pkgs/applications/graphics/qimgv/default.nix +++ b/pkgs/applications/graphics/qimgv/default.nix @@ -55,6 +55,7 @@ mkDerivation rec { meta = with lib; { description = "A Qt5 image viewer with optional video support"; + mainProgram = "qimgv"; homepage = "https://github.com/easymodo/qimgv"; license = licenses.gpl3; platforms = platforms.linux; diff --git a/pkgs/applications/graphics/qosmic/default.nix b/pkgs/applications/graphics/qosmic/default.nix index 9e2248f896de..a3a688fd0366 100644 --- a/pkgs/applications/graphics/qosmic/default.nix +++ b/pkgs/applications/graphics/qosmic/default.nix @@ -72,6 +72,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A cosmic recursive flame fractal editor"; + mainProgram = "qosmic"; homepage = "https://github.com/bitsed/qosmic"; license = licenses.gpl3Plus; maintainers = [ maintainers.raboof ]; diff --git a/pkgs/applications/graphics/qscreenshot/default.nix b/pkgs/applications/graphics/qscreenshot/default.nix index efbab2e04bbb..761bd69d3520 100644 --- a/pkgs/applications/graphics/qscreenshot/default.nix +++ b/pkgs/applications/graphics/qscreenshot/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { ]; meta = with lib; { description = "Simple creation and editing of screenshots"; + mainProgram = "qScreenshot"; homepage = "https://sourceforge.net/projects/qscreenshot/"; license = licenses.gpl2; platforms = platforms.all; diff --git a/pkgs/applications/graphics/qvge/default.nix b/pkgs/applications/graphics/qvge/default.nix index 442e3200e469..e7c6def43b91 100644 --- a/pkgs/applications/graphics/qvge/default.nix +++ b/pkgs/applications/graphics/qvge/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Qt Visual Graph Editor"; + mainProgram = "qvgeapp"; homepage = "https://github.com/ArsMasiuk/qvge"; license = licenses.mit; maintainers = with maintainers; [ sikmir ]; diff --git a/pkgs/applications/graphics/qview/default.nix b/pkgs/applications/graphics/qview/default.nix index 9bba92a2b5b7..38ff606487c0 100644 --- a/pkgs/applications/graphics/qview/default.nix +++ b/pkgs/applications/graphics/qview/default.nix @@ -34,6 +34,7 @@ mkDerivation rec { meta = with lib; { description = "Practical and minimal image viewer"; + mainProgram = "qview"; homepage = "https://interversehq.com/qview/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ acowley ]; diff --git a/pkgs/applications/graphics/rapid-photo-downloader/default.nix b/pkgs/applications/graphics/rapid-photo-downloader/default.nix index e6d0319950d5..494815ac930b 100644 --- a/pkgs/applications/graphics/rapid-photo-downloader/default.nix +++ b/pkgs/applications/graphics/rapid-photo-downloader/default.nix @@ -97,6 +97,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec { meta = with lib; { description = "Photo and video importer for cameras, phones, and memory cards"; + mainProgram = "rapid-photo-downloader"; homepage = "https://www.damonlynch.net/rapid/"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/graphics/rx/default.nix b/pkgs/applications/graphics/rx/default.nix index fe3d10bae635..77ed3f49117c 100644 --- a/pkgs/applications/graphics/rx/default.nix +++ b/pkgs/applications/graphics/rx/default.nix @@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Modern and extensible pixel editor implemented in Rust"; + mainProgram = "rx"; homepage = "https://rx.cloudhead.io/"; license = licenses.gpl3; maintainers = with maintainers; [ minijackson Br1ght0ne ]; diff --git a/pkgs/applications/graphics/sane/backends/airscan/default.nix b/pkgs/applications/graphics/sane/backends/airscan/default.nix index d88c7352d574..69084140ccb4 100644 --- a/pkgs/applications/graphics/sane/backends/airscan/default.nix +++ b/pkgs/applications/graphics/sane/backends/airscan/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/alexpevzner/sane-airscan"; description = "Scanner Access Now Easy - Apple AirScan (eSCL) driver"; + mainProgram = "airscan-discover"; longDescription = '' sane-airscan: Linux support of Apple AirScan (eSCL) compatible document scanners. ''; diff --git a/pkgs/applications/graphics/sane/xsane.nix b/pkgs/applications/graphics/sane/xsane.nix index 471e2141b5b8..e9a1ca2c40de 100644 --- a/pkgs/applications/graphics/sane/xsane.nix +++ b/pkgs/applications/graphics/sane/xsane.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://www.sane-project.org/"; description = "Graphical scanning frontend for sane"; + mainProgram = "xsane"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = with maintainers; [ melling ]; diff --git a/pkgs/applications/graphics/scantailor/advanced.nix b/pkgs/applications/graphics/scantailor/advanced.nix index 2ab5c5562670..b83b9df83b01 100644 --- a/pkgs/applications/graphics/scantailor/advanced.nix +++ b/pkgs/applications/graphics/scantailor/advanced.nix @@ -19,6 +19,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/vigri/scantailor-advanced"; description = "Interactive post-processing tool for scanned pages (vigri's fork)"; + mainProgram = "scantailor"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ]; platforms = with platforms; gnu ++ linux ++ darwin; diff --git a/pkgs/applications/graphics/shotwell/default.nix b/pkgs/applications/graphics/shotwell/default.nix index 9eb1fbb28ee4..e6d6eb41b9e0 100644 --- a/pkgs/applications/graphics/shotwell/default.nix +++ b/pkgs/applications/graphics/shotwell/default.nix @@ -96,6 +96,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Popular photo organizer for the GNOME desktop"; + mainProgram = "shotwell"; homepage = "https://wiki.gnome.org/Apps/Shotwell"; license = licenses.lgpl21Plus; maintainers = with maintainers; []; diff --git a/pkgs/applications/graphics/shutter/default.nix b/pkgs/applications/graphics/shutter/default.nix index e5659fb7fe2a..d10e8487796f 100644 --- a/pkgs/applications/graphics/shutter/default.nix +++ b/pkgs/applications/graphics/shutter/default.nix @@ -104,6 +104,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Screenshot and annotation tool"; + mainProgram = "shutter"; homepage = "https://shutter-project.org/"; license = licenses.gpl3Plus; platforms = platforms.all; diff --git a/pkgs/applications/graphics/smartdeblur/default.nix b/pkgs/applications/graphics/smartdeblur/default.nix index 51c0f306f92d..592244455e98 100644 --- a/pkgs/applications/graphics/smartdeblur/default.nix +++ b/pkgs/applications/graphics/smartdeblur/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/Y-Vladimir/SmartDeblur"; description = "Tool for restoring blurry and defocused images"; + mainProgram = "SmartDeblur"; license = licenses.gpl3; maintainers = with maintainers; [ ]; platforms = platforms.linux; diff --git a/pkgs/applications/graphics/symbolic-preview/default.nix b/pkgs/applications/graphics/symbolic-preview/default.nix index b73d481966b1..6f3103ecb8a6 100644 --- a/pkgs/applications/graphics/symbolic-preview/default.nix +++ b/pkgs/applications/graphics/symbolic-preview/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.gnome.org/World/design/symbolic-preview"; description = "Symbolics made easy"; + mainProgram = "symbolic-preview"; maintainers = with maintainers; [ qyliss ]; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/applications/graphics/tev/default.nix b/pkgs/applications/graphics/tev/default.nix index ff97eb65f17c..ca70027eb202 100644 --- a/pkgs/applications/graphics/tev/default.nix +++ b/pkgs/applications/graphics/tev/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A high dynamic range (HDR) image comparison tool"; + mainProgram = "tev"; longDescription = '' A high dynamic range (HDR) image comparison tool for graphics people. tev allows viewing images through various tonemapping operators and inspecting diff --git a/pkgs/applications/graphics/timelapse-deflicker/default.nix b/pkgs/applications/graphics/timelapse-deflicker/default.nix index f1757d51b1b3..511ed8a0134a 100644 --- a/pkgs/applications/graphics/timelapse-deflicker/default.nix +++ b/pkgs/applications/graphics/timelapse-deflicker/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple script to deflicker images taken for timelapses"; + mainProgram = "timelapse-deflicker"; homepage = "https://github.com/cyberang3l/timelapse-deflicker"; license = licenses.gpl3; maintainers = with maintainers; [ valeriangalliat ]; diff --git a/pkgs/applications/graphics/veusz/default.nix b/pkgs/applications/graphics/veusz/default.nix index d630ceda6a58..67f5a76e5e97 100644 --- a/pkgs/applications/graphics/veusz/default.nix +++ b/pkgs/applications/graphics/veusz/default.nix @@ -62,6 +62,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A scientific plotting and graphing program with a GUI"; + mainProgram = "veusz"; homepage = "https://veusz.github.io/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/graphics/weylus/default.nix b/pkgs/applications/graphics/weylus/default.nix index 27021eab2132..36647a62aef2 100644 --- a/pkgs/applications/graphics/weylus/default.nix +++ b/pkgs/applications/graphics/weylus/default.nix @@ -99,6 +99,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { broken = stdenv.isDarwin; description = "Use your tablet as graphic tablet/touch screen on your computer"; + mainProgram = "weylus"; homepage = "https://github.com/H-M-H/Weylus"; license = with licenses; [ agpl3Only ]; maintainers = with maintainers; [ lom ]; diff --git a/pkgs/applications/graphics/xaos/default.nix b/pkgs/applications/graphics/xaos/default.nix index e79f322be5e4..dd717223fdbb 100644 --- a/pkgs/applications/graphics/xaos/default.nix +++ b/pkgs/applications/graphics/xaos/default.nix @@ -42,6 +42,7 @@ in stdenv.mkDerivation rec { meta = src.meta // { description = "Real-time interactive fractal zoomer"; + mainProgram = "xaos"; homepage = "https://xaos-project.github.io/"; license = lib.licenses.gpl2Plus; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/applications/graphics/xfig/default.nix b/pkgs/applications/graphics/xfig/default.nix index 00e736731f2f..cb96daeb1270 100644 --- a/pkgs/applications/graphics/xfig/default.nix +++ b/pkgs/applications/graphics/xfig/default.nix @@ -61,6 +61,7 @@ stdenv.mkDerivation rec { meta = with lib; { changelog = "https://sourceforge.net/p/mcj/xfig/ci/${version}/tree/CHANGES"; description = "An interactive drawing tool for X11"; + mainProgram = "xfig"; longDescription = '' Note that you need to have the netpbm tools in your path to export bitmaps. diff --git a/pkgs/applications/graphics/xpano/default.nix b/pkgs/applications/graphics/xpano/default.nix index 3ba27e66e66f..9842aca43dd8 100644 --- a/pkgs/applications/graphics/xpano/default.nix +++ b/pkgs/applications/graphics/xpano/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A panorama stitching tool"; + mainProgram = "Xpano"; homepage = "https://krupkat.github.io/xpano/"; changelog = "https://github.com/krupkat/xpano/releases/tag/v${version}"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/graphics/xrgears/default.nix b/pkgs/applications/graphics/xrgears/default.nix index ac73412117cf..2f367e8a70d5 100644 --- a/pkgs/applications/graphics/xrgears/default.nix +++ b/pkgs/applications/graphics/xrgears/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.freedesktop.org/monado/demos/xrgears"; description = "An OpenXR example using Vulkan for rendering"; + mainProgram = "xrgears"; platforms = platforms.linux; license = licenses.mit; maintainers = with maintainers; [ expipiplus1 ]; diff --git a/pkgs/applications/kde/alligator.nix b/pkgs/applications/kde/alligator.nix index 4470141af296..425f9733b38a 100644 --- a/pkgs/applications/kde/alligator.nix +++ b/pkgs/applications/kde/alligator.nix @@ -33,6 +33,7 @@ mkDerivation rec { meta = with lib; { description = "RSS reader made with kirigami"; + mainProgram = "alligator"; homepage = "https://invent.kde.org/plasma-mobile/alligator"; # https://invent.kde.org/plasma-mobile/alligator/-/commit/db30f159c4700244532b17a260deb95551045b7a # * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL diff --git a/pkgs/applications/kde/arianna.nix b/pkgs/applications/kde/arianna.nix index fe3038789a23..ba88e4ecbded 100644 --- a/pkgs/applications/kde/arianna.nix +++ b/pkgs/applications/kde/arianna.nix @@ -53,6 +53,7 @@ mkDerivation { meta = with lib; { description = "An Epub Reader for Plasma and Plasma Mobile"; + mainProgram = "arianna"; homepage = "https://invent.kde.org/graphics/arianna"; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/applications/kde/ark/default.nix b/pkgs/applications/kde/ark/default.nix index f6dd70682742..815bee892d6d 100644 --- a/pkgs/applications/kde/ark/default.nix +++ b/pkgs/applications/kde/ark/default.nix @@ -31,6 +31,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/ark/"; description = "Graphical file compression/decompression utility"; + mainProgram = "ark"; license = with licenses; [ gpl2 lgpl3 ] ++ optional unfreeEnableUnrar unfree; maintainers = [ maintainers.ttuegel ]; }; diff --git a/pkgs/applications/kde/audiotube.nix b/pkgs/applications/kde/audiotube.nix index 9ba9745c6b4f..bf1ec3099029 100644 --- a/pkgs/applications/kde/audiotube.nix +++ b/pkgs/applications/kde/audiotube.nix @@ -62,6 +62,7 @@ mkDerivation rec { meta = with lib; { description = "Client for YouTube Music"; + mainProgram = "audiotube"; homepage = "https://invent.kde.org/plasma-mobile/audiotube"; # https://invent.kde.org/plasma-mobile/audiotube/-/tree/c503d0607a3386112beaa9cf990ab85fe33ef115/LICENSES license = with licenses; [ bsd2 cc0 gpl2Only gpl3Only ]; diff --git a/pkgs/applications/kde/bomber.nix b/pkgs/applications/kde/bomber.nix index d8840e1bfece..1e52a6d87727 100644 --- a/pkgs/applications/kde/bomber.nix +++ b/pkgs/applications/kde/bomber.nix @@ -8,6 +8,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/bomber/"; description = "A single player arcade game"; + mainProgram = "bomber"; longDescription = '' Bomber is a single player arcade game. The player is invading various cities in a plane that is decreasing in height. diff --git a/pkgs/applications/kde/bovo.nix b/pkgs/applications/kde/bovo.nix index ae89a8e396f6..d1788bd5e234 100644 --- a/pkgs/applications/kde/bovo.nix +++ b/pkgs/applications/kde/bovo.nix @@ -8,6 +8,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/bovo/"; description = "Five in a row application"; + mainProgram = "bovo"; longDescription = '' Bovo is a Gomoku (from Japanese 五目並べ - lit. "five points") like game for two players, where the opponents alternate in placing their respective pictogram on the game board. diff --git a/pkgs/applications/kde/dragon.nix b/pkgs/applications/kde/dragon.nix index 399205da6caa..a9e9425b7bb5 100644 --- a/pkgs/applications/kde/dragon.nix +++ b/pkgs/applications/kde/dragon.nix @@ -13,6 +13,7 @@ mkDerivation { homepage = "https://apps.kde.org/dragonplayer/"; license = with lib.licenses; [ gpl2Plus fdl12Plus ]; description = "A simple media player for KDE"; + mainProgram = "dragon"; maintainers = [ lib.maintainers.jonathanreeve ]; }; nativeBuildInputs = [ extra-cmake-modules kdoctools ]; diff --git a/pkgs/applications/kde/elisa.nix b/pkgs/applications/kde/elisa.nix index 5073d869a3aa..b9a384616416 100644 --- a/pkgs/applications/kde/elisa.nix +++ b/pkgs/applications/kde/elisa.nix @@ -42,6 +42,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/elisa/"; description = "A simple media player for KDE"; + mainProgram = "elisa"; license = licenses.gpl3; maintainers = with maintainers; [ peterhoeg ]; }; diff --git a/pkgs/applications/kde/falkon.nix b/pkgs/applications/kde/falkon.nix index 94cf6f5cfd25..d949b5ce1b2d 100644 --- a/pkgs/applications/kde/falkon.nix +++ b/pkgs/applications/kde/falkon.nix @@ -32,6 +32,7 @@ mkDerivation rec { meta = with lib; { description = "QtWebEngine based cross-platform web browser"; + mainProgram = "falkon"; homepage = "https://www.falkon.org"; license = licenses.gpl3; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/applications/kde/filelight.nix b/pkgs/applications/kde/filelight.nix index af1b131b5c76..017a5eb2f532 100644 --- a/pkgs/applications/kde/filelight.nix +++ b/pkgs/applications/kde/filelight.nix @@ -17,6 +17,7 @@ mkDerivation { pname = "filelight"; meta = { description = "Disk usage statistics"; + mainProgram = "filelight"; homepage = "https://apps.kde.org/filelight/"; license = with lib.licenses; [ gpl2 ]; maintainers = with lib.maintainers; [ fridh vcunat ]; diff --git a/pkgs/applications/kde/ghostwriter.nix b/pkgs/applications/kde/ghostwriter.nix index 1fad4669dc62..d9399986959e 100644 --- a/pkgs/applications/kde/ghostwriter.nix +++ b/pkgs/applications/kde/ghostwriter.nix @@ -33,6 +33,7 @@ mkDerivation { meta = with lib; { description = "A cross-platform, aesthetic, distraction-free Markdown editor"; + mainProgram = "ghostwriter"; homepage = "https://ghostwriter.kde.org/"; changelog = "https://invent.kde.org/office/ghostwriter/-/blob/master/CHANGELOG.md"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/kde/granatier.nix b/pkgs/applications/kde/granatier.nix index b4aa2168e0d1..ac050e014794 100644 --- a/pkgs/applications/kde/granatier.nix +++ b/pkgs/applications/kde/granatier.nix @@ -8,6 +8,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.granatier"; description = "Clone of the classic Bomberman game"; + mainProgram = "granatier"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/juk.nix b/pkgs/applications/kde/juk.nix index 70bd90b7e9ed..dd428a014487 100644 --- a/pkgs/applications/kde/juk.nix +++ b/pkgs/applications/kde/juk.nix @@ -30,6 +30,7 @@ mkDerivation { meta = with lib; { homepage = "https://invent.kde.org/multimedia/juk"; description = "Audio jukebox app, supporting collections of MP3, Ogg Vorbis and FLAC audio files"; + mainProgram = "juk"; license = licenses.gpl2Only; platforms = platforms.linux; maintainers = with maintainers; [ zendo ]; diff --git a/pkgs/applications/kde/k3b.nix b/pkgs/applications/kde/k3b.nix index 673567fbef69..643c5e80b10f 100644 --- a/pkgs/applications/kde/k3b.nix +++ b/pkgs/applications/kde/k3b.nix @@ -12,6 +12,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/k3b/"; description = "Disk burning application"; + mainProgram = "k3b"; license = with licenses; [ gpl2Plus ]; maintainers = with maintainers; [ sander ]; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kaddressbook.nix b/pkgs/applications/kde/kaddressbook.nix index 6e3201837fd0..0d5df31781c3 100644 --- a/pkgs/applications/kde/kaddressbook.nix +++ b/pkgs/applications/kde/kaddressbook.nix @@ -14,6 +14,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kaddressbook/"; description = "KDE contact manager"; + mainProgram = "kaddressbook"; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ]; maintainers = kdepimTeam; }; diff --git a/pkgs/applications/kde/kalk.nix b/pkgs/applications/kde/kalk.nix index 8d63991fb080..c151078e910e 100644 --- a/pkgs/applications/kde/kalk.nix +++ b/pkgs/applications/kde/kalk.nix @@ -43,6 +43,7 @@ mkDerivation rec { meta = with lib; { description = "Calculator built with kirigami"; + mainProgram = "kalk"; homepage = "https://invent.kde.org/plasma-mobile/kalk"; license = licenses.gpl3Plus; maintainers = with maintainers; [ samueldr ]; diff --git a/pkgs/applications/kde/kalzium.nix b/pkgs/applications/kde/kalzium.nix index 045c9a3c8d6e..c365f6e7e7d4 100644 --- a/pkgs/applications/kde/kalzium.nix +++ b/pkgs/applications/kde/kalzium.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://edu.kde.org/kalzium/"; description = "Program that shows you the Periodic Table of Elements"; + mainProgram = "kalzium"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kamoso.nix b/pkgs/applications/kde/kamoso.nix index c80ed0c511e4..878c127a977c 100644 --- a/pkgs/applications/kde/kamoso.nix +++ b/pkgs/applications/kde/kamoso.nix @@ -40,6 +40,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kamoso/"; description = "A simple and friendly program to use your camera"; + mainProgram = "kamoso"; license = with lib.licenses; [ lgpl21Only gpl3Only ]; }; } diff --git a/pkgs/applications/kde/kapman.nix b/pkgs/applications/kde/kapman.nix index 01fa984e5933..cb0187e97639 100644 --- a/pkgs/applications/kde/kapman.nix +++ b/pkgs/applications/kde/kapman.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.kapman"; description = "Clone of the well known game Pac-Man"; + mainProgram = "kapman"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kapptemplate.nix b/pkgs/applications/kde/kapptemplate.nix index 447b2d009b60..38b671bc382d 100644 --- a/pkgs/applications/kde/kapptemplate.nix +++ b/pkgs/applications/kde/kapptemplate.nix @@ -15,6 +15,7 @@ mkDerivation { meta = with lib; { description = "KDE App Code Template Generator"; + mainProgram = "kapptemplate"; license = licenses.gpl2; homepage = "https://kde.org/applications/en/development/org.kde.kapptemplate"; maintainers = [ maintainers.shamilton ]; diff --git a/pkgs/applications/kde/kasts.nix b/pkgs/applications/kde/kasts.nix index 59b455398203..e0f00a1db204 100644 --- a/pkgs/applications/kde/kasts.nix +++ b/pkgs/applications/kde/kasts.nix @@ -59,6 +59,7 @@ mkDerivation rec { meta = with lib; { description = "Mobile podcast application"; + mainProgram = "kasts"; homepage = "https://apps.kde.org/kasts/"; # https://invent.kde.org/plasma-mobile/kasts/-/tree/master/LICENSES license = with licenses; [ bsd2 cc-by-sa-40 cc0 gpl2Only gpl2Plus gpl3Only gpl3Plus lgpl3Plus ]; diff --git a/pkgs/applications/kde/katomic.nix b/pkgs/applications/kde/katomic.nix index aa00d58c417e..29e67635fb3e 100644 --- a/pkgs/applications/kde/katomic.nix +++ b/pkgs/applications/kde/katomic.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.katomic"; description = "Fun educational game built around molecular geometry"; + mainProgram = "katomic"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kblackbox.nix b/pkgs/applications/kde/kblackbox.nix index 9f2f652f5586..c85184dcc109 100644 --- a/pkgs/applications/kde/kblackbox.nix +++ b/pkgs/applications/kde/kblackbox.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.kblackbox"; description = "Game of hide and seek played on a grid of boxes"; + mainProgram = "kblackbox"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kblocks.nix b/pkgs/applications/kde/kblocks.nix index 971901687f02..61e49a69999c 100644 --- a/pkgs/applications/kde/kblocks.nix +++ b/pkgs/applications/kde/kblocks.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.kblocks"; description = "Classic falling blocks game"; + mainProgram = "kblocks"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kbounce.nix b/pkgs/applications/kde/kbounce.nix index d96c0f7f8273..f6f6ad43829b 100644 --- a/pkgs/applications/kde/kbounce.nix +++ b/pkgs/applications/kde/kbounce.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.kbounce"; description = "Single player arcade game with the elements of puzzle"; + mainProgram = "kbounce"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kbreakout.nix b/pkgs/applications/kde/kbreakout.nix index ad58bde5838b..eb448d1a7400 100644 --- a/pkgs/applications/kde/kbreakout.nix +++ b/pkgs/applications/kde/kbreakout.nix @@ -14,6 +14,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kbreakout/"; description = "Breakout-like game"; + mainProgram = "kbreakout"; license = with lib.licenses; [ lgpl21 gpl3 ]; }; outputs = [ "out" "dev" ]; diff --git a/pkgs/applications/kde/kcalc.nix b/pkgs/applications/kde/kcalc.nix index 20ae678dc011..fdd8bb89f96e 100644 --- a/pkgs/applications/kde/kcalc.nix +++ b/pkgs/applications/kde/kcalc.nix @@ -10,6 +10,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kcalc/"; description = "Scientific calculator"; + mainProgram = "kcalc"; license = with lib.licenses; [ gpl2 ]; maintainers = [ lib.maintainers.fridh ]; }; diff --git a/pkgs/applications/kde/kcharselect.nix b/pkgs/applications/kde/kcharselect.nix index 0bc76b420874..54549aeb73ca 100644 --- a/pkgs/applications/kde/kcharselect.nix +++ b/pkgs/applications/kde/kcharselect.nix @@ -11,6 +11,7 @@ mkDerivation { license = lib.licenses.gpl2Plus; maintainers = [ lib.maintainers.schmittlauch ]; description = "A tool to select special characters from all installed fonts and copy them into the clipboard"; + mainProgram = "kcharselect"; }; nativeBuildInputs = [ extra-cmake-modules kdoctools ]; buildInputs = [ diff --git a/pkgs/applications/kde/kcolorchooser.nix b/pkgs/applications/kde/kcolorchooser.nix index 26601bb37e3c..601fe705d47a 100644 --- a/pkgs/applications/kde/kcolorchooser.nix +++ b/pkgs/applications/kde/kcolorchooser.nix @@ -9,6 +9,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kcolorchooser/"; description = "Color chooser"; + mainProgram = "kcolorchooser"; license = with lib.licenses; [ mit ]; maintainers = [ lib.maintainers.ttuegel ]; }; diff --git a/pkgs/applications/kde/kde-inotify-survey.nix b/pkgs/applications/kde/kde-inotify-survey.nix index d90d789c5776..470e225ea0ab 100644 --- a/pkgs/applications/kde/kde-inotify-survey.nix +++ b/pkgs/applications/kde/kde-inotify-survey.nix @@ -23,6 +23,7 @@ mkDerivation { meta = { description = "Tooling for monitoring inotify limits and informing the user when they have been or about to be reached"; + mainProgram = "kde-inotify-survey"; homepage = "https://invent.kde.org/system/kde-inotify-survey"; license = lib.licenses.gpl2Plus; maintainers = []; diff --git a/pkgs/applications/kde/kdebugsettings.nix b/pkgs/applications/kde/kdebugsettings.nix index 829f7a26eb30..792d2dc04896 100644 --- a/pkgs/applications/kde/kdebugsettings.nix +++ b/pkgs/applications/kde/kdebugsettings.nix @@ -11,6 +11,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kdebugsettings/"; description = "KDE debug settings"; + mainProgram = "kdebugsettings"; license = with lib.licenses; [ gpl2 ]; maintainers = [ ]; }; diff --git a/pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix b/pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix index 468e264915c8..908c21bba8a6 100644 --- a/pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix +++ b/pkgs/applications/kde/kdevelop/kdevelop-pg-qt.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { maintainers = [ maintainers.ambrop72 ]; platforms = platforms.linux; description = "Parser-generator from KDevplatform"; + mainProgram = "kdev-pg-qt"; longDescription = '' KDevelop-PG-Qt is the parser-generator from KDevplatform. It is used for some KDevelop-languagesupport-plugins (Ruby, PHP, CSS...). diff --git a/pkgs/applications/kde/kdiamond.nix b/pkgs/applications/kde/kdiamond.nix index 040806fd08e0..d5b18530aff9 100644 --- a/pkgs/applications/kde/kdiamond.nix +++ b/pkgs/applications/kde/kdiamond.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.kdiamond"; description = "A single player puzzle game"; + mainProgram = "kdiamond"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/keysmith.nix b/pkgs/applications/kde/keysmith.nix index eaca7f68e24b..cca4d2ece563 100644 --- a/pkgs/applications/kde/keysmith.nix +++ b/pkgs/applications/kde/keysmith.nix @@ -31,6 +31,7 @@ mkDerivation rec { meta = with lib; { description = "OTP client for Plasma Mobile and Desktop"; + mainProgram = "keysmith"; license = licenses.gpl3; homepage = "https://github.com/KDE/keysmith"; maintainers = with maintainers; [ samueldr shamilton ]; diff --git a/pkgs/applications/kde/kfind.nix b/pkgs/applications/kde/kfind.nix index 2c96b17dea19..e7449660fcd5 100644 --- a/pkgs/applications/kde/kfind.nix +++ b/pkgs/applications/kde/kfind.nix @@ -9,6 +9,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kfind/"; description = "Find files/folders"; + mainProgram = "kfind"; license = with lib.licenses; [ gpl2 ]; maintainers = [ lib.maintainers.iblech ]; }; diff --git a/pkgs/applications/kde/kgeography.nix b/pkgs/applications/kde/kgeography.nix index b832ffcfa2cf..9e55ed5879d8 100644 --- a/pkgs/applications/kde/kgeography.nix +++ b/pkgs/applications/kde/kgeography.nix @@ -9,6 +9,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kgeography/"; description = "Geography trainer"; + mainProgram = "kgeography"; license = with lib.licenses; [ gpl2 ]; maintainers = [ lib.maintainers.globin ]; }; diff --git a/pkgs/applications/kde/kget.nix b/pkgs/applications/kde/kget.nix index 2f59e3aaf963..1c537e970711 100644 --- a/pkgs/applications/kde/kget.nix +++ b/pkgs/applications/kde/kget.nix @@ -18,6 +18,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/kget/"; description = "Download manager"; + mainProgram = "kget"; license = with licenses; [ gpl2 ]; maintainers = with maintainers; [ peterhoeg ]; }; diff --git a/pkgs/applications/kde/kgpg.nix b/pkgs/applications/kde/kgpg.nix index 3db757b497dd..c39e521802e4 100644 --- a/pkgs/applications/kde/kgpg.nix +++ b/pkgs/applications/kde/kgpg.nix @@ -20,6 +20,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kgpg/"; description = "A KDE based interface for GnuPG, a powerful encryption utility"; + mainProgram = "kgpg"; license = [ lib.licenses.gpl2 ]; maintainers = [ lib.maintainers.ttuegel ]; }; diff --git a/pkgs/applications/kde/khelpcenter.nix b/pkgs/applications/kde/khelpcenter.nix index eeafc1e5285e..1638c3223de5 100644 --- a/pkgs/applications/kde/khelpcenter.nix +++ b/pkgs/applications/kde/khelpcenter.nix @@ -21,6 +21,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/help/"; description = "Help center"; + mainProgram = "khelpcenter"; license = licenses.gpl2Plus; }; } diff --git a/pkgs/applications/kde/kigo.nix b/pkgs/applications/kde/kigo.nix index 238158b524b3..1fcedb393864 100644 --- a/pkgs/applications/kde/kigo.nix +++ b/pkgs/applications/kde/kigo.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.kigo"; description = "An open-source implementation of the popular Go game"; + mainProgram = "kigo"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/killbots.nix b/pkgs/applications/kde/killbots.nix index ef81c3b5ec11..6ac75851619f 100644 --- a/pkgs/applications/kde/killbots.nix +++ b/pkgs/applications/kde/killbots.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.killbots"; description = "A game where you avoid robots"; + mainProgram = "killbots"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kirigami-gallery.nix b/pkgs/applications/kde/kirigami-gallery.nix index c22cc16aaf91..492d687e01d7 100644 --- a/pkgs/applications/kde/kirigami-gallery.nix +++ b/pkgs/applications/kde/kirigami-gallery.nix @@ -23,6 +23,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/kirigami2.gallery/"; description = "View examples of Kirigami components"; + mainProgram = "kirigami2gallery"; license = licenses.lgpl2; maintainers = with maintainers; [ shadowrz ]; }; diff --git a/pkgs/applications/kde/klettres.nix b/pkgs/applications/kde/klettres.nix index a87090a794b5..583edfb8a56c 100644 --- a/pkgs/applications/kde/klettres.nix +++ b/pkgs/applications/kde/klettres.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://invent.kde.org/education/klettres"; description = "An application specially designed to help the user to learn an alphabet"; + mainProgram = "klettres"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/klines.nix b/pkgs/applications/kde/klines.nix index 336ea9a2506e..a7b4d81f5fe4 100644 --- a/pkgs/applications/kde/klines.nix +++ b/pkgs/applications/kde/klines.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.klines"; description = "A simple but highly addictive one player game"; + mainProgram = "klines"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kmag.nix b/pkgs/applications/kde/kmag.nix index ba1bb8d18515..dc6cec7e5a47 100644 --- a/pkgs/applications/kde/kmag.nix +++ b/pkgs/applications/kde/kmag.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/utilities/org.kde.kmag"; description = "A small Linux utility to magnify a part of the screen"; + mainProgram = "kmag"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kmahjongg.nix b/pkgs/applications/kde/kmahjongg.nix index a0c277ec0917..1c2e46c21124 100644 --- a/pkgs/applications/kde/kmahjongg.nix +++ b/pkgs/applications/kde/kmahjongg.nix @@ -14,6 +14,7 @@ mkDerivation { buildInputs = [ kdeclarative libkmahjongg knewstuff libkdegames ]; meta = { description = "Mahjongg solitaire"; + mainProgram = "kmahjongg"; homepage = "https://apps.kde.org/kmahjongg/"; license = with lib.licenses; [ gpl2 ]; maintainers = with lib.maintainers; [ ]; diff --git a/pkgs/applications/kde/kmines.nix b/pkgs/applications/kde/kmines.nix index 66131df26c16..108c7f049b08 100644 --- a/pkgs/applications/kde/kmines.nix +++ b/pkgs/applications/kde/kmines.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.kmines"; description = "A classic Minesweeper game"; + mainProgram = "kmines"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kmousetool.nix b/pkgs/applications/kde/kmousetool.nix index 4bac765dc4b9..bedcbb6bc4dc 100644 --- a/pkgs/applications/kde/kmousetool.nix +++ b/pkgs/applications/kde/kmousetool.nix @@ -28,6 +28,7 @@ mkDerivation { meta = { homepage = "https://github.com/KDE/kmousetool"; description = "Program that clicks the mouse for you"; + mainProgram = "kmousetool"; license = with lib.licenses; [ gpl2Plus fdl12Plus ]; maintainers = [ lib.maintainers.jayesh-bhoot ]; }; diff --git a/pkgs/applications/kde/kmplot.nix b/pkgs/applications/kde/kmplot.nix index 9f1ab4d28119..478198215396 100644 --- a/pkgs/applications/kde/kmplot.nix +++ b/pkgs/applications/kde/kmplot.nix @@ -7,6 +7,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kmplot/"; description = "Mathematical function plotter"; + mainProgram = "kmplot"; license = with lib.licenses; [ gpl2Plus fdl12Plus ]; maintainers = [ lib.maintainers.orivej ]; }; diff --git a/pkgs/applications/kde/knavalbattle.nix b/pkgs/applications/kde/knavalbattle.nix index 155faf4e5399..b405bfe1834d 100644 --- a/pkgs/applications/kde/knavalbattle.nix +++ b/pkgs/applications/kde/knavalbattle.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.knavalbattle"; description = "Naval Battle is a ship sinking game"; + mainProgram = "knavalbattle"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/knetwalk.nix b/pkgs/applications/kde/knetwalk.nix index 3a863b40a1c6..ae25146b41b6 100644 --- a/pkgs/applications/kde/knetwalk.nix +++ b/pkgs/applications/kde/knetwalk.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.knetwalk"; description = "A single player logic game"; + mainProgram = "knetwalk"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/knights.nix b/pkgs/applications/kde/knights.nix index 084a2349fc1f..589f409907d7 100644 --- a/pkgs/applications/kde/knights.nix +++ b/pkgs/applications/kde/knights.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.knights"; description = "A chess game"; + mainProgram = "knights"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/koko.nix b/pkgs/applications/kde/koko.nix index 3543a7284bff..826125f91d10 100644 --- a/pkgs/applications/kde/koko.nix +++ b/pkgs/applications/kde/koko.nix @@ -73,6 +73,7 @@ mkDerivation rec { meta = with lib; { description = "Image gallery mobile application"; + mainProgram = "koko"; homepage = "https://apps.kde.org/koko/"; # LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL license = [ licenses.lgpl3Only licenses.lgpl21Only ]; diff --git a/pkgs/applications/kde/kolf.nix b/pkgs/applications/kde/kolf.nix index c9a5a61e2812..7d966e60c679 100644 --- a/pkgs/applications/kde/kolf.nix +++ b/pkgs/applications/kde/kolf.nix @@ -12,6 +12,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kolf/"; description = "Miniature golf"; + mainProgram = "kolf"; license = with lib.licenses; [ gpl2 ]; maintainers = with lib.maintainers; [ peterhoeg ]; }; diff --git a/pkgs/applications/kde/kollision.nix b/pkgs/applications/kde/kollision.nix index 806b2f592338..4aa01245f1ae 100644 --- a/pkgs/applications/kde/kollision.nix +++ b/pkgs/applications/kde/kollision.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.kollision"; description = "A casual game"; + mainProgram = "kollision"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kolourpaint.nix b/pkgs/applications/kde/kolourpaint.nix index b02c91e8641f..4af7cd12b896 100644 --- a/pkgs/applications/kde/kolourpaint.nix +++ b/pkgs/applications/kde/kolourpaint.nix @@ -19,6 +19,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kolourpaint/"; description = "Paint program"; + mainProgram = "kolourpaint"; maintainers = [ lib.maintainers.fridh ]; license = with lib.licenses; [ gpl2 ]; }; diff --git a/pkgs/applications/kde/kompare.nix b/pkgs/applications/kde/kompare.nix index 097661d58021..27c2d646413b 100644 --- a/pkgs/applications/kde/kompare.nix +++ b/pkgs/applications/kde/kompare.nix @@ -9,6 +9,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kompare/"; description = "Diff/patch frontend"; + mainProgram = "kompare"; license = with lib.licenses; [ gpl2 ]; }; nativeBuildInputs = [ extra-cmake-modules kdoctools ]; diff --git a/pkgs/applications/kde/konquest.nix b/pkgs/applications/kde/konquest.nix index 7c4ac20f4a51..ba400bd5da2e 100644 --- a/pkgs/applications/kde/konquest.nix +++ b/pkgs/applications/kde/konquest.nix @@ -24,6 +24,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/konquest/"; description = "Galactic strategy game"; + mainProgram = "konquest"; license = with lib.licenses; [ gpl2 ]; maintainers = with lib.maintainers; [ lheckemann ]; }; diff --git a/pkgs/applications/kde/kontact.nix b/pkgs/applications/kde/kontact.nix index 2218e19c231a..f405b9af20ab 100644 --- a/pkgs/applications/kde/kontact.nix +++ b/pkgs/applications/kde/kontact.nix @@ -13,6 +13,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kontact/"; description = "Personal information manager"; + mainProgram = "kontact"; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ]; maintainers = kdepimTeam; }; diff --git a/pkgs/applications/kde/konversation.nix b/pkgs/applications/kde/konversation.nix index 4b224827e839..9b995629460f 100644 --- a/pkgs/applications/kde/konversation.nix +++ b/pkgs/applications/kde/konversation.nix @@ -66,6 +66,7 @@ mkDerivation { meta = { description = "Integrated IRC client for KDE"; + mainProgram = "konversation"; license = with lib.licenses; [ gpl2 ]; homepage = "https://konversation.kde.org"; }; diff --git a/pkgs/applications/kde/korganizer.nix b/pkgs/applications/kde/korganizer.nix index e4c5a8dc5176..c1febe58f45a 100644 --- a/pkgs/applications/kde/korganizer.nix +++ b/pkgs/applications/kde/korganizer.nix @@ -17,6 +17,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/korganizer/"; description = "Personal organizer"; + mainProgram = "korganizer"; license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ]; maintainers = kdepimTeam; }; diff --git a/pkgs/applications/kde/krdc.nix b/pkgs/applications/kde/krdc.nix index dfa84dae31bc..5d3fd18706db 100644 --- a/pkgs/applications/kde/krdc.nix +++ b/pkgs/applications/kde/krdc.nix @@ -19,6 +19,7 @@ mkDerivation { meta = with lib; { homepage = "http://www.kde.org"; description = "Remote desktop client"; + mainProgram = "krdc"; license = with licenses; [ gpl2Plus lgpl21Plus fdl12Plus bsd3 ]; maintainers = with maintainers; [ peterhoeg ]; platforms = platforms.linux; diff --git a/pkgs/applications/kde/krecorder.nix b/pkgs/applications/kde/krecorder.nix index 71164d1b02d4..afa5ddee2ed6 100644 --- a/pkgs/applications/kde/krecorder.nix +++ b/pkgs/applications/kde/krecorder.nix @@ -35,6 +35,7 @@ mkDerivation rec { meta = with lib; { description = "Audio recorder for Plasma Mobile"; + mainProgram = "krecorder"; homepage = "https://invent.kde.org/plasma-mobile/krecorder"; license = licenses.gpl3Plus; maintainers = with maintainers; [ samueldr ]; diff --git a/pkgs/applications/kde/kreversi.nix b/pkgs/applications/kde/kreversi.nix index 351555b5f338..91756d2e15d7 100644 --- a/pkgs/applications/kde/kreversi.nix +++ b/pkgs/applications/kde/kreversi.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.kreversi"; description = "A simple one player strategy game played against the computer"; + mainProgram = "kreversi"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kruler.nix b/pkgs/applications/kde/kruler.nix index 918c0c55b625..965ef278542b 100644 --- a/pkgs/applications/kde/kruler.nix +++ b/pkgs/applications/kde/kruler.nix @@ -9,6 +9,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kruler/"; description = "Screen ruler"; + mainProgram = "kruler"; license = with lib.licenses; [ gpl2 ]; maintainers = [ lib.maintainers.vandenoever ]; }; diff --git a/pkgs/applications/kde/kshisen.nix b/pkgs/applications/kde/kshisen.nix index 791e95af6905..b15dbfa8f9fa 100644 --- a/pkgs/applications/kde/kshisen.nix +++ b/pkgs/applications/kde/kshisen.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.kshisen"; description = "A solitaire-like game played using the standard set of Mahjong tiles"; + mainProgram = "kshisen"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kspaceduel.nix b/pkgs/applications/kde/kspaceduel.nix index bf174546f2f6..500f2813b8f4 100644 --- a/pkgs/applications/kde/kspaceduel.nix +++ b/pkgs/applications/kde/kspaceduel.nix @@ -14,6 +14,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/kspaceduel/"; description = "Space arcade game"; + mainProgram = "kspaceduel"; license = with lib.licenses; [ lgpl21 gpl3 ]; }; outputs = [ "out" "dev" ]; diff --git a/pkgs/applications/kde/ksquares.nix b/pkgs/applications/kde/ksquares.nix index b48ee473523c..326482c3aa8c 100644 --- a/pkgs/applications/kde/ksquares.nix +++ b/pkgs/applications/kde/ksquares.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/games/org.kde.ksquares"; description = "A game of Dots and Boxes"; + mainProgram = "ksquares"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/ksudoku.nix b/pkgs/applications/kde/ksudoku.nix index 1cfb3884ff59..64567ad9d88f 100644 --- a/pkgs/applications/kde/ksudoku.nix +++ b/pkgs/applications/kde/ksudoku.nix @@ -14,6 +14,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/ksudoku/"; description = "Suduko game"; + mainProgram = "ksudoku"; license = with lib.licenses; [ gpl2 ]; maintainers = with lib.maintainers; [ ]; }; diff --git a/pkgs/applications/kde/ksystemlog.nix b/pkgs/applications/kde/ksystemlog.nix index 1b78c16b49dd..c886acc65f5a 100644 --- a/pkgs/applications/kde/ksystemlog.nix +++ b/pkgs/applications/kde/ksystemlog.nix @@ -13,6 +13,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/ksystemlog/"; description = "System log viewer"; + mainProgram = "ksystemlog"; license = with licenses; [ gpl2 ]; maintainers = with maintainers; [ peterhoeg ]; }; diff --git a/pkgs/applications/kde/kteatime.nix b/pkgs/applications/kde/kteatime.nix index 639bd933103f..056df2fa263d 100644 --- a/pkgs/applications/kde/kteatime.nix +++ b/pkgs/applications/kde/kteatime.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/utilities/org.kde.kteatime"; description = "A handy timer for steeping tea"; + mainProgram = "kteatime"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/ktimer.nix b/pkgs/applications/kde/ktimer.nix index 7eab059f1a72..31535af1d7ad 100644 --- a/pkgs/applications/kde/ktimer.nix +++ b/pkgs/applications/kde/ktimer.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/utilities/org.kde.ktimer"; description = "A little tool to execute programs after some time"; + mainProgram = "ktimer"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/ktouch.nix b/pkgs/applications/kde/ktouch.nix index df727c43a166..1a5f14bbc9e3 100644 --- a/pkgs/applications/kde/ktouch.nix +++ b/pkgs/applications/kde/ktouch.nix @@ -14,6 +14,7 @@ mkDerivation { license = lib.licenses.gpl2; maintainers = [ lib.maintainers.schmittlauch ]; description = "A touch typing tutor from the KDE software collection"; + mainProgram = "ktouch"; }; nativeBuildInputs = [ extra-cmake-modules kdoctools qtdeclarative ]; buildInputs = [ diff --git a/pkgs/applications/kde/ktrip.nix b/pkgs/applications/kde/ktrip.nix index 5377dd106586..ebcb85d67d4a 100644 --- a/pkgs/applications/kde/ktrip.nix +++ b/pkgs/applications/kde/ktrip.nix @@ -39,6 +39,7 @@ mkDerivation rec { meta = with lib; { description = "Public transport trip planner"; + mainProgram = "ktrip"; homepage = "https://apps.kde.org/ktrip/"; # GPL-2.0-or-later license = licenses.gpl2Plus; diff --git a/pkgs/applications/kde/kturtle.nix b/pkgs/applications/kde/kturtle.nix index cf4b2c91ffed..1f03f7fcb407 100644 --- a/pkgs/applications/kde/kturtle.nix +++ b/pkgs/applications/kde/kturtle.nix @@ -5,6 +5,7 @@ mkDerivation { meta = with lib; { homepage = "https://invent.kde.org/education/kturtle"; description = "An educational programming environment for learning how to program"; + mainProgram = "kturtle"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kwalletmanager.nix b/pkgs/applications/kde/kwalletmanager.nix index 8d56adc41326..63534d584d9f 100644 --- a/pkgs/applications/kde/kwalletmanager.nix +++ b/pkgs/applications/kde/kwalletmanager.nix @@ -17,6 +17,7 @@ mkDerivation { homepage = "https://apps.kde.org/kwalletmanager5/"; description = "KDE wallet management tool"; + mainProgram = "kwalletmanager5"; license = with lib.licenses; [ gpl2 ]; maintainers = with lib.maintainers; [ fridh ]; }; diff --git a/pkgs/applications/kde/kwave.nix b/pkgs/applications/kde/kwave.nix index a315ce6bd9bd..b0eda04de709 100644 --- a/pkgs/applications/kde/kwave.nix +++ b/pkgs/applications/kde/kwave.nix @@ -8,6 +8,7 @@ mkDerivation { meta = with lib; { homepage = "https://kde.org/applications/en/multimedia/org.kde.kwave"; description = "A simple media player"; + mainProgram = "kwave"; maintainers = with maintainers; [ freezeboy ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/kweather.nix b/pkgs/applications/kde/kweather.nix index d6a1f999ce65..b9a5fc04f6df 100644 --- a/pkgs/applications/kde/kweather.nix +++ b/pkgs/applications/kde/kweather.nix @@ -41,6 +41,7 @@ mkDerivation rec { meta = with lib; { description = "Weather application for Plasma Mobile"; + mainProgram = "kweather"; homepage = "https://invent.kde.org/plasma-mobile/kweather"; license = with licenses; [ gpl2Plus cc-by-40 ]; maintainers = with maintainers; [ samueldr ]; diff --git a/pkgs/applications/kde/minuet.nix b/pkgs/applications/kde/minuet.nix index 0aaa5012a073..8e5285ac57d8 100644 --- a/pkgs/applications/kde/minuet.nix +++ b/pkgs/applications/kde/minuet.nix @@ -10,6 +10,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/minuet/"; description = "Music Education Software"; + mainProgram = "minuet"; license = with licenses; [ lgpl21 gpl3 ]; maintainers = with maintainers; [ peterhoeg HaoZeke ]; }; diff --git a/pkgs/applications/kde/neochat.nix b/pkgs/applications/kde/neochat.nix index 03c6f19e68f5..840ab864cd95 100644 --- a/pkgs/applications/kde/neochat.nix +++ b/pkgs/applications/kde/neochat.nix @@ -67,6 +67,7 @@ mkDerivation { meta = with lib; { description = "A client for matrix, the decentralized communication protocol"; + mainProgram = "neochat"; homepage = "https://apps.kde.org/en/neochat"; license = licenses.gpl3Only; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/applications/kde/okular.nix b/pkgs/applications/kde/okular.nix index 8079232b926c..927cdb737b98 100644 --- a/pkgs/applications/kde/okular.nix +++ b/pkgs/applications/kde/okular.nix @@ -34,6 +34,7 @@ mkDerivation { meta = with lib; { homepage = "http://www.kde.org"; description = "KDE document viewer"; + mainProgram = "okular"; license = with licenses; [ gpl2Plus lgpl21Plus fdl12Plus bsd3 ]; maintainers = with maintainers; [ ttuegel ]; platforms = lib.platforms.linux; diff --git a/pkgs/applications/kde/palapeli.nix b/pkgs/applications/kde/palapeli.nix index 13aa24df27d4..9effbc2674f7 100644 --- a/pkgs/applications/kde/palapeli.nix +++ b/pkgs/applications/kde/palapeli.nix @@ -16,6 +16,7 @@ mkDerivation { meta = { homepage = "https://apps.kde.org/palapeli/"; description = "A single-player jigsaw puzzle game"; + mainProgram = "palapeli"; license = with lib.licenses; [ gpl2 ]; maintainers = with lib.maintainers; [ harrisonthorne ]; }; diff --git a/pkgs/applications/kde/picmi.nix b/pkgs/applications/kde/picmi.nix index 30ee9fa84369..3f5e36886836 100644 --- a/pkgs/applications/kde/picmi.nix +++ b/pkgs/applications/kde/picmi.nix @@ -8,6 +8,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/picmi/"; description = "Nonogram game"; + mainProgram = "picmi"; longDescription = ''The goal is to reveal the hidden pattern in the board by coloring or leaving blank the cells in a grid according to numbers given at the side of the grid. ''; diff --git a/pkgs/applications/kde/plasmatube/default.nix b/pkgs/applications/kde/plasmatube/default.nix index d7f0e337e509..cc83254cb2ac 100644 --- a/pkgs/applications/kde/plasmatube/default.nix +++ b/pkgs/applications/kde/plasmatube/default.nix @@ -50,6 +50,7 @@ mkDerivation { meta = { description = "Youtube player powered by an invidious server"; + mainProgram = "plasmatube"; homepage = "https://invent.kde.org/plasma-mobile/plasmatube"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ dotlambda ]; diff --git a/pkgs/applications/kde/qmlkonsole.nix b/pkgs/applications/kde/qmlkonsole.nix index da892fb47c0e..1071fce7e752 100644 --- a/pkgs/applications/kde/qmlkonsole.nix +++ b/pkgs/applications/kde/qmlkonsole.nix @@ -35,6 +35,7 @@ mkDerivation { meta = with lib; { description = "Terminal app for Plasma Mobile"; + mainProgram = "qmlkonsole"; homepage = "https://invent.kde.org/plasma-mobile/qmlkonsole"; license = with licenses; [ gpl2Plus gpl3Plus cc0 ]; maintainers = with maintainers; [ balsoft ]; diff --git a/pkgs/applications/kde/rocs.nix b/pkgs/applications/kde/rocs.nix index 80f5f4bb6d65..732814c42f69 100644 --- a/pkgs/applications/kde/rocs.nix +++ b/pkgs/applications/kde/rocs.nix @@ -11,6 +11,7 @@ mkDerivation { meta = with lib; { homepage = "https://edu.kde.org/rocs/"; description = "A graph theory IDE."; + mainProgram = "rocs"; license = with licenses; [ gpl2Plus lgpl21Plus fdl12Plus ]; platforms = lib.platforms.linux; maintainers = with maintainers; [ knairda ]; diff --git a/pkgs/applications/kde/skanlite.nix b/pkgs/applications/kde/skanlite.nix index e31c775c3d86..2d2ca212d00c 100644 --- a/pkgs/applications/kde/skanlite.nix +++ b/pkgs/applications/kde/skanlite.nix @@ -9,6 +9,7 @@ mkDerivation { pname = "skanlite"; meta = with lib; { description = "KDE simple image scanning application"; + mainProgram = "skanlite"; homepage = "https://apps.kde.org/skanlite"; license = licenses.gpl2Plus; maintainers = with maintainers; [ polendri ]; diff --git a/pkgs/applications/kde/skanpage.nix b/pkgs/applications/kde/skanpage.nix index fc16723ce4de..89094a10a87b 100644 --- a/pkgs/applications/kde/skanpage.nix +++ b/pkgs/applications/kde/skanpage.nix @@ -25,6 +25,7 @@ mkDerivation { meta = with lib; { description = "KDE utility to scan images and multi-page documents"; + mainProgram = "skanpage"; homepage = "https://apps.kde.org/skanpage"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/kde/spectacle.nix b/pkgs/applications/kde/spectacle.nix index 8505e34920df..f5471e2d1086 100644 --- a/pkgs/applications/kde/spectacle.nix +++ b/pkgs/applications/kde/spectacle.nix @@ -33,6 +33,7 @@ mkDerivation { meta = with lib; { homepage = "https://apps.kde.org/spectacle/"; description = "Screenshot capture utility"; + mainProgram = "spectacle"; maintainers = with maintainers; [ ttuegel ]; }; } diff --git a/pkgs/applications/kde/telly-skout.nix b/pkgs/applications/kde/telly-skout.nix index 4c84768a693a..9ecff11c0e08 100644 --- a/pkgs/applications/kde/telly-skout.nix +++ b/pkgs/applications/kde/telly-skout.nix @@ -17,6 +17,7 @@ mkDerivation { meta = { description = "A convergent Kirigami TV guide"; + mainProgram = "telly-skout"; homepage = "https://apps.kde.org/telly-skout/"; license = lib.licenses.gpl2Plus; maintainers = []; diff --git a/pkgs/applications/kde/tokodon.nix b/pkgs/applications/kde/tokodon.nix index 43da82e89018..c11bb05dae0f 100644 --- a/pkgs/applications/kde/tokodon.nix +++ b/pkgs/applications/kde/tokodon.nix @@ -53,6 +53,7 @@ mkDerivation { meta = with lib; { description = "A Mastodon client for Plasma and Plasma Mobile"; + mainProgram = "tokodon"; homepage = "https://invent.kde.org/network/tokodon"; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/applications/kde/yakuake.nix b/pkgs/applications/kde/yakuake.nix index 7c98275b9173..ce1cf3d161ff 100644 --- a/pkgs/applications/kde/yakuake.nix +++ b/pkgs/applications/kde/yakuake.nix @@ -28,6 +28,7 @@ mkDerivation { meta = { homepage = "https://yakuake.kde.org"; description = "Quad-style terminal emulator for KDE"; + mainProgram = "yakuake"; maintainers = with lib.maintainers; [ fridh ]; license = lib.licenses.gpl2; }; diff --git a/pkgs/applications/maui/booth.nix b/pkgs/applications/maui/booth.nix index f82055895854..bca0c23a8543 100644 --- a/pkgs/applications/maui/booth.nix +++ b/pkgs/applications/maui/booth.nix @@ -47,6 +47,7 @@ mkDerivation { meta = with lib; { description = "Camera application"; + mainProgram = "booth"; homepage = "https://invent.kde.org/maui/booth"; license = licenses.gpl3Plus; maintainers = with maintainers; [ milahu ]; diff --git a/pkgs/applications/maui/buho.nix b/pkgs/applications/maui/buho.nix index 481779a6cab7..b9f9fb446fb5 100644 --- a/pkgs/applications/maui/buho.nix +++ b/pkgs/applications/maui/buho.nix @@ -41,6 +41,7 @@ mkDerivation { meta = with lib; { description = "Task and Note Keeper"; + mainProgram = "buho"; homepage = "https://invent.kde.org/maui/buho"; license = licenses.gpl3Plus; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/applications/maui/clip.nix b/pkgs/applications/maui/clip.nix index 10df8c47dfc3..88d874c04e12 100644 --- a/pkgs/applications/maui/clip.nix +++ b/pkgs/applications/maui/clip.nix @@ -41,6 +41,7 @@ mkDerivation { meta = with lib; { description = "Video player and video collection manager"; + mainProgram = "clip"; homepage = "https://invent.kde.org/maui/clip"; license = licenses.gpl3Plus; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/applications/maui/communicator.nix b/pkgs/applications/maui/communicator.nix index 3fec87d1f512..4ee5f59dc3cd 100644 --- a/pkgs/applications/maui/communicator.nix +++ b/pkgs/applications/maui/communicator.nix @@ -50,6 +50,7 @@ mkDerivation { meta = with lib; { description = "Contacts and dialer application"; + mainProgram = "communicator"; homepage = "https://invent.kde.org/maui/communicator"; license = licenses.gpl3Plus; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/applications/maui/index.nix b/pkgs/applications/maui/index.nix index bc223adb4b1c..4e12123074fd 100644 --- a/pkgs/applications/maui/index.nix +++ b/pkgs/applications/maui/index.nix @@ -40,6 +40,7 @@ mkDerivation { meta = with lib; { description = "Multi-platform file manager"; + mainProgram = "index"; homepage = "https://invent.kde.org/maui/index-fm"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dotlambda ]; diff --git a/pkgs/applications/maui/mauiman.nix b/pkgs/applications/maui/mauiman.nix index 626d045b115c..7566c7d6ed7d 100644 --- a/pkgs/applications/maui/mauiman.nix +++ b/pkgs/applications/maui/mauiman.nix @@ -20,6 +20,7 @@ mkDerivation { meta = with lib; { homepage = "https://invent.kde.org/maui/mauiman"; description = "Maui Manager Library. Server and public library API"; + mainProgram = "MauiManServer3"; maintainers = with maintainers; [ dotlambda ]; }; } diff --git a/pkgs/applications/maui/nota.nix b/pkgs/applications/maui/nota.nix index cdf4943df5fe..5e579c8cbdcb 100644 --- a/pkgs/applications/maui/nota.nix +++ b/pkgs/applications/maui/nota.nix @@ -39,6 +39,7 @@ mkDerivation { meta = with lib; { description = "Multi-platform text editor"; + mainProgram = "nota"; homepage = "https://invent.kde.org/maui/nota"; license = licenses.gpl3Plus; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/applications/maui/pix.nix b/pkgs/applications/maui/pix.nix index 6794da74c3a7..b19c5dff7148 100644 --- a/pkgs/applications/maui/pix.nix +++ b/pkgs/applications/maui/pix.nix @@ -45,6 +45,7 @@ mkDerivation { meta = with lib; { description = "Image gallery application"; + mainProgram = "pix"; homepage = "https://invent.kde.org/maui/pix"; license = licenses.gpl3Plus; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/applications/maui/shelf.nix b/pkgs/applications/maui/shelf.nix index 3ac804512531..1c1b53a8e1e9 100644 --- a/pkgs/applications/maui/shelf.nix +++ b/pkgs/applications/maui/shelf.nix @@ -43,6 +43,7 @@ mkDerivation { meta = with lib; { description = "Document and EBook collection manager"; + mainProgram = "shelf"; homepage = "https://invent.kde.org/maui/shelf"; license = licenses.gpl3Plus; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/applications/maui/station.nix b/pkgs/applications/maui/station.nix index 474e52c63a2b..2ca994397ccd 100644 --- a/pkgs/applications/maui/station.nix +++ b/pkgs/applications/maui/station.nix @@ -35,6 +35,7 @@ mkDerivation { meta = with lib; { description = "Convergent terminal emulator"; + mainProgram = "station"; homepage = "https://invent.kde.org/maui/station"; license = licenses.gpl3Plus; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/applications/maui/vvave.nix b/pkgs/applications/maui/vvave.nix index bd5b97292010..e10d33df0eb5 100644 --- a/pkgs/applications/maui/vvave.nix +++ b/pkgs/applications/maui/vvave.nix @@ -41,6 +41,7 @@ mkDerivation { meta = with lib; { description = "Multi-platform media player"; + mainProgram = "vvave"; homepage = "https://invent.kde.org/maui/vvave"; license = licenses.gpl3Plus; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/applications/misc/9menu/default.nix b/pkgs/applications/misc/9menu/default.nix index 8e6b7b3bcbec..e383a2eb6b6f 100644 --- a/pkgs/applications/misc/9menu/default.nix +++ b/pkgs/applications/misc/9menu/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/arnoldrobbins/9menu"; description = "Simple X11 menu program for running commands"; + mainProgram = "9menu"; license = licenses.gpl3Plus; maintainers = with maintainers; [ AndersonTorres ]; platforms = libX11.meta.platforms; diff --git a/pkgs/applications/misc/OSCAR/default.nix b/pkgs/applications/misc/OSCAR/default.nix index 6e20a855acb7..223fff1080e5 100644 --- a/pkgs/applications/misc/OSCAR/default.nix +++ b/pkgs/applications/misc/OSCAR/default.nix @@ -39,6 +39,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://www.sleepfiles.com/OSCAR/"; description = "Software for reviewing and exploring data produced by CPAP and related machines used in the treatment of sleep apnea"; + mainProgram = "OSCAR"; license = licenses.gpl3Only; maintainers = [ maintainers.roconnor ]; # Someone needs to create a suitable installPhase for Darwin and Windows. diff --git a/pkgs/applications/misc/ablog/default.nix b/pkgs/applications/misc/ablog/default.nix index a9cc6670e899..932db21317c6 100644 --- a/pkgs/applications/misc/ablog/default.nix +++ b/pkgs/applications/misc/ablog/default.nix @@ -41,6 +41,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "ABlog for blogging with Sphinx"; + mainProgram = "ablog"; homepage = "https://ablog.readthedocs.io/en/latest/"; license = licenses.mit; maintainers = with maintainers; [ rgrinberg ]; diff --git a/pkgs/applications/misc/acpic/default.nix b/pkgs/applications/misc/acpic/default.nix index 7d05f0a05702..7a53e564c57c 100644 --- a/pkgs/applications/misc/acpic/default.nix +++ b/pkgs/applications/misc/acpic/default.nix @@ -28,6 +28,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Daemon extending acpid event handling capabilities."; + mainProgram = "acpic"; homepage = "https://github.com/psliwka/acpic"; license = licenses.wtfpl; maintainers = with maintainers; [ aacebedo ]; diff --git a/pkgs/applications/misc/aitrack/default.nix b/pkgs/applications/misc/aitrack/default.nix index 48e0afe13ebd..b9bb69623487 100644 --- a/pkgs/applications/misc/aitrack/default.nix +++ b/pkgs/applications/misc/aitrack/default.nix @@ -44,6 +44,7 @@ meta = with lib; { description = "6DoF Head tracking software"; + mainProgram = "aitrack"; maintainers = with maintainers; [ ck3d ]; platforms = platforms.linux; license = licenses.mit; diff --git a/pkgs/applications/misc/almanah/default.nix b/pkgs/applications/misc/almanah/default.nix index 3b27f5b96e30..35677f56cccb 100644 --- a/pkgs/applications/misc/almanah/default.nix +++ b/pkgs/applications/misc/almanah/default.nix @@ -93,6 +93,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Small GTK application to allow to keep a diary of your life"; + mainProgram = "almanah"; homepage = "https://wiki.gnome.org/Apps/Almanah_Diary"; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/applications/misc/antfs-cli/default.nix b/pkgs/applications/misc/antfs-cli/default.nix index 516b786222db..43fcab337a05 100644 --- a/pkgs/applications/misc/antfs-cli/default.nix +++ b/pkgs/applications/misc/antfs-cli/default.nix @@ -7,6 +7,7 @@ python3Packages.buildPythonApplication { meta = with lib; { homepage = "https://github.com/Tigge/antfs-cli"; description = "Extracts FIT files from ANT-FS based sport watches"; + mainProgram = "antfs-cli"; license = licenses.mit; platforms = platforms.linux; }; diff --git a/pkgs/applications/misc/apvlv/default.nix b/pkgs/applications/misc/apvlv/default.nix index 78d353ce2a85..f45fb95aba59 100644 --- a/pkgs/applications/misc/apvlv/default.nix +++ b/pkgs/applications/misc/apvlv/default.nix @@ -61,6 +61,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://naihe2010.github.io/apvlv/"; description = "PDF viewer with Vim-like behaviour"; + mainProgram = "apvlv"; longDescription = '' apvlv is a PDF/DJVU/UMD/TXT Viewer Under Linux/WIN32 with Vim-like behaviour. diff --git a/pkgs/applications/misc/asciiquarium/default.nix b/pkgs/applications/misc/asciiquarium/default.nix index a4276dac1d1f..0ab79bb2134a 100644 --- a/pkgs/applications/misc/asciiquarium/default.nix +++ b/pkgs/applications/misc/asciiquarium/default.nix @@ -22,6 +22,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "Enjoy the mysteries of the sea from the safety of your own terminal!"; + mainProgram = "asciiquarium"; homepage = "https://robobunny.com/projects/asciiquarium/html/"; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/applications/misc/audio/wavrsocvt/default.nix b/pkgs/applications/misc/audio/wavrsocvt/default.nix index c9f97c5602b2..7b805496c2d8 100644 --- a/pkgs/applications/misc/audio/wavrsocvt/default.nix +++ b/pkgs/applications/misc/audio/wavrsocvt/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Convert .wav files into sound files for Lego NXT brick"; + mainProgram = "wavrsocvt"; longDescription = '' wavrsocvt is a command-line utility which can be used from a terminal window or script to convert .wav files into sound diff --git a/pkgs/applications/misc/authenticator/default.nix b/pkgs/applications/misc/authenticator/default.nix index dac943fee677..57e8b7620731 100644 --- a/pkgs/applications/misc/authenticator/default.nix +++ b/pkgs/applications/misc/authenticator/default.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { meta = { description = "Two-factor authentication code generator for GNOME"; + mainProgram = "authenticator"; homepage = "https://gitlab.gnome.org/World/Authenticator"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ austinbutler ]; diff --git a/pkgs/applications/misc/auto-multiple-choice/default.nix b/pkgs/applications/misc/auto-multiple-choice/default.nix index 43aad6d5be16..bdd1e6fbb854 100644 --- a/pkgs/applications/misc/auto-multiple-choice/default.nix +++ b/pkgs/applications/misc/auto-multiple-choice/default.nix @@ -144,6 +144,7 @@ stdenv.mkDerivation (finalAttrs: rec { meta = with lib; { description = "Create and manage multiple choice questionnaires with automated marking."; + mainProgram = "auto-multiple-choice"; longDescription = '' Create, manage and mark multiple-choice questionnaires. auto-multiple-choice features automated or manual formatting with diff --git a/pkgs/applications/misc/avell-unofficial-control-center/default.nix b/pkgs/applications/misc/avell-unofficial-control-center/default.nix index 45d4f69075d2..c37d2c42b64f 100644 --- a/pkgs/applications/misc/avell-unofficial-control-center/default.nix +++ b/pkgs/applications/misc/avell-unofficial-control-center/default.nix @@ -20,6 +20,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/rodgomesc/avell-unofficial-control-center"; description = "Software for controlling RGB keyboard lights on some gaming laptops that use ITE Device(8291) Rev 0.03"; + mainProgram = "aucc"; license = licenses.mit; maintainers = with maintainers; [ rkitover ]; }; diff --git a/pkgs/applications/misc/bfcal/default.nix b/pkgs/applications/misc/bfcal/default.nix index 695f5bc69b0c..0f801aa2e130 100644 --- a/pkgs/applications/misc/bfcal/default.nix +++ b/pkgs/applications/misc/bfcal/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Quickly display a calendar"; + mainProgram = "bfcal"; homepage = "https://git.sr.ht/~bitfehler/bfcal"; license = licenses.gpl3Plus; platforms = qtbase.meta.platforms; diff --git a/pkgs/applications/misc/bibletime/default.nix b/pkgs/applications/misc/bibletime/default.nix index f5b027a9b2de..f49477fae234 100644 --- a/pkgs/applications/misc/bibletime/default.nix +++ b/pkgs/applications/misc/bibletime/default.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "http://www.bibletime.info/"; description = "A powerful cross platform Bible study tool"; + mainProgram = "bibletime"; license = licenses.gpl2Plus; maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.linux; diff --git a/pkgs/applications/misc/bikeshed/default.nix b/pkgs/applications/misc/bikeshed/default.nix index f3e58b778718..21c6ac8c523d 100644 --- a/pkgs/applications/misc/bikeshed/default.nix +++ b/pkgs/applications/misc/bikeshed/default.nix @@ -63,6 +63,7 @@ buildPythonApplication rec { meta = with lib; { description = "Preprocessor for anyone writing specifications that converts source files into actual specs"; + mainProgram = "bikeshed"; longDescription = '' Bikeshed is a pre-processor for spec documents, turning a source document (containing only the actual spec content, plus several shorthands for linking diff --git a/pkgs/applications/misc/binocle/default.nix b/pkgs/applications/misc/binocle/default.nix index 02b1b4c7b5d5..92ccc4112993 100644 --- a/pkgs/applications/misc/binocle/default.nix +++ b/pkgs/applications/misc/binocle/default.nix @@ -42,6 +42,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Graphical tool to visualize binary data"; + mainProgram = "binocle"; homepage = "https://github.com/sharkdp/binocle"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/applications/misc/birdtray/default.nix b/pkgs/applications/misc/birdtray/default.nix index 4865f9f29eda..cbdb165a6484 100644 --- a/pkgs/applications/misc/birdtray/default.nix +++ b/pkgs/applications/misc/birdtray/default.nix @@ -31,6 +31,7 @@ mkDerivation rec { meta = with lib; { description = "Mail system tray notification icon for Thunderbird"; + mainProgram = "birdtray"; homepage = "https://github.com/gyunaev/birdtray"; license = licenses.gpl3Plus; maintainers = with maintainers; [ Flakebi ]; diff --git a/pkgs/applications/misc/bitwarden-menu/default.nix b/pkgs/applications/misc/bitwarden-menu/default.nix index d6c7faab4da5..5e067ac807d9 100644 --- a/pkgs/applications/misc/bitwarden-menu/default.nix +++ b/pkgs/applications/misc/bitwarden-menu/default.nix @@ -25,6 +25,7 @@ buildPythonApplication rec { meta = with lib; { changelog = "https://github.com/firecat53/bitwarden-menu/releases/tag/v${version}"; description = "Dmenu/Rofi frontend for managing Bitwarden vaults. Uses the Bitwarden CLI tool to interact with the Bitwarden database."; + mainProgram = "bwm"; homepage = "https://github.com/firecat53/bitwarden-menu"; license = licenses.mit; maintainers = [ ]; diff --git a/pkgs/applications/misc/blucontrol/wrapper.nix b/pkgs/applications/misc/blucontrol/wrapper.nix index c0c76b4ef49d..3ace71b7644a 100644 --- a/pkgs/applications/misc/blucontrol/wrapper.nix +++ b/pkgs/applications/misc/blucontrol/wrapper.nix @@ -19,6 +19,7 @@ in meta = with lib; { description = "Configurable blue light filter"; + mainProgram = "blucontrol"; longDescription = '' This application is a blue light filter, with the main focus on configurability. Configuration is done in Haskell in the style of xmonad. diff --git a/pkgs/applications/misc/bluetooth_battery/default.nix b/pkgs/applications/misc/bluetooth_battery/default.nix index d9c3f5bc2a43..4158cdf8cc55 100644 --- a/pkgs/applications/misc/bluetooth_battery/default.nix +++ b/pkgs/applications/misc/bluetooth_battery/default.nix @@ -22,6 +22,7 @@ buildPythonApplication rec { meta = with lib; { description = "Fetch the battery charge level of some Bluetooth headsets"; + mainProgram = "bluetooth_battery"; homepage = "https://github.com/TheWeirdDev/Bluetooth_Headset_Battery_Level"; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/applications/misc/break-time/default.nix b/pkgs/applications/misc/break-time/default.nix index e72f08fd381e..a4bbf4d4c104 100644 --- a/pkgs/applications/misc/break-time/default.nix +++ b/pkgs/applications/misc/break-time/default.nix @@ -43,6 +43,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Break timer that forces you to take a break"; + mainProgram = "break-time"; homepage = "https://github.com/cdepillabout/break-time"; license = with licenses; [ mit ]; maintainers = with maintainers; [ cdepillabout ]; diff --git a/pkgs/applications/misc/brewtarget/default.nix b/pkgs/applications/misc/brewtarget/default.nix index 13a5681ebd37..d46cf7e0d5dd 100644 --- a/pkgs/applications/misc/brewtarget/default.nix +++ b/pkgs/applications/misc/brewtarget/default.nix @@ -33,6 +33,7 @@ mkDerivation rec { meta = with lib; { description = "Open source beer recipe creation tool"; + mainProgram = "brewtarget"; homepage = "http://www.brewtarget.org/"; license = licenses.gpl3; maintainers = [ maintainers.mmahut ]; diff --git a/pkgs/applications/misc/buku/default.nix b/pkgs/applications/misc/buku/default.nix index ddf2b9f528da..4e2a5e29999c 100644 --- a/pkgs/applications/misc/buku/default.nix +++ b/pkgs/applications/misc/buku/default.nix @@ -78,6 +78,7 @@ with python3.pkgs; buildPythonApplication rec { meta = with lib; { description = "Private cmdline bookmark manager"; + mainProgram = "buku"; homepage = "https://github.com/jarun/Buku"; license = licenses.gpl3; platforms = platforms.unix; diff --git a/pkgs/applications/misc/caerbannog/default.nix b/pkgs/applications/misc/caerbannog/default.nix index 2825b371e06d..0d21c7e16570 100644 --- a/pkgs/applications/misc/caerbannog/default.nix +++ b/pkgs/applications/misc/caerbannog/default.nix @@ -52,6 +52,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Mobile-friendly Gtk frontend for password-store"; + mainProgram = "caerbannog"; homepage = "https://sr.ht/~craftyguy/caerbannog/"; changelog = "https://git.sr.ht/~craftyguy/caerbannog/refs/${version}"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/misc/calcoo/default.nix b/pkgs/applications/misc/calcoo/default.nix index 5f90b4bb2363..462b56d50ce0 100644 --- a/pkgs/applications/misc/calcoo/default.nix +++ b/pkgs/applications/misc/calcoo/default.nix @@ -2,7 +2,7 @@ , stdenv , fetchzip , ant -, canonicalize-jars-hook +, stripJavaArchivesHook , jdk , makeWrapper }: @@ -18,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ ant - canonicalize-jars-hook + stripJavaArchivesHook jdk makeWrapper ]; diff --git a/pkgs/applications/misc/calcure/default.nix b/pkgs/applications/misc/calcure/default.nix index dcd2c62d2185..a9fd65a4d99d 100644 --- a/pkgs/applications/misc/calcure/default.nix +++ b/pkgs/applications/misc/calcure/default.nix @@ -32,6 +32,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Modern TUI calendar and task manager with minimal and customizable UI"; + mainProgram = "calcure"; homepage = "https://github.com/anufrievroman/calcure"; changelog = "https://github.com/anufrievroman/calcure/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/applications/misc/cambrinary/default.nix b/pkgs/applications/misc/cambrinary/default.nix index 1fecfe1c17cb..15bb60d4c3f7 100644 --- a/pkgs/applications/misc/cambrinary/default.nix +++ b/pkgs/applications/misc/cambrinary/default.nix @@ -31,6 +31,7 @@ buildPythonApplication rec { meta = with lib; { description = "Cambridge dictionary in a terminal"; + mainProgram = "cambrinary"; homepage = "https://github.com/xueyuanl/cambrinary"; license = licenses.gpl3Only; platforms = platforms.unix; diff --git a/pkgs/applications/misc/candle/default.nix b/pkgs/applications/misc/candle/default.nix index 3f9f2ec678b5..7b62e50e9006 100644 --- a/pkgs/applications/misc/candle/default.nix +++ b/pkgs/applications/misc/candle/default.nix @@ -25,6 +25,7 @@ mkDerivation rec { meta = with lib; { description = "GRBL controller application with G-Code visualizer written in Qt"; + mainProgram = "candle"; homepage = "https://github.com/Denvi/Candle"; license = licenses.gpl3; maintainers = with maintainers; [ matti-kariluoma ]; diff --git a/pkgs/applications/misc/cartridges/default.nix b/pkgs/applications/misc/cartridges/default.nix index d90be2bc101c..008004aa3c8e 100644 --- a/pkgs/applications/misc/cartridges/default.nix +++ b/pkgs/applications/misc/cartridges/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A GTK4 + Libadwaita game launcher"; + mainProgram = "cartridges"; longDescription = '' A simple game launcher for all of your games. It has support for importing games from Steam, Lutris, Heroic diff --git a/pkgs/applications/misc/cask-server/default.nix b/pkgs/applications/misc/cask-server/default.nix index 603060ec5241..462696348839 100644 --- a/pkgs/applications/misc/cask-server/default.nix +++ b/pkgs/applications/misc/cask-server/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = with lib; { description = "Public server and API to interface with Cask features"; + mainProgram = "CaskServer"; homepage = "https://github.com/Nitrux/cask-server"; license = with licenses; [ bsd2 diff --git a/pkgs/applications/misc/cbatticon/default.nix b/pkgs/applications/misc/cbatticon/default.nix index 4d189d1c37a4..665957ca0ea1 100644 --- a/pkgs/applications/misc/cbatticon/default.nix +++ b/pkgs/applications/misc/cbatticon/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Lightweight and fast battery icon that sits in the system tray"; + mainProgram = "cbatticon"; homepage = "https://github.com/valr/cbatticon"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/applications/misc/chatblade/default.nix b/pkgs/applications/misc/chatblade/default.nix index 62db56495860..9ec41576c1a8 100644 --- a/pkgs/applications/misc/chatblade/default.nix +++ b/pkgs/applications/misc/chatblade/default.nix @@ -41,6 +41,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/npiv/chatblade/"; description = "A CLI Swiss Army Knife for ChatGPT"; + mainProgram = "chatblade"; license = licenses.gpl3Only; maintainers = with maintainers; [ deejayem ]; }; diff --git a/pkgs/applications/misc/cherrytree/default.nix b/pkgs/applications/misc/cherrytree/default.nix index 11944a21e0ef..74623b544af1 100644 --- a/pkgs/applications/misc/cherrytree/default.nix +++ b/pkgs/applications/misc/cherrytree/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An hierarchical note taking application"; + mainProgram = "cherrytree"; longDescription = '' Cherrytree is an hierarchical note taking application, featuring rich text, syntax highlighting and powerful search capabilities. It organizes diff --git a/pkgs/applications/misc/chewing-editor/default.nix b/pkgs/applications/misc/chewing-editor/default.nix index 13ee17999fe1..9cf163055a4b 100644 --- a/pkgs/applications/misc/chewing-editor/default.nix +++ b/pkgs/applications/misc/chewing-editor/default.nix @@ -19,6 +19,7 @@ mkDerivation rec { meta = with lib; { description = "Cross platform chewing user phrase editor"; + mainProgram = "chewing-editor"; longDescription = '' chewing-editor is a cross platform chewing user phrase editor. It provides a easy way to manage user phrase. With it, user can customize their user phrase to increase input performance. ''; diff --git a/pkgs/applications/misc/clight/clightd.nix b/pkgs/applications/misc/clight/clightd.nix index 7e6b84913a7a..b6958d86bbd0 100644 --- a/pkgs/applications/misc/clight/clightd.nix +++ b/pkgs/applications/misc/clight/clightd.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Linux bus interface that changes screen brightness/temperature"; + mainProgram = "clightd"; homepage = "https://github.com/FedeDP/Clightd"; platforms = platforms.linux; license = licenses.gpl3; diff --git a/pkgs/applications/misc/confclerk/default.nix b/pkgs/applications/misc/confclerk/default.nix index 84095c416541..7646cb9ae87b 100644 --- a/pkgs/applications/misc/confclerk/default.nix +++ b/pkgs/applications/misc/confclerk/default.nix @@ -19,6 +19,7 @@ mkDerivation rec { meta = { description = "Offline conference schedule viewer"; + mainProgram = "confclerk"; homepage = "http://www.toastfreeware.priv.at/confclerk"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [ ehmry ]; diff --git a/pkgs/applications/misc/coolreader/default.nix b/pkgs/applications/misc/coolreader/default.nix index a1a63992349e..d75cdd4843fa 100644 --- a/pkgs/applications/misc/coolreader/default.nix +++ b/pkgs/applications/misc/coolreader/default.nix @@ -20,6 +20,7 @@ mkDerivation rec { broken = stdenv.isDarwin; homepage = "https://github.com/buggins/coolreader"; description = "Cross platform open source e-book reader"; + mainProgram = "cr3"; license = licenses.gpl2Plus; # see https://github.com/buggins/coolreader/issues/80 maintainers = with maintainers; [ gebner ]; platforms = platforms.all; diff --git a/pkgs/applications/misc/coursera-dl/default.nix b/pkgs/applications/misc/coursera-dl/default.nix index f95633f0c896..67848ea9354e 100644 --- a/pkgs/applications/misc/coursera-dl/default.nix +++ b/pkgs/applications/misc/coursera-dl/default.nix @@ -75,6 +75,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "CLI for downloading Coursera.org videos and naming them"; + mainProgram = "coursera-dl"; homepage = "https://github.com/coursera-dl/coursera-dl"; changelog = "https://github.com/coursera-dl/coursera-dl/blob/0.11.5/CHANGELOG.md"; license = licenses.lgpl3Plus; diff --git a/pkgs/applications/misc/cubiomes-viewer/default.nix b/pkgs/applications/misc/cubiomes-viewer/default.nix index dd4486f9b988..fd07542b7fa9 100644 --- a/pkgs/applications/misc/cubiomes-viewer/default.nix +++ b/pkgs/applications/misc/cubiomes-viewer/default.nix @@ -57,6 +57,7 @@ stdenv.mkDerivation rec { broken = stdenv.isDarwin; homepage = "https://github.com/Cubitect/cubiomes-viewer"; description = "A graphical Minecraft seed finder and map viewer"; + mainProgram = "cubiomes-viewer"; longDescription = '' Cubiomes Viewer provides a graphical interface for the efficient and flexible seed-finding utilities provided by cubiomes and a map viewer for the Minecraft biomes and structure generation. diff --git a/pkgs/applications/misc/cubocore-packages/coreaction/default.nix b/pkgs/applications/misc/cubocore-packages/coreaction/default.nix index b21f001a0a80..818e9da4494e 100644 --- a/pkgs/applications/misc/cubocore-packages/coreaction/default.nix +++ b/pkgs/applications/misc/cubocore-packages/coreaction/default.nix @@ -25,6 +25,7 @@ mkDerivation rec { meta = with lib; { description = "A side bar for showing widgets from the C Suite"; + mainProgram = "coreaction"; homepage = "https://gitlab.com/cubocore/coreapps/coreaction"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/corearchiver/default.nix b/pkgs/applications/misc/cubocore-packages/corearchiver/default.nix index 590f41a764d0..691917e28da9 100644 --- a/pkgs/applications/misc/cubocore-packages/corearchiver/default.nix +++ b/pkgs/applications/misc/cubocore-packages/corearchiver/default.nix @@ -26,6 +26,7 @@ mkDerivation rec { meta = with lib; { description = "Archiver from the C Suite to create and extract archives"; + mainProgram = "corearchiver"; homepage = "https://gitlab.com/cubocore/coreapps/corearchiver"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/corefm/default.nix b/pkgs/applications/misc/cubocore-packages/corefm/default.nix index c618ee100a28..6bbd8ed8f785 100644 --- a/pkgs/applications/misc/cubocore-packages/corefm/default.nix +++ b/pkgs/applications/misc/cubocore-packages/corefm/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = with lib; { description = "A lightwight filemanager from the C Suite"; + mainProgram = "corefm"; homepage = "https://gitlab.com/cubocore/coreapps/corefm"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/coregarage/default.nix b/pkgs/applications/misc/cubocore-packages/coregarage/default.nix index 4c332c4a9a2b..8a7050e5538a 100644 --- a/pkgs/applications/misc/cubocore-packages/coregarage/default.nix +++ b/pkgs/applications/misc/cubocore-packages/coregarage/default.nix @@ -26,6 +26,7 @@ mkDerivation rec { meta = with lib; { description = "A settings manager for the C Suite"; + mainProgram = "coregarage"; homepage = "https://gitlab.com/cubocore/coreapps/coregarage"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/corehunt/default.nix b/pkgs/applications/misc/cubocore-packages/corehunt/default.nix index 52c39752afae..d802a6f448af 100644 --- a/pkgs/applications/misc/cubocore-packages/corehunt/default.nix +++ b/pkgs/applications/misc/cubocore-packages/corehunt/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = with lib; { description = "A file finder utility from the C Suite"; + mainProgram = "corehunt"; homepage = "https://gitlab.com/cubocore/coreapps/corehunt"; license = licenses.gpl3Only; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/coreimage/default.nix b/pkgs/applications/misc/cubocore-packages/coreimage/default.nix index 8ba09d6c9416..cbb5fba861fb 100644 --- a/pkgs/applications/misc/cubocore-packages/coreimage/default.nix +++ b/pkgs/applications/misc/cubocore-packages/coreimage/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = with lib; { description = "An image viewer from the C Suite"; + mainProgram = "coreimage"; homepage = "https://gitlab.com/cubocore/coreapps/coreimage"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/coreinfo/default.nix b/pkgs/applications/misc/cubocore-packages/coreinfo/default.nix index 69dbcd33a85f..6093c1176b80 100644 --- a/pkgs/applications/misc/cubocore-packages/coreinfo/default.nix +++ b/pkgs/applications/misc/cubocore-packages/coreinfo/default.nix @@ -27,6 +27,7 @@ mkDerivation rec { meta = with lib; { description = "A file information tool from the C Suite"; + mainProgram = "coreinfo"; homepage = "https://gitlab.com/cubocore/coreapps/coreinfo"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/corekeyboard/default.nix b/pkgs/applications/misc/cubocore-packages/corekeyboard/default.nix index 734b183c844d..dcd05b4bf77f 100644 --- a/pkgs/applications/misc/cubocore-packages/corekeyboard/default.nix +++ b/pkgs/applications/misc/cubocore-packages/corekeyboard/default.nix @@ -27,6 +27,7 @@ mkDerivation rec { meta = with lib; { description = "A virtual keyboard for X11 from the C Suite"; + mainProgram = "corekeyboard"; homepage = "https://gitlab.com/cubocore/coreapps/corekeyboard"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/corepad/default.nix b/pkgs/applications/misc/cubocore-packages/corepad/default.nix index 4b27137980ea..8db13988b0b0 100644 --- a/pkgs/applications/misc/cubocore-packages/corepad/default.nix +++ b/pkgs/applications/misc/cubocore-packages/corepad/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = with lib; { description = "A document editor from the C Suite"; + mainProgram = "corepad"; homepage = "https://gitlab.com/cubocore/coreapps/corepad"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/corepaint/default.nix b/pkgs/applications/misc/cubocore-packages/corepaint/default.nix index 958532bb6fce..345a9b26e666 100644 --- a/pkgs/applications/misc/cubocore-packages/corepaint/default.nix +++ b/pkgs/applications/misc/cubocore-packages/corepaint/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = with lib; { description = "A paint app from the C Suite"; + mainProgram = "corepaint"; homepage = "https://gitlab.com/cubocore/coreapps/corepaint"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/corepdf/default.nix b/pkgs/applications/misc/cubocore-packages/corepdf/default.nix index b7679827f321..242422fd8a3f 100644 --- a/pkgs/applications/misc/cubocore-packages/corepdf/default.nix +++ b/pkgs/applications/misc/cubocore-packages/corepdf/default.nix @@ -26,6 +26,7 @@ mkDerivation rec { meta = with lib; { description = "A PDF viewer from the C Suite"; + mainProgram = "corepdf"; homepage = "https://gitlab.com/cubocore/coreapps/corepdf"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/corepins/default.nix b/pkgs/applications/misc/cubocore-packages/corepins/default.nix index e1274c6d6dfe..cb31415ef5d0 100644 --- a/pkgs/applications/misc/cubocore-packages/corepins/default.nix +++ b/pkgs/applications/misc/cubocore-packages/corepins/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = with lib; { description = "A bookmarking app from the C Suite"; + mainProgram = "corepins"; homepage = "https://gitlab.com/cubocore/coreapps/corepins"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/corerenamer/default.nix b/pkgs/applications/misc/cubocore-packages/corerenamer/default.nix index 7d87fc6f4526..6d48c65fc95f 100644 --- a/pkgs/applications/misc/cubocore-packages/corerenamer/default.nix +++ b/pkgs/applications/misc/cubocore-packages/corerenamer/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = with lib; { description = "A batch file renamer from the C Suite"; + mainProgram = "corerenamer"; homepage = "https://gitlab.com/cubocore/coreapps/corerenamer"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/coreshot/default.nix b/pkgs/applications/misc/cubocore-packages/coreshot/default.nix index 183765f63511..3603becfc1e3 100644 --- a/pkgs/applications/misc/cubocore-packages/coreshot/default.nix +++ b/pkgs/applications/misc/cubocore-packages/coreshot/default.nix @@ -25,6 +25,7 @@ mkDerivation rec { meta = with lib; { description = "A screen capture utility from the C Suite"; + mainProgram = "coreshot"; homepage = "https://gitlab.com/cubocore/coreapps/coreshot"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/corestats/default.nix b/pkgs/applications/misc/cubocore-packages/corestats/default.nix index 8dd6f1089d45..e01691b9f618 100644 --- a/pkgs/applications/misc/cubocore-packages/corestats/default.nix +++ b/pkgs/applications/misc/cubocore-packages/corestats/default.nix @@ -25,6 +25,7 @@ mkDerivation rec { meta = with lib; { description = "A system resource viewer from the C Suite"; + mainProgram = "corestats"; homepage = "https://gitlab.com/cubocore/coreapps/corestats"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/corestuff/default.nix b/pkgs/applications/misc/cubocore-packages/corestuff/default.nix index a2946485ab56..933a09bbd188 100644 --- a/pkgs/applications/misc/cubocore-packages/corestuff/default.nix +++ b/pkgs/applications/misc/cubocore-packages/corestuff/default.nix @@ -32,6 +32,7 @@ mkDerivation rec { meta = with lib; { description = "An activity viewer from the C Suite"; + mainProgram = "corestuff"; homepage = "https://gitlab.com/cubocore/coreapps/corestuff"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/coreterminal/default.nix b/pkgs/applications/misc/cubocore-packages/coreterminal/default.nix index 30570f5e91e5..c4a8ea5c90e9 100644 --- a/pkgs/applications/misc/cubocore-packages/coreterminal/default.nix +++ b/pkgs/applications/misc/cubocore-packages/coreterminal/default.nix @@ -36,6 +36,7 @@ mkDerivation rec { meta = with lib; { description = "A terminal emulator from the C Suite"; + mainProgram = "coreterminal"; homepage = "https://gitlab.com/cubocore/coreapps/coreterminal"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/coretime/default.nix b/pkgs/applications/misc/cubocore-packages/coretime/default.nix index c2a717453e78..b8ac4c39a1a3 100644 --- a/pkgs/applications/misc/cubocore-packages/coretime/default.nix +++ b/pkgs/applications/misc/cubocore-packages/coretime/default.nix @@ -25,6 +25,7 @@ mkDerivation rec { meta = with lib; { description = "A time related task manager from the C Suite"; + mainProgram = "coretime"; homepage = "https://gitlab.com/cubocore/coreapps/coretime"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/coretoppings/default.nix b/pkgs/applications/misc/cubocore-packages/coretoppings/default.nix index 920850cc6021..1296c8f57564 100644 --- a/pkgs/applications/misc/cubocore-packages/coretoppings/default.nix +++ b/pkgs/applications/misc/cubocore-packages/coretoppings/default.nix @@ -79,6 +79,7 @@ mkDerivation rec { meta = with lib; { description = "Additional features,plugins etc for CuboCore Application Suite"; + mainProgram = "shareIT"; homepage = "https://gitlab.com/cubocore/coreapps/coretoppings"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cubocore-packages/coreuniverse/default.nix b/pkgs/applications/misc/cubocore-packages/coreuniverse/default.nix index 8eb056f7772c..df84578090f8 100644 --- a/pkgs/applications/misc/cubocore-packages/coreuniverse/default.nix +++ b/pkgs/applications/misc/cubocore-packages/coreuniverse/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = with lib; { description = "Shows information about apps from the C Suite"; + mainProgram = "coreuniverse"; homepage = "https://gitlab.com/cubocore/coreapps/coreuniverse"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dan4ik605743 ]; diff --git a/pkgs/applications/misc/cum/default.nix b/pkgs/applications/misc/cum/default.nix index d49987c82858..b06f77787ac0 100644 --- a/pkgs/applications/misc/cum/default.nix +++ b/pkgs/applications/misc/cum/default.nix @@ -28,6 +28,7 @@ buildPythonApplication rec { meta = with lib; { description = "comic updater, mangafied"; + mainProgram = "cum"; homepage = "https://github.com/Hamuko/cum"; license = licenses.asl20; maintainers = with maintainers; [ tadeokondrak ]; diff --git a/pkgs/applications/misc/cura/default.nix b/pkgs/applications/misc/cura/default.nix index 31202a4be6e3..a385d31ec74b 100644 --- a/pkgs/applications/misc/cura/default.nix +++ b/pkgs/applications/misc/cura/default.nix @@ -57,6 +57,7 @@ mkDerivation rec { meta = with lib; { description = "3D printer / slicing GUI built on top of the Uranium framework"; + mainProgram = "cura"; homepage = "https://github.com/Ultimaker/Cura"; license = licenses.lgpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/misc/curaengine/stable.nix b/pkgs/applications/misc/curaengine/stable.nix index 6bddfabfb5bb..27b180da7309 100644 --- a/pkgs/applications/misc/curaengine/stable.nix +++ b/pkgs/applications/misc/curaengine/stable.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Engine for processing 3D models into 3D printing instructions"; + mainProgram = "CuraEngine"; homepage = "https://github.com/Ultimaker/CuraEngine"; license = licenses.agpl3; platforms = platforms.linux; diff --git a/pkgs/applications/misc/ddcui/default.nix b/pkgs/applications/misc/ddcui/default.nix index 520c49d2159b..045e37cef160 100644 --- a/pkgs/applications/misc/ddcui/default.nix +++ b/pkgs/applications/misc/ddcui/default.nix @@ -34,6 +34,7 @@ mkDerivation rec { meta = with lib; { description = "Graphical user interface for ddcutil - control monitor settings"; + mainProgram = "ddcui"; homepage = "https://www.ddcutil.com/ddcui_main/"; license = licenses.gpl2; maintainers = with maintainers; [ nh2 ]; diff --git a/pkgs/applications/misc/deckmaster/default.nix b/pkgs/applications/misc/deckmaster/default.nix index 773b1b36e514..f977fd1980bb 100644 --- a/pkgs/applications/misc/deckmaster/default.nix +++ b/pkgs/applications/misc/deckmaster/default.nix @@ -38,6 +38,7 @@ buildGoModule rec { meta = with lib; { description = "An application to control your Elgato Stream Deck on Linux"; + mainProgram = "deckmaster"; homepage = "https://github.com/muesli/deckmaster"; changelog = "https://github.com/muesli/deckmaster/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/applications/misc/dict-cc-py/default.nix b/pkgs/applications/misc/dict-cc-py/default.nix index cbacf1191275..9d4c40084f7f 100644 --- a/pkgs/applications/misc/dict-cc-py/default.nix +++ b/pkgs/applications/misc/dict-cc-py/default.nix @@ -25,6 +25,7 @@ python3.pkgs.buildPythonPackage rec { meta = with lib; { description = "Unofficial command line client for dict.cc"; + mainProgram = "dict.cc.py"; homepage = "https://github.com/rbaron/dict.cc.py"; license = with licenses; [ cc0 ]; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/misc/diffpdf/default.nix b/pkgs/applications/misc/diffpdf/default.nix index 370f41b1b831..4792003b792e 100644 --- a/pkgs/applications/misc/diffpdf/default.nix +++ b/pkgs/applications/misc/diffpdf/default.nix @@ -51,6 +51,7 @@ mkDerivation rec { meta = { homepage = "http://www.qtrac.eu/diffpdfc.html"; description = "Tool for diffing pdf files visually or textually"; + mainProgram = "diffpdf"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ ]; platforms = with lib.platforms; linux; diff --git a/pkgs/applications/misc/diffuse/default.nix b/pkgs/applications/misc/diffuse/default.nix index 75e5f34174bc..0f5cf3c0adc1 100644 --- a/pkgs/applications/misc/diffuse/default.nix +++ b/pkgs/applications/misc/diffuse/default.nix @@ -71,6 +71,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/MightyCreak/diffuse"; description = "Graphical tool for merging and comparing text files"; + mainProgram = "diffuse"; license = licenses.gpl2; maintainers = with maintainers; [ k3a ]; platforms = platforms.unix; diff --git a/pkgs/applications/misc/ding/default.nix b/pkgs/applications/misc/ding/default.nix index 3c193d3f569a..d0791b492f09 100644 --- a/pkgs/applications/misc/ding/default.nix +++ b/pkgs/applications/misc/ding/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple and fast dictionary lookup tool"; + mainProgram = "ding"; homepage = "https://www-user.tu-chemnitz.de/~fri/ding/"; license = licenses.gpl2Plus; platforms = platforms.linux; # homepage says: unix-like except darwin diff --git a/pkgs/applications/misc/dmensamenu/default.nix b/pkgs/applications/misc/dmensamenu/default.nix index d5208ea7b02d..75c9302e0791 100644 --- a/pkgs/applications/misc/dmensamenu/default.nix +++ b/pkgs/applications/misc/dmensamenu/default.nix @@ -28,6 +28,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/dotlambda/dmensamenu"; description = "Print German canteen menus using dmenu and OpenMensa"; + mainProgram = "dmensamenu"; license = licenses.mit; maintainers = with maintainers; [ dotlambda ]; }; diff --git a/pkgs/applications/misc/dnd-tools/default.nix b/pkgs/applications/misc/dnd-tools/default.nix index 3b0d0ec90e25..130b4bd63126 100644 --- a/pkgs/applications/misc/dnd-tools/default.nix +++ b/pkgs/applications/misc/dnd-tools/default.nix @@ -22,6 +22,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/savagezen/dnd-tools"; description = "A set of interactive command line tools for Dungeons and Dragons 5th Edition"; + mainProgram = "dnd-tools"; license = licenses.agpl3Only; maintainers = [ maintainers.urlordjames ]; }; diff --git a/pkgs/applications/misc/dotfiles/default.nix b/pkgs/applications/misc/dotfiles/default.nix index 52d5016200f9..017d18b0bce8 100644 --- a/pkgs/applications/misc/dotfiles/default.nix +++ b/pkgs/applications/misc/dotfiles/default.nix @@ -17,6 +17,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Easily manage your dotfiles"; + mainProgram = "dotfiles"; homepage = "https://github.com/jbernard/dotfiles"; license = licenses.isc; }; diff --git a/pkgs/applications/misc/electron-cash/default.nix b/pkgs/applications/misc/electron-cash/default.nix index 7760b57dd3b9..f28d1bf7e043 100644 --- a/pkgs/applications/misc/electron-cash/default.nix +++ b/pkgs/applications/misc/electron-cash/default.nix @@ -82,6 +82,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A Bitcoin Cash SPV Wallet"; + mainProgram = "electron-cash"; longDescription = '' An easy-to-use Bitcoin Cash client featuring wallets generated from mnemonic seeds (in addition to other, more advanced, wallet options) diff --git a/pkgs/applications/misc/electrum/grs.nix b/pkgs/applications/misc/electrum/grs.nix index 87a85e9f986d..b615a61f5a19 100644 --- a/pkgs/applications/misc/electrum/grs.nix +++ b/pkgs/applications/misc/electrum/grs.nix @@ -104,6 +104,7 @@ python3.pkgs.buildPythonApplication { meta = with lib; { description = "Lightweight Groestlcoin wallet"; + mainProgram = "electrum-grs"; longDescription = '' An easy-to-use Groestlcoin client featuring wallets generated from mnemonic seeds (in addition to other, more advanced, wallet options) diff --git a/pkgs/applications/misc/electrum/ltc.nix b/pkgs/applications/misc/electrum/ltc.nix index 9b0c63834cfb..a85252027e96 100644 --- a/pkgs/applications/misc/electrum/ltc.nix +++ b/pkgs/applications/misc/electrum/ltc.nix @@ -127,6 +127,7 @@ python3.pkgs.buildPythonApplication { meta = with lib; { description = "Lightweight Litecoin Client"; + mainProgram = "electrum-ltc"; longDescription = '' Electrum-LTC is a simple, but powerful Litecoin wallet. A unique secret phrase (or “seed”) leaves intruders stranded and your peace of mind diff --git a/pkgs/applications/misc/epr/default.nix b/pkgs/applications/misc/epr/default.nix index 20b2b4ba8d90..5728972f2bd8 100644 --- a/pkgs/applications/misc/epr/default.nix +++ b/pkgs/applications/misc/epr/default.nix @@ -13,6 +13,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "CLI Epub Reader"; + mainProgram = "epr"; homepage = "https://github.com/wustho/epr"; license = licenses.mit; maintainers = [ maintainers.Br1ght0ne ]; diff --git a/pkgs/applications/misc/etesync-dav/default.nix b/pkgs/applications/misc/etesync-dav/default.nix index a4bbdc2eb7b3..85ff399ac83f 100644 --- a/pkgs/applications/misc/etesync-dav/default.nix +++ b/pkgs/applications/misc/etesync-dav/default.nix @@ -46,6 +46,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://www.etesync.com/"; description = "Secure, end-to-end encrypted, and privacy respecting sync for contacts, calendars and tasks"; + mainProgram = "etesync-dav"; license = licenses.gpl3; maintainers = with maintainers; [ thyol valodim ]; broken = stdenv.isDarwin; # pyobjc-framework-Cocoa is missing diff --git a/pkgs/applications/misc/evtest-qt/default.nix b/pkgs/applications/misc/evtest-qt/default.nix index 9092fe99ff76..42000afd3d7e 100644 --- a/pkgs/applications/misc/evtest-qt/default.nix +++ b/pkgs/applications/misc/evtest-qt/default.nix @@ -30,6 +30,7 @@ mkDerivation rec { meta = with lib; { description = "Simple input device tester for linux with Qt GUI"; + mainProgram = "evtest-qt"; homepage = "https://github.com/Grumbel/evtest-qt"; maintainers = with maintainers; [ alexarice ]; platforms = platforms.linux; diff --git a/pkgs/applications/misc/extract_url/default.nix b/pkgs/applications/misc/extract_url/default.nix index 35ea33bde3a2..b47fca90b9f6 100644 --- a/pkgs/applications/misc/extract_url/default.nix +++ b/pkgs/applications/misc/extract_url/default.nix @@ -34,6 +34,7 @@ in stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.memoryhole.net/~kyle/extract_url/"; description = "Extracts URLs from MIME messages or plain text"; + mainProgram = "extract_url"; license = licenses.bsd2; maintainers = [ maintainers.qyliss ]; platforms = platforms.unix; diff --git a/pkgs/applications/misc/faircamp/default.nix b/pkgs/applications/misc/faircamp/default.nix index 7987a3c44d02..9aa92101a1cc 100644 --- a/pkgs/applications/misc/faircamp/default.nix +++ b/pkgs/applications/misc/faircamp/default.nix @@ -60,6 +60,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A self-hostable, statically generated bandcamp alternative"; + mainProgram = "faircamp"; longDescription = '' Faircamp takes a directory on your disk - your Catalog - and from it produces a fancy-looking (and technically simple and completely static) diff --git a/pkgs/applications/misc/fbmenugen/default.nix b/pkgs/applications/misc/fbmenugen/default.nix index 161991f03264..90d3f3b01424 100644 --- a/pkgs/applications/misc/fbmenugen/default.nix +++ b/pkgs/applications/misc/fbmenugen/default.nix @@ -71,6 +71,7 @@ perlPackages.buildPerlPackage rec { meta = with lib; { homepage = "https://github.com/trizen/fbmenugen"; description = "Simple menu generator for the Fluxbox Window Manager"; + mainProgram = "fbmenugen"; license = licenses.gpl3Only; platforms = platforms.linux; maintainers = [ maintainers.romildo ]; diff --git a/pkgs/applications/misc/fff/default.nix b/pkgs/applications/misc/fff/default.nix index a3f791940cbf..351796a036d2 100644 --- a/pkgs/applications/misc/fff/default.nix +++ b/pkgs/applications/misc/fff/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fucking Fast File-Manager"; + mainProgram = "fff"; homepage = "https://github.com/dylanaraps/fff"; license = licenses.mit; maintainers = [ maintainers.tadeokondrak ]; diff --git a/pkgs/applications/misc/flowtime/default.nix b/pkgs/applications/misc/flowtime/default.nix index 6637cb878191..06962d75452b 100644 --- a/pkgs/applications/misc/flowtime/default.nix +++ b/pkgs/applications/misc/flowtime/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Get what motivates you done, without losing concentration"; + mainProgram = "flowtime"; homepage = "https://github.com/Diego-Ivan/Flowtime"; license = licenses.gpl3Plus; maintainers = with maintainers; [ foo-dogsquared pokon548 ]; diff --git a/pkgs/applications/misc/fluxboxlauncher/default.nix b/pkgs/applications/misc/fluxboxlauncher/default.nix index 719f08db6bcd..19e70ad7c54c 100644 --- a/pkgs/applications/misc/fluxboxlauncher/default.nix +++ b/pkgs/applications/misc/fluxboxlauncher/default.nix @@ -53,6 +53,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "A Gui editor (gtk) to configure applications launching on a fluxbox session"; + mainProgram = "fluxboxlauncher"; homepage = "https://github.com/mothsART/fluxboxlauncher"; maintainers = with maintainers; [ mothsart ]; license = licenses.bsdOriginal; diff --git a/pkgs/applications/misc/font-manager/default.nix b/pkgs/applications/misc/font-manager/default.nix index 40cbeaea6130..309d8fa2faf5 100644 --- a/pkgs/applications/misc/font-manager/default.nix +++ b/pkgs/applications/misc/font-manager/default.nix @@ -74,6 +74,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://fontmanager.github.io/"; description = "Simple font management for GTK desktop environments"; + mainProgram = "font-manager"; longDescription = '' Font Manager is intended to provide a way for average users to easily manage desktop fonts, without having to resort to command diff --git a/pkgs/applications/misc/freemind/default.nix b/pkgs/applications/misc/freemind/default.nix index ff84ecdf55f0..0bdf8df306a8 100644 --- a/pkgs/applications/misc/freemind/default.nix +++ b/pkgs/applications/misc/freemind/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Mind-mapping software"; + mainProgram = "freemind"; homepage = "https://freemind.sourceforge.net/wiki/index.php/Main_Page"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/misc/furtherance/default.nix b/pkgs/applications/misc/furtherance/default.nix index f6fea4c633d0..15616f32bebd 100644 --- a/pkgs/applications/misc/furtherance/default.nix +++ b/pkgs/applications/misc/furtherance/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Track your time without being tracked"; + mainProgram = "furtherance"; homepage = "https://github.com/lakoliu/Furtherance"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/misc/fusee-interfacee-tk/default.nix b/pkgs/applications/misc/fusee-interfacee-tk/default.nix index 813b8113ee30..c69b7c0633f4 100644 --- a/pkgs/applications/misc/fusee-interfacee-tk/default.nix +++ b/pkgs/applications/misc/fusee-interfacee-tk/default.nix @@ -32,6 +32,7 @@ in stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/nh-server/fusee-interfacee-tk"; description = "A tool to send .bin files to a Nintendo Switch in RCM mode"; + mainProgram = "fusee-interfacee-tk"; longDescription = "A mod of falquinhos Fusée Launcher for use with Nintendo Homebrew Switch Guide. It also adds the ability to mount SD while in RCM. Must be run as sudo."; maintainers = with maintainers; [ kristian-brucaj ]; diff --git a/pkgs/applications/misc/gImageReader/default.nix b/pkgs/applications/misc/gImageReader/default.nix index 04efe6f52dcd..bc293b455b2a 100644 --- a/pkgs/applications/misc/gImageReader/default.nix +++ b/pkgs/applications/misc/gImageReader/default.nix @@ -62,6 +62,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple Gtk/Qt front-end to tesseract-ocr"; + mainProgram = "gimagereader-gtk"; homepage = "https://github.com/manisandro/gImageReader"; license = licenses.gpl3Plus; maintainers = with maintainers; [teto]; diff --git a/pkgs/applications/misc/gcalcli/default.nix b/pkgs/applications/misc/gcalcli/default.nix index 90b4883ec290..47950616578e 100644 --- a/pkgs/applications/misc/gcalcli/default.nix +++ b/pkgs/applications/misc/gcalcli/default.nix @@ -30,6 +30,7 @@ buildPythonApplication rec { meta = with lib; { description = "CLI for Google Calendar"; + mainProgram = "gcalcli"; homepage = "https://github.com/insanum/gcalcli"; license = licenses.mit; maintainers = with maintainers; [ nocoolnametom ]; diff --git a/pkgs/applications/misc/gcstar/default.nix b/pkgs/applications/misc/gcstar/default.nix index 4a6b45469d27..0f6478f50fcd 100644 --- a/pkgs/applications/misc/gcstar/default.nix +++ b/pkgs/applications/misc/gcstar/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.com/Kerenoc/GCstar"; description = "Manage your collections of movies, games, books, music and more"; + mainProgram = "gcstar"; longDescription = '' GCstar is an application for managing your collections. It supports many types of collections, including movies, books, games, comics, stamps, coins, and many more. diff --git a/pkgs/applications/misc/get_iplayer/default.nix b/pkgs/applications/misc/get_iplayer/default.nix index 12d056b01ec6..4f455d901c2d 100644 --- a/pkgs/applications/misc/get_iplayer/default.nix +++ b/pkgs/applications/misc/get_iplayer/default.nix @@ -46,6 +46,7 @@ perlPackages.buildPerlPackage rec { meta = with lib; { description = "Downloads TV and radio programmes from BBC iPlayer and BBC Sounds"; + mainProgram = "get_iplayer"; license = licenses.gpl3Plus; homepage = "https://github.com/get-iplayer/get_iplayer"; platforms = platforms.all; diff --git a/pkgs/applications/misc/glava/default.nix b/pkgs/applications/misc/glava/default.nix index 14173fc7057f..df5d6138d35f 100644 --- a/pkgs/applications/misc/glava/default.nix +++ b/pkgs/applications/misc/glava/default.nix @@ -80,6 +80,7 @@ in description = '' OpenGL audio spectrum visualizer ''; + mainProgram = "glava"; homepage = "https://github.com/wacossusca34/glava"; platforms = platforms.linux; license = licenses.gpl3; diff --git a/pkgs/applications/misc/gmtp/default.nix b/pkgs/applications/misc/gmtp/default.nix index a8465538b50a..31c62f53423c 100644 --- a/pkgs/applications/misc/gmtp/default.nix +++ b/pkgs/applications/misc/gmtp/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation { meta = { description = "A simple MP3 and Media player client for UNIX and UNIX like systems"; + mainProgram = "gmtp"; homepage = "https://gmtp.sourceforge.io"; platforms = lib.platforms.linux; maintainers = [ ]; diff --git a/pkgs/applications/misc/gnome-firmware/default.nix b/pkgs/applications/misc/gnome-firmware/default.nix index defaad0d2c97..4f94a5bc7f6b 100644 --- a/pkgs/applications/misc/gnome-firmware/default.nix +++ b/pkgs/applications/misc/gnome-firmware/default.nix @@ -61,6 +61,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.gnome.org/World/gnome-firmware"; description = "Tool for installing firmware on devices"; + mainProgram = "gnome-firmware"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; platforms = platforms.linux; diff --git a/pkgs/applications/misc/gnome-multi-writer/default.nix b/pkgs/applications/misc/gnome-multi-writer/default.nix index 31d81a332790..b4cca2f3bf63 100644 --- a/pkgs/applications/misc/gnome-multi-writer/default.nix +++ b/pkgs/applications/misc/gnome-multi-writer/default.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tool for writing an ISO file to multiple USB devices at once"; + mainProgram = "gnome-multi-writer"; homepage = "https://wiki.gnome.org/Apps/MultiWriter"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/applications/misc/gnome-recipes/default.nix b/pkgs/applications/misc/gnome-recipes/default.nix index 818ef8fb96a0..dc4df70bc00e 100644 --- a/pkgs/applications/misc/gnome-recipes/default.nix +++ b/pkgs/applications/misc/gnome-recipes/default.nix @@ -69,6 +69,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Recipe management application for GNOME"; + mainProgram = "gnome-recipes"; homepage = "https://wiki.gnome.org/Apps/Recipes"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; diff --git a/pkgs/applications/misc/gnome-usage/default.nix b/pkgs/applications/misc/gnome-usage/default.nix index 179facc64fd5..c969c92ffdd2 100644 --- a/pkgs/applications/misc/gnome-usage/default.nix +++ b/pkgs/applications/misc/gnome-usage/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A nice way to view information about use of system resources, like memory and disk space"; + mainProgram = "gnome-usage"; homepage = "https://gitlab.gnome.org/GNOME/gnome-usage"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/misc/golden-cheetah/default.nix b/pkgs/applications/misc/golden-cheetah/default.nix index 1345dc51593d..9cc9b3bf6d47 100644 --- a/pkgs/applications/misc/golden-cheetah/default.nix +++ b/pkgs/applications/misc/golden-cheetah/default.nix @@ -76,6 +76,7 @@ in mkDerivation rec { meta = { description = "Performance software for cyclists, runners and triathletes. Built from source and without API tokens"; + mainProgram = "GoldenCheetah"; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ adamcstephens ]; license = lib.licenses.gpl2Plus; diff --git a/pkgs/applications/misc/gphoto2/gphotofs.nix b/pkgs/applications/misc/gphoto2/gphotofs.nix index afb02c9937f9..0f1e60ff0165 100644 --- a/pkgs/applications/misc/gphoto2/gphotofs.nix +++ b/pkgs/applications/misc/gphoto2/gphotofs.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fuse FS to mount a digital camera"; + mainProgram = "gphotofs"; homepage = "http://www.gphoto.org/"; maintainers = [ maintainers.raskin ]; platforms = platforms.linux; diff --git a/pkgs/applications/misc/gpx-viewer/default.nix b/pkgs/applications/misc/gpx-viewer/default.nix index 887a469397e1..9a18c9d5c9d9 100644 --- a/pkgs/applications/misc/gpx-viewer/default.nix +++ b/pkgs/applications/misc/gpx-viewer/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://blog.sarine.nl/tag/gpxviewer/"; description = "Simple tool to visualize tracks and waypoints stored in a gpx file"; + mainProgram = "gpx-viewer"; changelog = "https://github.com/DaveDavenport/gpx-viewer/blob/${src.rev}/NEWS"; platforms = with platforms; linux; license = licenses.gpl2Plus; diff --git a/pkgs/applications/misc/gpxlab/default.nix b/pkgs/applications/misc/gpxlab/default.nix index 9d3d7c27ec8c..18c31afef6b5 100644 --- a/pkgs/applications/misc/gpxlab/default.nix +++ b/pkgs/applications/misc/gpxlab/default.nix @@ -27,6 +27,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/BourgeoisLab/GPXLab"; description = "Program to show and manipulate GPS tracks"; + mainProgram = "gpxlab"; longDescription = '' GPXLab is an application to display and manage GPS tracks previously recorded with a GPS tracker. diff --git a/pkgs/applications/misc/gpxsee/default.nix b/pkgs/applications/misc/gpxsee/default.nix index 79164e932f33..227177d14369 100644 --- a/pkgs/applications/misc/gpxsee/default.nix +++ b/pkgs/applications/misc/gpxsee/default.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation (finalAttrs: { broken = isQt6 && stdenv.isDarwin; changelog = "https://build.opensuse.org/package/view_file/home:tumic:GPXSee/gpxsee/gpxsee.changes"; description = "GPS log file viewer and analyzer"; + mainProgram = "gpxsee"; homepage = "https://www.gpxsee.org/"; license = lib.licenses.gpl3Only; longDescription = '' diff --git a/pkgs/applications/misc/gramps/default.nix b/pkgs/applications/misc/gramps/default.nix index 7539b22087c3..bd0690b381a9 100644 --- a/pkgs/applications/misc/gramps/default.nix +++ b/pkgs/applications/misc/gramps/default.nix @@ -109,6 +109,7 @@ buildPythonApplication rec { meta = with lib; { description = "Genealogy software"; + mainProgram = "gramps"; homepage = "https://gramps-project.org"; maintainers = with maintainers; [ jk pinpox ]; changelog = "https://github.com/gramps-project/gramps/blob/v${version}/ChangeLog"; diff --git a/pkgs/applications/misc/gummi/default.nix b/pkgs/applications/misc/gummi/default.nix index d9e0204be322..7131c5cd1227 100644 --- a/pkgs/applications/misc/gummi/default.nix +++ b/pkgs/applications/misc/gummi/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://gummi.app"; description = "Simple LaTex editor for GTK users"; + mainProgram = "gummi"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ flokli ]; platforms = with lib.platforms; linux; diff --git a/pkgs/applications/misc/hamster/default.nix b/pkgs/applications/misc/hamster/default.nix index 5f7b51bb6ee6..c425014e24ed 100644 --- a/pkgs/applications/misc/hamster/default.nix +++ b/pkgs/applications/misc/hamster/default.nix @@ -51,6 +51,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Time tracking application"; + mainProgram = "hamster"; homepage = "http://projecthamster.org/"; license = licenses.gpl3Plus; platforms = platforms.all; diff --git a/pkgs/applications/misc/heimer/default.nix b/pkgs/applications/misc/heimer/default.nix index 69f45cb407b9..b044c7fedbed 100644 --- a/pkgs/applications/misc/heimer/default.nix +++ b/pkgs/applications/misc/heimer/default.nix @@ -28,6 +28,7 @@ mkDerivation rec { meta = with lib; { description = "Simple cross-platform mind map and note-taking tool written in Qt"; + mainProgram = "heimer"; homepage = "https://github.com/juzzlin/Heimer"; changelog = "https://github.com/juzzlin/Heimer/blob/${version}/CHANGELOG"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/misc/hollywood/default.nix b/pkgs/applications/misc/hollywood/default.nix index f3b721bc4959..1b655e5afacc 100644 --- a/pkgs/applications/misc/hollywood/default.nix +++ b/pkgs/applications/misc/hollywood/default.nix @@ -87,6 +87,7 @@ stdenv.mkDerivation { meta = { description = "Fill your console with Hollywood melodrama technobabble"; + mainProgram = "hollywood"; homepage = "https://a.hollywood.computer/"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.anselmschueler ]; diff --git a/pkgs/applications/misc/hovercraft/default.nix b/pkgs/applications/misc/hovercraft/default.nix index 25e541cf3d48..c5623d2dac16 100644 --- a/pkgs/applications/misc/hovercraft/default.nix +++ b/pkgs/applications/misc/hovercraft/default.nix @@ -36,6 +36,7 @@ buildPythonApplication rec { meta = with lib; { description = "Makes impress.js presentations from reStructuredText"; + mainProgram = "hovercraft"; homepage = "https://github.com/regebro/hovercraft"; license = licenses.mit; maintainers = with maintainers; [ goibhniu makefu ]; diff --git a/pkgs/applications/misc/html5validator/default.nix b/pkgs/applications/misc/html5validator/default.nix index 6c9c65cf4270..cee564d512d5 100644 --- a/pkgs/applications/misc/html5validator/default.nix +++ b/pkgs/applications/misc/html5validator/default.nix @@ -33,6 +33,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Command line tool that tests files for HTML5 validity"; + mainProgram = "html5validator"; homepage = "https://github.com/svenkreiss/html5validator"; changelog = "https://github.com/svenkreiss/html5validator/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/applications/misc/huggle/default.nix b/pkgs/applications/misc/huggle/default.nix index 3a6f25ede695..37d43a90d05d 100644 --- a/pkgs/applications/misc/huggle/default.nix +++ b/pkgs/applications/misc/huggle/default.nix @@ -56,6 +56,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Anti-vandalism tool for use on MediaWiki-based projects"; + mainProgram = "huggle"; homepage = "https://github.com/huggle/huggle3-qt-lx"; license = licenses.gpl3Only; maintainers = [ maintainers.fee1-dead ]; diff --git a/pkgs/applications/misc/imaginer/default.nix b/pkgs/applications/misc/imaginer/default.nix index 3f2b99954e08..1b00bd0614bd 100644 --- a/pkgs/applications/misc/imaginer/default.nix +++ b/pkgs/applications/misc/imaginer/default.nix @@ -62,6 +62,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/ImaginerApp/Imaginer"; description = "Imaginer with AI"; + mainProgram = "imaginer"; license = licenses.gpl3Plus; maintainers = with maintainers; [ _0xMRTT ]; }; diff --git a/pkgs/applications/misc/inkcut/default.nix b/pkgs/applications/misc/inkcut/default.nix index 36d001d62d46..b711fd9330dc 100644 --- a/pkgs/applications/misc/inkcut/default.nix +++ b/pkgs/applications/misc/inkcut/default.nix @@ -89,6 +89,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://www.codelv.com/projects/inkcut/"; description = "Control 2D plotters, cutters, engravers, and CNC machines"; + mainProgram = "inkcut"; license = licenses.gpl3; maintainers = with maintainers; [ raboof ]; }; diff --git a/pkgs/applications/misc/johnny/default.nix b/pkgs/applications/misc/johnny/default.nix index 0f1530afb50c..cead88817a54 100644 --- a/pkgs/applications/misc/johnny/default.nix +++ b/pkgs/applications/misc/johnny/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://openwall.info/wiki/john/johnny"; description = "Open Source GUI frontend for John the Ripper"; + mainProgram = "johnny"; license = licenses.bsd2; maintainers = with maintainers; [ Misaka13514 ]; platforms = platforms.linux; diff --git a/pkgs/applications/misc/joplin-desktop/default.nix b/pkgs/applications/misc/joplin-desktop/default.nix index 67c58d5c3009..a8245a223466 100644 --- a/pkgs/applications/misc/joplin-desktop/default.nix +++ b/pkgs/applications/misc/joplin-desktop/default.nix @@ -28,6 +28,7 @@ let meta = with lib; { description = "An open source note taking and to-do application with synchronisation capabilities"; + mainProgram = "joplin-desktop"; longDescription = '' Joplin is a free, open source note taking and to-do application, which can handle a large number of notes organised into notebooks. The notes are diff --git a/pkgs/applications/misc/k4dirstat/default.nix b/pkgs/applications/misc/k4dirstat/default.nix index d3c073e5663a..e1636e30267b 100644 --- a/pkgs/applications/misc/k4dirstat/default.nix +++ b/pkgs/applications/misc/k4dirstat/default.nix @@ -33,6 +33,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/jeromerobert/k4dirstat"; description = "A small utility program that sums up disk usage for directory trees"; + mainProgram = "k4dirstat"; license = licenses.gpl2; maintainers = [ maintainers.raboof ]; platforms = platforms.linux; diff --git a/pkgs/applications/misc/kanjidraw/default.nix b/pkgs/applications/misc/kanjidraw/default.nix index 53c752651d2d..0d5189474729 100644 --- a/pkgs/applications/misc/kanjidraw/default.nix +++ b/pkgs/applications/misc/kanjidraw/default.nix @@ -27,6 +27,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Handwritten kanji recognition"; + mainProgram = "kanjidraw"; longDescription = '' kanjidraw is a simple Python library + GUI for matching (the strokes of a) handwritten kanji against its database. diff --git a/pkgs/applications/misc/kapow/default.nix b/pkgs/applications/misc/kapow/default.nix index 49fbed7b1efb..db352199408c 100644 --- a/pkgs/applications/misc/kapow/default.nix +++ b/pkgs/applications/misc/kapow/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Punch clock to track time spent on projects"; + mainProgram = "kapow"; homepage = "https://gottcode.org/kapow/"; maintainers = with maintainers; [ orivej ]; platforms = platforms.linux; diff --git a/pkgs/applications/misc/kchmviewer/default.nix b/pkgs/applications/misc/kchmviewer/default.nix index 4d703bff0c22..83d077f82795 100644 --- a/pkgs/applications/misc/kchmviewer/default.nix +++ b/pkgs/applications/misc/kchmviewer/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "CHM (Winhelp) files viewer"; + mainProgram = "kchmviewer"; homepage = "http://www.ulduzsoft.com/linux/kchmviewer/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ sikmir ]; diff --git a/pkgs/applications/misc/keepmenu/default.nix b/pkgs/applications/misc/keepmenu/default.nix index d10c10c231d6..040f2f6f61a7 100644 --- a/pkgs/applications/misc/keepmenu/default.nix +++ b/pkgs/applications/misc/keepmenu/default.nix @@ -42,6 +42,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/firecat53/keepmenu"; description = "Dmenu/Rofi frontend for Keepass databases"; + mainProgram = "keepmenu"; license = licenses.gpl3Only; maintainers = with maintainers; [ elliot ]; platforms = platforms.linux; diff --git a/pkgs/applications/misc/keeweb/default.nix b/pkgs/applications/misc/keeweb/default.nix index 7af5465ad9e0..22f3ad668ccb 100644 --- a/pkgs/applications/misc/keeweb/default.nix +++ b/pkgs/applications/misc/keeweb/default.nix @@ -65,6 +65,7 @@ let meta = with lib; { description = "Free cross-platform password manager compatible with KeePass"; + mainProgram = "keeweb"; homepage = "https://keeweb.info/"; changelog = "https://github.com/keeweb/keeweb/blob/v${version}/release-notes.md"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; diff --git a/pkgs/applications/misc/keystore-explorer/default.nix b/pkgs/applications/misc/keystore-explorer/default.nix index a79169ff633e..fb5990f5dca0 100644 --- a/pkgs/applications/misc/keystore-explorer/default.nix +++ b/pkgs/applications/misc/keystore-explorer/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { meta = { description = "Open source GUI replacement for the Java command-line utilities keytool and jarsigner"; + mainProgram = "keystore-explorer"; sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; license = lib.licenses.gpl3Only; maintainers = [ lib.maintainers.numinit ]; diff --git a/pkgs/applications/misc/kickoff/default.nix b/pkgs/applications/misc/kickoff/default.nix index 21018f509b1c..cd1a57a09f35 100644 --- a/pkgs/applications/misc/kickoff/default.nix +++ b/pkgs/applications/misc/kickoff/default.nix @@ -35,6 +35,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Minimalistic program launcher"; + mainProgram = "kickoff"; homepage = "https://github.com/j0ru/kickoff"; license = licenses.gpl3Plus; maintainers = with maintainers; [ pyxels ]; diff --git a/pkgs/applications/misc/kiwix/default.nix b/pkgs/applications/misc/kiwix/default.nix index 6e255b74f4b1..e804f890b832 100644 --- a/pkgs/applications/misc/kiwix/default.nix +++ b/pkgs/applications/misc/kiwix/default.nix @@ -39,6 +39,7 @@ mkDerivation { meta = with lib; { description = "An offline reader for Web content"; + mainProgram = "kiwix-desktop"; homepage = "https://kiwix.org"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/misc/kjv/lukesmithxyz-kjv.nix b/pkgs/applications/misc/kjv/lukesmithxyz-kjv.nix index 7cec6c592235..27a1a9050284 100644 --- a/pkgs/applications/misc/kjv/lukesmithxyz-kjv.nix +++ b/pkgs/applications/misc/kjv/lukesmithxyz-kjv.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Read the Word of God from your terminal + Apocrypha"; + mainProgram = "kjv"; homepage = "https://lukesmith.xyz/articles/command-line-bibles"; license = licenses.unlicense; platforms = platforms.unix; diff --git a/pkgs/applications/misc/klayout/default.nix b/pkgs/applications/misc/klayout/default.nix index a119dc6633f2..0b1bc647917a 100644 --- a/pkgs/applications/misc/klayout/default.nix +++ b/pkgs/applications/misc/klayout/default.nix @@ -58,6 +58,7 @@ mkDerivation rec { meta = with lib; { description = "High performance layout viewer and editor with support for GDS and OASIS"; + mainProgram = "klayout"; license = with licenses; [ gpl2Plus ]; homepage = "https://www.klayout.de/"; changelog = "https://www.klayout.de/development.html#${version}"; diff --git a/pkgs/applications/misc/konsave/default.nix b/pkgs/applications/misc/konsave/default.nix index 75950d28e232..f86f2c19c6c0 100644 --- a/pkgs/applications/misc/konsave/default.nix +++ b/pkgs/applications/misc/konsave/default.nix @@ -19,6 +19,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Save Linux Customization"; + mainProgram = "konsave"; maintainers = with maintainers; [ MoritzBoehme ]; homepage = "https://github.com/Prayag2/konsave"; license = licenses.gpl3; diff --git a/pkgs/applications/misc/koreader/default.nix b/pkgs/applications/misc/koreader/default.nix index b24ae5d06ad2..857ca1d26a8e 100644 --- a/pkgs/applications/misc/koreader/default.nix +++ b/pkgs/applications/misc/koreader/default.nix @@ -65,6 +65,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/koreader/koreader"; description = "An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices"; + mainProgram = "koreader"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; platforms = [ "aarch64-linux" "x86_64-linux" ]; license = licenses.agpl3Only; diff --git a/pkgs/applications/misc/krename/default.nix b/pkgs/applications/misc/krename/default.nix index 6d575709208e..98ba8836efca 100644 --- a/pkgs/applications/misc/krename/default.nix +++ b/pkgs/applications/misc/krename/default.nix @@ -35,6 +35,7 @@ in mkDerivation rec { meta = with lib; { description = "A powerful batch renamer for KDE"; + mainProgram = "krename"; homepage = "https://kde.org/applications/utilities/krename/"; license = licenses.gpl2; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/applications/misc/ksmoothdock/default.nix b/pkgs/applications/misc/ksmoothdock/default.nix index 80c46bd9c16d..c592d944c632 100644 --- a/pkgs/applications/misc/ksmoothdock/default.nix +++ b/pkgs/applications/misc/ksmoothdock/default.nix @@ -32,6 +32,7 @@ mkDerivation rec { meta = with lib; { description = "A cool desktop panel for KDE Plasma 5"; + mainProgram = "ksmoothdock"; license = licenses.mit; homepage = "https://dangvd.github.io/ksmoothdock/"; maintainers = with maintainers; [ shamilton ]; diff --git a/pkgs/applications/misc/latte-dock/default.nix b/pkgs/applications/misc/latte-dock/default.nix index 6562cd7b4a29..ae1b13cc870a 100644 --- a/pkgs/applications/misc/latte-dock/default.nix +++ b/pkgs/applications/misc/latte-dock/default.nix @@ -30,6 +30,7 @@ mkDerivation rec { meta = with lib; { description = "Dock-style app launcher based on Plasma frameworks"; + mainProgram = "latte-dock"; homepage = "https://invent.kde.org/plasma/latte-dock"; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/applications/misc/loxodo/default.nix b/pkgs/applications/misc/loxodo/default.nix index 77dd39bc0601..a5b729c3cf3b 100644 --- a/pkgs/applications/misc/loxodo/default.nix +++ b/pkgs/applications/misc/loxodo/default.nix @@ -33,6 +33,7 @@ python3.pkgs.buildPythonApplication { meta = with lib; { description = "A Password Safe V3 compatible password vault"; + mainProgram = "loxodo"; homepage = "https://www.christoph-sommer.de/loxodo/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/misc/maliit-framework/default.nix b/pkgs/applications/misc/maliit-framework/default.nix index ce8ebef16a89..2f30e805c584 100644 --- a/pkgs/applications/misc/maliit-framework/default.nix +++ b/pkgs/applications/misc/maliit-framework/default.nix @@ -70,6 +70,7 @@ mkDerivation rec { meta = with lib; { description = "Core libraries of Maliit and server"; + mainProgram = "maliit-server"; homepage = "http://maliit.github.io/"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ samueldr ]; diff --git a/pkgs/applications/misc/maliit-keyboard/default.nix b/pkgs/applications/misc/maliit-keyboard/default.nix index b662c2522df8..3669dfe5a5b7 100644 --- a/pkgs/applications/misc/maliit-keyboard/default.nix +++ b/pkgs/applications/misc/maliit-keyboard/default.nix @@ -67,6 +67,7 @@ mkDerivation rec { meta = with lib; { description = "Virtual keyboard"; + mainProgram = "maliit-keyboard"; homepage = "http://maliit.github.io/"; license = with licenses; [ lgpl3Only bsd3 cc-by-30 ]; maintainers = with maintainers; [ samueldr ]; diff --git a/pkgs/applications/misc/mbutil/default.nix b/pkgs/applications/misc/mbutil/default.nix index 69b61afaee55..13809abe3929 100644 --- a/pkgs/applications/misc/mbutil/default.nix +++ b/pkgs/applications/misc/mbutil/default.nix @@ -16,6 +16,7 @@ buildPythonApplication rec { meta = with lib; { description = "An importer and exporter for MBTiles"; + mainProgram = "mb-util"; homepage = "https://github.com/mapbox/mbutil"; license = licenses.bsd3; platforms = platforms.unix; diff --git a/pkgs/applications/misc/mediaelch/default.nix b/pkgs/applications/misc/mediaelch/default.nix index bc85e674c575..b1d472a605a6 100644 --- a/pkgs/applications/misc/mediaelch/default.nix +++ b/pkgs/applications/misc/mediaelch/default.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://mediaelch.de/mediaelch/"; description = "Media Manager for Kodi"; + mainProgram = "MediaElch"; license = licenses.lgpl3Only; maintainers = with maintainers; [ stunkymonkey ]; platforms = platforms.linux; diff --git a/pkgs/applications/misc/meerk40t/default.nix b/pkgs/applications/misc/meerk40t/default.nix index b07133ecbbc2..c1a0b41a58ac 100644 --- a/pkgs/applications/misc/meerk40t/default.nix +++ b/pkgs/applications/misc/meerk40t/default.nix @@ -74,6 +74,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { changelog = "https://github.com/meerk40t/meerk40t/releases/tag/${version}"; description = "MeerK40t LaserCutter Software"; + mainProgram = "meerk40t"; homepage = "https://github.com/meerk40t/meerk40t"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; diff --git a/pkgs/applications/misc/menumaker/default.nix b/pkgs/applications/misc/menumaker/default.nix index c0958cd23537..23ec74cd8b8d 100644 --- a/pkgs/applications/misc/menumaker/default.nix +++ b/pkgs/applications/misc/menumaker/default.nix @@ -13,6 +13,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Heuristics-driven menu generator for several window managers"; + mainProgram = "mmaker"; homepage = "https://menumaker.sourceforge.net"; license = licenses.bsd2; platforms = platforms.unix; diff --git a/pkgs/applications/misc/metadata-cleaner/default.nix b/pkgs/applications/misc/metadata-cleaner/default.nix index 88df68f55979..24970e7a5832 100644 --- a/pkgs/applications/misc/metadata-cleaner/default.nix +++ b/pkgs/applications/misc/metadata-cleaner/default.nix @@ -57,6 +57,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Python GTK application to view and clean metadata in files, using mat2"; + mainProgram = "metadata-cleaner"; homepage = "https://gitlab.com/rmnvgr/metadata-cleaner"; changelog = "https://gitlab.com/rmnvgr/metadata-cleaner/-/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ gpl3Plus cc-by-sa-40 ]; diff --git a/pkgs/applications/misc/michabo/default.nix b/pkgs/applications/misc/michabo/default.nix index c356dc19786d..6329bd9d2495 100644 --- a/pkgs/applications/misc/michabo/default.nix +++ b/pkgs/applications/misc/michabo/default.nix @@ -43,6 +43,7 @@ in mkDerivation rec { meta = with lib; { description = "A native desktop app for Pleroma and Mastodon servers"; + mainProgram = "Michabo"; homepage = "https://git.pleroma.social/kaniini/michabo"; license = licenses.gpl3; maintainers = with maintainers; [ fgaz ]; diff --git a/pkgs/applications/misc/mkgmap/default.nix b/pkgs/applications/misc/mkgmap/default.nix index ee0c2043a6b4..7f97818c7452 100644 --- a/pkgs/applications/misc/mkgmap/default.nix +++ b/pkgs/applications/misc/mkgmap/default.nix @@ -6,6 +6,7 @@ , jre , ant , makeWrapper +, stripJavaArchivesHook , doCheck ? true , withExamples ? false }: @@ -30,10 +31,6 @@ stdenv.mkDerivation rec { ]; postPatch = with deps; '' - # Fix the output jar timestamps for reproducibility - substituteInPlace build.xml \ - --replace-fail ' build/classes/mkgmap-version.properties << EOF @@ -61,7 +58,7 @@ stdenv.mkDerivation rec { '') testInputs} ''; - nativeBuildInputs = [ jdk ant makeWrapper ]; + nativeBuildInputs = [ jdk ant makeWrapper stripJavaArchivesHook ]; buildPhase = '' runHook preBuild diff --git a/pkgs/applications/misc/mkgmap/splitter/default.nix b/pkgs/applications/misc/mkgmap/splitter/default.nix index 010b140e9bf9..801af789d47d 100644 --- a/pkgs/applications/misc/mkgmap/splitter/default.nix +++ b/pkgs/applications/misc/mkgmap/splitter/default.nix @@ -6,6 +6,7 @@ , jre , ant , makeWrapper +, stripJavaArchivesHook , doCheck ? true }: let @@ -30,10 +31,6 @@ stdenv.mkDerivation rec { ]; postPatch = with deps; '' - # Fix the output jar timestamps for reproducibility - substituteInPlace build.xml \ - --replace-fail ' build/classes/splitter-version.properties << EOF @@ -58,7 +55,7 @@ stdenv.mkDerivation rec { '') testInputs} ''; - nativeBuildInputs = [ jdk ant makeWrapper ]; + nativeBuildInputs = [ jdk ant makeWrapper stripJavaArchivesHook ]; buildPhase = '' runHook preBuild diff --git a/pkgs/applications/misc/mnamer/default.nix b/pkgs/applications/misc/mnamer/default.nix index e928e631c07c..fbcc9e61be45 100644 --- a/pkgs/applications/misc/mnamer/default.nix +++ b/pkgs/applications/misc/mnamer/default.nix @@ -40,6 +40,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/jkwill87/mnamer"; description = "An intelligent and highly configurable media organization utility"; + mainProgram = "mnamer"; license = licenses.mit; maintainers = with maintainers; [ urlordjames ]; }; diff --git a/pkgs/applications/misc/mob/default.nix b/pkgs/applications/misc/mob/default.nix index f41e927185ec..7fb218266fa1 100644 --- a/pkgs/applications/misc/mob/default.nix +++ b/pkgs/applications/misc/mob/default.nix @@ -35,6 +35,7 @@ buildGoModule rec { meta = with lib; { description = "Tool for smooth git handover"; + mainProgram = "mob"; homepage = "https://github.com/remotemobprogramming/mob"; license = licenses.mit; maintainers = with maintainers; [ ericdallo ]; diff --git a/pkgs/applications/misc/mozphab/default.nix b/pkgs/applications/misc/mozphab/default.nix index 6d8455e6915d..a19297acbc85 100644 --- a/pkgs/applications/misc/mozphab/default.nix +++ b/pkgs/applications/misc/mozphab/default.nix @@ -71,6 +71,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Phabricator CLI from Mozilla to support submission of a series of commits"; + mainProgram = "moz-phab"; longDescription = '' moz-phab is a custom command-line tool, which communicates to Phabricator’s API, providing several conveniences, including support for diff --git a/pkgs/applications/misc/mpvc/default.nix b/pkgs/applications/misc/mpvc/default.nix index 58f6962f4c3a..8736abb413ba 100644 --- a/pkgs/applications/misc/mpvc/default.nix +++ b/pkgs/applications/misc/mpvc/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A mpc-like control interface for mpv"; + mainProgram = "mpvc"; homepage = "https://github.com/lwilletts/mpvc"; license = licenses.mit; maintainers = [ maintainers.neeasade ]; diff --git a/pkgs/applications/misc/mwic/default.nix b/pkgs/applications/misc/mwic/default.nix index a31d6d5a90ab..6b647aab2473 100644 --- a/pkgs/applications/misc/mwic/default.nix +++ b/pkgs/applications/misc/mwic/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://jwilk.net/software/mwic"; description = "spell-checker that groups possible misspellings and shows them in their contexts"; + mainProgram = "mwic"; license = licenses.mit; maintainers = with maintainers; [ matthiasbeyer ]; }; diff --git a/pkgs/applications/misc/nerd-font-patcher/default.nix b/pkgs/applications/misc/nerd-font-patcher/default.nix index 76bd2a44824e..b4479f10309e 100644 --- a/pkgs/applications/misc/nerd-font-patcher/default.nix +++ b/pkgs/applications/misc/nerd-font-patcher/default.nix @@ -33,6 +33,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Font patcher to generate Nerd font"; + mainProgram = "nerd-font-patcher"; homepage = "https://nerdfonts.com/"; license = licenses.mit; maintainers = with maintainers; [ ck3d ]; diff --git a/pkgs/applications/misc/notify-osd-customizable/default.nix b/pkgs/applications/misc/notify-osd-customizable/default.nix index 17377c6dae55..49f6cf478fbb 100644 --- a/pkgs/applications/misc/notify-osd-customizable/default.nix +++ b/pkgs/applications/misc/notify-osd-customizable/default.nix @@ -39,6 +39,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Daemon that displays passive pop-up notifications"; + mainProgram = "notify-osd"; homepage = "https://launchpad.net/notify-osd"; license = licenses.gpl3; maintainers = [ maintainers.imalison ]; diff --git a/pkgs/applications/misc/notify-osd/default.nix b/pkgs/applications/misc/notify-osd/default.nix index 9c0c5a3921ef..77b5d52c22cf 100644 --- a/pkgs/applications/misc/notify-osd/default.nix +++ b/pkgs/applications/misc/notify-osd/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Daemon that displays passive pop-up notifications"; + mainProgram = "notify-osd"; homepage = "https://launchpad.net/notify-osd"; license = licenses.gpl3; maintainers = [ maintainers.bodil ]; diff --git a/pkgs/applications/misc/notifymuch/default.nix b/pkgs/applications/misc/notifymuch/default.nix index e94b6f2f156b..6ba819133ecc 100644 --- a/pkgs/applications/misc/notifymuch/default.nix +++ b/pkgs/applications/misc/notifymuch/default.nix @@ -43,6 +43,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Display desktop notifications for unread mail in a notmuch database"; + mainProgram = "notifymuch"; homepage = "https://github.com/kspi/notifymuch"; maintainers = with maintainers; [ arjan-s ]; license = licenses.gpl3; diff --git a/pkgs/applications/misc/numberstation/default.nix b/pkgs/applications/misc/numberstation/default.nix index de2c377b26c2..7a1393637dff 100644 --- a/pkgs/applications/misc/numberstation/default.nix +++ b/pkgs/applications/misc/numberstation/default.nix @@ -62,6 +62,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { changelog = "https://git.sr.ht/~martijnbraam/numberstation/refs/${version}"; description = "TOTP Authentication application for mobile"; + mainProgram = "numberstation"; homepage = "https://sr.ht/~martijnbraam/numberstation/"; license = licenses.gpl3Only; maintainers = with maintainers; [ dotlambda ]; diff --git a/pkgs/applications/misc/nwg-bar/default.nix b/pkgs/applications/misc/nwg-bar/default.nix index 0b4b7cd1e255..356b1edb15ae 100644 --- a/pkgs/applications/misc/nwg-bar/default.nix +++ b/pkgs/applications/misc/nwg-bar/default.nix @@ -38,6 +38,7 @@ buildGoModule rec { meta = with lib; { description = "GTK3-based button bar for sway and other wlroots-based compositors"; + mainProgram = "nwg-bar"; homepage = "https://github.com/nwg-piotr/nwg-bar"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/applications/misc/nwg-dock-hyprland/default.nix b/pkgs/applications/misc/nwg-dock-hyprland/default.nix index 676af3ec5891..607dd7c22fac 100644 --- a/pkgs/applications/misc/nwg-dock-hyprland/default.nix +++ b/pkgs/applications/misc/nwg-dock-hyprland/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { description = "GTK3-based dock for Hyprland"; + mainProgram = "nwg-dock-hyprland"; homepage = "https://github.com/nwg-piotr/nwg-dock-hyprland"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/applications/misc/nwg-menu/default.nix b/pkgs/applications/misc/nwg-menu/default.nix index e587396e151a..179b4f71ae64 100644 --- a/pkgs/applications/misc/nwg-menu/default.nix +++ b/pkgs/applications/misc/nwg-menu/default.nix @@ -39,6 +39,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/nwg-piotr/nwg-menu"; description = "MenuStart plugin for nwg-panel"; + mainProgram = "nwg-menu"; license = licenses.mit; platforms = platforms.linux; maintainers = with maintainers; [ berbiche ]; diff --git a/pkgs/applications/misc/nwg-wrapper/default.nix b/pkgs/applications/misc/nwg-wrapper/default.nix index 2ff04c09b82e..5b2862831896 100644 --- a/pkgs/applications/misc/nwg-wrapper/default.nix +++ b/pkgs/applications/misc/nwg-wrapper/default.nix @@ -31,6 +31,7 @@ python3Packages.buildPythonPackage rec { meta = with lib; { description = "Wrapper to display a script output or a text file content on the desktop in sway or other wlroots-based compositors"; + mainProgram = "nwg-wrapper"; homepage = "https://github.com/nwg-piotr/nwg-wrapper/"; license = licenses.mit; maintainers = with maintainers; [ artturin ]; diff --git a/pkgs/applications/misc/octoprint/default.nix b/pkgs/applications/misc/octoprint/default.nix index 8bc2a69c1b91..0a13013e5da2 100644 --- a/pkgs/applications/misc/octoprint/default.nix +++ b/pkgs/applications/misc/octoprint/default.nix @@ -256,6 +256,7 @@ let meta = with lib; { homepage = "https://octoprint.org/"; description = "The snappy web interface for your 3D printer"; + mainProgram = "octoprint"; license = licenses.agpl3Only; maintainers = with maintainers; [ abbradar gebner WhittlesJr gador ]; }; diff --git a/pkgs/applications/misc/omegat.nix b/pkgs/applications/misc/omegat.nix index da4de96fbce0..5349add035ae 100644 --- a/pkgs/applications/misc/omegat.nix +++ b/pkgs/applications/misc/omegat.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation { meta = with lib; { description = "The free computer aided translation (CAT) tool for professionals"; + mainProgram = "omegat"; longDescription = '' OmegaT is a free and open source multiplatform Computer Assisted Translation tool with fuzzy matching, translation memory, keyword search, glossaries, and diff --git a/pkgs/applications/misc/openbangla-keyboard/default.nix b/pkgs/applications/misc/openbangla-keyboard/default.nix index 4b7e1ec8c16a..108bb1aeff0d 100644 --- a/pkgs/applications/misc/openbangla-keyboard/default.nix +++ b/pkgs/applications/misc/openbangla-keyboard/default.nix @@ -80,6 +80,7 @@ stdenv.mkDerivation rec { meta = { isIbusEngine = withIbusSupport; description = "An OpenSource, Unicode compliant Bengali Input Method"; + mainProgram = "openbangla-gui"; homepage = "https://openbangla.github.io/"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ eclairevoyant hqurve ]; diff --git a/pkgs/applications/misc/openbrf/default.nix b/pkgs/applications/misc/openbrf/default.nix index 63734811ff43..03b3cde0c835 100644 --- a/pkgs/applications/misc/openbrf/default.nix +++ b/pkgs/applications/misc/openbrf/default.nix @@ -50,6 +50,7 @@ mkDerivation { meta = with lib; { description = "A tool to edit resource files (BRF)"; + mainProgram = "openBrf"; homepage = "https://github.com/cfcohen/openbrf"; maintainers = with lib.maintainers; [ abbradar ]; license = licenses.free; diff --git a/pkgs/applications/misc/opentrack/default.nix b/pkgs/applications/misc/opentrack/default.nix index 84edbc567b41..d28a9e52a902 100644 --- a/pkgs/applications/misc/opentrack/default.nix +++ b/pkgs/applications/misc/opentrack/default.nix @@ -71,6 +71,7 @@ in meta = with lib; { homepage = "https://github.com/opentrack/opentrack"; description = "Head tracking software for MS Windows, Linux, and Apple OSX"; + mainProgram = "opentrack"; changelog = "https://github.com/opentrack/opentrack/releases/tag/${version}"; license = licenses.isc; maintainers = with maintainers; [zaninime]; diff --git a/pkgs/applications/misc/orca/default.nix b/pkgs/applications/misc/orca/default.nix index fdb7d3ac9879..283970a6e75e 100644 --- a/pkgs/applications/misc/orca/default.nix +++ b/pkgs/applications/misc/orca/default.nix @@ -98,6 +98,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "https://wiki.gnome.org/Projects/Orca"; description = "Screen reader"; + mainProgram = "orca"; longDescription = '' A free, open source, flexible and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille. diff --git a/pkgs/applications/misc/overmind/default.nix b/pkgs/applications/misc/overmind/default.nix index ec1ea90cd47c..762dec67a61d 100644 --- a/pkgs/applications/misc/overmind/default.nix +++ b/pkgs/applications/misc/overmind/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/DarthSim/overmind"; description = "Process manager for Procfile-based applications and tmux"; + mainProgram = "overmind"; license = with licenses; [ mit ]; maintainers = [ maintainers.adisbladis ]; }; diff --git a/pkgs/applications/misc/oversteer/default.nix b/pkgs/applications/misc/oversteer/default.nix index a7567380c5f0..eb47b4225d87 100644 --- a/pkgs/applications/misc/oversteer/default.nix +++ b/pkgs/applications/misc/oversteer/default.nix @@ -70,6 +70,7 @@ in stdenv.mkDerivation { homepage = "https://github.com/berarma/oversteer"; changelog = "https://github.com/berarma/oversteer/releases/tag/${version}"; description = "Steering Wheel Manager for Linux"; + mainProgram = "oversteer"; license = licenses.gpl3Plus; maintainers = [ maintainers.srounce ]; platforms = platforms.unix; diff --git a/pkgs/applications/misc/pairdrop/default.nix b/pkgs/applications/misc/pairdrop/default.nix index 7715481cffd5..f5ffafdb8015 100644 --- a/pkgs/applications/misc/pairdrop/default.nix +++ b/pkgs/applications/misc/pairdrop/default.nix @@ -33,6 +33,7 @@ buildNpmPackage rec { meta = with lib; { description = "Local file sharing in your browser"; + mainProgram = "pairdrop"; longDescription = '' PairDrop is a sublime alternative to AirDrop that works on all platforms. Send images, documents or text via peer to peer connection to devices in the same local network/Wi-Fi or to paired devices. diff --git a/pkgs/applications/misc/pattypan/default.nix b/pkgs/applications/misc/pattypan/default.nix index aac0da8b4c40..c1f5aa84b0eb 100644 --- a/pkgs/applications/misc/pattypan/default.nix +++ b/pkgs/applications/misc/pattypan/default.nix @@ -7,7 +7,7 @@ , wrapGAppsHook , makeDesktopItem , copyDesktopItems -, canonicalize-jars-hook +, stripJavaArchivesHook }: stdenv.mkDerivation (finalAttrs: { @@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: { makeWrapper wrapGAppsHook copyDesktopItems - canonicalize-jars-hook + stripJavaArchivesHook ]; dontWrapGApps = true; diff --git a/pkgs/applications/misc/pdf-quench/default.nix b/pkgs/applications/misc/pdf-quench/default.nix index 0245fadb171a..78151061700a 100644 --- a/pkgs/applications/misc/pdf-quench/default.nix +++ b/pkgs/applications/misc/pdf-quench/default.nix @@ -29,6 +29,7 @@ python3.pkgs.buildPythonApplication { meta = with lib; { homepage = "https://github.com/linuxerwang/pdf-quench"; description = "A visual tool for cropping pdf files"; + mainProgram = "pdf-quench"; platforms = platforms.linux; license = licenses.gpl2; maintainers = with maintainers; [ flokli ]; diff --git a/pkgs/applications/misc/pdfarranger/default.nix b/pkgs/applications/misc/pdfarranger/default.nix index 34077b857415..2973a4b9a36c 100644 --- a/pkgs/applications/misc/pdfarranger/default.nix +++ b/pkgs/applications/misc/pdfarranger/default.nix @@ -51,6 +51,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { inherit (src.meta) homepage; description = "Merge or split pdf documents and rotate, crop and rearrange their pages using an interactive and intuitive graphical interface"; + mainProgram = "pdfarranger"; platforms = platforms.linux; maintainers = with maintainers; [ symphorien ]; license = licenses.gpl3Plus; diff --git a/pkgs/applications/misc/pdfpc/default.nix b/pkgs/applications/misc/pdfpc/default.nix index 0fa676bdfb4b..9e36bba66961 100644 --- a/pkgs/applications/misc/pdfpc/default.nix +++ b/pkgs/applications/misc/pdfpc/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A presenter console with multi-monitor support for PDF files"; + mainProgram = "pdfpc"; homepage = "https://pdfpc.github.io/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ pSub ]; diff --git a/pkgs/applications/misc/pdfposter/default.nix b/pkgs/applications/misc/pdfposter/default.nix index 5261fe3dbfe2..ff7d97969e43 100644 --- a/pkgs/applications/misc/pdfposter/default.nix +++ b/pkgs/applications/misc/pdfposter/default.nix @@ -37,6 +37,7 @@ with localPython.pkgs; buildPythonApplication rec { meta = with lib; { description = "Split large pages of a PDF into smaller ones for poster printing"; + mainProgram = "pdfposter"; homepage = "https://pdfposter.readthedocs.io"; license = licenses.gpl3Plus; maintainers = with maintainers; [ wamserma ]; diff --git a/pkgs/applications/misc/pdfsam-basic/default.nix b/pkgs/applications/misc/pdfsam-basic/default.nix index b56f9374bddb..0d1e5e5f737c 100644 --- a/pkgs/applications/misc/pdfsam-basic/default.nix +++ b/pkgs/applications/misc/pdfsam-basic/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/torakiki/pdfsam"; description = "Multi-platform software designed to extract pages, split, merge, mix and rotate PDF files"; + mainProgram = "pdfsam-basic"; sourceProvenance = with sourceTypes; [ binaryBytecode binaryNativeCode diff --git a/pkgs/applications/misc/pe-bear/default.nix b/pkgs/applications/misc/pe-bear/default.nix index 79307f777955..9a71d8add70e 100644 --- a/pkgs/applications/misc/pe-bear/default.nix +++ b/pkgs/applications/misc/pe-bear/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Portable Executable reversing tool with a friendly GUI"; + mainProgram = "PE-bear"; homepage = "https://hshrzd.wordpress.com/pe-bear/"; license = [ diff --git a/pkgs/applications/misc/phoc/default.nix b/pkgs/applications/misc/phoc/default.nix index e50b9787236a..deccbabe3fd4 100644 --- a/pkgs/applications/misc/phoc/default.nix +++ b/pkgs/applications/misc/phoc/default.nix @@ -80,6 +80,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Wayland compositor for mobile phones like the Librem 5"; + mainProgram = "phoc"; homepage = "https://gitlab.gnome.org/World/Phosh/phoc"; license = licenses.gpl3Plus; maintainers = with maintainers; [ masipcat tomfitzhenry zhaofengli ]; diff --git a/pkgs/applications/misc/pipr/default.nix b/pkgs/applications/misc/pipr/default.nix index 2f5ba3e6d9cb..f447ffcaeef6 100644 --- a/pkgs/applications/misc/pipr/default.nix +++ b/pkgs/applications/misc/pipr/default.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A commandline-tool to interactively write shell pipelines"; + mainProgram = "pipr"; homepage = "https://github.com/ElKowar/pipr"; license = licenses.mit; maintainers = with maintainers; [ elkowar ]; diff --git a/pkgs/applications/misc/plank/default.nix b/pkgs/applications/misc/plank/default.nix index 1a8f0df5e41c..fb3226e6d803 100644 --- a/pkgs/applications/misc/plank/default.nix +++ b/pkgs/applications/misc/plank/default.nix @@ -80,6 +80,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Elegant, simple, clean dock"; + mainProgram = "plank"; homepage = "https://launchpad.net/plank"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/misc/plots/default.nix b/pkgs/applications/misc/plots/default.nix index 4e6b9d24a56b..1e7db2651a10 100644 --- a/pkgs/applications/misc/plots/default.nix +++ b/pkgs/applications/misc/plots/default.nix @@ -56,6 +56,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Graph plotting app for GNOME"; + mainProgram = "plots"; longDescription = '' Plots is a graph plotting app for GNOME. Plots makes it easy to visualise mathematical formulae. diff --git a/pkgs/applications/misc/polar-bookshelf/default.nix b/pkgs/applications/misc/polar-bookshelf/default.nix index ad731c1050c9..983dc81d1790 100644 --- a/pkgs/applications/misc/polar-bookshelf/default.nix +++ b/pkgs/applications/misc/polar-bookshelf/default.nix @@ -122,6 +122,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://getpolarized.io/"; description = "Personal knowledge repository for PDF and web content supporting incremental reading and document annotation"; + mainProgram = "polar-desktop-app"; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; license = lib.licenses.gpl3Only; platforms = lib.platforms.linux; diff --git a/pkgs/applications/misc/polar-bookshelf1/default.nix b/pkgs/applications/misc/polar-bookshelf1/default.nix index 41b7fb786abd..a4ff885a71b8 100644 --- a/pkgs/applications/misc/polar-bookshelf1/default.nix +++ b/pkgs/applications/misc/polar-bookshelf1/default.nix @@ -109,6 +109,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://getpolarized.io/"; description = "Personal knowledge repository for PDF and web content supporting incremental reading and document annotation"; + mainProgram = "polar-bookshelf"; license = lib.licenses.gpl3Only; maintainers = [ lib.maintainers.dansbandit ]; platforms = lib.platforms.linux; diff --git a/pkgs/applications/misc/pot/default.nix b/pkgs/applications/misc/pot/default.nix index 33e6c18932de..fdc0a6b6c414 100644 --- a/pkgs/applications/misc/pot/default.nix +++ b/pkgs/applications/misc/pot/default.nix @@ -128,6 +128,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A cross-platform translation software"; + mainProgram = "pot"; homepage = "https://pot.pylogmon.com"; platforms = platforms.linux; license = licenses.gpl3Only; diff --git a/pkgs/applications/misc/projectlibre/default.nix b/pkgs/applications/misc/projectlibre/default.nix index ceb61d71866c..52e56ed0623c 100644 --- a/pkgs/applications/misc/projectlibre/default.nix +++ b/pkgs/applications/misc/projectlibre/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.projectlibre.com/"; description = "Project-Management Software similar to MS-Project"; + mainProgram = "projectlibre"; maintainers = [ maintainers.Mogria ]; license = licenses.cpal10; }; diff --git a/pkgs/applications/misc/ptask/default.nix b/pkgs/applications/misc/ptask/default.nix index 739003720447..67a4bca94cf8 100644 --- a/pkgs/applications/misc/ptask/default.nix +++ b/pkgs/applications/misc/ptask/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://wpitchoune.net/ptask/"; description = "GTK-based GUI for taskwarrior"; + mainProgram = "ptask"; license = licenses.gpl2; maintainers = [ maintainers.spacefrogg ]; platforms = platforms.linux; diff --git a/pkgs/applications/misc/pure-maps/default.nix b/pkgs/applications/misc/pure-maps/default.nix index 1789771ae506..1531d6edb7a8 100644 --- a/pkgs/applications/misc/pure-maps/default.nix +++ b/pkgs/applications/misc/pure-maps/default.nix @@ -36,6 +36,7 @@ mkDerivation rec { meta = with lib; { description = "Display vector and raster maps, places, routes, and provide navigation instructions with a flexible selection of data and service providers"; + mainProgram = "pure-maps"; homepage = "https://github.com/rinigus/pure-maps"; changelog = "https://github.com/rinigus/pure-maps/blob/${src.rev}/NEWS.md"; license = licenses.gpl3Only; diff --git a/pkgs/applications/misc/pytrainer/default.nix b/pkgs/applications/misc/pytrainer/default.nix index 22ee11082f15..6d907fab0db4 100644 --- a/pkgs/applications/misc/pytrainer/default.nix +++ b/pkgs/applications/misc/pytrainer/default.nix @@ -91,6 +91,7 @@ in python.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/pytrainer/pytrainer"; description = "Application for logging and graphing sporting excursions"; + mainProgram = "pytrainer"; maintainers = with maintainers; [ rycee dotlambda ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/misc/qMasterPassword/default.nix b/pkgs/applications/misc/qMasterPassword/default.nix index 436c1fc70377..e6a672040824 100644 --- a/pkgs/applications/misc/qMasterPassword/default.nix +++ b/pkgs/applications/misc/qMasterPassword/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Stateless Master Password Manager"; + mainProgram = "qMasterPassword"; longDescription = '' Access all your passwords using only a single master password. But in contrast to other managers it does not store any passwords: Unique diff --git a/pkgs/applications/misc/qelectrotech/default.nix b/pkgs/applications/misc/qelectrotech/default.nix index 3b97a69de226..b4d8bd3ab182 100644 --- a/pkgs/applications/misc/qelectrotech/default.nix +++ b/pkgs/applications/misc/qelectrotech/default.nix @@ -69,6 +69,7 @@ mkDerivation rec { meta = with lib; { description = "Free software to create electric diagrams"; + mainProgram = "qelectrotech"; homepage = "https://qelectrotech.org/"; license = licenses.gpl2; maintainers = with maintainers; [ yvesf ]; diff --git a/pkgs/applications/misc/qolibri/default.nix b/pkgs/applications/misc/qolibri/default.nix index af7cc7e01a6f..c0530dfe78e3 100644 --- a/pkgs/applications/misc/qolibri/default.nix +++ b/pkgs/applications/misc/qolibri/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/ludios/qolibri"; description = "EPWING reader for viewing Japanese dictionaries"; + mainProgram = "qolibri"; platforms = platforms.linux; maintainers = with maintainers; [ ]; license = licenses.gpl2; diff --git a/pkgs/applications/misc/qsudo/default.nix b/pkgs/applications/misc/qsudo/default.nix index d73c3793871a..a573ba814a42 100644 --- a/pkgs/applications/misc/qsudo/default.nix +++ b/pkgs/applications/misc/qsudo/default.nix @@ -34,6 +34,7 @@ mkDerivation rec { meta = with lib; { description = "Graphical sudo utility from Project Trident"; + mainProgram = "qsudo"; homepage = "https://github.com/project-trident/qsudo"; license = licenses.bsd2; platforms = platforms.linux; diff --git a/pkgs/applications/misc/qt-box-editor/default.nix b/pkgs/applications/misc/qt-box-editor/default.nix index 7a84f85a9e21..937641021a5c 100644 --- a/pkgs/applications/misc/qt-box-editor/default.nix +++ b/pkgs/applications/misc/qt-box-editor/default.nix @@ -33,6 +33,7 @@ mkDerivation { meta = with lib; { description = "Editor of tesseract-ocr box files"; + mainProgram = "qt-box-editor-1.12rc1"; homepage = "https://github.com/zdenop/qt-box-editor"; license = licenses.asl20; maintainers = [ maintainers.costrouc ]; diff --git a/pkgs/applications/misc/qt-video-wlr/default.nix b/pkgs/applications/misc/qt-video-wlr/default.nix index f8020fbdb447..4ebd059c9274 100644 --- a/pkgs/applications/misc/qt-video-wlr/default.nix +++ b/pkgs/applications/misc/qt-video-wlr/default.nix @@ -39,6 +39,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Qt pip-mode-like video player for wlroots-based wayland compositors"; + mainProgram = "qt-video-wlr"; homepage = "https://github.com/xdavidwu/qt-video-wlr"; license = licenses.mit; maintainers = with maintainers; [ fionera rewine ]; diff --git a/pkgs/applications/misc/qtbitcointrader/default.nix b/pkgs/applications/misc/qtbitcointrader/default.nix index d158c111c87f..ce265d5f67fd 100644 --- a/pkgs/applications/misc/qtbitcointrader/default.nix +++ b/pkgs/applications/misc/qtbitcointrader/default.nix @@ -27,6 +27,7 @@ mkDerivation rec { meta = with lib; { description = "Bitcoin trading client"; + mainProgram = "QtBitcoinTrader"; homepage = "https://centrabit.com/"; license = licenses.gpl3; platforms = qt5.qtbase.meta.platforms; diff --git a/pkgs/applications/misc/qtpass/default.nix b/pkgs/applications/misc/qtpass/default.nix index ad940a77f99a..26807bc42a1c 100644 --- a/pkgs/applications/misc/qtpass/default.nix +++ b/pkgs/applications/misc/qtpass/default.nix @@ -54,6 +54,7 @@ mkDerivation rec { meta = with lib; { description = "A multi-platform GUI for pass, the standard unix password manager"; + mainProgram = "qtpass"; homepage = "https://qtpass.org"; license = licenses.gpl3; maintainers = [ maintainers.hrdinka ]; diff --git a/pkgs/applications/misc/raiseorlaunch/default.nix b/pkgs/applications/misc/raiseorlaunch/default.nix index 9c5f35be9a9e..455b6df4d054 100644 --- a/pkgs/applications/misc/raiseorlaunch/default.nix +++ b/pkgs/applications/misc/raiseorlaunch/default.nix @@ -19,6 +19,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { maintainers = with maintainers; [ winpat ]; description = "A run-or-raise-application-launcher for i3 window manager"; + mainProgram = "raiseorlaunch"; homepage = "https://github.com/open-dynaMIX/raiseorlaunch"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/applications/misc/razergenie/default.nix b/pkgs/applications/misc/razergenie/default.nix index 8f78c0becaf5..9b18c60447e3 100644 --- a/pkgs/applications/misc/razergenie/default.nix +++ b/pkgs/applications/misc/razergenie/default.nix @@ -34,6 +34,7 @@ in stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/z3ntu/RazerGenie"; description = "Qt application for configuring your Razer devices under GNU/Linux"; + mainProgram = "razergenie"; license = licenses.gpl3; maintainers = with maintainers; [ f4814n Mogria ]; platforms = platforms.linux; diff --git a/pkgs/applications/misc/regextester/default.nix b/pkgs/applications/misc/regextester/default.nix index e5900a050efc..05daa180d029 100644 --- a/pkgs/applications/misc/regextester/default.nix +++ b/pkgs/applications/misc/regextester/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A desktop application to test regular expressions interactively"; + mainProgram = "com.github.artemanufrij.regextester"; homepage = "https://github.com/artemanufrij/regextester"; maintainers = with maintainers; [ samdroid-apps ]; platforms = platforms.linux; diff --git a/pkgs/applications/misc/remarkable/restream/default.nix b/pkgs/applications/misc/remarkable/restream/default.nix index c5958aff724c..c9a60d4ce2e8 100644 --- a/pkgs/applications/misc/remarkable/restream/default.nix +++ b/pkgs/applications/misc/remarkable/restream/default.nix @@ -51,6 +51,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "reMarkable screen sharing over SSH"; + mainProgram = "restream"; homepage = "https://github.com/rien/reStream"; license = licenses.mit; maintainers = [ maintainers.cpcloud ]; diff --git a/pkgs/applications/misc/remarkable/rmview/default.nix b/pkgs/applications/misc/remarkable/rmview/default.nix index 24627025ca9f..52ad1dce2688 100644 --- a/pkgs/applications/misc/remarkable/rmview/default.nix +++ b/pkgs/applications/misc/remarkable/rmview/default.nix @@ -24,6 +24,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Fast live viewer for reMarkable 1 and 2"; + mainProgram = "rmview"; homepage = "https://github.com/bordaigorl/rmview"; license = licenses.gpl3Only; maintainers = [ maintainers.nickhu ]; diff --git a/pkgs/applications/misc/remontoire/default.nix b/pkgs/applications/misc/remontoire/default.nix index fdabc149d6db..0aabaababf6a 100644 --- a/pkgs/applications/misc/remontoire/default.nix +++ b/pkgs/applications/misc/remontoire/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A small GTK app for presenting keybinding hints"; + mainProgram = "remontoire"; homepage = "https://github.com/regolith-linux/remontoire"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/misc/resp-app/default.nix b/pkgs/applications/misc/resp-app/default.nix index b95bc98fdd3a..9748ca63c281 100644 --- a/pkgs/applications/misc/resp-app/default.nix +++ b/pkgs/applications/misc/resp-app/default.nix @@ -95,6 +95,7 @@ mkDerivation rec { meta = with lib; { description = "Cross-platform Developer GUI for Redis"; + mainProgram = "resp"; homepage = "https://resp.app/"; license = licenses.gpl3Only; platforms = platforms.linux; diff --git a/pkgs/applications/misc/rofi-screenshot/default.nix b/pkgs/applications/misc/rofi-screenshot/default.nix index fedb03fa613d..6b1861dc8fc5 100644 --- a/pkgs/applications/misc/rofi-screenshot/default.nix +++ b/pkgs/applications/misc/rofi-screenshot/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = { description = "Use rofi to perform various types of screenshots and screen captures"; + mainProgram = "rofi-screenshot"; homepage = "https://github.com/ceuk/rofi-screenshot"; maintainers = with lib.maintainers; [ zopieux ]; platforms = lib.platforms.all; diff --git a/pkgs/applications/misc/rofimoji/default.nix b/pkgs/applications/misc/rofimoji/default.nix index f620bb7bd832..797923226546 100644 --- a/pkgs/applications/misc/rofimoji/default.nix +++ b/pkgs/applications/misc/rofimoji/default.nix @@ -50,6 +50,7 @@ buildPythonApplication rec { meta = with lib; { description = "A simple emoji and character picker for rofi"; + mainProgram = "rofimoji"; homepage = "https://github.com/fdw/rofimoji"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/applications/misc/rootbar/default.nix b/pkgs/applications/misc/rootbar/default.nix index ee536ca7c50f..41582e1b413c 100644 --- a/pkgs/applications/misc/rootbar/default.nix +++ b/pkgs/applications/misc/rootbar/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://hg.sr.ht/~scoopta/rootbar"; description = "A bar for Wayland WMs"; + mainProgram = "rootbar"; longDescription = '' Root Bar is a bar for wlroots based wayland compositors such as sway and was designed to address the lack of good bars for wayland. diff --git a/pkgs/applications/misc/rsibreak/default.nix b/pkgs/applications/misc/rsibreak/default.nix index eb0944fd2a03..24d0a0eaa6ab 100644 --- a/pkgs/applications/misc/rsibreak/default.nix +++ b/pkgs/applications/misc/rsibreak/default.nix @@ -18,6 +18,7 @@ mkDerivation rec { meta = with lib; { description = "Takes care of your health and regularly breaks your work to avoid repetitive strain injury (RSI)"; + mainProgram = "rsibreak"; license = licenses.gpl2; homepage = "https://www.kde.org/applications/utilities/rsibreak/"; maintainers = with maintainers; [ vandenoever ]; diff --git a/pkgs/applications/misc/schemes/default.nix b/pkgs/applications/misc/schemes/default.nix index 41ec97f8b176..b3653d50646f 100644 --- a/pkgs/applications/misc/schemes/default.nix +++ b/pkgs/applications/misc/schemes/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Edit GtkSourceView style-schemes for an application or platform"; + mainProgram = "schemes"; homepage = "https://gitlab.gnome.org/chergert/schemes"; license = licenses.gpl3Plus; maintainers = with maintainers; [ _0xMRTT ]; diff --git a/pkgs/applications/misc/scli/default.nix b/pkgs/applications/misc/scli/default.nix index e493b0188032..4c11333a4a01 100644 --- a/pkgs/applications/misc/scli/default.nix +++ b/pkgs/applications/misc/scli/default.nix @@ -51,6 +51,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Simple terminal user interface for Signal"; + mainProgram = "scli"; homepage = "https://github.com/isamert/scli"; license = licenses.gpl3Only; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/misc/seashells/default.nix b/pkgs/applications/misc/seashells/default.nix index 4ece0036c530..37a90478710c 100644 --- a/pkgs/applications/misc/seashells/default.nix +++ b/pkgs/applications/misc/seashells/default.nix @@ -16,6 +16,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://seashells.io/"; description = "Pipe command-line programs to seashells.io"; + mainProgram = "seashells"; longDescription = '' Official cient for seashells.io, which allows you to view command-line output on the web, in real-time. diff --git a/pkgs/applications/misc/selectdefaultapplication/default.nix b/pkgs/applications/misc/selectdefaultapplication/default.nix index 39470d2b0edd..700ac3e75884 100644 --- a/pkgs/applications/misc/selectdefaultapplication/default.nix +++ b/pkgs/applications/misc/selectdefaultapplication/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A very simple application that lets you define default applications on Linux in a sane way"; + mainProgram = "selectdefaultapplication"; homepage = "https://github.com/sandsmark/selectdefaultapplication"; maintainers = with maintainers; [ nsnelson ]; license = licenses.gpl2; diff --git a/pkgs/applications/misc/sent/default.nix b/pkgs/applications/misc/sent/default.nix index fcf021a5ac7f..dc681b7385dc 100644 --- a/pkgs/applications/misc/sent/default.nix +++ b/pkgs/applications/misc/sent/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple plaintext presentation tool"; + mainProgram = "sent"; homepage = "https://tools.suckless.org/sent/"; license = licenses.isc; platforms = platforms.unix; diff --git a/pkgs/applications/misc/serial-studio/default.nix b/pkgs/applications/misc/serial-studio/default.nix index 1e205618f400..129f3d49eb75 100644 --- a/pkgs/applications/misc/serial-studio/default.nix +++ b/pkgs/applications/misc/serial-studio/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Multi-purpose serial data visualization & processing program"; + mainProgram = "serial-studio"; homepage = "https://serial-studio.github.io/"; license = licenses.mit; maintainers = with maintainers; [ sikmir ]; diff --git a/pkgs/applications/misc/sfwbar/default.nix b/pkgs/applications/misc/sfwbar/default.nix index bd46c449ffab..9f467fdf6a2d 100644 --- a/pkgs/applications/misc/sfwbar/default.nix +++ b/pkgs/applications/misc/sfwbar/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/LBCrion/sfwbar"; description = "A flexible taskbar application for wayland compositors, designed with a stacking layout in mind"; + mainProgram = "sfwbar"; platforms = platforms.linux; maintainers = with maintainers; [ NotAShelf ]; license = licenses.gpl3Only; diff --git a/pkgs/applications/misc/shell-genie/default.nix b/pkgs/applications/misc/shell-genie/default.nix index dd6c723121d4..63294e404821 100644 --- a/pkgs/applications/misc/shell-genie/default.nix +++ b/pkgs/applications/misc/shell-genie/default.nix @@ -44,6 +44,7 @@ buildPythonPackage rec { meta = with lib; { description = "Describe your shell commands in natural language"; + mainProgram = "shell-genie"; homepage = "https://github.com/dylanjcastillo/shell-genie"; license = licenses.mit; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/applications/misc/shipments/default.nix b/pkgs/applications/misc/shipments/default.nix index dccd5dc89c69..792f997c5f85 100644 --- a/pkgs/applications/misc/shipments/default.nix +++ b/pkgs/applications/misc/shipments/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Postal package tracking application"; + mainProgram = "shipments"; homepage = "https://sr.ht/~martijnbraam/shipments/"; changelog = "https://git.sr.ht/~martijnbraam/shipments/refs/${version}"; license = licenses.lgpl3; diff --git a/pkgs/applications/misc/sigal/default.nix b/pkgs/applications/misc/sigal/default.nix index 145c34b7f8c0..1e82fce07898 100644 --- a/pkgs/applications/misc/sigal/default.nix +++ b/pkgs/applications/misc/sigal/default.nix @@ -51,6 +51,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Yet another simple static gallery generator"; + mainProgram = "sigal"; homepage = "http://sigal.saimon.org/"; license = licenses.mit; maintainers = with maintainers; [ domenkozar matthiasbeyer ]; diff --git a/pkgs/applications/misc/siglo/default.nix b/pkgs/applications/misc/siglo/default.nix index 520f4330e503..1231d2fd47fd 100644 --- a/pkgs/applications/misc/siglo/default.nix +++ b/pkgs/applications/misc/siglo/default.nix @@ -61,6 +61,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GTK app to sync InfiniTime watch with PinePhone"; + mainProgram = "siglo"; homepage = "https://github.com/theironrobin/siglo"; changelog = "https://github.com/theironrobin/siglo/tags/v${version}"; license = licenses.mpl20; diff --git a/pkgs/applications/misc/sioyek/default.nix b/pkgs/applications/misc/sioyek/default.nix index 3a59a2542eaf..3cdec7ec291f 100644 --- a/pkgs/applications/misc/sioyek/default.nix +++ b/pkgs/applications/misc/sioyek/default.nix @@ -86,6 +86,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://sioyek.info/"; description = "A PDF viewer designed for research papers and technical books"; + mainProgram = "sioyek"; changelog = "https://github.com/ahrm/sioyek/releases/tag/v${finalAttrs.version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ podocarp ]; diff --git a/pkgs/applications/misc/skytemple/default.nix b/pkgs/applications/misc/skytemple/default.nix index 945ea6e25bdd..b054be4be094 100644 --- a/pkgs/applications/misc/skytemple/default.nix +++ b/pkgs/applications/misc/skytemple/default.nix @@ -65,6 +65,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/SkyTemple/skytemple"; description = "ROM hacking tool for Pokémon Mystery Dungeon Explorers of Sky"; + mainProgram = "skytemple"; license = licenses.gpl3Plus; maintainers = with maintainers; [ xfix marius851000 ]; }; diff --git a/pkgs/applications/misc/sl1-to-photon/default.nix b/pkgs/applications/misc/sl1-to-photon/default.nix index c924a3ec2bb5..e76dff0ca570 100644 --- a/pkgs/applications/misc/sl1-to-photon/default.nix +++ b/pkgs/applications/misc/sl1-to-photon/default.nix @@ -34,6 +34,7 @@ in maintainers = [ maintainers.cab404 ]; license = licenses.gpl3Plus; description = "Tool for converting Slic3r PE's SL1 files to Photon files for the Anycubic Photon 3D-Printer"; + mainProgram = "sl1-to-photon"; homepage = "https://github.com/fookatchu/SL1toPhoton"; }; diff --git a/pkgs/applications/misc/slic3r/default.nix b/pkgs/applications/misc/slic3r/default.nix index 923e480c1f0f..5f0d83b078c8 100644 --- a/pkgs/applications/misc/slic3r/default.nix +++ b/pkgs/applications/misc/slic3r/default.nix @@ -89,6 +89,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "G-code generator for 3D printers"; + mainProgram = "slic3r"; longDescription = '' Slic3r is the tool you need to convert a digital 3D model into printing instructions for your 3D printer. It cuts the model into horizontal diff --git a/pkgs/applications/misc/snapper-gui/default.nix b/pkgs/applications/misc/snapper-gui/default.nix index 4c60e2947b97..c82b0813f78b 100644 --- a/pkgs/applications/misc/snapper-gui/default.nix +++ b/pkgs/applications/misc/snapper-gui/default.nix @@ -34,6 +34,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Graphical interface for snapper"; + mainProgram = "snapper-gui"; longDescription = '' A graphical user interface for the tool snapper for Linux filesystem snapshot management. It can compare snapshots and revert differences between snapshots. diff --git a/pkgs/applications/misc/sqls/default.nix b/pkgs/applications/misc/sqls/default.nix index b6d4f3f180eb..5851ea49289e 100644 --- a/pkgs/applications/misc/sqls/default.nix +++ b/pkgs/applications/misc/sqls/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/sqls-server/sqls"; description = "SQL language server written in Go"; + mainProgram = "sqls"; license = licenses.mit; maintainers = [ maintainers.marsam ]; }; diff --git a/pkgs/applications/misc/sticky/default.nix b/pkgs/applications/misc/sticky/default.nix index 6571bca3bfa6..9e9df71ddf9a 100644 --- a/pkgs/applications/misc/sticky/default.nix +++ b/pkgs/applications/misc/sticky/default.nix @@ -78,6 +78,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A sticky notes app for the linux desktop"; + mainProgram = "sticky"; homepage = "https://github.com/linuxmint/sticky"; license = licenses.gpl2Only; platforms = platforms.linux; diff --git a/pkgs/applications/misc/stylish/default.nix b/pkgs/applications/misc/stylish/default.nix index b1fed22b7ffe..8dce6409bb7c 100644 --- a/pkgs/applications/misc/stylish/default.nix +++ b/pkgs/applications/misc/stylish/default.nix @@ -45,6 +45,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { homepage = "https://github.com/thevinter/styli.sh"; description = "A shell script to manage wallpapers"; + mainProgram = "styli.sh"; longDescription = '' Styli.sh is a Bash script that aims to automate the tedious process of finding new wallpapers, downloading and switching them via the diff --git a/pkgs/applications/misc/subsurface/default.nix b/pkgs/applications/misc/subsurface/default.nix index 6831cea6c4f3..fb028c744751 100644 --- a/pkgs/applications/misc/subsurface/default.nix +++ b/pkgs/applications/misc/subsurface/default.nix @@ -140,6 +140,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A divelog program"; + mainProgram = "subsurface"; longDescription = '' Subsurface can track single- and multi-tank dives using air, Nitrox or TriMix. It allows tracking of dive locations including GPS coordinates (which can also diff --git a/pkgs/applications/misc/sway-launcher-desktop/default.nix b/pkgs/applications/misc/sway-launcher-desktop/default.nix index 525e25ae7e06..f377e493dfd9 100644 --- a/pkgs/applications/misc/sway-launcher-desktop/default.nix +++ b/pkgs/applications/misc/sway-launcher-desktop/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "TUI Application launcher with Desktop Entry support."; + mainProgram = "sway-launcher-desktop"; longDescription = '' This is a TUI-based launcher menu made with bash and the amazing fzf. Despite its name, it does not (read: no longer) depend on the Sway window manager diff --git a/pkgs/applications/misc/system76-keyboard-configurator/default.nix b/pkgs/applications/misc/system76-keyboard-configurator/default.nix index 737c713fb79c..94dc95a466cd 100644 --- a/pkgs/applications/misc/system76-keyboard-configurator/default.nix +++ b/pkgs/applications/misc/system76-keyboard-configurator/default.nix @@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Keyboard configuration application for System76 keyboards and laptops"; + mainProgram = "system76-keyboard-configurator"; homepage = "https://github.com/pop-os/keyboard-configurator"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ mirrexagon ]; diff --git a/pkgs/applications/misc/tasknc/default.nix b/pkgs/applications/misc/tasknc/default.nix index 5250581762b0..236c81da562c 100644 --- a/pkgs/applications/misc/tasknc/default.nix +++ b/pkgs/applications/misc/tasknc/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/lharding/tasknc"; description = "A ncurses wrapper around taskwarrior"; + mainProgram = "tasknc"; maintainers = with maintainers; [ matthiasbeyer infinisil ]; platforms = platforms.linux; # Cannot test others license = licenses.mit; diff --git a/pkgs/applications/misc/taskopen/default.nix b/pkgs/applications/misc/taskopen/default.nix index 54361a0fbbd5..ee40e19261a9 100644 --- a/pkgs/applications/misc/taskopen/default.nix +++ b/pkgs/applications/misc/taskopen/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Script for taking notes and open urls with taskwarrior"; + mainProgram = "taskopen"; homepage = "https://github.com/ValiValpas/taskopen"; platforms = platforms.linux; license = licenses.gpl2Plus; diff --git a/pkgs/applications/misc/tdrop/default.nix b/pkgs/applications/misc/tdrop/default.nix index 34c01a197591..e39dd2462321 100644 --- a/pkgs/applications/misc/tdrop/default.nix +++ b/pkgs/applications/misc/tdrop/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Glorified WM-Independent Dropdown Creator"; + mainProgram = "tdrop"; homepage = "https://github.com/noctuid/tdrop"; license = licenses.bsd2; platforms = platforms.linux; diff --git a/pkgs/applications/misc/tellico/default.nix b/pkgs/applications/misc/tellico/default.nix index 52b513b89d6d..b990f0ddb0d2 100644 --- a/pkgs/applications/misc/tellico/default.nix +++ b/pkgs/applications/misc/tellico/default.nix @@ -61,6 +61,7 @@ mkDerivation rec { meta = with lib; { description = "Collection management software, free and simple"; + mainProgram = "tellico"; homepage = "https://tellico-project.org/"; license = with licenses; [ gpl2Only gpl3Only lgpl2Only ]; maintainers = with maintainers; [ numkem ]; diff --git a/pkgs/applications/misc/termdown/default.nix b/pkgs/applications/misc/termdown/default.nix index f28bd665a5e1..d2d592dce7e9 100644 --- a/pkgs/applications/misc/termdown/default.nix +++ b/pkgs/applications/misc/termdown/default.nix @@ -22,6 +22,7 @@ buildPythonApplication rec { meta = with lib; { description = "Starts a countdown to or from TIMESPEC"; + mainProgram = "termdown"; longDescription = "Countdown timer and stopwatch in your terminal"; homepage = "https://github.com/trehn/termdown"; license = licenses.gpl3; diff --git a/pkgs/applications/misc/termpdf.py/default.nix b/pkgs/applications/misc/termpdf.py/default.nix index e51f7633e013..244bfee24032 100644 --- a/pkgs/applications/misc/termpdf.py/default.nix +++ b/pkgs/applications/misc/termpdf.py/default.nix @@ -32,6 +32,7 @@ buildPythonApplication { A graphical pdf (and epub, cbz, ...) reader that works inside the kitty terminal. ''; + mainProgram = "termpdf.py"; homepage = "https://github.com/dsanson/termpdf.py"; maintainers = with maintainers; [ teto ]; license = licenses.mit; diff --git a/pkgs/applications/misc/themechanger/default.nix b/pkgs/applications/misc/themechanger/default.nix index 945bd8de5420..652fe267852a 100644 --- a/pkgs/applications/misc/themechanger/default.nix +++ b/pkgs/applications/misc/themechanger/default.nix @@ -53,6 +53,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/ALEX11BR/ThemeChanger"; description = "A theme changing utility for Linux"; + mainProgram = "themechanger"; longDescription = '' This app is a theme changing utility for Linux, BSDs, and whatnots. It lets the user change GTK 2/3/4, Kvantum, icon and cursor themes, edit GTK CSS with live preview, and set some related options. diff --git a/pkgs/applications/misc/thinking-rock/default.nix b/pkgs/applications/misc/thinking-rock/default.nix index bf53848b5d38..2c31d2b5725d 100644 --- a/pkgs/applications/misc/thinking-rock/default.nix +++ b/pkgs/applications/misc/thinking-rock/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Task management system"; + mainProgram = "thinkingrock"; homepage = "http://www.thinkingrock.com.au/"; license = licenses.cddl; platforms = platforms.unix; diff --git a/pkgs/applications/misc/tipp10/default.nix b/pkgs/applications/misc/tipp10/default.nix index 76ea8fb7fc0e..d61e0deabbd7 100644 --- a/pkgs/applications/misc/tipp10/default.nix +++ b/pkgs/applications/misc/tipp10/default.nix @@ -17,6 +17,7 @@ mkDerivation rec { meta = with lib; { description = "Learn and train typing with the ten-finger system"; + mainProgram = "tipp10"; homepage = "https://gitlab.com/tipp10/tipp10"; license = licenses.gpl2Only; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/misc/tiv/default.nix b/pkgs/applications/misc/tiv/default.nix index 30117180b74c..4bfb705ae861 100644 --- a/pkgs/applications/misc/tiv/default.nix +++ b/pkgs/applications/misc/tiv/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/stefanhaustein/TerminalImageViewer"; description = "Small C++ program to display images in a (modern) terminal using RGB ANSI codes and unicode block graphics characters"; + mainProgram = "tiv"; license = licenses.asl20; maintainers = with maintainers; [ magnetophon ]; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/applications/misc/toot/default.nix b/pkgs/applications/misc/toot/default.nix index dd90ffe370e6..496644ff4d42 100644 --- a/pkgs/applications/misc/toot/default.nix +++ b/pkgs/applications/misc/toot/default.nix @@ -27,6 +27,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Mastodon CLI interface"; + mainProgram = "toot"; homepage = "https://github.com/ihabunek/toot"; license = licenses.gpl3; maintainers = [ maintainers.matthiasbeyer ]; diff --git a/pkgs/applications/misc/topydo/default.nix b/pkgs/applications/misc/topydo/default.nix index 9ece11043fa0..59e93dcb5dea 100644 --- a/pkgs/applications/misc/topydo/default.nix +++ b/pkgs/applications/misc/topydo/default.nix @@ -44,6 +44,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "A cli todo application compatible with the todo.txt format"; + mainProgram = "topydo"; homepage = "https://github.com/topydo/topydo"; changelog = "https://github.com/topydo/topydo/blob/${src.rev}/CHANGES.md"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/misc/tpmmanager/default.nix b/pkgs/applications/misc/tpmmanager/default.nix index 48ff9675a78d..90d1cc01ffb4 100644 --- a/pkgs/applications/misc/tpmmanager/default.nix +++ b/pkgs/applications/misc/tpmmanager/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://projects.sirrix.com/trac/tpmmanager"; description = "Tool for managing the TPM"; + mainProgram = "tpmmanager"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [ ]; platforms = with lib.platforms; linux; diff --git a/pkgs/applications/misc/tuhi/default.nix b/pkgs/applications/misc/tuhi/default.nix index 1b26f455649a..b3334c59c4a0 100644 --- a/pkgs/applications/misc/tuhi/default.nix +++ b/pkgs/applications/misc/tuhi/default.nix @@ -56,6 +56,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "DBus daemon to access Wacom SmartPad devices"; + mainProgram = "tuhi"; homepage = "https://github.com/tuhiproject/tuhi"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/applications/misc/tuir/default.nix b/pkgs/applications/misc/tuir/default.nix index d4188829d40b..a1c4f60c4e65 100644 --- a/pkgs/applications/misc/tuir/default.nix +++ b/pkgs/applications/misc/tuir/default.nix @@ -25,6 +25,7 @@ buildPythonApplication rec { meta = with lib; { description = "Browse Reddit from your Terminal (fork of rtv)"; + mainProgram = "tuir"; homepage = "https://gitlab.com/ajak/tuir/"; license = licenses.mit; maintainers = with maintainers; [ Br1ght0ne matthiasbeyer ]; diff --git a/pkgs/applications/misc/twitch-chat-downloader/default.nix b/pkgs/applications/misc/twitch-chat-downloader/default.nix index 61fb05250712..a602c31008de 100644 --- a/pkgs/applications/misc/twitch-chat-downloader/default.nix +++ b/pkgs/applications/misc/twitch-chat-downloader/default.nix @@ -31,6 +31,7 @@ buildPythonApplication rec { meta = with lib; { description = "Twitch Chat Downloader"; + mainProgram = "tcd"; homepage = "https://github.com/TheDrHax/Twitch-Chat-Downloader"; license = licenses.mit; maintainers = with maintainers; [ marsam ]; diff --git a/pkgs/applications/misc/tzupdate/default.nix b/pkgs/applications/misc/tzupdate/default.nix index 7c49696141c6..7ca8c9f97345 100644 --- a/pkgs/applications/misc/tzupdate/default.nix +++ b/pkgs/applications/misc/tzupdate/default.nix @@ -16,6 +16,7 @@ buildPythonApplication rec { meta = with lib; { description = "Update timezone information based on geoip"; + mainProgram = "tzupdate"; homepage = "https://github.com/cdown/tzupdate"; maintainers = [ maintainers.michaelpj ]; license = licenses.unlicense; diff --git a/pkgs/applications/misc/ubpm/default.nix b/pkgs/applications/misc/ubpm/default.nix index 6e0d7f7f25f5..02e8411999fe 100644 --- a/pkgs/applications/misc/ubpm/default.nix +++ b/pkgs/applications/misc/ubpm/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://codeberg.org/LazyT/ubpm"; description = "Universal Blood Pressure Manager"; + mainProgram = "ubpm"; license = licenses.gpl3Only; maintainers = with maintainers; [ kurnevsky ]; }; diff --git a/pkgs/applications/misc/valent/default.nix b/pkgs/applications/misc/valent/default.nix index fbd93fe504cc..1dad31d2539c 100644 --- a/pkgs/applications/misc/valent/default.nix +++ b/pkgs/applications/misc/valent/default.nix @@ -62,6 +62,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An implementation of the KDE Connect protocol, built on GNOME platform libraries"; + mainProgram = "valent"; longDescription = '' Note that you have to open firewall ports for other devices to connect to it. Use either: diff --git a/pkgs/applications/misc/variety/default.nix b/pkgs/applications/misc/variety/default.nix index cf0272f075e2..e26496718f39 100644 --- a/pkgs/applications/misc/variety/default.nix +++ b/pkgs/applications/misc/variety/default.nix @@ -82,6 +82,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/varietywalls/variety"; description = "A wallpaper manager for Linux systems"; + mainProgram = "variety"; longDescription = '' Variety is a wallpaper manager for Linux systems. It supports numerous desktops and wallpaper sources, including local files and online services: diff --git a/pkgs/applications/misc/vhs/default.nix b/pkgs/applications/misc/vhs/default.nix index ae0466c1faaa..43c3aea38e82 100644 --- a/pkgs/applications/misc/vhs/default.nix +++ b/pkgs/applications/misc/vhs/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { description = "A tool for generating terminal GIFs with code"; + mainProgram = "vhs"; homepage = "https://github.com/charmbracelet/vhs"; changelog = "https://github.com/charmbracelet/vhs/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/applications/misc/viking/default.nix b/pkgs/applications/misc/viking/default.nix index be642790f386..8a987ed24672 100644 --- a/pkgs/applications/misc/viking/default.nix +++ b/pkgs/applications/misc/viking/default.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GPS data editor and analyzer"; + mainProgram = "viking"; longDescription = '' Viking is a free/open source program to manage GPS data. You can import and plot tracks and waypoints, show Openstreetmaps diff --git a/pkgs/applications/misc/vit/default.nix b/pkgs/applications/misc/vit/default.nix index b7594add350a..7bd7501f2296 100644 --- a/pkgs/applications/misc/vit/default.nix +++ b/pkgs/applications/misc/vit/default.nix @@ -33,6 +33,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/scottkosty/vit"; description = "Visual Interactive Taskwarrior"; + mainProgram = "vit"; maintainers = with maintainers; [ dtzWill arcnmx ]; platforms = platforms.all; license = licenses.mit; diff --git a/pkgs/applications/misc/vym/default.nix b/pkgs/applications/misc/vym/default.nix index 4815a7bc10af..e58b98c4e070 100644 --- a/pkgs/applications/misc/vym/default.nix +++ b/pkgs/applications/misc/vym/default.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "http://www.insilmaril.de/vym/"; description = "A mind-mapping software"; + mainProgram = "vym"; longDescription = '' VYM (View Your Mind) is a tool to generate and manipulate maps which show your thoughts. Such maps can help you to improve your creativity and diff --git a/pkgs/applications/misc/watchmate/default.nix b/pkgs/applications/misc/watchmate/default.nix index b78d7f5277ca..c668aea45531 100644 --- a/pkgs/applications/misc/watchmate/default.nix +++ b/pkgs/applications/misc/watchmate/default.nix @@ -51,6 +51,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "PineTime smart watch companion app for Linux phone and desktop"; + mainProgram = "watchmate"; homepage = "https://github.com/azymohliad/watchmate"; changelog = "https://github.com/azymohliad/watchmate/raw/v${version}/CHANGELOG.md"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/misc/watershot/default.nix b/pkgs/applications/misc/watershot/default.nix index 6a6feb209d05..6d29fab82527 100644 --- a/pkgs/applications/misc/watershot/default.nix +++ b/pkgs/applications/misc/watershot/default.nix @@ -33,6 +33,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { platforms = with platforms; linux; description = "A simple wayland native screenshot tool"; + mainProgram = "watershot"; homepage = "https://github.com/Kirottu/watershot"; license = licenses.gpl3Only; maintainers = with maintainers; [ lord-valen ]; diff --git a/pkgs/applications/misc/waycorner/default.nix b/pkgs/applications/misc/waycorner/default.nix index 66e5660042ad..01b1b80277cb 100644 --- a/pkgs/applications/misc/waycorner/default.nix +++ b/pkgs/applications/misc/waycorner/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Hot corners for Wayland"; + mainProgram = "waycorner"; changelog = "https://github.com/AndreasBackx/waycorner/blob/main/CHANGELOG.md"; homepage = "https://github.com/AndreasBackx/waycorner"; platforms = platforms.linux; diff --git a/pkgs/applications/misc/waypaper/default.nix b/pkgs/applications/misc/waypaper/default.nix index 1b2ca4843461..36f79865d31a 100644 --- a/pkgs/applications/misc/waypaper/default.nix +++ b/pkgs/applications/misc/waypaper/default.nix @@ -42,6 +42,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { changelog = "https://github.com/anufrievroman/waypaper/releases/tag/${version}"; description = "GUI wallpaper setter for Wayland-based window managers"; + mainProgram = "waypaper"; longDescription = '' GUI wallpaper setter for Wayland-based window managers that works as a frontend for popular backends like swaybg and swww. diff --git a/pkgs/applications/misc/weather/default.nix b/pkgs/applications/misc/weather/default.nix index 290de03f39ff..b17bca38d6e9 100644 --- a/pkgs/applications/misc/weather/default.nix +++ b/pkgs/applications/misc/weather/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://fungi.yuggoth.org/weather"; description = "Quick access to current weather conditions and forecasts"; + mainProgram = "weather"; license = licenses.isc; maintainers = [ maintainers.matthiasbeyer ]; platforms = platforms.unix; diff --git a/pkgs/applications/misc/webfontkitgenerator/default.nix b/pkgs/applications/misc/webfontkitgenerator/default.nix index 57d006a5b569..c4a3a7b86e98 100644 --- a/pkgs/applications/misc/webfontkitgenerator/default.nix +++ b/pkgs/applications/misc/webfontkitgenerator/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Webfont Kit Generator is a simple utility that allows you to generate woff, woff2 and the necessary CSS boilerplate from non-web font formats (otf & ttf)"; + mainProgram = "webfontkitgenerator"; homepage = "https://apps.gnome.org/app/com.rafaelmardojai.WebfontKitGenerator"; license = licenses.gpl3Plus; maintainers = with maintainers; [ benediktbroich ]; diff --git a/pkgs/applications/misc/whalebird/default.nix b/pkgs/applications/misc/whalebird/default.nix index 83fcccbf3761..83b310ef885e 100644 --- a/pkgs/applications/misc/whalebird/default.nix +++ b/pkgs/applications/misc/whalebird/default.nix @@ -103,6 +103,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Single-column Fediverse client for desktop"; + mainProgram = "whalebird"; homepage = "https://whalebird.social"; changelog = "https://github.com/h3poteto/whalebird-desktop/releases/tag/v${version}"; license = licenses.gpl3Only; diff --git a/pkgs/applications/misc/wikicurses/default.nix b/pkgs/applications/misc/wikicurses/default.nix index ec7dff141439..5f20f314d3f4 100644 --- a/pkgs/applications/misc/wikicurses/default.nix +++ b/pkgs/applications/misc/wikicurses/default.nix @@ -25,6 +25,7 @@ pythonPackages.buildPythonApplication rec { meta = { description = "A simple curses interface for MediaWiki sites such as Wikipedia"; + mainProgram = "wikicurses"; homepage = "https://github.com/ids1024/wikicurses/"; license = lib.licenses.mit; platforms = lib.platforms.unix; diff --git a/pkgs/applications/misc/wordbook/default.nix b/pkgs/applications/misc/wordbook/default.nix index 757fed5265f2..314ae208f9d5 100644 --- a/pkgs/applications/misc/wordbook/default.nix +++ b/pkgs/applications/misc/wordbook/default.nix @@ -61,6 +61,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Offline English-English dictionary application built for GNOME"; + mainProgram = "wordbook"; homepage = "https://github.com/fushinari/Wordbook"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/misc/workrave/default.nix b/pkgs/applications/misc/workrave/default.nix index 7d85f9c7a234..c4a5e692cfca 100644 --- a/pkgs/applications/misc/workrave/default.nix +++ b/pkgs/applications/misc/workrave/default.nix @@ -88,6 +88,7 @@ stdenv.mkDerivation rec { meta = with lib; { broken = (stdenv.isLinux && stdenv.isAarch64); description = "A program to help prevent Repetitive Strain Injury"; + mainProgram = "workrave"; longDescription = '' Workrave is a program that assists in the recovery and prevention of Repetitive Strain Injury (RSI). The program frequently alerts you to diff --git a/pkgs/applications/misc/wpm/default.nix b/pkgs/applications/misc/wpm/default.nix index b6db073eb945..f7786471839a 100644 --- a/pkgs/applications/misc/wpm/default.nix +++ b/pkgs/applications/misc/wpm/default.nix @@ -21,6 +21,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Console app for measuring typing speed in words per minute (WPM)"; + mainProgram = "wpm"; homepage = "https://pypi.org/project/wpm"; license = licenses.agpl3Only; maintainers = with maintainers; [ alejandrosame ]; diff --git a/pkgs/applications/misc/xca/default.nix b/pkgs/applications/misc/xca/default.nix index f5c8e90d2703..7b339a868002 100644 --- a/pkgs/applications/misc/xca/default.nix +++ b/pkgs/applications/misc/xca/default.nix @@ -30,6 +30,7 @@ mkDerivation rec { meta = with lib; { broken = stdenv.isDarwin; description = "An x509 certificate generation tool, handling RSA, DSA and EC keys, certificate signing requests (PKCS#10) and CRLs"; + mainProgram = "xca"; homepage = "https://hohnstaedt.de/xca/"; license = licenses.bsd3; maintainers = with maintainers; [ offline peterhoeg ]; diff --git a/pkgs/applications/misc/xdgmenumaker/default.nix b/pkgs/applications/misc/xdgmenumaker/default.nix index a9ccb2399daf..130b97189a62 100644 --- a/pkgs/applications/misc/xdgmenumaker/default.nix +++ b/pkgs/applications/misc/xdgmenumaker/default.nix @@ -56,6 +56,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Command line tool that generates XDG menus for several window managers"; + mainProgram = "xdgmenumaker"; homepage = "https://github.com/gapan/xdgmenumaker"; license = licenses.gpl3Plus; # NOTE: exclude darwin from platforms because Travis reports hash mismatch diff --git a/pkgs/applications/misc/xfontsel/default.nix b/pkgs/applications/misc/xfontsel/default.nix index 6bcab225c25a..5bfdb209c1ff 100644 --- a/pkgs/applications/misc/xfontsel/default.nix +++ b/pkgs/applications/misc/xfontsel/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.x.org/"; description = "Allows testing the fonts available in an X server"; + mainProgram = "xfontsel"; license = with licenses; [ x11 smlnj mit ]; maintainers = with maintainers; [ viric ]; platforms = platforms.unix; diff --git a/pkgs/applications/misc/xmrig/proxy.nix b/pkgs/applications/misc/xmrig/proxy.nix index 0acaece4cc02..23b6c07ba6c6 100644 --- a/pkgs/applications/misc/xmrig/proxy.nix +++ b/pkgs/applications/misc/xmrig/proxy.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Monero (XMR) Stratum protocol proxy"; + mainProgram = "xmrig-proxy"; homepage = "https://github.com/xmrig/xmrig-proxy"; license = licenses.gpl3Plus; maintainers = with maintainers; [ aij ]; diff --git a/pkgs/applications/misc/xneur/default.nix b/pkgs/applications/misc/xneur/default.nix index eab545cf0818..e282d84f9c93 100644 --- a/pkgs/applications/misc/xneur/default.nix +++ b/pkgs/applications/misc/xneur/default.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Utility for switching between keyboard layouts"; + mainProgram = "xneur"; homepage = "https://xneur.ru"; license = licenses.gpl2Plus; maintainers = [ maintainers.raskin ]; diff --git a/pkgs/applications/misc/xpad/default.nix b/pkgs/applications/misc/xpad/default.nix index 2a14cbe24fb5..13b29491bf3f 100644 --- a/pkgs/applications/misc/xpad/default.nix +++ b/pkgs/applications/misc/xpad/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A sticky note application for jotting down things to remember"; + mainProgram = "xpad"; homepage = "https://launchpad.net/xpad"; license = licenses.gpl3; platforms = platforms.linux; diff --git a/pkgs/applications/misc/xsuspender/default.nix b/pkgs/applications/misc/xsuspender/default.nix index b47bbef0188f..178522fbf518 100644 --- a/pkgs/applications/misc/xsuspender/default.nix +++ b/pkgs/applications/misc/xsuspender/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Auto-suspend inactive X11 applications"; + mainProgram = "xsuspender"; homepage = "https://kernc.github.io/xsuspender/"; license = licenses.wtfpl; maintainers = with maintainers; [ offline ]; diff --git a/pkgs/applications/misc/xygrib/default.nix b/pkgs/applications/misc/xygrib/default.nix index f7b3f6837f7c..4ce68f77e25b 100644 --- a/pkgs/applications/misc/xygrib/default.nix +++ b/pkgs/applications/misc/xygrib/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://opengribs.org"; description = "Weather Forecast Visualization"; + mainProgram = "xygrib"; longDescription = '' XyGrib is a leading opensource weather visualization package. It interacts with OpenGribs's Grib server providing a choice diff --git a/pkgs/applications/misc/ydict/default.nix b/pkgs/applications/misc/ydict/default.nix index 1c57456f4a19..0d52c230a423 100644 --- a/pkgs/applications/misc/ydict/default.nix +++ b/pkgs/applications/misc/ydict/default.nix @@ -36,6 +36,7 @@ buildGoModule rec { meta = with lib; { description = "Yet another command-line Youdao Chinese dictionary"; + mainProgram = "ydict"; homepage = "https://github.com/TimothyYe/ydict"; license = licenses.mit; maintainers = with maintainers; [ zendo ]; diff --git a/pkgs/applications/misc/yewtube/default.nix b/pkgs/applications/misc/yewtube/default.nix index 14f50e3be290..26ce9f8f64a2 100644 --- a/pkgs/applications/misc/yewtube/default.nix +++ b/pkgs/applications/misc/yewtube/default.nix @@ -40,6 +40,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Terminal based YouTube player and downloader, forked from mps-youtube"; + mainProgram = "yt"; homepage = "https://github.com/mps-youtube/yewtube"; license = licenses.gpl3Plus; maintainers = with maintainers; [ fgaz koral ]; diff --git a/pkgs/applications/misc/yubioath-flutter/default.nix b/pkgs/applications/misc/yubioath-flutter/default.nix index 4895f749ec8d..0611655da1bc 100644 --- a/pkgs/applications/misc/yubioath-flutter/default.nix +++ b/pkgs/applications/misc/yubioath-flutter/default.nix @@ -84,6 +84,7 @@ flutter.buildFlutterApplication rec { meta = with lib; { description = "Yubico Authenticator for Desktop"; + mainProgram = "yubioath-flutter"; homepage = "https://github.com/Yubico/yubioath-flutter"; license = licenses.asl20; maintainers = with maintainers; [ lukegb ]; diff --git a/pkgs/applications/misc/zk-shell/default.nix b/pkgs/applications/misc/zk-shell/default.nix index 9f6816f00dda..e565e1ecda75 100644 --- a/pkgs/applications/misc/zk-shell/default.nix +++ b/pkgs/applications/misc/zk-shell/default.nix @@ -25,6 +25,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A powerful & scriptable shell for Apache ZooKeeper"; + mainProgram = "zk-shell"; homepage = "https://github.com/rgs1/zk_shell"; license = licenses.asl20; maintainers = [ maintainers.mahe ]; diff --git a/pkgs/applications/misc/zscroll/default.nix b/pkgs/applications/misc/zscroll/default.nix index bc53ade06a78..ccdac791e336 100644 --- a/pkgs/applications/misc/zscroll/default.nix +++ b/pkgs/applications/misc/zscroll/default.nix @@ -20,6 +20,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A text scroller for use with panels and shells"; + mainProgram = "zscroll"; homepage = "https://github.com/noctuid/zscroll"; license = licenses.gpl3Plus; platforms = platforms.all; diff --git a/pkgs/applications/networking/adguardian/default.nix b/pkgs/applications/networking/adguardian/default.nix index 7b85ee2c000c..21123d47e5d1 100644 --- a/pkgs/applications/networking/adguardian/default.nix +++ b/pkgs/applications/networking/adguardian/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Terminal-based, real-time traffic monitoring and statistics for your AdGuard Home instance"; + mainProgram = "adguardian"; homepage = "https://github.com/Lissy93/AdGuardian-Term"; license = licenses.mit; maintainers = with maintainers; [ GaetanLepage ]; diff --git a/pkgs/applications/networking/browsers/amfora/default.nix b/pkgs/applications/networking/browsers/amfora/default.nix index 7fd29f1a3942..fe778ded9e3b 100644 --- a/pkgs/applications/networking/browsers/amfora/default.nix +++ b/pkgs/applications/networking/browsers/amfora/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "A fancy terminal browser for the Gemini protocol"; + mainProgram = "amfora"; homepage = "https://github.com/makeworld-the-better-one/amfora"; license = with licenses; [ gpl3 ]; maintainers = with maintainers; [ deifactor ]; diff --git a/pkgs/applications/networking/browsers/asuka/default.nix b/pkgs/applications/networking/browsers/asuka/default.nix index a89d2bb36e87..f36cf28b2d05 100644 --- a/pkgs/applications/networking/browsers/asuka/default.nix +++ b/pkgs/applications/networking/browsers/asuka/default.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Gemini Project client written in Rust with NCurses"; + mainProgram = "asuka"; homepage = "https://git.sr.ht/~julienxx/asuka"; license = licenses.mit; platforms = platforms.unix; diff --git a/pkgs/applications/networking/browsers/av-98/default.nix b/pkgs/applications/networking/browsers/av-98/default.nix index afd2e9b9c1a7..d17dfb8e28cb 100644 --- a/pkgs/applications/networking/browsers/av-98/default.nix +++ b/pkgs/applications/networking/browsers/av-98/default.nix @@ -19,6 +19,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://tildegit.org/solderpunk/AV-98"; description = "Experimental console client for the Gemini protocol"; + mainProgram = "av98"; license = licenses.bsd2; maintainers = with maintainers; [ ehmry ]; }; diff --git a/pkgs/applications/networking/browsers/badwolf/default.nix b/pkgs/applications/networking/browsers/badwolf/default.nix index 41308634186d..2200f878172b 100644 --- a/pkgs/applications/networking/browsers/badwolf/default.nix +++ b/pkgs/applications/networking/browsers/badwolf/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Minimalist and privacy-oriented WebKitGTK+ browser"; + mainProgram = "badwolf"; homepage = "https://hacktivis.me/projects/badwolf"; license = licenses.bsd3; platforms = platforms.linux; diff --git a/pkgs/applications/networking/browsers/bombadillo/default.nix b/pkgs/applications/networking/browsers/bombadillo/default.nix index 96a968a50fe9..f96d6014b5bc 100644 --- a/pkgs/applications/networking/browsers/bombadillo/default.nix +++ b/pkgs/applications/networking/browsers/bombadillo/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "Non-web client for the terminal, supporting Gopher, Gemini and more"; + mainProgram = "bombadillo"; homepage = "https://bombadillo.colorfield.space/"; license = licenses.gpl3; maintainers = with maintainers; [ ehmry ]; diff --git a/pkgs/applications/networking/browsers/browsh/default.nix b/pkgs/applications/networking/browsers/browsh/default.nix index ee04f9ed04dc..2eeef882d630 100644 --- a/pkgs/applications/networking/browsers/browsh/default.nix +++ b/pkgs/applications/networking/browsers/browsh/default.nix @@ -38,6 +38,7 @@ buildGoModule rec { meta = with lib; { description = "A fully-modern text-based browser, rendering to TTY and browsers"; + mainProgram = "browsh"; homepage = "https://www.brow.sh/"; maintainers = with maintainers; [ kalbasit siraben ]; license = lib.licenses.lgpl21; diff --git a/pkgs/applications/networking/browsers/castor/default.nix b/pkgs/applications/networking/browsers/castor/default.nix index 6a898fb0c95d..6d35a7091e8f 100644 --- a/pkgs/applications/networking/browsers/castor/default.nix +++ b/pkgs/applications/networking/browsers/castor/default.nix @@ -44,6 +44,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A graphical client for plain-text protocols written in Rust with GTK. It currently supports the Gemini, Gopher and Finger protocols"; + mainProgram = "castor"; homepage = "https://sr.ht/~julienxx/Castor"; license = licenses.mit; maintainers = with maintainers; [ fgaz ]; diff --git a/pkgs/applications/networking/browsers/elinks/default.nix b/pkgs/applications/networking/browsers/elinks/default.nix index 35f33c997294..8a129f2fdab8 100644 --- a/pkgs/applications/networking/browsers/elinks/default.nix +++ b/pkgs/applications/networking/browsers/elinks/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Full-featured text-mode web browser"; + mainProgram = "elinks"; homepage = "https://github.com/rkd77/elinks"; license = licenses.gpl2; platforms = with platforms; linux ++ darwin; diff --git a/pkgs/applications/networking/browsers/eolie/default.nix b/pkgs/applications/networking/browsers/eolie/default.nix index 0508b4a19ef3..4b9270b7d518 100644 --- a/pkgs/applications/networking/browsers/eolie/default.nix +++ b/pkgs/applications/networking/browsers/eolie/default.nix @@ -71,6 +71,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "A new GNOME web browser"; + mainProgram = "eolie"; homepage = "https://wiki.gnome.org/Apps/Eolie"; license = licenses.gpl3Plus; maintainers = with maintainers; [ samdroid-apps ]; diff --git a/pkgs/applications/networking/browsers/kristall/default.nix b/pkgs/applications/networking/browsers/kristall/default.nix index 1435d2472635..3515f0e30e01 100644 --- a/pkgs/applications/networking/browsers/kristall/default.nix +++ b/pkgs/applications/networking/browsers/kristall/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Graphical small-internet client, supports gemini, http, https, gopher, finger"; + mainProgram = "kristall"; homepage = "https://random-projects.net/projects/kristall.gemini"; maintainers = with maintainers; [ ehmry ]; license = licenses.gpl3Only; diff --git a/pkgs/applications/networking/browsers/litebrowser/default.nix b/pkgs/applications/networking/browsers/litebrowser/default.nix index 2158d0bb2f57..d1ffce7e6e5e 100644 --- a/pkgs/applications/networking/browsers/litebrowser/default.nix +++ b/pkgs/applications/networking/browsers/litebrowser/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A simple browser based on the litehtml engine"; + mainProgram = "litebrowser"; homepage = "https://github.com/litehtml/litebrowser-linux"; license = licenses.bsd3; platforms = platforms.unix; diff --git a/pkgs/applications/networking/browsers/luakit/default.nix b/pkgs/applications/networking/browsers/luakit/default.nix index 66188f174753..a861f2f44bfc 100644 --- a/pkgs/applications/networking/browsers/luakit/default.nix +++ b/pkgs/applications/networking/browsers/luakit/default.nix @@ -76,6 +76,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://luakit.github.io/"; description = "Fast, small, webkit-based browser framework extensible in Lua"; + mainProgram = "luakit"; longDescription = '' Luakit is a highly configurable browser framework based on the WebKit web content engine and the GTK+ toolkit. It is very fast, extensible with Lua, diff --git a/pkgs/applications/networking/browsers/midori/default.nix b/pkgs/applications/networking/browsers/midori/default.nix index 187914740f25..3bf46be68319 100644 --- a/pkgs/applications/networking/browsers/midori/default.nix +++ b/pkgs/applications/networking/browsers/midori/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Lightweight WebKitGTK web browser"; + mainProgram = "midori"; homepage = "https://www.midori-browser.org/"; license = with licenses; [ lgpl21Plus ]; platforms = with platforms; linux; diff --git a/pkgs/applications/networking/browsers/mullvad-browser/default.nix b/pkgs/applications/networking/browsers/mullvad-browser/default.nix index c74677490d5e..9bb6fe779832 100644 --- a/pkgs/applications/networking/browsers/mullvad-browser/default.nix +++ b/pkgs/applications/networking/browsers/mullvad-browser/default.nix @@ -256,6 +256,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Privacy-focused browser made in a collaboration between The Tor Project and Mullvad"; + mainProgram = "mullvad-browser"; homepage = "https://mullvad.net/en/browser"; platforms = attrNames sources; maintainers = with maintainers; [ felschr panicgh ]; diff --git a/pkgs/applications/networking/browsers/netsurf/browser.nix b/pkgs/applications/networking/browsers/netsurf/browser.nix index 0297301096d6..6feb02faa9d2 100644 --- a/pkgs/applications/networking/browsers/netsurf/browser.nix +++ b/pkgs/applications/networking/browsers/netsurf/browser.nix @@ -134,6 +134,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://www.netsurf-browser.org/"; description = "A free, open source, small web browser"; + mainProgram = "netsurf-gtk3"; longDescription = '' NetSurf is a free, open source web browser. It is written in C and released under the GNU Public Licence version 2. NetSurf has its own diff --git a/pkgs/applications/networking/browsers/netsurf/nsgenbind.nix b/pkgs/applications/networking/browsers/netsurf/nsgenbind.nix index fc2b99280380..0ad77b07ca40 100644 --- a/pkgs/applications/networking/browsers/netsurf/nsgenbind.nix +++ b/pkgs/applications/networking/browsers/netsurf/nsgenbind.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://www.netsurf-browser.org/"; description = "Generator for JavaScript bindings for netsurf browser"; + mainProgram = "nsgenbind"; license = lib.licenses.mit; inherit (buildsystem.meta) maintainers platforms; }; diff --git a/pkgs/applications/networking/browsers/nyxt/default.nix b/pkgs/applications/networking/browsers/nyxt/default.nix index ecc75cd5cd30..6a990201c75d 100644 --- a/pkgs/applications/networking/browsers/nyxt/default.nix +++ b/pkgs/applications/networking/browsers/nyxt/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Infinitely extensible web-browser (with Lisp development files using WebKitGTK platform port)"; + mainProgram = "nyxt"; homepage = "https://nyxt.atlas.engineer"; license = licenses.bsd3; maintainers = with maintainers; [ lewo dariof4 ]; diff --git a/pkgs/applications/networking/browsers/qtchan/default.nix b/pkgs/applications/networking/browsers/qtchan/default.nix index 8ad81139fbe9..eb2e9789caa5 100644 --- a/pkgs/applications/networking/browsers/qtchan/default.nix +++ b/pkgs/applications/networking/browsers/qtchan/default.nix @@ -22,6 +22,7 @@ mkDerivation rec { meta = with lib; { description = "4chan browser in qt5"; + mainProgram = "qtchan"; homepage = "https://github.com/siavash119/qtchan"; license = licenses.mit; maintainers = with maintainers; [ Madouura ]; diff --git a/pkgs/applications/networking/browsers/surf/default.nix b/pkgs/applications/networking/browsers/surf/default.nix index 6573821d0598..012a86aadb38 100644 --- a/pkgs/applications/networking/browsers/surf/default.nix +++ b/pkgs/applications/networking/browsers/surf/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple web browser based on WebKitGTK"; + mainProgram = "surf"; longDescription = '' surf is a simple web browser based on WebKitGTK. It is able to display websites and follow links. It supports the XEmbed protocol which makes it diff --git a/pkgs/applications/networking/browsers/tor-browser/default.nix b/pkgs/applications/networking/browsers/tor-browser/default.nix index 41d22dc39aa3..5e150662274b 100644 --- a/pkgs/applications/networking/browsers/tor-browser/default.nix +++ b/pkgs/applications/networking/browsers/tor-browser/default.nix @@ -323,6 +323,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Privacy-focused browser routing traffic through the Tor network"; + mainProgram = "tor-browser"; homepage = "https://www.torproject.org/"; changelog = "https://gitweb.torproject.org/builders/tor-browser-build.git/plain/projects/tor-browser/Bundle-Data/Docs/ChangeLog.txt?h=maint-${version}"; platforms = attrNames sources; diff --git a/pkgs/applications/networking/browsers/vimb/default.nix b/pkgs/applications/networking/browsers/vimb/default.nix index 35fece92529b..8df37ed5e086 100644 --- a/pkgs/applications/networking/browsers/vimb/default.nix +++ b/pkgs/applications/networking/browsers/vimb/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = { description = "A Vim-like browser"; + mainProgram = "vimb"; longDescription = '' A fast and lightweight vim like web browser based on the webkit web browser engine and the GTK toolkit. Vimb is modal like the great vim diff --git a/pkgs/applications/networking/browsers/webmacs/default.nix b/pkgs/applications/networking/browsers/webmacs/default.nix index 2f63670128bb..dc8b89ac1df7 100644 --- a/pkgs/applications/networking/browsers/webmacs/default.nix +++ b/pkgs/applications/networking/browsers/webmacs/default.nix @@ -60,6 +60,7 @@ mkDerivationWith python3Packages.buildPythonApplication rec { meta = with lib; { description = "Keyboard-based web browser with Emacs/conkeror heritage"; + mainProgram = "webmacs"; longDescription = '' webmacs is yet another browser for keyboard-based web navigation. diff --git a/pkgs/applications/networking/cluster/aiac/default.nix b/pkgs/applications/networking/cluster/aiac/default.nix index 995e00a63948..79bf754fa3e2 100644 --- a/pkgs/applications/networking/cluster/aiac/default.nix +++ b/pkgs/applications/networking/cluster/aiac/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = ''Artificial Intelligence Infrastructure-as-Code Generator.''; + mainProgram = "aiac"; homepage = "https://github.com/gofireflyio/aiac/"; license = licenses.asl20; maintainers = with maintainers; [ qjoly ]; diff --git a/pkgs/applications/networking/cluster/argo/default.nix b/pkgs/applications/networking/cluster/argo/default.nix index a76c04324ec0..8a6e3ac65f74 100644 --- a/pkgs/applications/networking/cluster/argo/default.nix +++ b/pkgs/applications/networking/cluster/argo/default.nix @@ -84,6 +84,7 @@ buildGoModule rec { meta = with lib; { description = "Container native workflow engine for Kubernetes"; + mainProgram = "argo"; homepage = "https://github.com/argoproj/argo"; changelog = "https://github.com/argoproj/argo-workflows/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/argocd-autopilot/default.nix b/pkgs/applications/networking/cluster/argocd-autopilot/default.nix index 3b0250c5f9a9..55028845e2cb 100644 --- a/pkgs/applications/networking/cluster/argocd-autopilot/default.nix +++ b/pkgs/applications/networking/cluster/argocd-autopilot/default.nix @@ -46,6 +46,7 @@ buildGoModule rec { meta = with lib; { description = "ArgoCD Autopilot"; + mainProgram = "argocd-autopilot"; downloadPage = "https://github.com/argoproj-labs/argocd-autopilot"; homepage = "https://argocd-autopilot.readthedocs.io/en/stable/"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/argocd/default.nix b/pkgs/applications/networking/cluster/argocd/default.nix index 73422872a765..3139252e65c7 100644 --- a/pkgs/applications/networking/cluster/argocd/default.nix +++ b/pkgs/applications/networking/cluster/argocd/default.nix @@ -56,6 +56,7 @@ buildGoModule rec { meta = with lib; { description = "Declarative continuous deployment for Kubernetes"; + mainProgram = "argocd"; downloadPage = "https://github.com/argoproj/argo-cd"; homepage = "https://argo-cd.readthedocs.io/en/stable/"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/arkade/default.nix b/pkgs/applications/networking/cluster/arkade/default.nix index 5ab103611b35..b921d080a478 100644 --- a/pkgs/applications/networking/cluster/arkade/default.nix +++ b/pkgs/applications/networking/cluster/arkade/default.nix @@ -51,6 +51,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/alexellis/arkade"; description = "Open Source Kubernetes Marketplace"; + mainProgram = "arkade"; license = licenses.mit; maintainers = with maintainers; [ welteki techknowlogick qjoly ]; }; diff --git a/pkgs/applications/networking/cluster/assign-lb-ip/default.nix b/pkgs/applications/networking/cluster/assign-lb-ip/default.nix index 7b85443db3f0..bc55112dd292 100644 --- a/pkgs/applications/networking/cluster/assign-lb-ip/default.nix +++ b/pkgs/applications/networking/cluster/assign-lb-ip/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Assigns loadBalancerIP address to a Kubernetes service for testing purposes"; + mainProgram = "assign-lb-ip"; homepage = "https://github.com/Nordix/assign-lb-ip"; license = licenses.asl20; maintainers = [ maintainers.starcraft66 ]; diff --git a/pkgs/applications/networking/cluster/atlantis/default.nix b/pkgs/applications/networking/cluster/atlantis/default.nix index 7b6edadbba43..59c1d8664d55 100644 --- a/pkgs/applications/networking/cluster/atlantis/default.nix +++ b/pkgs/applications/networking/cluster/atlantis/default.nix @@ -27,6 +27,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/runatlantis/atlantis"; description = "Terraform Pull Request Automation"; + mainProgram = "atlantis"; license = licenses.asl20; maintainers = with maintainers; [ jpotier ]; }; diff --git a/pkgs/applications/networking/cluster/atmos/default.nix b/pkgs/applications/networking/cluster/atmos/default.nix index dda42538412d..00c8805f3cfa 100644 --- a/pkgs/applications/networking/cluster/atmos/default.nix +++ b/pkgs/applications/networking/cluster/atmos/default.nix @@ -36,6 +36,7 @@ buildGoModule rec { homepage = "https://atmos.tools"; changelog = "https://github.com/cloudposse/atmos/releases/tag/v${version}"; description = "Universal Tool for DevOps and Cloud Automation (works with terraform, helm, helmfile, etc)"; + mainProgram = "atmos"; license = licenses.asl20; maintainers = with maintainers; [ rb ]; }; diff --git a/pkgs/applications/networking/cluster/civo/default.nix b/pkgs/applications/networking/cluster/civo/default.nix index 5fb0ff4d9852..d2f913a765ed 100644 --- a/pkgs/applications/networking/cluster/civo/default.nix +++ b/pkgs/applications/networking/cluster/civo/default.nix @@ -39,6 +39,7 @@ buildGoModule rec { meta = with lib; { description = "CLI for interacting with Civo resources"; + mainProgram = "civo"; homepage = "https://github.com/civo/cli"; license = licenses.asl20; maintainers = with maintainers; [ berryp ]; diff --git a/pkgs/applications/networking/cluster/clusterctl/default.nix b/pkgs/applications/networking/cluster/clusterctl/default.nix index f0778bdcc62d..34add12a8135 100644 --- a/pkgs/applications/networking/cluster/clusterctl/default.nix +++ b/pkgs/applications/networking/cluster/clusterctl/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { meta = with lib; { changelog = "https://github.com/kubernetes-sigs/cluster-api/releases/tag/${src.rev}"; description = "Kubernetes cluster API tool"; + mainProgram = "clusterctl"; homepage = "https://cluster-api.sigs.k8s.io/"; license = licenses.asl20; maintainers = with maintainers; [ qjoly ]; diff --git a/pkgs/applications/networking/cluster/cmctl/default.nix b/pkgs/applications/networking/cluster/cmctl/default.nix index e1abc4ea985c..feb1b03d26fe 100644 --- a/pkgs/applications/networking/cluster/cmctl/default.nix +++ b/pkgs/applications/networking/cluster/cmctl/default.nix @@ -50,6 +50,7 @@ buildGoModule rec { meta = with lib; { description = "A CLI tool for managing cert-manager service on Kubernetes clusters"; + mainProgram = "cmctl"; longDescription = '' cert-manager adds certificates and certificate issuers as resource types in Kubernetes clusters, and simplifies the process of obtaining, renewing diff --git a/pkgs/applications/networking/cluster/cni/default.nix b/pkgs/applications/networking/cluster/cni/default.nix index 33688148985f..6fdeb802ea1c 100644 --- a/pkgs/applications/networking/cluster/cni/default.nix +++ b/pkgs/applications/networking/cluster/cni/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Container Network Interface - networking for Linux containers"; + mainProgram = "cnitool"; license = licenses.asl20; homepage = "https://github.com/containernetworking/cni"; maintainers = with maintainers; [ offline vdemeester ]; diff --git a/pkgs/applications/networking/cluster/containerpilot/default.nix b/pkgs/applications/networking/cluster/containerpilot/default.nix index dc6e5f3402fa..a255db568125 100644 --- a/pkgs/applications/networking/cluster/containerpilot/default.nix +++ b/pkgs/applications/networking/cluster/containerpilot/default.nix @@ -17,6 +17,7 @@ buildGoPackage rec { meta = with lib; { homepage = "https://www.joyent.com/containerpilot"; description = "An application centric micro-orchestrator."; + mainProgram = "containerpilot"; platforms = platforms.unix; license = licenses.mpl20; maintainers = with maintainers; [ cpcloud ]; diff --git a/pkgs/applications/networking/cluster/dnsname-cni/default.nix b/pkgs/applications/networking/cluster/dnsname-cni/default.nix index 3b6edd575297..c147822b43b5 100644 --- a/pkgs/applications/networking/cluster/dnsname-cni/default.nix +++ b/pkgs/applications/networking/cluster/dnsname-cni/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { description = "DNS name resolution for containers"; + mainProgram = "dnsname"; homepage = "https://github.com/containers/dnsname"; license = licenses.asl20; platforms = platforms.linux; diff --git a/pkgs/applications/networking/cluster/docker-machine/kvm2.nix b/pkgs/applications/networking/cluster/docker-machine/kvm2.nix index a35cfab16cd7..c21cf5b4970e 100644 --- a/pkgs/applications/networking/cluster/docker-machine/kvm2.nix +++ b/pkgs/applications/networking/cluster/docker-machine/kvm2.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://minikube.sigs.k8s.io/docs/drivers/kvm2"; description = "KVM2 driver for docker-machine"; + mainProgram = "docker-machine-driver-kvm2"; license = licenses.asl20; maintainers = with maintainers; [ tadfisher atkinschang ]; platforms = platforms.linux; diff --git a/pkgs/applications/networking/cluster/driftctl/default.nix b/pkgs/applications/networking/cluster/driftctl/default.nix index b116f566c5ce..b976308c4d8a 100644 --- a/pkgs/applications/networking/cluster/driftctl/default.nix +++ b/pkgs/applications/networking/cluster/driftctl/default.nix @@ -46,6 +46,7 @@ buildGoModule rec { homepage = "https://driftctl.com/"; changelog = "https://github.com/snyk/driftctl/releases/tag/v${version}"; description = "Detect, track and alert on infrastructure drift"; + mainProgram = "driftctl"; longDescription = '' driftctl is a free and open-source CLI that warns of infrastructure drift and fills in the missing piece in your DevSecOps toolbox. diff --git a/pkgs/applications/networking/cluster/falcoctl/default.nix b/pkgs/applications/networking/cluster/falcoctl/default.nix index 1c582447fa8a..7a73cc8cea29 100644 --- a/pkgs/applications/networking/cluster/falcoctl/default.nix +++ b/pkgs/applications/networking/cluster/falcoctl/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "Administrative tooling for Falco"; + mainProgram = "falcoctl"; homepage = "https://github.com/falcosecurity/falcoctl"; license = licenses.asl20; maintainers = with maintainers; [ developer-guy kranurag7 LucaGuerra ]; diff --git a/pkgs/applications/networking/cluster/fetchit/default.nix b/pkgs/applications/networking/cluster/fetchit/default.nix index cadc331a9605..a113a5c718f0 100644 --- a/pkgs/applications/networking/cluster/fetchit/default.nix +++ b/pkgs/applications/networking/cluster/fetchit/default.nix @@ -64,6 +64,7 @@ buildGoModule rec { meta = with lib; { description = "A tool to manage the life cycle and configuration of Podman containers"; + mainProgram = "fetchit"; longDescription = '' FetchIt allows for a GitOps based approach to manage containers running on a single host or multiple hosts based on a git repository. This allows for diff --git a/pkgs/applications/networking/cluster/flink/default.nix b/pkgs/applications/networking/cluster/flink/default.nix index 276c6ebea34d..5eed2c4afe6c 100644 --- a/pkgs/applications/networking/cluster/flink/default.nix +++ b/pkgs/applications/networking/cluster/flink/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A distributed stream processing framework"; + mainProgram = "flink"; homepage = "https://flink.apache.org"; downloadPage = "https://flink.apache.org/downloads.html"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/fluxctl/default.nix b/pkgs/applications/networking/cluster/fluxctl/default.nix index 589193446285..099ef4340235 100644 --- a/pkgs/applications/networking/cluster/fluxctl/default.nix +++ b/pkgs/applications/networking/cluster/fluxctl/default.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "CLI client for Flux, the GitOps Kubernetes operator"; + mainProgram = "fluxctl"; homepage = "https://github.com/fluxcd/flux"; license = licenses.asl20; maintainers = with maintainers; [ Gonzih Br1ght0ne ]; diff --git a/pkgs/applications/networking/cluster/fn-cli/default.nix b/pkgs/applications/networking/cluster/fn-cli/default.nix index 299abe58fbd3..07234c75ff8e 100644 --- a/pkgs/applications/networking/cluster/fn-cli/default.nix +++ b/pkgs/applications/networking/cluster/fn-cli/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { description = "Command-line tool for the fn project"; + mainProgram = "fn"; homepage = "https://fnproject.io"; license = licenses.asl20; maintainers = [ maintainers.c4605 ]; diff --git a/pkgs/applications/networking/cluster/func/default.nix b/pkgs/applications/networking/cluster/func/default.nix index 7145d1277c9b..7ddb89d1c048 100644 --- a/pkgs/applications/networking/cluster/func/default.nix +++ b/pkgs/applications/networking/cluster/func/default.nix @@ -38,6 +38,7 @@ buildGoModule rec { meta = with lib; { description = "The Knative client library and CLI for creating, building, and deploying Knative Functions"; + mainProgram = "func"; homepage = "https://github.com/knative/func"; changelog = "https://github.com/knative/func/releases/tag/knative-v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/gatekeeper/default.nix b/pkgs/applications/networking/cluster/gatekeeper/default.nix index 22b757bacc0d..5558a48d9f8e 100644 --- a/pkgs/applications/networking/cluster/gatekeeper/default.nix +++ b/pkgs/applications/networking/cluster/gatekeeper/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "Policy Controller for Kubernetes"; + mainProgram = "gator"; homepage = "https://github.com/open-policy-agent/gatekeeper"; license = licenses.asl20; maintainers = with maintainers; [ SuperSandro2000 ]; diff --git a/pkgs/applications/networking/cluster/glooctl/default.nix b/pkgs/applications/networking/cluster/glooctl/default.nix index 1b08314d27c8..ffe98a73c904 100644 --- a/pkgs/applications/networking/cluster/glooctl/default.nix +++ b/pkgs/applications/networking/cluster/glooctl/default.nix @@ -38,6 +38,7 @@ buildGoModule rec { meta = { description = "glooctl is the unified CLI for Gloo"; + mainProgram = "glooctl"; homepage = "https://docs.solo.io/gloo-edge/latest/reference/cli/glooctl/"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ ]; diff --git a/pkgs/applications/networking/cluster/hashi-up/default.nix b/pkgs/applications/networking/cluster/hashi-up/default.nix index 583a0c32b1d1..de782bef9af1 100644 --- a/pkgs/applications/networking/cluster/hashi-up/default.nix +++ b/pkgs/applications/networking/cluster/hashi-up/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "A lightweight utility to install HashiCorp Consul, Nomad, or Vault on any remote Linux host"; + mainProgram = "hashi-up"; homepage = "https://github.com/jsiebens/hashi-up"; license = licenses.mit; maintainers = with maintainers; [ lucperkins ]; diff --git a/pkgs/applications/networking/cluster/helm-dashboard/default.nix b/pkgs/applications/networking/cluster/helm-dashboard/default.nix index bcd24be5c922..e0603ff72136 100644 --- a/pkgs/applications/networking/cluster/helm-dashboard/default.nix +++ b/pkgs/applications/networking/cluster/helm-dashboard/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = { description = "A simplified way of working with Helm"; + mainProgram = "helm-dashboard"; longDescription = '' Helm Dashboard is an open-source project which offers a UI-driven way to view the installed Helm charts, see their revision history and corresponding k8s resources. diff --git a/pkgs/applications/networking/cluster/helm-docs/default.nix b/pkgs/applications/networking/cluster/helm-docs/default.nix index cf286c8dc6f5..4952f4db1e61 100644 --- a/pkgs/applications/networking/cluster/helm-docs/default.nix +++ b/pkgs/applications/networking/cluster/helm-docs/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/norwoodj/helm-docs"; description = "A tool for automatically generating markdown documentation for Helm charts"; + mainProgram = "helm-docs"; license = licenses.gpl3Only; maintainers = with maintainers; [ sagikazarmark ]; }; diff --git a/pkgs/applications/networking/cluster/helmfile/default.nix b/pkgs/applications/networking/cluster/helmfile/default.nix index 0ae488c64c65..f0fa298e7786 100644 --- a/pkgs/applications/networking/cluster/helmfile/default.nix +++ b/pkgs/applications/networking/cluster/helmfile/default.nix @@ -41,6 +41,7 @@ buildGo122Module rec { meta = { description = "Declarative spec for deploying Helm charts"; + mainProgram = "helmfile"; longDescription = '' Declaratively deploy your Kubernetes manifests, Kustomize configs, and charts as Helm releases in one shot. diff --git a/pkgs/applications/networking/cluster/helmsman/default.nix b/pkgs/applications/networking/cluster/helmsman/default.nix index 0e0a69496f98..458ecae5ff68 100644 --- a/pkgs/applications/networking/cluster/helmsman/default.nix +++ b/pkgs/applications/networking/cluster/helmsman/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Helm Charts (k8s applications) as Code tool"; + mainProgram = "helmsman"; homepage = "https://github.com/Praqma/helmsman"; license = licenses.mit; maintainers = with maintainers; [ lynty ]; diff --git a/pkgs/applications/networking/cluster/hetzner-kube/default.nix b/pkgs/applications/networking/cluster/hetzner-kube/default.nix index a1fceb10ea7b..1519058e8f16 100644 --- a/pkgs/applications/networking/cluster/hetzner-kube/default.nix +++ b/pkgs/applications/networking/cluster/hetzner-kube/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { meta = { description = "A CLI tool for provisioning Kubernetes clusters on Hetzner Cloud"; + mainProgram = "hetzner-kube"; homepage = "https://github.com/xetys/hetzner-kube"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ eliasp ]; diff --git a/pkgs/applications/networking/cluster/hubble/default.nix b/pkgs/applications/networking/cluster/hubble/default.nix index ecbe56d09885..d9e5bbecca43 100644 --- a/pkgs/applications/networking/cluster/hubble/default.nix +++ b/pkgs/applications/networking/cluster/hubble/default.nix @@ -40,6 +40,7 @@ buildGoModule rec { meta = with lib; { description = "Network, Service & Security Observability for Kubernetes using eBPF"; + mainProgram = "hubble"; license = licenses.asl20; homepage = "https://github.com/cilium/hubble/"; maintainers = with maintainers; [ humancalico bryanasdev000 ]; diff --git a/pkgs/applications/networking/cluster/istioctl/default.nix b/pkgs/applications/networking/cluster/istioctl/default.nix index 4c19d2404834..8f22d01a4601 100644 --- a/pkgs/applications/networking/cluster/istioctl/default.nix +++ b/pkgs/applications/networking/cluster/istioctl/default.nix @@ -40,6 +40,7 @@ buildGoModule rec { meta = with lib; { description = "Istio configuration command line utility for service operators to debug and diagnose their Istio mesh"; + mainProgram = "istioctl"; homepage = "https://istio.io/latest/docs/reference/commands/istioctl"; license = licenses.asl20; maintainers = with maintainers; [ bryanasdev000 veehaitch ]; diff --git a/pkgs/applications/networking/cluster/jx/default.nix b/pkgs/applications/networking/cluster/jx/default.nix index 204b08962454..0bbee5b74ae0 100644 --- a/pkgs/applications/networking/cluster/jx/default.nix +++ b/pkgs/applications/networking/cluster/jx/default.nix @@ -36,6 +36,7 @@ buildGoModule rec { meta = with lib; { broken = stdenv.isDarwin; description = "Command line tool for installing and using Jenkins X"; + mainProgram = "jx"; homepage = "https://jenkins-x.io"; longDescription = '' Jenkins X provides automated CI+CD for Kubernetes with Preview diff --git a/pkgs/applications/networking/cluster/k3d/default.nix b/pkgs/applications/networking/cluster/k3d/default.nix index e74595903b51..fcd97875ff80 100644 --- a/pkgs/applications/networking/cluster/k3d/default.nix +++ b/pkgs/applications/networking/cluster/k3d/default.nix @@ -61,6 +61,7 @@ buildGoModule rec { homepage = "https://github.com/k3d-io/k3d/"; changelog = "https://github.com/k3d-io/k3d/blob/v${version}/CHANGELOG.md"; description = "A helper to run k3s (Lightweight Kubernetes. 5 less than k8s) in a docker container"; + mainProgram = "k3d"; longDescription = '' k3s is the lightweight Kubernetes distribution by Rancher: rancher/k3s diff --git a/pkgs/applications/networking/cluster/k3sup/default.nix b/pkgs/applications/networking/cluster/k3sup/default.nix index c45970ddeef8..d5ac78ea5c4c 100644 --- a/pkgs/applications/networking/cluster/k3sup/default.nix +++ b/pkgs/applications/networking/cluster/k3sup/default.nix @@ -48,6 +48,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/alexellis/k3sup"; description = "Bootstrap Kubernetes with k3s over SSH"; + mainProgram = "k3sup"; license = licenses.mit; maintainers = with maintainers; [ welteki qjoly ]; }; diff --git a/pkgs/applications/networking/cluster/k8sgpt/default.nix b/pkgs/applications/networking/cluster/k8sgpt/default.nix index 909e7fb621e5..3fa2d5f5bc95 100644 --- a/pkgs/applications/networking/cluster/k8sgpt/default.nix +++ b/pkgs/applications/networking/cluster/k8sgpt/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { description = "Giving Kubernetes Superpowers to everyone"; + mainProgram = "k8sgpt"; homepage = "https://k8sgpt.ai"; changelog = "https://github.com/k8sgpt-ai/k8sgpt/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/karmor/default.nix b/pkgs/applications/networking/cluster/karmor/default.nix index 38058e57d2d8..383ac0e15f01 100644 --- a/pkgs/applications/networking/cluster/karmor/default.nix +++ b/pkgs/applications/networking/cluster/karmor/default.nix @@ -48,6 +48,7 @@ buildGoModule rec { meta = with lib; { description = "A client tool to help manage KubeArmor"; + mainProgram = "karmor"; homepage = "https://kubearmor.io"; changelog = "https://github.com/kubearmor/kubearmor-client/releases/v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/kbst/default.nix b/pkgs/applications/networking/cluster/kbst/default.nix index 30207b07457f..566610ebc7cb 100644 --- a/pkgs/applications/networking/cluster/kbst/default.nix +++ b/pkgs/applications/networking/cluster/kbst/default.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { description = "Kubestack framework CLI"; + mainProgram = "kbst"; homepage = "https://www.kubestack.com/"; license = licenses.asl20; maintainers = with maintainers; [ mtrsk ]; diff --git a/pkgs/applications/networking/cluster/kconf/default.nix b/pkgs/applications/networking/cluster/kconf/default.nix index 5e36f45e50fd..8813327a6090 100644 --- a/pkgs/applications/networking/cluster/kconf/default.nix +++ b/pkgs/applications/networking/cluster/kconf/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "An opinionated command line tool for managing multiple kubeconfigs"; + mainProgram = "kconf"; homepage = "https://github.com/particledecay/kconf"; license = licenses.mit; maintainers = with maintainers; [ thmzlt ]; diff --git a/pkgs/applications/networking/cluster/kfilt/default.nix b/pkgs/applications/networking/cluster/kfilt/default.nix index dd85bd8bbddc..8059528eaa12 100644 --- a/pkgs/applications/networking/cluster/kfilt/default.nix +++ b/pkgs/applications/networking/cluster/kfilt/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = { description = "Command-line tool that filters Kubernetes resources"; + mainProgram = "kfilt"; homepage = "https://github.com/ryane/kfilt"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.ryane ]; diff --git a/pkgs/applications/networking/cluster/kluctl/default.nix b/pkgs/applications/networking/cluster/kluctl/default.nix index 99e311ff3e20..601be5ff6d1d 100644 --- a/pkgs/applications/networking/cluster/kluctl/default.nix +++ b/pkgs/applications/networking/cluster/kluctl/default.nix @@ -31,6 +31,7 @@ buildGoModule rec { meta = with lib; { description = "The missing glue to put together large Kubernetes deployments"; + mainProgram = "kluctl"; homepage = "https://kluctl.io/"; license = licenses.asl20; maintainers = with maintainers; [ sikmir netthier ]; diff --git a/pkgs/applications/networking/cluster/kn/default.nix b/pkgs/applications/networking/cluster/kn/default.nix index 156c2cae7ac5..3a5f18cbf581 100644 --- a/pkgs/applications/networking/cluster/kn/default.nix +++ b/pkgs/applications/networking/cluster/kn/default.nix @@ -36,6 +36,7 @@ buildGoModule rec { meta = with lib; { description = "The Knative client kn is your door to the Knative world. It allows you to create Knative resources interactively from the command line or from within scripts"; + mainProgram = "kn"; homepage = "https://github.com/knative/client"; changelog = "https://github.com/knative/client/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/kompose/default.nix b/pkgs/applications/networking/cluster/kompose/default.nix index 290d41fbdddd..248dcf84e3ed 100644 --- a/pkgs/applications/networking/cluster/kompose/default.nix +++ b/pkgs/applications/networking/cluster/kompose/default.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { description = "A tool to help users who are familiar with docker-compose move to Kubernetes"; + mainProgram = "kompose"; homepage = "https://kompose.io"; license = licenses.asl20; maintainers = with maintainers; [ thpham vdemeester ]; diff --git a/pkgs/applications/networking/cluster/kontemplate/default.nix b/pkgs/applications/networking/cluster/kontemplate/default.nix index 10c161f45d05..14e75829e401 100644 --- a/pkgs/applications/networking/cluster/kontemplate/default.nix +++ b/pkgs/applications/networking/cluster/kontemplate/default.nix @@ -15,6 +15,7 @@ buildGoPackage rec { meta = with lib; { description = "Extremely simple Kubernetes resource templates"; + mainProgram = "kontemplate"; homepage = "http://kontemplate.works"; downloadPage = "https://github.com/tazjin/kontemplate/releases"; license = licenses.gpl3; diff --git a/pkgs/applications/networking/cluster/kops/default.nix b/pkgs/applications/networking/cluster/kops/default.nix index 1e911aaabf66..7f051075a5b3 100644 --- a/pkgs/applications/networking/cluster/kops/default.nix +++ b/pkgs/applications/networking/cluster/kops/default.nix @@ -38,6 +38,7 @@ let meta = with lib; { description = "Easiest way to get a production Kubernetes up and running"; + mainProgram = "kops"; homepage = "https://github.com/kubernetes/kops"; changelog = "https://github.com/kubernetes/kops/tree/master/docs/releases"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/kpt/default.nix b/pkgs/applications/networking/cluster/kpt/default.nix index ff5c8588ccee..8ae2138907b1 100644 --- a/pkgs/applications/networking/cluster/kpt/default.nix +++ b/pkgs/applications/networking/cluster/kpt/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "A toolkit to help you manage, manipulate, customize, and apply Kubernetes Resource configuration data files"; + mainProgram = "kpt"; homepage = "https://googlecontainertools.github.io/kpt/"; license = licenses.asl20; maintainers = with maintainers; [ mikefaille ]; diff --git a/pkgs/applications/networking/cluster/ktop/default.nix b/pkgs/applications/networking/cluster/ktop/default.nix index 58fca5221c0d..847a58a9c40f 100644 --- a/pkgs/applications/networking/cluster/ktop/default.nix +++ b/pkgs/applications/networking/cluster/ktop/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "A top-like tool for your Kubernetes cluster"; + mainProgram = "ktop"; longDescription = '' Following the tradition of Unix/Linux top tools, ktop is a tool that displays useful metrics information about nodes, pods, and other workload resources running in a Kubernetes cluster. ''; diff --git a/pkgs/applications/networking/cluster/ktunnel/default.nix b/pkgs/applications/networking/cluster/ktunnel/default.nix index 3b05aabc00b9..5cbcc6b661b7 100644 --- a/pkgs/applications/networking/cluster/ktunnel/default.nix +++ b/pkgs/applications/networking/cluster/ktunnel/default.nix @@ -32,6 +32,7 @@ buildGoModule { meta = with lib; { description = "A cli that exposes your local resources to kubernetes "; + mainProgram = "ktunnel"; homepage = "https://github.com/omrikiei/ktunnel"; license = licenses.asl20; maintainers = with maintainers; [ happysalada ]; diff --git a/pkgs/applications/networking/cluster/kube-capacity/default.nix b/pkgs/applications/networking/cluster/kube-capacity/default.nix index c4a631c3258e..caed8df9e511 100644 --- a/pkgs/applications/networking/cluster/kube-capacity/default.nix +++ b/pkgs/applications/networking/cluster/kube-capacity/default.nix @@ -16,6 +16,7 @@ buildGoModule rec { meta = with lib; { description = "A simple CLI that provides an overview of the resource requests, limits, and utilization in a Kubernetes cluster"; + mainProgram = "kube-capacity"; homepage = "https://github.com/robscott/kube-capacity"; changelog = "https://github.com/robscott/kube-capacity/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/kube-router/default.nix b/pkgs/applications/networking/cluster/kube-router/default.nix index fc2f9cc20660..4b75b292fd3f 100644 --- a/pkgs/applications/networking/cluster/kube-router/default.nix +++ b/pkgs/applications/networking/cluster/kube-router/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://www.kube-router.io/"; description = "All-in-one router, firewall and service proxy for Kubernetes"; + mainProgram = "kube-router"; license = licenses.asl20; maintainers = with maintainers; [ colemickens johanot ]; platforms = platforms.linux; diff --git a/pkgs/applications/networking/cluster/kube-score/default.nix b/pkgs/applications/networking/cluster/kube-score/default.nix index 47eb7b4e60af..f8b42bb0fae3 100644 --- a/pkgs/applications/networking/cluster/kube-score/default.nix +++ b/pkgs/applications/networking/cluster/kube-score/default.nix @@ -34,6 +34,7 @@ buildGoModule rec { meta = with lib; { description = "Kubernetes object analysis with recommendations for improved reliability and security"; + mainProgram = "kube-score"; homepage = "https://github.com/zegl/kube-score"; changelog = "https://github.com/zegl/kube-score/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/applications/networking/cluster/kubebuilder/default.nix b/pkgs/applications/networking/cluster/kubebuilder/default.nix index 69b0f990eadc..55f29f0deb47 100644 --- a/pkgs/applications/networking/cluster/kubebuilder/default.nix +++ b/pkgs/applications/networking/cluster/kubebuilder/default.nix @@ -60,6 +60,7 @@ buildGoModule rec { meta = with lib; { description = "SDK for building Kubernetes APIs using CRDs"; + mainProgram = "kubebuilder"; homepage = "https://github.com/kubernetes-sigs/kubebuilder"; changelog = "https://github.com/kubernetes-sigs/kubebuilder/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/kubecfg/default.nix b/pkgs/applications/networking/cluster/kubecfg/default.nix index da4b6568901c..78f14012707b 100644 --- a/pkgs/applications/networking/cluster/kubecfg/default.nix +++ b/pkgs/applications/networking/cluster/kubecfg/default.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { description = "A tool for managing Kubernetes resources as code"; + mainProgram = "kubecfg"; homepage = "https://github.com/kubecfg/kubecfg"; changelog = "https://github.com/kubecfg/kubecfg/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/kubecolor/default.nix b/pkgs/applications/networking/cluster/kubecolor/default.nix index 2b41250c628b..794b184e245f 100644 --- a/pkgs/applications/networking/cluster/kubecolor/default.nix +++ b/pkgs/applications/networking/cluster/kubecolor/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Colorizes kubectl output"; + mainProgram = "kubecolor"; homepage = "https://github.com/kubecolor/kubecolor"; changelog = "https://github.com/kubecolor/kubecolor/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/applications/networking/cluster/kubeconform/default.nix b/pkgs/applications/networking/cluster/kubeconform/default.nix index 611a33ca8f73..b129e0c65bd5 100644 --- a/pkgs/applications/networking/cluster/kubeconform/default.nix +++ b/pkgs/applications/networking/cluster/kubeconform/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "A FAST Kubernetes manifests validator, with support for Custom Resources!"; + mainProgram = "kubeconform"; homepage = "https://github.com/yannh/kubeconform/"; license = licenses.asl20; maintainers = [ maintainers.j4m3s ]; diff --git a/pkgs/applications/networking/cluster/kubectl-cnpg/default.nix b/pkgs/applications/networking/cluster/kubectl-cnpg/default.nix index b29ba78a4ef1..db05ee6b363a 100644 --- a/pkgs/applications/networking/cluster/kubectl-cnpg/default.nix +++ b/pkgs/applications/networking/cluster/kubectl-cnpg/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://cloudnative-pg.io/"; description = "Plugin for kubectl to manage a CloudNativePG cluster in Kubernetes"; + mainProgram = "kubectl-cnpg"; license = licenses.asl20; maintainers = with maintainers; [ devusb ]; }; diff --git a/pkgs/applications/networking/cluster/kubectl-doctor/default.nix b/pkgs/applications/networking/cluster/kubectl-doctor/default.nix index e198de456cca..050192b86c9f 100644 --- a/pkgs/applications/networking/cluster/kubectl-doctor/default.nix +++ b/pkgs/applications/networking/cluster/kubectl-doctor/default.nix @@ -28,6 +28,7 @@ buildGoModule rec { meta = with lib; { description = "kubectl cluster triage plugin for k8s"; + mainProgram = "kubectl-doctor"; homepage = "https://github.com/emirozer/kubectl-doctor"; changelog = "https://github.com/emirozer/kubectl-doctor/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/kubectl-evict-pod/default.nix b/pkgs/applications/networking/cluster/kubectl-evict-pod/default.nix index f17c2b2ad1ab..46bf4cb14eef 100644 --- a/pkgs/applications/networking/cluster/kubectl-evict-pod/default.nix +++ b/pkgs/applications/networking/cluster/kubectl-evict-pod/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "This plugin evicts the given pod and is useful for testing pod disruption budget rules"; + mainProgram = "kubectl-evict-pod"; homepage = "https://github.com/rajatjindal/kubectl-evict-pod"; license = licenses.asl20; maintainers = [ maintainers.j4m3s ]; diff --git a/pkgs/applications/networking/cluster/kubectl-example/default.nix b/pkgs/applications/networking/cluster/kubectl-example/default.nix index 76562de2bd76..dc917a987e0d 100644 --- a/pkgs/applications/networking/cluster/kubectl-example/default.nix +++ b/pkgs/applications/networking/cluster/kubectl-example/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "kubectl plugin for retrieving resource example YAMLs"; + mainProgram = "kubectl-example"; homepage = "https://github.com/seredot/kubectl-example"; changelog = "https://github.com/seredot/kubectl-example/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/kubectl-explore/default.nix b/pkgs/applications/networking/cluster/kubectl-explore/default.nix index 2eb7b6befb75..0ff402b39f08 100644 --- a/pkgs/applications/networking/cluster/kubectl-explore/default.nix +++ b/pkgs/applications/networking/cluster/kubectl-explore/default.nix @@ -16,6 +16,7 @@ buildGoModule rec { meta = with lib; { description = "A better kubectl explain with the fuzzy finder"; + mainProgram = "kubectl-explore"; homepage = "https://github.com/keisku/kubectl-explore"; changelog = "https://github.com/keisku/kubectl-explore/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/applications/networking/cluster/kubectl-gadget/default.nix b/pkgs/applications/networking/cluster/kubectl-gadget/default.nix index 9dbee8d0a544..436138d8560d 100644 --- a/pkgs/applications/networking/cluster/kubectl-gadget/default.nix +++ b/pkgs/applications/networking/cluster/kubectl-gadget/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { description = "A collection of gadgets for troubleshooting Kubernetes applications using eBPF"; + mainProgram = "kubectl-gadget"; homepage = "https://inspektor-gadget.io"; license = licenses.asl20; maintainers = with maintainers; [ kranurag7 ]; diff --git a/pkgs/applications/networking/cluster/kubectl-images/default.nix b/pkgs/applications/networking/cluster/kubectl-images/default.nix index 7ab487d3dda1..1c4b1bf60e12 100644 --- a/pkgs/applications/networking/cluster/kubectl-images/default.nix +++ b/pkgs/applications/networking/cluster/kubectl-images/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "Show container images used in the cluster."; + mainProgram = "kubectl-images"; homepage = "https://github.com/chenjiandongx/kubectl-images"; changelog = "https://github.com/chenjiandongx/kubectl-images/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/applications/networking/cluster/kubectl-node-shell/default.nix b/pkgs/applications/networking/cluster/kubectl-node-shell/default.nix index d8718b1d254c..934d1c9151dc 100644 --- a/pkgs/applications/networking/cluster/kubectl-node-shell/default.nix +++ b/pkgs/applications/networking/cluster/kubectl-node-shell/default.nix @@ -24,6 +24,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { description = "Exec into node via kubectl"; + mainProgram = "kubectl-node_shell"; homepage = "https://github.com/kvaps/kubectl-node-shell"; license = licenses.asl20; maintainers = with maintainers; [ jocelynthode ]; diff --git a/pkgs/applications/networking/cluster/kubectl-tree/default.nix b/pkgs/applications/networking/cluster/kubectl-tree/default.nix index 1cb0cc3e9419..62d4553b881d 100644 --- a/pkgs/applications/networking/cluster/kubectl-tree/default.nix +++ b/pkgs/applications/networking/cluster/kubectl-tree/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "kubectl plugin to browse Kubernetes object hierarchies as a tree"; + mainProgram = "kubectl-tree"; homepage = "https://github.com/ahmetb/kubectl-tree"; changelog = "https://github.com/ahmetb/kubectl-tree/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/kubectl-view-secret/default.nix b/pkgs/applications/networking/cluster/kubectl-view-secret/default.nix index 0bfdaafd5f56..695d63db8165 100644 --- a/pkgs/applications/networking/cluster/kubectl-view-secret/default.nix +++ b/pkgs/applications/networking/cluster/kubectl-view-secret/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Kubernetes CLI plugin to decode Kubernetes secrets"; + mainProgram = "kubectl-view-secret"; homepage = "https://github.com/elsesiy/kubectl-view-secret"; changelog = "https://github.com/elsesiy/kubectl-view-secret/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/applications/networking/cluster/kubedog/default.nix b/pkgs/applications/networking/cluster/kubedog/default.nix index 9618fcbf4457..5d31bc8e3350 100644 --- a/pkgs/applications/networking/cluster/kubedog/default.nix +++ b/pkgs/applications/networking/cluster/kubedog/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { A tool to watch and follow Kubernetes resources in CI/CD deployment pipelines ''; + mainProgram = "kubedog"; homepage = "https://github.com/werf/kubedog"; changelog = "https://github.com/werf/kubedog/releases/tag/${src.rev}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/kubefirst/default.nix b/pkgs/applications/networking/cluster/kubefirst/default.nix index 1bf2c06db54a..f73c2ebbf19e 100644 --- a/pkgs/applications/networking/cluster/kubefirst/default.nix +++ b/pkgs/applications/networking/cluster/kubefirst/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "The Kubefirst CLI creates instant GitOps platforms that integrate some of the best tools in cloud native from scratch."; + mainProgram = "kubefirst"; homepage = "https://github.com/kubefirst/kubefirst/"; license = licenses.mit; maintainers = with maintainers; [ qjoly ]; diff --git a/pkgs/applications/networking/cluster/kubelogin-oidc/default.nix b/pkgs/applications/networking/cluster/kubelogin-oidc/default.nix index a771972b6948..0d3852e28414 100644 --- a/pkgs/applications/networking/cluster/kubelogin-oidc/default.nix +++ b/pkgs/applications/networking/cluster/kubelogin-oidc/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "A Kubernetes credential plugin implementing OpenID Connect (OIDC) authentication"; + mainProgram = "kubectl-oidc_login"; inherit (src.meta) homepage; license = licenses.asl20; maintainers = with maintainers; [ benley ]; diff --git a/pkgs/applications/networking/cluster/kubelogin/default.nix b/pkgs/applications/networking/cluster/kubelogin/default.nix index 28e3f47a388a..b2fa146b0bc3 100644 --- a/pkgs/applications/networking/cluster/kubelogin/default.nix +++ b/pkgs/applications/networking/cluster/kubelogin/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "A Kubernetes credential plugin implementing Azure authentication"; + mainProgram = "kubelogin"; inherit (src.meta) homepage; license = licenses.mit; maintainers = []; diff --git a/pkgs/applications/networking/cluster/kubemqctl/default.nix b/pkgs/applications/networking/cluster/kubemqctl/default.nix index 7185ff5a42dc..8e2590b75c7e 100644 --- a/pkgs/applications/networking/cluster/kubemqctl/default.nix +++ b/pkgs/applications/networking/cluster/kubemqctl/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = { homepage = "https://github.com/kubemq-io/kubemqctl"; description = "Kubemqctl is a command line interface (CLI) for Kubemq Kubernetes Message Broker."; + mainProgram = "kubemqctl"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ brianmcgee ]; }; diff --git a/pkgs/applications/networking/cluster/kubent/default.nix b/pkgs/applications/networking/cluster/kubent/default.nix index d0b8eaf422e6..75f4244ee142 100644 --- a/pkgs/applications/networking/cluster/kubent/default.nix +++ b/pkgs/applications/networking/cluster/kubent/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/doitintl/kube-no-trouble"; description = "Easily check your cluster for use of deprecated APIs"; + mainProgram = "kubent"; license = licenses.mit; maintainers = with maintainers; [ peterromfeldhk ]; }; diff --git a/pkgs/applications/networking/cluster/kubergrunt/default.nix b/pkgs/applications/networking/cluster/kubergrunt/default.nix index e5a5e1ba9f4b..c37fe18281c9 100644 --- a/pkgs/applications/networking/cluster/kubergrunt/default.nix +++ b/pkgs/applications/networking/cluster/kubergrunt/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { description = "Collection of commands to fill in the gaps between Terraform, Helm, and Kubectl"; + mainProgram = "kubergrunt"; homepage = "https://github.com/gruntwork-io/kubergrunt"; license = licenses.asl20; maintainers = with maintainers; [ psibi ]; diff --git a/pkgs/applications/networking/cluster/kubernetes-metrics-server/default.nix b/pkgs/applications/networking/cluster/kubernetes-metrics-server/default.nix index 9efefd064667..37ca5be589d1 100644 --- a/pkgs/applications/networking/cluster/kubernetes-metrics-server/default.nix +++ b/pkgs/applications/networking/cluster/kubernetes-metrics-server/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/kubernetes-sigs/metrics-server"; description = "Kubernetes container resource metrics collector"; + mainProgram = "metrics-server"; license = licenses.asl20; maintainers = with maintainers; [ eskytthe ]; }; diff --git a/pkgs/applications/networking/cluster/kubernix/default.nix b/pkgs/applications/networking/cluster/kubernix/default.nix index 4495a8590f42..264fbe7d5dc0 100644 --- a/pkgs/applications/networking/cluster/kubernix/default.nix +++ b/pkgs/applications/networking/cluster/kubernix/default.nix @@ -22,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Single dependency Kubernetes clusters for local testing, experimenting and development"; + mainProgram = "kubernix"; homepage = "https://github.com/saschagrunert/kubernix"; license = with licenses; [ mit ]; maintainers = with maintainers; [ saschagrunert ]; diff --git a/pkgs/applications/networking/cluster/kubeseal/default.nix b/pkgs/applications/networking/cluster/kubeseal/default.nix index 921797d1591a..ed5db3c9485d 100644 --- a/pkgs/applications/networking/cluster/kubeseal/default.nix +++ b/pkgs/applications/networking/cluster/kubeseal/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "A Kubernetes controller and tool for one-way encrypted Secrets"; + mainProgram = "kubeseal"; homepage = "https://github.com/bitnami-labs/sealed-secrets"; changelog = "https://github.com/bitnami-labs/sealed-secrets/blob/v${version}/RELEASE-NOTES.md"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/kubeshark/default.nix b/pkgs/applications/networking/cluster/kubeshark/default.nix index 0aaea3c505bb..d798442c0844 100644 --- a/pkgs/applications/networking/cluster/kubeshark/default.nix +++ b/pkgs/applications/networking/cluster/kubeshark/default.nix @@ -48,6 +48,7 @@ buildGoModule rec { meta = with lib; { changelog = "https://github.com/kubeshark/kubeshark/releases/tag/${version}"; description = "The API Traffic Viewer for Kubernetes"; + mainProgram = "kubeshark"; homepage = "https://kubeshark.co/"; license = licenses.asl20; longDescription = '' diff --git a/pkgs/applications/networking/cluster/kubespy/default.nix b/pkgs/applications/networking/cluster/kubespy/default.nix index 88a56e3c72e3..bfbfa1fa7ccf 100644 --- a/pkgs/applications/networking/cluster/kubespy/default.nix +++ b/pkgs/applications/networking/cluster/kubespy/default.nix @@ -28,6 +28,7 @@ buildGoModule rec { meta = with lib; { description = "A tool to observe Kubernetes resources in real time"; + mainProgram = "kubespy"; homepage = "https://github.com/pulumi/kubespy"; license = licenses.asl20; maintainers = with maintainers; [ blaggacao ]; diff --git a/pkgs/applications/networking/cluster/kubetail/default.nix b/pkgs/applications/networking/cluster/kubetail/default.nix index 774feac4d23d..5fc1eaf48827 100644 --- a/pkgs/applications/networking/cluster/kubetail/default.nix +++ b/pkgs/applications/networking/cluster/kubetail/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Bash script to tail Kubernetes logs from multiple pods at the same time"; + mainProgram = "kubetail"; longDescription = '' Bash script that enables you to aggregate (tail/follow) logs from multiple pods into one stream. This is the same as running "kubectl logs diff --git a/pkgs/applications/networking/cluster/kubeval/default.nix b/pkgs/applications/networking/cluster/kubeval/default.nix index 574bfc61bb87..8fb1e68b0206 100644 --- a/pkgs/applications/networking/cluster/kubeval/default.nix +++ b/pkgs/applications/networking/cluster/kubeval/default.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "Validate your Kubernetes configuration files"; + mainProgram = "kubeval"; homepage = "https://github.com/instrumenta/kubeval"; license = licenses.asl20; maintainers = with maintainers; [ johanot nicknovitski ]; diff --git a/pkgs/applications/networking/cluster/kubexit/default.nix b/pkgs/applications/networking/cluster/kubexit/default.nix index bf086de6d78b..080c87385bb6 100644 --- a/pkgs/applications/networking/cluster/kubexit/default.nix +++ b/pkgs/applications/networking/cluster/kubexit/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { ldflags = [ "-s" "-w" ]; meta = with lib; { description = "Command supervisor for coordinated Kubernetes pod container termination."; + mainProgram = "kubexit"; homepage = "https://github.com/karlkfi/kubexit/"; license = licenses.asl20; maintainers = with maintainers; [ qjoly ]; diff --git a/pkgs/applications/networking/cluster/kyverno/default.nix b/pkgs/applications/networking/cluster/kyverno/default.nix index 3cf8ef72ba5c..208867bec2c0 100644 --- a/pkgs/applications/networking/cluster/kyverno/default.nix +++ b/pkgs/applications/networking/cluster/kyverno/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { meta = with lib; { description = "Kubernetes Native Policy Management"; + mainProgram = "kyverno"; homepage = "https://kyverno.io/"; changelog = "https://github.com/kyverno/kyverno/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/levant/default.nix b/pkgs/applications/networking/cluster/levant/default.nix index 78458741a5ba..937e57204b96 100644 --- a/pkgs/applications/networking/cluster/levant/default.nix +++ b/pkgs/applications/networking/cluster/levant/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "An open source templating and deployment tool for HashiCorp Nomad jobs"; + mainProgram = "levant"; homepage = "https://github.com/hashicorp/levant"; license = licenses.mpl20; maintainers = with maintainers; [ max-niederman ]; diff --git a/pkgs/applications/networking/cluster/linkerd/generic.nix b/pkgs/applications/networking/cluster/linkerd/generic.nix index 0384f56f14aa..edd5a895f3f0 100644 --- a/pkgs/applications/networking/cluster/linkerd/generic.nix +++ b/pkgs/applications/networking/cluster/linkerd/generic.nix @@ -55,6 +55,7 @@ buildGoModule rec { meta = with lib; { description = "A simple Kubernetes service mesh that improves security, observability and reliability"; + mainProgram = "linkerd"; downloadPage = "https://github.com/linkerd/linkerd2/"; homepage = "https://linkerd.io/"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/minikube/default.nix b/pkgs/applications/networking/cluster/minikube/default.nix index bd9d0fece1b5..69e73e6d47a3 100644 --- a/pkgs/applications/networking/cluster/minikube/default.nix +++ b/pkgs/applications/networking/cluster/minikube/default.nix @@ -67,6 +67,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://minikube.sigs.k8s.io"; description = "A tool that makes it easy to run Kubernetes locally"; + mainProgram = "minikube"; license = licenses.asl20; maintainers = with maintainers; [ ebzzry copumpkin vdemeester atkinschang Chili-Man ]; }; diff --git a/pkgs/applications/networking/cluster/nerdctl/default.nix b/pkgs/applications/networking/cluster/nerdctl/default.nix index caf07b07989e..8f7a59c70e8a 100644 --- a/pkgs/applications/networking/cluster/nerdctl/default.nix +++ b/pkgs/applications/networking/cluster/nerdctl/default.nix @@ -52,6 +52,7 @@ buildGoModule rec { homepage = "https://github.com/containerd/nerdctl/"; changelog = "https://github.com/containerd/nerdctl/releases/tag/v${version}"; description = "A Docker-compatible CLI for containerd"; + mainProgram = "nerdctl"; license = licenses.asl20; maintainers = with maintainers; [ jk developer-guy ]; platforms = platforms.linux; diff --git a/pkgs/applications/networking/cluster/nomad-autoscaler/default.nix b/pkgs/applications/networking/cluster/nomad-autoscaler/default.nix index acd0643b4bdf..d32445c6455c 100644 --- a/pkgs/applications/networking/cluster/nomad-autoscaler/default.nix +++ b/pkgs/applications/networking/cluster/nomad-autoscaler/default.nix @@ -91,6 +91,7 @@ let meta = with lib; { description = "Autoscaling daemon for Nomad"; + mainProgram = "nomad-autoscaler"; homepage = "https://github.com/hashicorp/nomad-autoscaler"; license = licenses.mpl20; maintainers = with maintainers; [ jonringer ]; diff --git a/pkgs/applications/networking/cluster/nomad-driver-podman/default.nix b/pkgs/applications/networking/cluster/nomad-driver-podman/default.nix index 384e5b87c555..8eb6a4656318 100644 --- a/pkgs/applications/networking/cluster/nomad-driver-podman/default.nix +++ b/pkgs/applications/networking/cluster/nomad-driver-podman/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://www.github.com/hashicorp/nomad-driver-podman"; description = "Podman task driver for Nomad"; + mainProgram = "nomad-driver-podman"; platforms = platforms.linux; license = licenses.mpl20; maintainers = with maintainers; [ cpcloud ]; diff --git a/pkgs/applications/networking/cluster/nomad/default.nix b/pkgs/applications/networking/cluster/nomad/default.nix index b0b7fea4ff96..f94cb28ce2f5 100644 --- a/pkgs/applications/networking/cluster/nomad/default.nix +++ b/pkgs/applications/networking/cluster/nomad/default.nix @@ -39,6 +39,7 @@ let meta = with lib; { homepage = "https://www.nomadproject.io/"; description = "A Distributed, Highly Available, Datacenter-Aware Scheduler"; + mainProgram = "nomad"; inherit license; maintainers = with maintainers; [ rushmorem pradeepchhetri endocrimes amaxine techknowlogick cottand ]; }; diff --git a/pkgs/applications/networking/cluster/nova/default.nix b/pkgs/applications/networking/cluster/nova/default.nix index 2686b79c4b7f..03d3737928a0 100644 --- a/pkgs/applications/networking/cluster/nova/default.nix +++ b/pkgs/applications/networking/cluster/nova/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Find outdated or deprecated Helm charts running in your cluster"; + mainProgram = "nova"; longDescription = '' Nova scans your cluster for installed Helm charts, then cross-checks them against all known Helm repositories. If it diff --git a/pkgs/applications/networking/cluster/ocm/default.nix b/pkgs/applications/networking/cluster/ocm/default.nix index 95646c800aba..99195f8889d2 100644 --- a/pkgs/applications/networking/cluster/ocm/default.nix +++ b/pkgs/applications/networking/cluster/ocm/default.nix @@ -40,6 +40,7 @@ buildGoModule rec { meta = with lib; { description = "CLI for the Red Hat OpenShift Cluster Manager"; + mainProgram = "ocm"; license = licenses.asl20; homepage = "https://github.com/openshift-online/ocm-cli"; maintainers = with maintainers; [ stehessel ]; diff --git a/pkgs/applications/networking/cluster/odo/default.nix b/pkgs/applications/networking/cluster/odo/default.nix index e94e3772c8dd..9ab5082f61dc 100644 --- a/pkgs/applications/networking/cluster/odo/default.nix +++ b/pkgs/applications/networking/cluster/odo/default.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "Developer-focused CLI for OpenShift and Kubernetes"; + mainProgram = "odo"; license = licenses.asl20; homepage = "https://odo.dev"; changelog = "https://github.com/redhat-developer/odo/releases/v${version}"; diff --git a/pkgs/applications/networking/cluster/pig/default.nix b/pkgs/applications/networking/cluster/pig/default.nix index 5aae5e8e68bf..42938d1246f9 100644 --- a/pkgs/applications/networking/cluster/pig/default.nix +++ b/pkgs/applications/networking/cluster/pig/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://pig.apache.org/"; description = "High-level language for Apache Hadoop"; + mainProgram = "pig"; license = licenses.asl20; longDescription = '' diff --git a/pkgs/applications/networking/cluster/pinniped/default.nix b/pkgs/applications/networking/cluster/pinniped/default.nix index 3d8f0755ca0e..ed86002a564a 100644 --- a/pkgs/applications/networking/cluster/pinniped/default.nix +++ b/pkgs/applications/networking/cluster/pinniped/default.nix @@ -28,6 +28,7 @@ buildGoModule rec{ meta = with lib; { description = "Tool to securely log in to your Kubernetes clusters"; + mainProgram = "pinniped"; homepage = "https://pinniped.dev/"; license = licenses.asl20; maintainers = with maintainers; [ bpaulin ]; diff --git a/pkgs/applications/networking/cluster/pluto/default.nix b/pkgs/applications/networking/cluster/pluto/default.nix index 4223c0854f55..628084f6f31e 100644 --- a/pkgs/applications/networking/cluster/pluto/default.nix +++ b/pkgs/applications/networking/cluster/pluto/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/FairwindsOps/pluto"; description = "Find deprecated Kubernetes apiVersions"; + mainProgram = "pluto"; license = licenses.asl20; maintainers = with maintainers; [ peterromfeldhk kashw2 ]; }; diff --git a/pkgs/applications/networking/cluster/popeye/default.nix b/pkgs/applications/networking/cluster/popeye/default.nix index bd082a691e99..4c21b95265fb 100644 --- a/pkgs/applications/networking/cluster/popeye/default.nix +++ b/pkgs/applications/networking/cluster/popeye/default.nix @@ -35,6 +35,7 @@ buildGoModule rec { meta = with lib; { description = "A Kubernetes cluster resource sanitizer"; + mainProgram = "popeye"; homepage = "https://github.com/derailed/popeye"; changelog = "https://github.com/derailed/popeye/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/pv-migrate/default.nix b/pkgs/applications/networking/cluster/pv-migrate/default.nix index 871f8287b825..b55510e7e4cf 100644 --- a/pkgs/applications/networking/cluster/pv-migrate/default.nix +++ b/pkgs/applications/networking/cluster/pv-migrate/default.nix @@ -36,6 +36,7 @@ buildGoModule rec { meta = with lib; { description = "CLI tool to easily migrate Kubernetes persistent volumes "; + mainProgram = "pv-migrate"; homepage = "https://github.com/utkuozdemir/pv-migrate"; changelog = "https://github.com/utkuozdemir/pv-migrate/releases/tag/${version}"; license = licenses.afl20; diff --git a/pkgs/applications/networking/cluster/rancher/default.nix b/pkgs/applications/networking/cluster/rancher/default.nix index 8259a574cc1c..309b806a8870 100644 --- a/pkgs/applications/networking/cluster/rancher/default.nix +++ b/pkgs/applications/networking/cluster/rancher/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "The Rancher Command Line Interface (CLI) is a unified tool for interacting with your Rancher Server"; + mainProgram = "rancher"; homepage = "https://github.com/rancher/cli"; license = licenses.asl20; maintainers = with maintainers; [ bryanasdev000 ]; diff --git a/pkgs/applications/networking/cluster/rke/default.nix b/pkgs/applications/networking/cluster/rke/default.nix index f44ffa5ba758..435377d8e304 100644 --- a/pkgs/applications/networking/cluster/rke/default.nix +++ b/pkgs/applications/networking/cluster/rke/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/rancher/rke"; description = "An extremely simple, lightning fast Kubernetes distribution that runs entirely within containers"; + mainProgram = "rke"; changelog = "https://github.com/rancher/rke/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ urandom ]; diff --git a/pkgs/applications/networking/cluster/roxctl/default.nix b/pkgs/applications/networking/cluster/roxctl/default.nix index 1bac7a553ecb..abcb6fd4299a 100644 --- a/pkgs/applications/networking/cluster/roxctl/default.nix +++ b/pkgs/applications/networking/cluster/roxctl/default.nix @@ -37,6 +37,7 @@ buildGoModule rec { meta = with lib; { description = "Command-line client of the StackRox Kubernetes Security Platform"; + mainProgram = "roxctl"; license = licenses.asl20; homepage = "https://www.stackrox.io"; maintainers = with maintainers; [ stehessel ]; diff --git a/pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix b/pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix index d3127b076777..866775702521 100644 --- a/pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix +++ b/pkgs/applications/networking/cluster/ssm-session-manager-plugin/default.nix @@ -48,6 +48,7 @@ buildGoPackage rec { meta = with lib; { homepage = "https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html"; description = "Amazon SSM Session Manager Plugin"; + mainProgram = "session-manager-plugin"; license = licenses.asl20; maintainers = with maintainers; [ amarshall mbaillie ]; }; diff --git a/pkgs/applications/networking/cluster/starboard/default.nix b/pkgs/applications/networking/cluster/starboard/default.nix index 278bb1b54adc..59b3a9de41e6 100644 --- a/pkgs/applications/networking/cluster/starboard/default.nix +++ b/pkgs/applications/networking/cluster/starboard/default.nix @@ -69,6 +69,7 @@ buildGoModule rec { homepage = "https://github.com/aquasecurity/starboard"; changelog = "https://github.com/aquasecurity/starboard/releases/tag/v${version}"; description = "Kubernetes-native security tool kit"; + mainProgram = "starboard"; longDescription = '' Starboard integrates security tools into the Kubernetes environment, so that users can find and view the risks that relate to different resources diff --git a/pkgs/applications/networking/cluster/stern/default.nix b/pkgs/applications/networking/cluster/stern/default.nix index 07822397434d..5585b373df35 100644 --- a/pkgs/applications/networking/cluster/stern/default.nix +++ b/pkgs/applications/networking/cluster/stern/default.nix @@ -31,6 +31,7 @@ buildGoModule rec { meta = with lib; { description = "Multi pod and container log tailing for Kubernetes"; + mainProgram = "stern"; homepage = "https://github.com/stern/stern"; license = licenses.asl20; maintainers = with maintainers; [ mbode preisschild ]; diff --git a/pkgs/applications/networking/cluster/taktuk/default.nix b/pkgs/applications/networking/cluster/taktuk/default.nix index 5cb9f8160067..002bc9da2631 100644 --- a/pkgs/applications/networking/cluster/taktuk/default.nix +++ b/pkgs/applications/networking/cluster/taktuk/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = { description = "Efficient, large scale, parallel remote execution of commands"; + mainProgram = "taktuk"; longDescription = '' TakTuk allows one to execute commands in parallel on a potentially large set of remote nodes (using ssh to connect to each node). It is typically used diff --git a/pkgs/applications/networking/cluster/talosctl/default.nix b/pkgs/applications/networking/cluster/talosctl/default.nix index 17b5c866de6e..afc3b7bdf5aa 100644 --- a/pkgs/applications/networking/cluster/talosctl/default.nix +++ b/pkgs/applications/networking/cluster/talosctl/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "A CLI for out-of-band management of Kubernetes nodes created by Talos"; + mainProgram = "talosctl"; homepage = "https://www.talos.dev/"; license = licenses.mpl20; maintainers = with maintainers; [ flokli ]; diff --git a/pkgs/applications/networking/cluster/temporalite/default.nix b/pkgs/applications/networking/cluster/temporalite/default.nix index efe1f2d30c5d..5581c1694534 100644 --- a/pkgs/applications/networking/cluster/temporalite/default.nix +++ b/pkgs/applications/networking/cluster/temporalite/default.nix @@ -28,6 +28,7 @@ buildGoModule rec { meta = with lib; { description = "An experimental distribution of Temporal that runs as a single process"; + mainProgram = "temporalite"; homepage = "https://github.com/temporalio/temporalite"; license = licenses.mit; maintainers = with maintainers; [ lucperkins ]; diff --git a/pkgs/applications/networking/cluster/terraform-backend-git/default.nix b/pkgs/applications/networking/cluster/terraform-backend-git/default.nix index 2e7f70eaf57d..a78b339c087a 100644 --- a/pkgs/applications/networking/cluster/terraform-backend-git/default.nix +++ b/pkgs/applications/networking/cluster/terraform-backend-git/default.nix @@ -36,6 +36,7 @@ buildGoModule rec { meta = with lib; { description = "Terraform HTTP Backend implementation that uses Git repository as storage"; + mainProgram = "terraform-backend-git"; homepage = "https://github.com/plumber-cd/terraform-backend-git"; changelog = "https://github.com/plumber-cd/terraform-backend-git/blob/${src.rev}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/terraform-compliance/default.nix b/pkgs/applications/networking/cluster/terraform-compliance/default.nix index ce1915242e43..69bb5d991972 100644 --- a/pkgs/applications/networking/cluster/terraform-compliance/default.nix +++ b/pkgs/applications/networking/cluster/terraform-compliance/default.nix @@ -52,6 +52,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "BDD test framework for terraform"; + mainProgram = "terraform-compliance"; homepage = "https://github.com/terraform-compliance/cli"; changelog = "https://github.com/terraform-compliance/cli/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/applications/networking/cluster/terraform-docs/default.nix b/pkgs/applications/networking/cluster/terraform-docs/default.nix index 49855b77c544..0a07d0e8627a 100644 --- a/pkgs/applications/networking/cluster/terraform-docs/default.nix +++ b/pkgs/applications/networking/cluster/terraform-docs/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "A utility to generate documentation from Terraform modules in various output formats"; + mainProgram = "terraform-docs"; homepage = "https://github.com/terraform-docs/terraform-docs/"; license = licenses.mit; maintainers = with maintainers; [ zimbatm ]; diff --git a/pkgs/applications/networking/cluster/terraform-inventory/default.nix b/pkgs/applications/networking/cluster/terraform-inventory/default.nix index 89d4b769e9af..56763aca0679 100644 --- a/pkgs/applications/networking/cluster/terraform-inventory/default.nix +++ b/pkgs/applications/networking/cluster/terraform-inventory/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/adammck/terraform-inventory"; description = "Terraform state to ansible inventory adapter"; + mainProgram = "terraform-inventory"; license = licenses.mit; maintainers = with maintainers; [ htr ]; }; diff --git a/pkgs/applications/networking/cluster/terragrunt/default.nix b/pkgs/applications/networking/cluster/terragrunt/default.nix index 36ade0527264..5ed3b0e07a07 100644 --- a/pkgs/applications/networking/cluster/terragrunt/default.nix +++ b/pkgs/applications/networking/cluster/terragrunt/default.nix @@ -37,6 +37,7 @@ buildGoModule rec { homepage = "https://terragrunt.gruntwork.io"; changelog = "https://github.com/gruntwork-io/terragrunt/releases/tag/v${version}"; description = "A thin wrapper for Terraform that supports locking for Terraform state and enforces best practices"; + mainProgram = "terragrunt"; license = licenses.mit; maintainers = with maintainers; [ jk qjoly kashw2 ]; }; diff --git a/pkgs/applications/networking/cluster/terraspace/default.nix b/pkgs/applications/networking/cluster/terraspace/default.nix index af7c1025356a..da45541108f6 100644 --- a/pkgs/applications/networking/cluster/terraspace/default.nix +++ b/pkgs/applications/networking/cluster/terraspace/default.nix @@ -24,6 +24,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "Terraform framework that provides an organized structure, and keeps your code DRY"; + mainProgram = "terraspace"; homepage = "https://github.com/boltops-tools/terraspace"; license = licenses.asl20; platforms = ruby.meta.platforms; diff --git a/pkgs/applications/networking/cluster/tf-summarize/default.nix b/pkgs/applications/networking/cluster/tf-summarize/default.nix index a16fb8b75208..14fec4795db0 100644 --- a/pkgs/applications/networking/cluster/tf-summarize/default.nix +++ b/pkgs/applications/networking/cluster/tf-summarize/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "Command-line utility to print the summary of the terraform plan"; + mainProgram = "tf-summarize"; homepage = "https://github.com/dineshba/tf-summarize"; license = licenses.mit; maintainers = with maintainers; [ pjrm ]; diff --git a/pkgs/applications/networking/cluster/tfautomv/default.nix b/pkgs/applications/networking/cluster/tfautomv/default.nix index 358dfd0a39fd..fc9dadbf37b6 100644 --- a/pkgs/applications/networking/cluster/tfautomv/default.nix +++ b/pkgs/applications/networking/cluster/tfautomv/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/busser/tfautomv"; description = "When refactoring a Terraform codebase, you often need to write moved blocks. This can be tedious. Let tfautomv do it for you"; + mainProgram = "tfautomv"; license = licenses.asl20; maintainers = with maintainers; [ qjoly ]; }; diff --git a/pkgs/applications/networking/cluster/tfswitch/default.nix b/pkgs/applications/networking/cluster/tfswitch/default.nix index c8f2fb070fba..50079dc762d8 100644 --- a/pkgs/applications/networking/cluster/tfswitch/default.nix +++ b/pkgs/applications/networking/cluster/tfswitch/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { description = "A command line tool to switch between different versions of terraform"; + mainProgram = "tfswitch"; homepage = "https://github.com/warrensbox/terraform-switcher"; license = licenses.mit; maintainers = with maintainers; [ psibi ]; diff --git a/pkgs/applications/networking/cluster/tfupdate/default.nix b/pkgs/applications/networking/cluster/tfupdate/default.nix index b60da990413b..e7a4250f9444 100644 --- a/pkgs/applications/networking/cluster/tfupdate/default.nix +++ b/pkgs/applications/networking/cluster/tfupdate/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "Update version constraints in your Terraform configurations"; + mainProgram = "tfupdate"; homepage = "https://github.com/minamijoyo/tfupdate"; changelog = "https://github.com/minamijoyo/tfupdate/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/applications/networking/cluster/tgswitch/default.nix b/pkgs/applications/networking/cluster/tgswitch/default.nix index 25c301f0cbb5..6196eeeac8ed 100644 --- a/pkgs/applications/networking/cluster/tgswitch/default.nix +++ b/pkgs/applications/networking/cluster/tgswitch/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Command line tool to switch between different versions of terragrunt"; + mainProgram = "tgswitch"; homepage = "https://github.com/warrensbox/tgswitch"; license = licenses.mit; maintainers = with maintainers; [ psibi ]; diff --git a/pkgs/applications/networking/cluster/tilt/binary.nix b/pkgs/applications/networking/cluster/tilt/binary.nix index d326f0f92e80..ebb7f6e11789 100644 --- a/pkgs/applications/networking/cluster/tilt/binary.nix +++ b/pkgs/applications/networking/cluster/tilt/binary.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = { description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production"; + mainProgram = "tilt"; homepage = "https://tilt.dev/"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ anton-dessiatov ]; diff --git a/pkgs/applications/networking/cluster/timoni/default.nix b/pkgs/applications/networking/cluster/timoni/default.nix index 0efc9bb50055..a756212d3d67 100644 --- a/pkgs/applications/networking/cluster/timoni/default.nix +++ b/pkgs/applications/networking/cluster/timoni/default.nix @@ -42,6 +42,7 @@ buildGo122Module rec { homepage = "https://timoni.sh"; changelog = "https://github.com/stefanprodan/timoni/releases/tag/${src.rev}"; description = "A package manager for Kubernetes, powered by CUE and inspired by Helm"; + mainProgram = "timoni"; license = licenses.asl20; maintainers = with maintainers; [ votava ]; }; diff --git a/pkgs/applications/networking/cluster/tubekit/default.nix b/pkgs/applications/networking/cluster/tubekit/default.nix index afcef293c1d8..1e4895118be1 100644 --- a/pkgs/applications/networking/cluster/tubekit/default.nix +++ b/pkgs/applications/networking/cluster/tubekit/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Kubectl alternative with quick context switching"; + mainProgram = "tubectl"; homepage = "https://github.com/reconquest/tubekit"; license = licenses.mit; platforms = platforms.linux ++ platforms.darwin; diff --git a/pkgs/applications/networking/cluster/vcluster/default.nix b/pkgs/applications/networking/cluster/vcluster/default.nix index db2ea91fd054..023bc2110e15 100644 --- a/pkgs/applications/networking/cluster/vcluster/default.nix +++ b/pkgs/applications/networking/cluster/vcluster/default.nix @@ -47,6 +47,7 @@ buildGoModule rec { meta = with lib; { description = "Create fully functional virtual Kubernetes clusters"; + mainProgram = "vcluster"; downloadPage = "https://github.com/loft-sh/vcluster"; homepage = "https://www.vcluster.com/"; license = licenses.asl20; diff --git a/pkgs/applications/networking/cluster/waagent/default.nix b/pkgs/applications/networking/cluster/waagent/default.nix index 5c980133ff6c..65b6d780ffb2 100644 --- a/pkgs/applications/networking/cluster/waagent/default.nix +++ b/pkgs/applications/networking/cluster/waagent/default.nix @@ -65,6 +65,7 @@ python.pkgs.buildPythonApplication rec { meta = { description = "The Microsoft Azure Linux Agent (waagent)"; + mainProgram = "waagent"; longDescription = '' The Microsoft Azure Linux Agent (waagent) manages Linux provisioning and VM interaction with the Azure diff --git a/pkgs/applications/networking/cluster/waypoint/default.nix b/pkgs/applications/networking/cluster/waypoint/default.nix index 880095c72098..7e16417fe2b9 100644 --- a/pkgs/applications/networking/cluster/waypoint/default.nix +++ b/pkgs/applications/networking/cluster/waypoint/default.nix @@ -70,6 +70,7 @@ buildGoModule rec { homepage = "https://waypointproject.io"; changelog = "https://github.com/hashicorp/waypoint/blob/v${version}/CHANGELOG.md"; description = "A tool to build, deploy, and release any application on any platform"; + mainProgram = "waypoint"; longDescription = '' Waypoint allows developers to define their application build, deploy, and release lifecycle as code, reducing the time to deliver deployments diff --git a/pkgs/applications/networking/cluster/werf/default.nix b/pkgs/applications/networking/cluster/werf/default.nix index 6699898945d2..85b97faabd3d 100644 --- a/pkgs/applications/networking/cluster/werf/default.nix +++ b/pkgs/applications/networking/cluster/werf/default.nix @@ -83,6 +83,7 @@ buildGoModule rec { meta = with lib; { description = "GitOps delivery tool"; + mainProgram = "werf"; longDescription = '' The CLI tool gluing Git, Docker, Helm & Kubernetes with any CI system to implement CI/CD and Giterminism. diff --git a/pkgs/applications/networking/cluster/zarf/default.nix b/pkgs/applications/networking/cluster/zarf/default.nix index 2d2b76cbb418..a19cfa5bee58 100644 --- a/pkgs/applications/networking/cluster/zarf/default.nix +++ b/pkgs/applications/networking/cluster/zarf/default.nix @@ -28,6 +28,7 @@ buildGoModule rec { meta = with lib; { description = "DevSecOps for Air Gap & Limited-Connection Systems. https://zarf.dev"; + mainProgram = "zarf"; homepage = "https://github.com/defenseunicorns/zarf.git"; license = licenses.asl20; maintainers = with maintainers; [ ragingpastry ]; diff --git a/pkgs/applications/networking/dyndns/cfdyndns/default.nix b/pkgs/applications/networking/dyndns/cfdyndns/default.nix index 3d348d347172..aba0262e3258 100644 --- a/pkgs/applications/networking/dyndns/cfdyndns/default.nix +++ b/pkgs/applications/networking/dyndns/cfdyndns/default.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "CloudFlare Dynamic DNS Client"; + mainProgram = "cfdyndns"; homepage = "https://github.com/nrdxp/cfdyndns"; license = lib.licenses.mit; maintainers = with maintainers; [ colemickens nrdxp ]; diff --git a/pkgs/applications/networking/dyndns/dyndnsc/default.nix b/pkgs/applications/networking/dyndns/dyndnsc/default.nix index 776bfd501b00..6a9a57d67c3b 100644 --- a/pkgs/applications/networking/dyndns/dyndnsc/default.nix +++ b/pkgs/applications/networking/dyndns/dyndnsc/default.nix @@ -42,6 +42,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Dynamic DNS update client with support for multiple protocols"; + mainProgram = "dyndnsc"; longDescription = '' Dyndnsc is a command line client for sending updates to Dynamic DNS (DDNS, DynDNS) services. It supports multiple protocols and diff --git a/pkgs/applications/networking/feedreaders/canto-curses/default.nix b/pkgs/applications/networking/feedreaders/canto-curses/default.nix index 729d12c1e5b9..d0a1e2cbce15 100644 --- a/pkgs/applications/networking/feedreaders/canto-curses/default.nix +++ b/pkgs/applications/networking/feedreaders/canto-curses/default.nix @@ -16,6 +16,7 @@ python3Packages.buildPythonApplication rec { meta = { description = "An ncurses-based console Atom/RSS feed reader"; + mainProgram = "canto-curses"; longDescription = '' Canto is an Atom/RSS feed reader for the console that is meant to be quick, concise, and colorful. It's meant to allow you to crank through diff --git a/pkgs/applications/networking/feedreaders/castget/default.nix b/pkgs/applications/networking/feedreaders/castget/default.nix index 86bb8f3042ec..bf304389bcae 100644 --- a/pkgs/applications/networking/feedreaders/castget/default.nix +++ b/pkgs/applications/networking/feedreaders/castget/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A simple, command-line based RSS enclosure downloader"; + mainProgram = "castget"; longDescription = '' castget is a simple, command-line based RSS enclosure downloader. It is primarily intended for automatic, unattended downloading of podcasts. diff --git a/pkgs/applications/networking/feedreaders/feed2imap-go/default.nix b/pkgs/applications/networking/feedreaders/feed2imap-go/default.nix index b0bce2b71c5e..806e4fc147e0 100644 --- a/pkgs/applications/networking/feedreaders/feed2imap-go/default.nix +++ b/pkgs/applications/networking/feedreaders/feed2imap-go/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { description = "Uploads rss feeds as e-mails onto an IMAP server"; + mainProgram = "feed2imap-go"; homepage = "https://github.com/Necoro/feed2imap-go"; license = licenses.gpl2; maintainers = with maintainers; [ nomeata ]; diff --git a/pkgs/applications/networking/feedreaders/fluent-reader/default.nix b/pkgs/applications/networking/feedreaders/fluent-reader/default.nix index dd351ce1a27f..362771511cf5 100644 --- a/pkgs/applications/networking/feedreaders/fluent-reader/default.nix +++ b/pkgs/applications/networking/feedreaders/fluent-reader/default.nix @@ -27,6 +27,7 @@ in appimageTools.wrapType2 { meta = with lib; { description = "Modern desktop RSS reader built with Electron, React, and Fluent UI"; + mainProgram = "fluent-reader"; homepage = "https://hyliu.me/fluent-reader"; license = licenses.bsd3; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/applications/networking/feedreaders/gnome-feeds/default.nix b/pkgs/applications/networking/feedreaders/gnome-feeds/default.nix index 7563e8c22d78..902b6a7b35cb 100644 --- a/pkgs/applications/networking/feedreaders/gnome-feeds/default.nix +++ b/pkgs/applications/networking/feedreaders/gnome-feeds/default.nix @@ -78,6 +78,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "An RSS/Atom feed reader for GNOME"; + mainProgram = "gfeeds"; homepage = "https://gitlab.gnome.org/World/gfeeds"; license = licenses.gpl3Plus; maintainers = [ diff --git a/pkgs/applications/networking/feedreaders/goeland/default.nix b/pkgs/applications/networking/feedreaders/goeland/default.nix index 30bce6a15ff4..08bdff3bbcfa 100644 --- a/pkgs/applications/networking/feedreaders/goeland/default.nix +++ b/pkgs/applications/networking/feedreaders/goeland/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { description = "An alternative to rss2email written in golang with many filters"; + mainProgram = "goeland"; longDescription = '' Goeland excels at creating beautiful emails from RSS feeds, tailored for daily or weekly digest. It includes a number of diff --git a/pkgs/applications/networking/feedreaders/photon/default.nix b/pkgs/applications/networking/feedreaders/photon/default.nix index 34612e2a87fc..1717327d865c 100644 --- a/pkgs/applications/networking/feedreaders/photon/default.nix +++ b/pkgs/applications/networking/feedreaders/photon/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "RSS/Atom reader with the focus on speed, usability and a bit of unix philosophy"; + mainProgram = "photon"; homepage = "https://sr.ht/~ghost08/photon"; license = licenses.gpl3Plus; maintainers = with maintainers; [ kmein ]; diff --git a/pkgs/applications/networking/feedreaders/rssguard/default.nix b/pkgs/applications/networking/feedreaders/rssguard/default.nix index 5c031ebc479c..499b8a2893d0 100644 --- a/pkgs/applications/networking/feedreaders/rssguard/default.nix +++ b/pkgs/applications/networking/feedreaders/rssguard/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple RSS/Atom feed reader with online synchronization"; + mainProgram = "rssguard"; longDescription = '' RSS Guard is a simple, light and easy-to-use RSS/ATOM feed aggregator developed using Qt framework and with online feed synchronization support diff --git a/pkgs/applications/networking/feedreaders/rsstail/default.nix b/pkgs/applications/networking/feedreaders/rsstail/default.nix index af2dbd1a9a4f..524e8d76b697 100644 --- a/pkgs/applications/networking/feedreaders/rsstail/default.nix +++ b/pkgs/applications/networking/feedreaders/rsstail/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Monitor RSS feeds for new entries"; + mainProgram = "rsstail"; longDescription = '' RSSTail is more or less an RSS reader: it monitors an RSS feed and if it detects a new entry it'll emit only that new entry. diff --git a/pkgs/applications/networking/feedreaders/russ/default.nix b/pkgs/applications/networking/feedreaders/russ/default.nix index 4bf3c2a34000..6780b58f0d01 100644 --- a/pkgs/applications/networking/feedreaders/russ/default.nix +++ b/pkgs/applications/networking/feedreaders/russ/default.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage { meta = with lib; { description = "A TUI RSS reader with vim-like controls and a local-first, offline-first focus"; + mainProgram = "russ"; homepage = "https://github.com/ckampfe/russ"; license = with licenses; [ agpl3Only ]; maintainers = with maintainers; [ blusk ]; diff --git a/pkgs/applications/networking/feedreaders/tuifeed/default.nix b/pkgs/applications/networking/feedreaders/tuifeed/default.nix index 89494bb6d017..6ee7a6148445 100644 --- a/pkgs/applications/networking/feedreaders/tuifeed/default.nix +++ b/pkgs/applications/networking/feedreaders/tuifeed/default.nix @@ -22,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A terminal feed reader with a fancy UI"; + mainProgram = "tuifeed"; homepage = "https://github.com/veeso/tuifeed"; license = with licenses; [ mit ]; maintainers = with maintainers; [ devhell ]; diff --git a/pkgs/applications/networking/feedreaders/yarr/default.nix b/pkgs/applications/networking/feedreaders/yarr/default.nix index ab3e6af5723e..205e52012cd7 100644 --- a/pkgs/applications/networking/feedreaders/yarr/default.nix +++ b/pkgs/applications/networking/feedreaders/yarr/default.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "Yet another rss reader"; + mainProgram = "yarr"; homepage = "https://github.com/nkanaev/yarr"; changelog = "https://github.com/nkanaev/yarr/blob/v${version}/doc/changelog.txt"; license = licenses.mit; diff --git a/pkgs/applications/networking/firehol/iprange.nix b/pkgs/applications/networking/firehol/iprange.nix index 7dc43d5c116c..d2504b73cc30 100644 --- a/pkgs/applications/networking/firehol/iprange.nix +++ b/pkgs/applications/networking/firehol/iprange.nix @@ -11,6 +11,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "manage IP ranges"; + mainProgram = "iprange"; homepage = "https://github.com/firehol/iprange"; license = licenses.gpl2; maintainers = with maintainers; [ oxzi ]; diff --git a/pkgs/applications/networking/flent/http-getter.nix b/pkgs/applications/networking/flent/http-getter.nix index 21c9d3ca6fb1..5ea07cfe4f9d 100644 --- a/pkgs/applications/networking/flent/http-getter.nix +++ b/pkgs/applications/networking/flent/http-getter.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/tohojo/http-getter"; description = "Simple getter for HTTP URLs using cURL"; + mainProgram = "http-getter"; platforms = platforms.unix; license = licenses.gpl3; }; diff --git a/pkgs/applications/networking/gopher/geomyidae/default.nix b/pkgs/applications/networking/gopher/geomyidae/default.nix index bd57b968140b..442757a8bbe4 100644 --- a/pkgs/applications/networking/gopher/geomyidae/default.nix +++ b/pkgs/applications/networking/gopher/geomyidae/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A gopher daemon for Linux/BSD"; + mainProgram = "geomyidae"; homepage = "gopher://bitreich.org/1/scm/geomyidae"; license = licenses.mit; maintainers = [ maintainers.athas ]; diff --git a/pkgs/applications/networking/gopher/phetch/default.nix b/pkgs/applications/networking/gopher/phetch/default.nix index 8cdd3dc06325..ed327dab740a 100644 --- a/pkgs/applications/networking/gopher/phetch/default.nix +++ b/pkgs/applications/networking/gopher/phetch/default.nix @@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A quick lil gopher client for your terminal, written in rust"; + mainProgram = "phetch"; longDescription = '' phetch is a terminal client designed to help you quickly navigate the gophersphere. - <1MB executable for Linux, Mac, and NetBSD diff --git a/pkgs/applications/networking/gopher/sacc/default.nix b/pkgs/applications/networking/gopher/sacc/default.nix index 686f671e13a5..2e89930f2b78 100644 --- a/pkgs/applications/networking/gopher/sacc/default.nix +++ b/pkgs/applications/networking/gopher/sacc/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A terminal gopher client"; + mainProgram = "sacc"; homepage = "gopher://bitreich.org/1/scm/sacc"; license = licenses.isc; maintainers = [ maintainers.sternenseemann ]; diff --git a/pkgs/applications/networking/ids/daq/default.nix b/pkgs/applications/networking/ids/daq/default.nix index dc40337bd723..a8d2f52052dc 100644 --- a/pkgs/applications/networking/ids/daq/default.nix +++ b/pkgs/applications/networking/ids/daq/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = { description = "Data AcQuisition library (DAQ), for packet I/O"; + mainProgram = "daq-modules-config"; homepage = "https://www.snort.org"; maintainers = with lib.maintainers; [ aycanirican ]; license = lib.licenses.gpl2; diff --git a/pkgs/applications/networking/ids/zeek/broker/default.nix b/pkgs/applications/networking/ids/zeek/broker/default.nix index a2d34ec7b1fe..1e9b6f3f0c08 100644 --- a/pkgs/applications/networking/ids/zeek/broker/default.nix +++ b/pkgs/applications/networking/ids/zeek/broker/default.nix @@ -82,6 +82,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Zeek's Messaging Library"; + mainProgram = "broker-benchmark"; homepage = "https://github.com/zeek/broker"; license = licenses.bsd3; platforms = platforms.unix; diff --git a/pkgs/applications/networking/instant-messengers/SkypeExport/default.nix b/pkgs/applications/networking/instant-messengers/SkypeExport/default.nix index f402faf965be..de70f49fe604 100644 --- a/pkgs/applications/networking/instant-messengers/SkypeExport/default.nix +++ b/pkgs/applications/networking/instant-messengers/SkypeExport/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Export Skype history to HTML"; + mainProgram = "SkypeExport"; homepage = "https://github.com/Temptin/SkypeExport"; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/applications/networking/instant-messengers/abaddon/default.nix b/pkgs/applications/networking/instant-messengers/abaddon/default.nix index 3dbab9211dfa..7101bba8d196 100644 --- a/pkgs/applications/networking/instant-messengers/abaddon/default.nix +++ b/pkgs/applications/networking/instant-messengers/abaddon/default.nix @@ -77,6 +77,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A discord client reimplementation, written in C++"; + mainProgram = "abaddon"; homepage = "https://github.com/uowuo/abaddon"; license = licenses.gpl3Plus; maintainers = with maintainers; [ genericnerdyusername ]; diff --git a/pkgs/applications/networking/instant-messengers/bitlbee/default.nix b/pkgs/applications/networking/instant-messengers/bitlbee/default.nix index 99ce3f8811ef..32b3096c3c66 100644 --- a/pkgs/applications/networking/instant-messengers/bitlbee/default.nix +++ b/pkgs/applications/networking/instant-messengers/bitlbee/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "IRC instant messaging gateway"; + mainProgram = "bitlbee"; longDescription = '' BitlBee brings IM (instant messaging) to IRC clients. It's a diff --git a/pkgs/applications/networking/instant-messengers/briar-desktop/default.nix b/pkgs/applications/networking/instant-messengers/briar-desktop/default.nix index 4bdc8f7f6deb..c0fd454a2fd8 100644 --- a/pkgs/applications/networking/instant-messengers/briar-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/briar-desktop/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Decentalized and secure messnger"; + mainProgram = "briar-desktop"; homepage = "https://code.briarproject.org/briar/briar-desktop"; license = licenses.gpl3; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/applications/networking/instant-messengers/chatterino2/default.nix b/pkgs/applications/networking/instant-messengers/chatterino2/default.nix index 4353c983320b..19c91baf9a43 100644 --- a/pkgs/applications/networking/instant-messengers/chatterino2/default.nix +++ b/pkgs/applications/networking/instant-messengers/chatterino2/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { description = "A chat client for Twitch chat"; + mainProgram = "chatterino"; longDescription = '' Chatterino is a chat client for Twitch chat. It aims to be an improved/extended version of the Twitch web chat. Chatterino 2 is diff --git a/pkgs/applications/networking/instant-messengers/chatty/default.nix b/pkgs/applications/networking/instant-messengers/chatty/default.nix index 9faecf609272..11ac39c32f80 100644 --- a/pkgs/applications/networking/instant-messengers/chatty/default.nix +++ b/pkgs/applications/networking/instant-messengers/chatty/default.nix @@ -78,6 +78,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "XMPP and SMS messaging via libpurple and ModemManager"; + mainProgram = "chatty"; homepage = "https://gitlab.gnome.org/World/Chatty"; changelog = "https://gitlab.gnome.org/World/Chatty/-/blob/${src.rev}/NEWS"; license = licenses.gpl3Plus; diff --git a/pkgs/applications/networking/instant-messengers/cordless/default.nix b/pkgs/applications/networking/instant-messengers/cordless/default.nix index 01bd4ff50e4c..35c2c0dbffb3 100644 --- a/pkgs/applications/networking/instant-messengers/cordless/default.nix +++ b/pkgs/applications/networking/instant-messengers/cordless/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/Bios-Marcel/cordless"; description = "Discord terminal client"; + mainProgram = "cordless"; license = licenses.bsd3; maintainers = with maintainers; [ colemickens ]; }; diff --git a/pkgs/applications/networking/instant-messengers/coyim/default.nix b/pkgs/applications/networking/instant-messengers/coyim/default.nix index 61fb4b43a033..8223f9598b61 100644 --- a/pkgs/applications/networking/instant-messengers/coyim/default.nix +++ b/pkgs/applications/networking/instant-messengers/coyim/default.nix @@ -30,6 +30,7 @@ buildGoPackage rec { meta = with lib; { description = "a safe and secure chat client"; + mainProgram = "coyim"; homepage = "https://coy.im/"; license = licenses.gpl3; platforms = [ "x86_64-linux" "x86_64-darwin" ]; diff --git a/pkgs/applications/networking/instant-messengers/dino/default.nix b/pkgs/applications/networking/instant-messengers/dino/default.nix index 879314a97f0e..258f75df4d10 100644 --- a/pkgs/applications/networking/instant-messengers/dino/default.nix +++ b/pkgs/applications/networking/instant-messengers/dino/default.nix @@ -121,6 +121,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Modern Jabber/XMPP Client using GTK/Vala"; + mainProgram = "dino"; homepage = "https://github.com/dino/dino"; license = licenses.gpl3Plus; platforms = platforms.linux ++ platforms.darwin; diff --git a/pkgs/applications/networking/instant-messengers/discord-screenaudio/default.nix b/pkgs/applications/networking/instant-messengers/discord-screenaudio/default.nix index 44ef7cae84c7..bdbd550b6731 100644 --- a/pkgs/applications/networking/instant-messengers/discord-screenaudio/default.nix +++ b/pkgs/applications/networking/instant-messengers/discord-screenaudio/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = { description = "A custom discord client that supports streaming with audio on Linux"; + mainProgram = "discord-screenaudio"; homepage = "https://github.com/maltejur/discord-screenaudio"; downloadPage = "https://github.com/maltejur/discord-screenaudio/releases"; changelog = "https://github.com/maltejur/discord-screenaudio/releases/tag/v${version}"; diff --git a/pkgs/applications/networking/instant-messengers/flare-signal/default.nix b/pkgs/applications/networking/instant-messengers/flare-signal/default.nix index 9988352d1614..f21241e10b60 100644 --- a/pkgs/applications/networking/instant-messengers/flare-signal/default.nix +++ b/pkgs/applications/networking/instant-messengers/flare-signal/default.nix @@ -71,6 +71,7 @@ stdenv.mkDerivation rec { meta = { changelog = "https://gitlab.com/schmiddi-on-mobile/flare/-/blob/${src.rev}/CHANGELOG.md"; description = "An unofficial Signal GTK client"; + mainProgram = "flare"; homepage = "https://gitlab.com/schmiddi-on-mobile/flare"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ dotlambda ]; diff --git a/pkgs/applications/networking/instant-messengers/freetalk/default.nix b/pkgs/applications/networking/instant-messengers/freetalk/default.nix index fdfbbc5b275b..e259c6b60f8d 100644 --- a/pkgs/applications/networking/instant-messengers/freetalk/default.nix +++ b/pkgs/applications/networking/instant-messengers/freetalk/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Console XMPP client"; + mainProgram = "freetalk"; license = licenses.gpl3Plus ; maintainers = with maintainers; [ raskin ]; platforms = platforms.unix; diff --git a/pkgs/applications/networking/instant-messengers/go-neb/default.nix b/pkgs/applications/networking/instant-messengers/go-neb/default.nix index d1947825c42b..82cfb3126c86 100644 --- a/pkgs/applications/networking/instant-messengers/go-neb/default.nix +++ b/pkgs/applications/networking/instant-messengers/go-neb/default.nix @@ -23,6 +23,7 @@ buildGoModule { meta = with lib; { broken = stdenv.isDarwin; description = "Extensible matrix bot written in Go"; + mainProgram = "go-neb"; homepage = "https://github.com/matrix-org/go-neb"; license = licenses.asl20; maintainers = with maintainers; [ hexa maralorn ]; diff --git a/pkgs/applications/networking/instant-messengers/gomuks/default.nix b/pkgs/applications/networking/instant-messengers/gomuks/default.nix index d7fd40029843..e25a94d0bef8 100644 --- a/pkgs/applications/networking/instant-messengers/gomuks/default.nix +++ b/pkgs/applications/networking/instant-messengers/gomuks/default.nix @@ -51,6 +51,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://maunium.net/go/gomuks/"; description = "A terminal based Matrix client written in Go"; + mainProgram = "gomuks"; license = licenses.agpl3Plus; maintainers = with maintainers; [ chvp emily ]; }; diff --git a/pkgs/applications/networking/instant-messengers/gurk-rs/default.nix b/pkgs/applications/networking/instant-messengers/gurk-rs/default.nix index 352fa1a511cd..63d8581aa766 100644 --- a/pkgs/applications/networking/instant-messengers/gurk-rs/default.nix +++ b/pkgs/applications/networking/instant-messengers/gurk-rs/default.nix @@ -43,6 +43,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Signal Messenger client for terminal"; + mainProgram = "gurk"; homepage = "https://github.com/boxdot/gurk-rs"; license = licenses.agpl3Only; maintainers = with maintainers; [ devhell ]; diff --git a/pkgs/applications/networking/instant-messengers/iamb/default.nix b/pkgs/applications/networking/instant-messengers/iamb/default.nix index ea8351c74f66..6e4e5276e582 100644 --- a/pkgs/applications/networking/instant-messengers/iamb/default.nix +++ b/pkgs/applications/networking/instant-messengers/iamb/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A Matrix client for Vim addicts"; + mainProgram = "iamb"; homepage = "https://github.com/ulyssa/iamb"; changelog = "https://github.com/ulyssa/iamb/releases/tag/${src.rev}"; license = licenses.asl20; diff --git a/pkgs/applications/networking/instant-messengers/jackline/default.nix b/pkgs/applications/networking/instant-messengers/jackline/default.nix index 2c86b3e86fa8..946b77512e17 100644 --- a/pkgs/applications/networking/instant-messengers/jackline/default.nix +++ b/pkgs/applications/networking/instant-messengers/jackline/default.nix @@ -47,6 +47,7 @@ buildDunePackage rec { meta = with lib; { homepage = "https://github.com/hannesm/jackline"; description = "minimalistic secure XMPP client in OCaml"; + mainProgram = "jackline"; license = licenses.bsd2; maintainers = with maintainers; [ sternenseemann ]; }; diff --git a/pkgs/applications/networking/instant-messengers/jami/default.nix b/pkgs/applications/networking/instant-messengers/jami/default.nix index 7acbd1b3b393..98b4b69e6929 100644 --- a/pkgs/applications/networking/instant-messengers/jami/default.nix +++ b/pkgs/applications/networking/instant-messengers/jami/default.nix @@ -249,6 +249,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://jami.net/"; description = "The free and universal communication platform that respects the privacy and freedoms of its users"; + mainProgram = "jami"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = [ maintainers.linsui ]; diff --git a/pkgs/applications/networking/instant-messengers/jitsi/default.nix b/pkgs/applications/networking/instant-messengers/jitsi/default.nix index cb634f434d24..a9ee84fbbb95 100644 --- a/pkgs/applications/networking/instant-messengers/jitsi/default.nix +++ b/pkgs/applications/networking/instant-messengers/jitsi/default.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://desktop.jitsi.org/"; description = "Open Source Video Calls and Chat"; + mainProgram = "jitsi"; sourceProvenance = with sourceTypes; [ binaryBytecode binaryNativeCode diff --git a/pkgs/applications/networking/instant-messengers/kaidan/default.nix b/pkgs/applications/networking/instant-messengers/kaidan/default.nix index 5a242e9cd517..b710421adb4a 100644 --- a/pkgs/applications/networking/instant-messengers/kaidan/default.nix +++ b/pkgs/applications/networking/instant-messengers/kaidan/default.nix @@ -57,6 +57,7 @@ mkDerivation rec { meta = with lib; { description = "User-friendly and modern chat app, using XMPP"; + mainProgram = "kaidan"; longDescription = '' Kaidan is a user-friendly and modern chat app for every device. It uses the open communication protocol XMPP (Jabber). Unlike other chat apps, diff --git a/pkgs/applications/networking/instant-messengers/kdeltachat/default.nix b/pkgs/applications/networking/instant-messengers/kdeltachat/default.nix index 30d1ee2dcda8..955c20c2c6f6 100644 --- a/pkgs/applications/networking/instant-messengers/kdeltachat/default.nix +++ b/pkgs/applications/networking/instant-messengers/kdeltachat/default.nix @@ -45,6 +45,7 @@ mkDerivation rec { meta = with lib; { description = "Delta Chat client using Kirigami framework"; + mainProgram = "kdeltachat"; homepage = "https://git.sr.ht/~link2xt/kdeltachat"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dotlambda ]; diff --git a/pkgs/applications/networking/instant-messengers/linphone/default.nix b/pkgs/applications/networking/instant-messengers/linphone/default.nix index 1d930612e9f9..778e1dc9cf50 100644 --- a/pkgs/applications/networking/instant-messengers/linphone/default.nix +++ b/pkgs/applications/networking/instant-messengers/linphone/default.nix @@ -134,6 +134,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://www.linphone.org/"; description = "Open source SIP phone for voice/video calls and instant messaging"; + mainProgram = "linphone"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ jluttine ]; diff --git a/pkgs/applications/networking/instant-messengers/matrix-commander/default.nix b/pkgs/applications/networking/instant-messengers/matrix-commander/default.nix index 154803697873..54c485525d7e 100644 --- a/pkgs/applications/networking/instant-messengers/matrix-commander/default.nix +++ b/pkgs/applications/networking/instant-messengers/matrix-commander/default.nix @@ -55,6 +55,7 @@ buildPythonApplication rec { meta = with lib; { description = "Simple but convenient CLI-based Matrix client app for sending and receiving"; + mainProgram = "matrix-commander"; homepage = "https://github.com/8go/matrix-commander"; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/applications/networking/instant-messengers/matrix-dl/default.nix b/pkgs/applications/networking/instant-messengers/matrix-dl/default.nix index 0b2be12ad0b3..b16b0bbd7c4e 100644 --- a/pkgs/applications/networking/instant-messengers/matrix-dl/default.nix +++ b/pkgs/applications/networking/instant-messengers/matrix-dl/default.nix @@ -25,6 +25,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Download backlogs from Matrix as raw text"; + mainProgram = "matrix-dl"; homepage = src.meta.homepage; license = licenses.gpl1Plus; maintainers = with maintainers; [ aw ]; diff --git a/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix b/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix index f7b31021a80e..ac9d1b136934 100644 --- a/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/mattermost-desktop/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Mattermost Desktop client"; + mainProgram = "mattermost-desktop"; homepage = "https://about.mattermost.com/"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.asl20; diff --git a/pkgs/applications/networking/instant-messengers/mcabber/default.nix b/pkgs/applications/networking/instant-messengers/mcabber/default.nix index 3acd11a9a0d3..60ec25e5f172 100644 --- a/pkgs/applications/networking/instant-messengers/mcabber/default.nix +++ b/pkgs/applications/networking/instant-messengers/mcabber/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://mcabber.com/"; description = "Small Jabber console client"; + mainProgram = "mcabber"; license = licenses.gpl2; maintainers = with maintainers; [ pSub ]; platforms = with platforms; linux; diff --git a/pkgs/applications/networking/instant-messengers/mm/default.nix b/pkgs/applications/networking/instant-messengers/mm/default.nix index b6c48a0e948c..a4f17b6709d1 100644 --- a/pkgs/applications/networking/instant-messengers/mm/default.nix +++ b/pkgs/applications/networking/instant-messengers/mm/default.nix @@ -14,6 +14,7 @@ buildGoModule { meta = with lib; { description = "A file system based matrix client"; + mainProgram = "mm"; homepage = "https://git.lost.host/meutraa/mm"; license = licenses.isc; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/networking/instant-messengers/nchat/default.nix b/pkgs/applications/networking/instant-messengers/nchat/default.nix index 51b704f5bc7b..0e3c7f6803fb 100644 --- a/pkgs/applications/networking/instant-messengers/nchat/default.nix +++ b/pkgs/applications/networking/instant-messengers/nchat/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Terminal-based chat client with support for Telegram and WhatsApp"; + mainProgram = "nchat"; homepage = "https://github.com/d99kris/nchat"; license = licenses.mit; maintainers = with maintainers; [ sikmir ]; diff --git a/pkgs/applications/networking/instant-messengers/neosay/default.nix b/pkgs/applications/networking/instant-messengers/neosay/default.nix index 3f76bdade3a8..46ea22da5db8 100644 --- a/pkgs/applications/networking/instant-messengers/neosay/default.nix +++ b/pkgs/applications/networking/instant-messengers/neosay/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "Pipe stdin to matrix"; + mainProgram = "neosay"; homepage = "https://github.com/donuts-are-good/neosay"; license = licenses.mit; maintainers = with maintainers; [ janik ]; diff --git a/pkgs/applications/networking/instant-messengers/profanity/default.nix b/pkgs/applications/networking/instant-messengers/profanity/default.nix index cb8b09c336db..cca91da3abda 100644 --- a/pkgs/applications/networking/instant-messengers/profanity/default.nix +++ b/pkgs/applications/networking/instant-messengers/profanity/default.nix @@ -92,6 +92,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://www.profanity.im/"; description = "A console based XMPP client"; + mainProgram = "profanity"; longDescription = '' Profanity is a console based XMPP client written in C using ncurses and libstrophe, inspired by Irssi. diff --git a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix index 750ebe186bb8..295f92b9ef9a 100644 --- a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix +++ b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix @@ -99,6 +99,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://psi-plus.com"; description = "XMPP (Jabber) client based on Qt5"; + mainProgram = "psi-plus"; maintainers = with maintainers; [ orivej misuzu unclechu ]; license = licenses.gpl2Only; platforms = platforms.linux; diff --git a/pkgs/applications/networking/instant-messengers/psi/default.nix b/pkgs/applications/networking/instant-messengers/psi/default.nix index 62b6c8f8e59c..7745fc9fc909 100644 --- a/pkgs/applications/networking/instant-messengers/psi/default.nix +++ b/pkgs/applications/networking/instant-messengers/psi/default.nix @@ -25,6 +25,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://psi-im.org"; description = "An XMPP (Jabber) client"; + mainProgram = "psi"; maintainers = [ maintainers.raskin ]; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/applications/networking/instant-messengers/qtox/default.nix b/pkgs/applications/networking/instant-messengers/qtox/default.nix index 8273a6fdbc6d..09240ae4713b 100644 --- a/pkgs/applications/networking/instant-messengers/qtox/default.nix +++ b/pkgs/applications/networking/instant-messengers/qtox/default.nix @@ -69,6 +69,7 @@ mkDerivation rec { meta = with lib; { broken = stdenv.isDarwin; description = "Qt Tox client"; + mainProgram = "qtox"; homepage = "https://tox.chat"; license = licenses.gpl3; maintainers = with maintainers; [ akaWolf peterhoeg ]; diff --git a/pkgs/applications/networking/instant-messengers/quaternion/default.nix b/pkgs/applications/networking/instant-messengers/quaternion/default.nix index 5111b7424f44..2a0bfce75631 100644 --- a/pkgs/applications/networking/instant-messengers/quaternion/default.nix +++ b/pkgs/applications/networking/instant-messengers/quaternion/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Cross-platform desktop IM client for the Matrix protocol"; + mainProgram = "quaternion"; homepage = "https://matrix.org/ecosystem/clients/quaternion/"; license = licenses.gpl3; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/applications/networking/instant-messengers/ratox/default.nix b/pkgs/applications/networking/instant-messengers/ratox/default.nix index 5dcb22050763..4a80071a6cea 100644 --- a/pkgs/applications/networking/instant-messengers/ratox/default.nix +++ b/pkgs/applications/networking/instant-messengers/ratox/default.nix @@ -27,6 +27,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "FIFO based tox client"; + mainProgram = "ratox"; homepage = "http://ratox.2f30.org/"; license = licenses.isc; maintainers = with maintainers; [ ehmry ]; diff --git a/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix b/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix index e46f5824af0f..737e867bf5a6 100644 --- a/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/rocketchat-desktop/default.nix @@ -88,6 +88,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Official Desktop client for Rocket.Chat"; + mainProgram = "rocketchat-desktop"; homepage = "https://github.com/RocketChat/Rocket.Chat.Electron"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.mit; diff --git a/pkgs/applications/networking/instant-messengers/seren/default.nix b/pkgs/applications/networking/instant-messengers/seren/default.nix index ed02def3eb88..590a0639dc84 100644 --- a/pkgs/applications/networking/instant-messengers/seren/default.nix +++ b/pkgs/applications/networking/instant-messengers/seren/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple ncurses VoIP program based on the Opus codec"; + mainProgram = "seren"; longDescription = '' Seren is a simple VoIP program based on the Opus codec that allows you to create a voice conference from the terminal, with up to 10 diff --git a/pkgs/applications/networking/instant-messengers/session-desktop/default.nix b/pkgs/applications/networking/instant-messengers/session-desktop/default.nix index 9b2dc1e62ef3..bc0afb8b6883 100644 --- a/pkgs/applications/networking/instant-messengers/session-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/session-desktop/default.nix @@ -57,6 +57,7 @@ stdenvNoCC.mkDerivation { meta = with lib; { description = "Onion routing based messenger"; + mainProgram = "session-desktop"; homepage = "https://getsession.org/"; license = licenses.gpl3Only; maintainers = with maintainers; [ alexnortung ]; diff --git a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix index 4f8f972620ac..2f62a08f4625 100644 --- a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix +++ b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/AsamK/signal-cli"; description = "Command-line and dbus interface for communicating with the Signal messaging service"; + mainProgram = "signal-cli"; changelog = "https://github.com/AsamK/signal-cli/blob/v${version}/CHANGELOG.md"; license = licenses.gpl3; maintainers = with maintainers; [ ivan ]; diff --git a/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix b/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix index 5343f6f88c2e..454d6343d15b 100644 --- a/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix +++ b/pkgs/applications/networking/instant-messengers/signalbackup-tools/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tool to work with Signal Backup files"; + mainProgram = "signalbackup-tools"; homepage = "https://github.com/bepaald/signalbackup-tools"; license = licenses.gpl3Only; maintainers = [ maintainers.malo ]; diff --git a/pkgs/applications/networking/instant-messengers/signaldctl/default.nix b/pkgs/applications/networking/instant-messengers/signaldctl/default.nix index 82637dbbb0c9..d1c152013b57 100644 --- a/pkgs/applications/networking/instant-messengers/signaldctl/default.nix +++ b/pkgs/applications/networking/instant-messengers/signaldctl/default.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { description = "A golang library for communicating with signald"; + mainProgram = "signaldctl"; homepage = "https://signald.org/signaldctl/"; license = licenses.gpl3; maintainers = with maintainers; [ colinsane ]; diff --git a/pkgs/applications/networking/instant-messengers/silc-client/default.nix b/pkgs/applications/networking/instant-messengers/silc-client/default.nix index 417cb4dbb844..9dd94225acfe 100644 --- a/pkgs/applications/networking/instant-messengers/silc-client/default.nix +++ b/pkgs/applications/networking/instant-messengers/silc-client/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://silcnet.org/"; description = "Secure Internet Live Conferencing server"; + mainProgram = "silc"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [viric]; platforms = with lib.platforms; linux; diff --git a/pkgs/applications/networking/instant-messengers/ssh-chat/default.nix b/pkgs/applications/networking/instant-messengers/ssh-chat/default.nix index 15ff9a9e2b50..425b0535e741 100644 --- a/pkgs/applications/networking/instant-messengers/ssh-chat/default.nix +++ b/pkgs/applications/networking/instant-messengers/ssh-chat/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Chat over SSH"; + mainProgram = "ssh-chat"; homepage = "https://github.com/shazow/ssh-chat"; license = licenses.mit; maintainers = with maintainers; [ luc65r ]; diff --git a/pkgs/applications/networking/instant-messengers/tangram/default.nix b/pkgs/applications/networking/instant-messengers/tangram/default.nix index df460db31664..c32e55ffde4e 100644 --- a/pkgs/applications/networking/instant-messengers/tangram/default.nix +++ b/pkgs/applications/networking/instant-messengers/tangram/default.nix @@ -82,6 +82,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Run web apps on your desktop"; + mainProgram = "re.sonny.Tangram"; homepage = "https://github.com/sonnyp/Tangram"; license = licenses.gpl3Only; platforms = platforms.linux; diff --git a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix index 0f9581ee78d3..0d430af0894c 100644 --- a/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix +++ b/pkgs/applications/networking/instant-messengers/teams-for-linux/default.nix @@ -101,6 +101,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Unofficial Microsoft Teams client for Linux"; + mainProgram = "teams-for-linux"; homepage = "https://github.com/IsmaelMartinez/teams-for-linux"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ muscaln lilyinstarlight qjoly chvp ]; diff --git a/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix index dbd81911501e..f0732ec03920 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix @@ -209,6 +209,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Kotatogram – experimental Telegram Desktop fork"; + mainProgram = "kotatogram-desktop"; longDescription = '' Unofficial desktop client for the Telegram messenger, based on Telegram Desktop. diff --git a/pkgs/applications/networking/instant-messengers/telegram/tg/default.nix b/pkgs/applications/networking/instant-messengers/telegram/tg/default.nix index f0c054fd7a90..7cdbda355d38 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/tg/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/tg/default.nix @@ -40,6 +40,7 @@ buildPythonApplication rec { meta = with lib; { description = "Terminal client for telegram"; + mainProgram = "tg"; homepage = "https://github.com/paul-nameless/tg"; license = licenses.unlicense; maintainers = with maintainers; [ sikmir ]; diff --git a/pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix b/pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix index ed2723c0435c..dc4b11caf0b9 100644 --- a/pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix +++ b/pkgs/applications/networking/instant-messengers/telepathy/gabble/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Jabber/XMPP connection manager for the Telepathy framework"; + mainProgram = "telepathy-gabble-xmpp-console"; homepage = "https://telepathy.freedesktop.org/components/telepathy-gabble/"; license = licenses.lgpl21Plus; platforms = lib.platforms.unix; diff --git a/pkgs/applications/networking/instant-messengers/tensor/default.nix b/pkgs/applications/networking/instant-messengers/tensor/default.nix index ffa603fb80b1..c8b38ccb35ec 100644 --- a/pkgs/applications/networking/instant-messengers/tensor/default.nix +++ b/pkgs/applications/networking/instant-messengers/tensor/default.nix @@ -62,6 +62,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/davidar/tensor"; description = "Cross-platform Qt5/QML-based Matrix client"; + mainProgram = "tensor"; license = licenses.gpl3; maintainers = with maintainers; [ peterhoeg ]; inherit (qtbase.meta) platforms; diff --git a/pkgs/applications/networking/instant-messengers/threema-desktop/default.nix b/pkgs/applications/networking/instant-messengers/threema-desktop/default.nix index 0cb8cc4ff2e5..fc796ac7a349 100644 --- a/pkgs/applications/networking/instant-messengers/threema-desktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/threema-desktop/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Desktop client for Threema, a privacy-focused end-to-end encrypted mobile messenger"; + mainProgram = "threema"; homepage = "https://threema.ch"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.agpl3Only; diff --git a/pkgs/applications/networking/instant-messengers/toxic/default.nix b/pkgs/applications/networking/instant-messengers/toxic/default.nix index 2f16cb78454f..bd3f30adc688 100644 --- a/pkgs/applications/networking/instant-messengers/toxic/default.nix +++ b/pkgs/applications/networking/instant-messengers/toxic/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; src.meta // { description = "Reference CLI for Tox"; + mainProgram = "toxic"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ehmry ]; platforms = platforms.linux; diff --git a/pkgs/applications/networking/instant-messengers/turses/default.nix b/pkgs/applications/networking/instant-messengers/turses/default.nix index 240931065e6c..19e50f3fe8bf 100644 --- a/pkgs/applications/networking/instant-messengers/turses/default.nix +++ b/pkgs/applications/networking/instant-messengers/turses/default.nix @@ -87,6 +87,7 @@ buildPythonPackage rec { meta = with lib; { description = "A Twitter client for the console"; + mainProgram = "turses"; homepage = "https://github.com/louipc/turses"; license = licenses.gpl3Only; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/networking/instant-messengers/utox/default.nix b/pkgs/applications/networking/instant-messengers/utox/default.nix index 7fee1f5c3a83..c5aa13da0d33 100644 --- a/pkgs/applications/networking/instant-messengers/utox/default.nix +++ b/pkgs/applications/networking/instant-messengers/utox/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Lightweight Tox client"; + mainProgram = "utox"; homepage = "https://github.com/uTox/uTox"; license = licenses.gpl3; maintainers = with maintainers; [ ]; diff --git a/pkgs/applications/networking/instant-messengers/vk-cli/default.nix b/pkgs/applications/networking/instant-messengers/vk-cli/default.nix index a22437bf8da0..9d089a383556 100644 --- a/pkgs/applications/networking/instant-messengers/vk-cli/default.nix +++ b/pkgs/applications/networking/instant-messengers/vk-cli/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A console (ncurses) client for vk.com written in D"; + mainProgram = "vk-cli"; homepage = "https://github.com/vk-cli/vk"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.asl20; diff --git a/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix b/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix index efca89de7cbb..366dcbeffaea 100644 --- a/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix +++ b/pkgs/applications/networking/instant-messengers/whatsapp-for-linux/default.nix @@ -71,6 +71,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/eneshecan/whatsapp-for-linux"; description = "Whatsapp desktop messaging app"; + mainProgram = "whatsapp-for-linux"; license = licenses.gpl3Only; maintainers = with maintainers; [ bartuka ]; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/applications/networking/instant-messengers/xmppc/default.nix b/pkgs/applications/networking/instant-messengers/xmppc/default.nix index c1a8891a073e..47eb18f191dc 100644 --- a/pkgs/applications/networking/instant-messengers/xmppc/default.nix +++ b/pkgs/applications/networking/instant-messengers/xmppc/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Command Line Interface Tool for XMPP"; + mainProgram = "xmppc"; homepage = "https://codeberg.org/Anoxinon_e.V./xmppc"; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/applications/networking/instant-messengers/ytalk/default.nix b/pkgs/applications/networking/instant-messengers/ytalk/default.nix index 1ccc9fbe6f57..29ebc5f43d56 100644 --- a/pkgs/applications/networking/instant-messengers/ytalk/default.nix +++ b/pkgs/applications/networking/instant-messengers/ytalk/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://ytalk.ourproject.org"; description = "A terminal based talk client"; + mainProgram = "ytalk"; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ taeer ]; license = lib.licenses.gpl2Plus; diff --git a/pkgs/applications/networking/irc/communi/default.nix b/pkgs/applications/networking/irc/communi/default.nix index cbd099c33bc7..4f81dd657c62 100644 --- a/pkgs/applications/networking/irc/communi/default.nix +++ b/pkgs/applications/networking/irc/communi/default.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple and elegant cross-platform IRC client"; + mainProgram = "communi"; homepage = "https://github.com/communi/communi-desktop"; license = licenses.bsd3; maintainers = with maintainers; [ hrdinka ]; diff --git a/pkgs/applications/networking/irc/convos/default.nix b/pkgs/applications/networking/irc/convos/default.nix index da4967916d44..2fc2e0585910 100644 --- a/pkgs/applications/networking/irc/convos/default.nix +++ b/pkgs/applications/networking/irc/convos/default.nix @@ -90,6 +90,7 @@ perlPackages.buildPerlPackage rec { meta = { homepage = "https://convos.chat"; description = "Convos is the simplest way to use IRC in your browser"; + mainProgram = "convos"; license = lib.licenses.artistic2; maintainers = with lib.maintainers; [ sgo ]; }; diff --git a/pkgs/applications/networking/irc/ii/default.nix b/pkgs/applications/networking/irc/ii/default.nix index 8fcbdce97291..8fca00992252 100644 --- a/pkgs/applications/networking/irc/ii/default.nix +++ b/pkgs/applications/networking/irc/ii/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { homepage = "https://tools.suckless.org/ii/"; license = lib.licenses.mit; description = "Irc it, simple FIFO based irc client"; + mainProgram = "ii"; platforms = lib.platforms.unix; }; } diff --git a/pkgs/applications/networking/irc/irccloud/default.nix b/pkgs/applications/networking/irc/irccloud/default.nix index d6b7af7c0a86..9f1ff1008177 100644 --- a/pkgs/applications/networking/irc/irccloud/default.nix +++ b/pkgs/applications/networking/irc/irccloud/default.nix @@ -30,6 +30,7 @@ in appimageTools.wrapType2 { meta = with lib; { description = "A desktop client for IRCCloud"; + mainProgram = "irccloud"; homepage = "https://www.irccloud.com"; license = licenses.asl20; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/applications/networking/irc/ircdog/default.nix b/pkgs/applications/networking/irc/ircdog/default.nix index 5da057b29154..56c951798fe9 100644 --- a/pkgs/applications/networking/irc/ircdog/default.nix +++ b/pkgs/applications/networking/irc/ircdog/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "ircdog is a simple wrapper over the raw IRC protocol that can respond to pings, and interprets formatting codes"; + mainProgram = "ircdog"; homepage = "https://github.com/ergochat/ircdog"; changelog = "https://github.com/ergochat/ircdog/releases/tag/v${version}"; license = licenses.isc; diff --git a/pkgs/applications/networking/irc/irssi/default.nix b/pkgs/applications/networking/irc/irssi/default.nix index d95b64f04298..940242b6668d 100644 --- a/pkgs/applications/networking/irc/irssi/default.nix +++ b/pkgs/applications/networking/irc/irssi/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Terminal based IRC client"; + mainProgram = "irssi"; homepage = "https://irssi.org"; license = licenses.gpl2Plus; maintainers = with maintainers; [ fab lovek323 ]; diff --git a/pkgs/applications/networking/irc/kirc/default.nix b/pkgs/applications/networking/irc/kirc/default.nix index c21a444b61c1..ea2e45bff88e 100644 --- a/pkgs/applications/networking/irc/kirc/default.nix +++ b/pkgs/applications/networking/irc/kirc/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://mcpcpc.github.io/kirc/"; description = "Tiny IRC client written in C99"; + mainProgram = "kirc"; longDescription = '' kirc is a tiny open-source Internet Relay Chat (IRC) client designed with usability and cross-platform compatibility in mind. diff --git a/pkgs/applications/networking/irc/senpai/default.nix b/pkgs/applications/networking/irc/senpai/default.nix index fbf5dcb844d4..f27a31e66088 100644 --- a/pkgs/applications/networking/irc/senpai/default.nix +++ b/pkgs/applications/networking/irc/senpai/default.nix @@ -35,6 +35,7 @@ buildGoModule rec { meta = with lib; { description = "Your everyday IRC student"; + mainProgram = "senpai"; homepage = "https://sr.ht/~taiite/senpai/"; changelog = "https://git.sr.ht/~delthas/senpai/refs/v${version}"; license = licenses.isc; diff --git a/pkgs/applications/networking/irc/sic/default.nix b/pkgs/applications/networking/irc/sic/default.nix index d5a0737403a8..82c5852128e9 100644 --- a/pkgs/applications/networking/irc/sic/default.nix +++ b/pkgs/applications/networking/irc/sic/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = { description = "Simple IRC client"; + mainProgram = "sic"; homepage = "https://tools.suckless.org/sic/"; license = lib.licenses.mit; platforms = lib.platforms.unix; diff --git a/pkgs/applications/networking/irc/srain/default.nix b/pkgs/applications/networking/irc/srain/default.nix index a035e6113616..42fd7e1fb653 100644 --- a/pkgs/applications/networking/irc/srain/default.nix +++ b/pkgs/applications/networking/irc/srain/default.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Modern IRC client written in GTK"; + mainProgram = "srain"; homepage = "https://srain.silverrainz.me"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/networking/jnetmap/default.nix b/pkgs/applications/networking/jnetmap/default.nix index 8aea49decb7e..b3c90beba36d 100644 --- a/pkgs/applications/networking/jnetmap/default.nix +++ b/pkgs/applications/networking/jnetmap/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Graphical network monitoring and documentation tool"; + mainProgram = "jnetmap"; homepage = "http://www.rakudave.ch/jnetmap/"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.gpl3Plus; diff --git a/pkgs/applications/networking/mailreaders/afew/default.nix b/pkgs/applications/networking/mailreaders/afew/default.nix index bcd9573974d3..9c40ce8f0f68 100644 --- a/pkgs/applications/networking/mailreaders/afew/default.nix +++ b/pkgs/applications/networking/mailreaders/afew/default.nix @@ -54,6 +54,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/afewmail/afew"; description = "An initial tagging script for notmuch mail"; + mainProgram = "afew"; license = licenses.isc; maintainers = with maintainers; [ flokli ]; }; diff --git a/pkgs/applications/networking/mailreaders/alot/default.nix b/pkgs/applications/networking/mailreaders/alot/default.nix index 471b603f26a1..cc3273dcdca9 100644 --- a/pkgs/applications/networking/mailreaders/alot/default.nix +++ b/pkgs/applications/networking/mailreaders/alot/default.nix @@ -90,6 +90,7 @@ with python3.pkgs; buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/pazz/alot"; description = "Terminal MUA using notmuch mail"; + mainProgram = "alot"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ milibopp ]; diff --git a/pkgs/applications/networking/mailreaders/astroid/default.nix b/pkgs/applications/networking/mailreaders/astroid/default.nix index 518d47a9a40a..249d262fe1e9 100644 --- a/pkgs/applications/networking/mailreaders/astroid/default.nix +++ b/pkgs/applications/networking/mailreaders/astroid/default.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://astroidmail.github.io/"; description = "GTK frontend to the notmuch mail system"; + mainProgram = "astroid"; maintainers = with maintainers; [ bdimcheff SuprDewd ]; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/networking/mailreaders/caeml/default.nix b/pkgs/applications/networking/mailreaders/caeml/default.nix index 54b4c7f60cdb..f109ccfc3137 100644 --- a/pkgs/applications/networking/mailreaders/caeml/default.nix +++ b/pkgs/applications/networking/mailreaders/caeml/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "cat eml files"; + mainProgram = "caeml"; longDescription = '' Reads an email file from either STDIN or from a file passed as the first argument, digests it and outputs it to STDOUT in a more human readable diff --git a/pkgs/applications/networking/mailreaders/claws-mail/default.nix b/pkgs/applications/networking/mailreaders/claws-mail/default.nix index 51f6eeacd1be..16bc93304921 100644 --- a/pkgs/applications/networking/mailreaders/claws-mail/default.nix +++ b/pkgs/applications/networking/mailreaders/claws-mail/default.nix @@ -153,6 +153,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "The user-friendly, lightweight, and fast email client"; + mainProgram = "claws-mail"; homepage = "https://www.claws-mail.org/"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/networking/mailreaders/electron-mail/default.nix b/pkgs/applications/networking/mailreaders/electron-mail/default.nix index a7b51585e3a0..da26d45b2b41 100644 --- a/pkgs/applications/networking/mailreaders/electron-mail/default.nix +++ b/pkgs/applications/networking/mailreaders/electron-mail/default.nix @@ -29,6 +29,7 @@ in appimageTools.wrapType2 { meta = with lib; { description = "ElectronMail is an Electron-based unofficial desktop client for ProtonMail"; + mainProgram = "electron-mail"; homepage = "https://github.com/vladimiry/ElectronMail"; license = licenses.gpl3; maintainers = [ maintainers.princemachiavelli ]; diff --git a/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix b/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix index a92f7b86c00b..252bfb08e93f 100644 --- a/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix +++ b/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix @@ -128,6 +128,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Evolution"; description = "Personal information management application that provides integrated mail, calendaring and address book functionality"; + mainProgram = "evolution"; maintainers = teams.gnome.members; license = licenses.lgpl2Plus; platforms = platforms.linux; diff --git a/pkgs/applications/networking/mailreaders/hasmail/default.nix b/pkgs/applications/networking/mailreaders/hasmail/default.nix index cc2f5c91921d..9f148618b254 100644 --- a/pkgs/applications/networking/mailreaders/hasmail/default.nix +++ b/pkgs/applications/networking/mailreaders/hasmail/default.nix @@ -34,6 +34,7 @@ buildGoModule rec { meta = with lib; { description = "Simple tray icon for detecting new email on IMAP servers"; + mainProgram = "hasmail"; homepage = "https://github.com/jonhoo/hasmail"; license = licenses.unlicense; maintainers = with maintainers; [ doronbehar ]; diff --git a/pkgs/applications/networking/mailreaders/himalaya/default.nix b/pkgs/applications/networking/mailreaders/himalaya/default.nix index 02da88ba6a32..7ab696685b52 100644 --- a/pkgs/applications/networking/mailreaders/himalaya/default.nix +++ b/pkgs/applications/networking/mailreaders/himalaya/default.nix @@ -52,6 +52,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "CLI to manage emails"; + mainProgram = "himalaya"; homepage = "https://pimalaya.org/himalaya/cli/latest/"; changelog = "https://github.com/soywod/himalaya/blob/v${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/applications/networking/mailreaders/imapfilter.nix b/pkgs/applications/networking/mailreaders/imapfilter.nix index 30c161783944..3277dee46a9d 100644 --- a/pkgs/applications/networking/mailreaders/imapfilter.nix +++ b/pkgs/applications/networking/mailreaders/imapfilter.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://github.com/lefcha/imapfilter"; description = "Mail filtering utility"; + mainProgram = "imapfilter"; license = lib.licenses.mit; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ doronbehar ]; diff --git a/pkgs/applications/networking/mailreaders/lumail/default.nix b/pkgs/applications/networking/mailreaders/lumail/default.nix index 878b778c5a50..e35d37dfe224 100644 --- a/pkgs/applications/networking/mailreaders/lumail/default.nix +++ b/pkgs/applications/networking/mailreaders/lumail/default.nix @@ -74,6 +74,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Console-based email client"; + mainProgram = "lumail2"; homepage = "https://lumail.org/"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/applications/networking/mailreaders/mailcheck/default.nix b/pkgs/applications/networking/mailreaders/mailcheck/default.nix index 43590c9d3361..b28b874adbc6 100644 --- a/pkgs/applications/networking/mailreaders/mailcheck/default.nix +++ b/pkgs/applications/networking/mailreaders/mailcheck/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation rec { meta = { description = "Simple command line tool to check for new messages"; + mainProgram = "mailcheck"; homepage = "https://mailcheck.sourceforge.net/"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [ kovirobi ]; diff --git a/pkgs/applications/networking/mailreaders/meli/default.nix b/pkgs/applications/networking/mailreaders/meli/default.nix index 7de15eade835..3dc373a09024 100644 --- a/pkgs/applications/networking/mailreaders/meli/default.nix +++ b/pkgs/applications/networking/mailreaders/meli/default.nix @@ -74,6 +74,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { broken = (stdenv.isLinux && stdenv.isAarch64); description = "Terminal e-mail client and e-mail client library"; + mainProgram = "meli"; homepage = "https://meli.delivery"; license = licenses.gpl3; maintainers = with maintainers; [ _0x4A6F matthiasbeyer ]; diff --git a/pkgs/applications/networking/mailreaders/mlarchive2maildir/default.nix b/pkgs/applications/networking/mailreaders/mlarchive2maildir/default.nix index 7d3be7c62baf..d381dd0b0f27 100644 --- a/pkgs/applications/networking/mailreaders/mlarchive2maildir/default.nix +++ b/pkgs/applications/networking/mailreaders/mlarchive2maildir/default.nix @@ -22,6 +22,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/flokli/mlarchive2maildir"; description = "Imports mail from (pipermail) archives into a maildir"; + mainProgram = "mlarchive2maildir"; license = licenses.mit; maintainers = with maintainers; [ flokli ]; }; diff --git a/pkgs/applications/networking/mailreaders/msgviewer/default.nix b/pkgs/applications/networking/mailreaders/msgviewer/default.nix index fd980893124f..14d2556616c7 100644 --- a/pkgs/applications/networking/mailreaders/msgviewer/default.nix +++ b/pkgs/applications/networking/mailreaders/msgviewer/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Viewer for .msg files (MS Outlook)"; + mainProgram = "msgviewer"; homepage = "https://www.washington.edu/alpine/"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.asl20; diff --git a/pkgs/applications/networking/mailreaders/neomutt/default.nix b/pkgs/applications/networking/mailreaders/neomutt/default.nix index 6616a87ba6ef..7bad118dc38b 100644 --- a/pkgs/applications/networking/mailreaders/neomutt/default.nix +++ b/pkgs/applications/networking/mailreaders/neomutt/default.nix @@ -105,6 +105,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A small but very powerful text-based mail client"; + mainProgram = "neomutt"; homepage = "http://www.neomutt.org"; license = licenses.gpl2Plus; maintainers = with maintainers; [ erikryb vrthra ma27 raitobezarius ]; diff --git a/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix b/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix index 79b553a5dc92..125ea3958408 100644 --- a/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix +++ b/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/wangp/bower"; description = "A curses terminal client for the Notmuch email system"; + mainProgram = "bower"; maintainers = with maintainers; [ jgart ]; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix b/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix index c1db11908012..3c933eaa4b8a 100644 --- a/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix +++ b/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { XAPIAN_CONFIG = "${xapian}/bin/xapian-config"; meta = { description = "Synchronize maildirs and notmuch databases"; + mainProgram = "muchsync"; homepage = "http://www.muchsync.org/"; platforms = lib.platforms.unix; maintainers = with lib.maintainers; []; diff --git a/pkgs/applications/networking/mailreaders/notmuch/mutt.nix b/pkgs/applications/networking/mailreaders/notmuch/mutt.nix index 4cd9706bdb97..92d82f057fbd 100644 --- a/pkgs/applications/networking/mailreaders/notmuch/mutt.nix +++ b/pkgs/applications/networking/mailreaders/notmuch/mutt.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Mutt support for notmuch"; + mainProgram = "notmuch-mutt"; homepage = "https://notmuchmail.org/"; license = with licenses; gpl3; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix b/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix index ea59ad817249..2467e79255b5 100644 --- a/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix +++ b/pkgs/applications/networking/mailreaders/notmuch/notmuch-mailmover.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Application to assign notmuch tagged mails to IMAP folders"; + mainProgram = "notmuch-mailmover"; homepage = "https://github.com/michaeladler/notmuch-mailmover/"; license = licenses.asl20; maintainers = with maintainers; [ michaeladler archer-65 ]; diff --git a/pkgs/applications/networking/mailreaders/sylpheed/default.nix b/pkgs/applications/networking/mailreaders/sylpheed/default.nix index 90b7dbd28d4c..d45c7f6dd575 100644 --- a/pkgs/applications/networking/mailreaders/sylpheed/default.nix +++ b/pkgs/applications/networking/mailreaders/sylpheed/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://sylpheed.sraoss.jp/en/"; description = "Lightweight and user-friendly e-mail client"; + mainProgram = "sylpheed"; maintainers = with maintainers; [ eelco ]; platforms = platforms.linux ++ platforms.darwin; license = licenses.gpl2; diff --git a/pkgs/applications/networking/mumble/default.nix b/pkgs/applications/networking/mumble/default.nix index 27fdde3c2a66..1ba63841ce5f 100644 --- a/pkgs/applications/networking/mumble/default.nix +++ b/pkgs/applications/networking/mumble/default.nix @@ -48,6 +48,7 @@ let meta = with lib; { description = "Low-latency, high quality voice chat software"; + mainProgram = "mumble-server"; homepage = "https://mumble.info"; license = licenses.bsd3; maintainers = with maintainers; [ infinisil felixsinger ]; diff --git a/pkgs/applications/networking/newsreaders/pan/default.nix b/pkgs/applications/networking/newsreaders/pan/default.nix index 82f8ec4d55b1..24e2585a24db 100644 --- a/pkgs/applications/networking/newsreaders/pan/default.nix +++ b/pkgs/applications/networking/newsreaders/pan/default.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A GTK-based Usenet newsreader good at both text and binaries"; + mainProgram = "pan"; homepage = "http://pan.rebelbase.com/"; maintainers = [ maintainers.eelco ]; platforms = platforms.linux; diff --git a/pkgs/applications/networking/newsreaders/raven-reader/default.nix b/pkgs/applications/networking/newsreaders/raven-reader/default.nix index b78afb6a726e..46970cbef118 100644 --- a/pkgs/applications/networking/newsreaders/raven-reader/default.nix +++ b/pkgs/applications/networking/newsreaders/raven-reader/default.nix @@ -30,6 +30,7 @@ appimageTools.wrapType2 { meta = with lib; { description = "Open source desktop news reader with flexible settings to optimize your experience"; + mainProgram = "raven-reader"; homepage = "https://ravenreader.app/"; license = licenses.mit; maintainers = with maintainers; [ wolfangaukang ]; diff --git a/pkgs/applications/networking/p2p/enhanced-ctorrent/default.nix b/pkgs/applications/networking/p2p/enhanced-ctorrent/default.nix index b83729ebc693..e8432b4c5c24 100644 --- a/pkgs/applications/networking/p2p/enhanced-ctorrent/default.nix +++ b/pkgs/applications/networking/p2p/enhanced-ctorrent/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation { meta = { broken = stdenv.isDarwin; description = "BitTorrent client written in C++"; + mainProgram = "ctorrent"; longDescription = '' CTorrent, a BitTorrent client implemented in C++, with bugfixes and performance enhancements. diff --git a/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix b/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix index fd5424cee342..2d8cf8780f63 100644 --- a/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix +++ b/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.frostwire.com/"; description = "BitTorrent Client and Cloud File Downloader"; + mainProgram = "frostwire"; sourceProvenance = with sourceTypes; [ binaryBytecode binaryNativeCode diff --git a/pkgs/applications/networking/p2p/libutp/3.4.nix b/pkgs/applications/networking/p2p/libutp/3.4.nix index dfff1eeed239..6f543789fd61 100644 --- a/pkgs/applications/networking/p2p/libutp/3.4.nix +++ b/pkgs/applications/networking/p2p/libutp/3.4.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "uTorrent Transport Protocol library"; + mainProgram = "ucat"; homepage = "https://github.com/transmission/libutp"; license = licenses.mit; maintainers = with maintainers; [ emilytrau ]; diff --git a/pkgs/applications/networking/p2p/opentracker/default.nix b/pkgs/applications/networking/p2p/opentracker/default.nix index ebc105147d3d..45b5044e1d6c 100644 --- a/pkgs/applications/networking/p2p/opentracker/default.nix +++ b/pkgs/applications/networking/p2p/opentracker/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation { license = licenses.beerware; platforms = platforms.linux; description = "Bittorrent tracker project which aims for minimal resource usage and is intended to run at your wlan router"; + mainProgram = "opentracker"; maintainers = with maintainers; [ makefu ]; }; } diff --git a/pkgs/applications/networking/p2p/storrent/default.nix b/pkgs/applications/networking/p2p/storrent/default.nix index a21a9fef3855..469eae7987c8 100644 --- a/pkgs/applications/networking/p2p/storrent/default.nix +++ b/pkgs/applications/networking/p2p/storrent/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/jech/storrent"; description = "An implementation of the BitTorrent protocol that is optimised for streaming media"; + mainProgram = "storrent"; license = licenses.mit; platforms = platforms.linux; maintainers = [ maintainers.marsam ]; diff --git a/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix b/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix index 28b425a05e3b..35c368a826f7 100644 --- a/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix +++ b/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GTK remote control for the Transmission BitTorrent client"; + mainProgram = "transmission-remote-gtk"; homepage = "https://github.com/transmission-remote-gtk/transmission-remote-gtk"; changelog = "https://github.com/transmission-remote-gtk/transmission-remote-gtk/releases/tag/${version}"; license = licenses.gpl2; diff --git a/pkgs/applications/networking/p2p/tremc/default.nix b/pkgs/applications/networking/p2p/tremc/default.nix index 48e6a76c29a5..6a75a02d854b 100644 --- a/pkgs/applications/networking/p2p/tremc/default.nix +++ b/pkgs/applications/networking/p2p/tremc/default.nix @@ -54,6 +54,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Curses interface for transmission"; + mainProgram = "tremc"; homepage = "https://github.com/tremc/tremc"; license = licenses.gpl3Plus; maintainers = with maintainers; [ kashw2 ]; diff --git a/pkgs/applications/networking/p2p/tremotesf/default.nix b/pkgs/applications/networking/p2p/tremotesf/default.nix index df898599701b..6cf8c73bfb69 100644 --- a/pkgs/applications/networking/p2p/tremotesf/default.nix +++ b/pkgs/applications/networking/p2p/tremotesf/default.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Remote GUI for transmission-daemon"; + mainProgram = "tremotesf"; license = licenses.gpl3Plus; homepage = "https://github.com/equeim/tremotesf2"; maintainers = with maintainers; [ sochotnicky ]; diff --git a/pkgs/applications/networking/p2p/tribler/default.nix b/pkgs/applications/networking/p2p/tribler/default.nix index e5949d2b11aa..bb009ff0adf0 100644 --- a/pkgs/applications/networking/p2p/tribler/default.nix +++ b/pkgs/applications/networking/p2p/tribler/default.nix @@ -108,6 +108,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Decentralised P2P filesharing client based on the Bittorrent protocol"; + mainProgram = "tribler"; homepage = "https://www.tribler.org/"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ xvapx viric mkg20001 ]; diff --git a/pkgs/applications/networking/p2p/zeronet-conservancy/default.nix b/pkgs/applications/networking/p2p/zeronet-conservancy/default.nix index df91e40eab82..71799de37fc3 100644 --- a/pkgs/applications/networking/p2p/zeronet-conservancy/default.nix +++ b/pkgs/applications/networking/p2p/zeronet-conservancy/default.nix @@ -47,6 +47,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A fork/continuation of the ZeroNet project"; + mainProgram = "zeronet"; longDescription = '' zeronet-conservancy is a fork/continuation of ZeroNet project (that has been abandoned by its creator) that is dedicated to sustaining existing diff --git a/pkgs/applications/networking/powerdns-admin/default.nix b/pkgs/applications/networking/powerdns-admin/default.nix index 12cd9f9d04e7..07a155e15e4c 100644 --- a/pkgs/applications/networking/powerdns-admin/default.nix +++ b/pkgs/applications/networking/powerdns-admin/default.nix @@ -130,6 +130,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "A PowerDNS web interface with advanced features"; + mainProgram = "powerdns-admin"; homepage = "https://github.com/PowerDNS-Admin/PowerDNS-Admin"; license = licenses.mit; maintainers = with maintainers; [ Flakebi zhaofengli ]; diff --git a/pkgs/applications/networking/remote/dayon/default.nix b/pkgs/applications/networking/remote/dayon/default.nix index a68a6eddd334..ea46ec131fbc 100644 --- a/pkgs/applications/networking/remote/dayon/default.nix +++ b/pkgs/applications/networking/remote/dayon/default.nix @@ -6,7 +6,7 @@ , jre , makeWrapper , copyDesktopItems -, canonicalize-jars-hook +, stripJavaArchivesHook }: stdenv.mkDerivation (finalAttrs: { @@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: { jdk makeWrapper copyDesktopItems - canonicalize-jars-hook + stripJavaArchivesHook ]; buildPhase = '' diff --git a/pkgs/applications/networking/remote/rdesktop/default.nix b/pkgs/applications/networking/remote/rdesktop/default.nix index e2ee9428ad24..a544984ee76b 100644 --- a/pkgs/applications/networking/remote/rdesktop/default.nix +++ b/pkgs/applications/networking/remote/rdesktop/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation (rec { meta = { description = "Open source client for Windows Terminal Services"; + mainProgram = "rdesktop"; homepage = "http://www.rdesktop.org/"; platforms = lib.platforms.linux ++ lib.platforms.darwin; license = lib.licenses.gpl2; diff --git a/pkgs/applications/networking/remote/x2goclient/default.nix b/pkgs/applications/networking/remote/x2goclient/default.nix index 854fee0b6b65..848590d4cb87 100644 --- a/pkgs/applications/networking/remote/x2goclient/default.nix +++ b/pkgs/applications/networking/remote/x2goclient/default.nix @@ -60,6 +60,7 @@ qt5.mkDerivation rec { meta = with lib; { description = "Graphical NoMachine NX3 remote desktop client"; + mainProgram = "x2goclient"; homepage = "http://x2go.org/"; maintainers = with maintainers; [ ]; license = licenses.gpl2; diff --git a/pkgs/applications/networking/siproxd/default.nix b/pkgs/applications/networking/siproxd/default.nix index 1b2d3053d9be..f9dea3e2bf80 100644 --- a/pkgs/applications/networking/siproxd/default.nix +++ b/pkgs/applications/networking/siproxd/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://siproxd.sourceforge.net/"; description = "A masquerading SIP Proxy Server"; + mainProgram = "siproxd"; maintainers = with lib.maintainers; [viric]; platforms = with lib.platforms; linux; license = lib.licenses.gpl2Plus; diff --git a/pkgs/applications/networking/sniffers/qtwirediff/default.nix b/pkgs/applications/networking/sniffers/qtwirediff/default.nix index d4fe6c8ee708..8ed53ec0771f 100644 --- a/pkgs/applications/networking/sniffers/qtwirediff/default.nix +++ b/pkgs/applications/networking/sniffers/qtwirediff/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation { meta = { description = "Debugging tool to diff network traffic leveraging Wireshark"; + mainProgram = "qtwirediff"; homepage = "https://github.com/aaptel/qtwirediff"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ janik ]; diff --git a/pkgs/applications/networking/sniffers/sngrep/default.nix b/pkgs/applications/networking/sniffers/sngrep/default.nix index 1e27a01fa5e6..8ffadab3ed44 100644 --- a/pkgs/applications/networking/sniffers/sngrep/default.nix +++ b/pkgs/applications/networking/sniffers/sngrep/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A tool for displaying SIP calls message flows from terminal"; + mainProgram = "sngrep"; homepage = "https://github.com/irontec/sngrep"; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/applications/networking/sniffers/whsniff/default.nix b/pkgs/applications/networking/sniffers/whsniff/default.nix index 514336e7a6b9..da50fe39a5e0 100644 --- a/pkgs/applications/networking/sniffers/whsniff/default.nix +++ b/pkgs/applications/networking/sniffers/whsniff/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/homewsn/whsniff"; description = "Packet sniffer for 802.15.4 wireless networks"; + mainProgram = "whsniff"; maintainers = with maintainers; [ snicket2100 ]; platforms = platforms.linux; license = licenses.gpl2Only; diff --git a/pkgs/applications/networking/sync/casync/default.nix b/pkgs/applications/networking/sync/casync/default.nix index 7a1252f806fb..79064f6bc107 100644 --- a/pkgs/applications/networking/sync/casync/default.nix +++ b/pkgs/applications/networking/sync/casync/default.nix @@ -57,6 +57,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Content-Addressable Data Synchronizer"; + mainProgram = "casync"; homepage = "https://github.com/systemd/casync"; license = licenses.lgpl21Plus; platforms = platforms.linux; diff --git a/pkgs/applications/networking/sync/celeste/default.nix b/pkgs/applications/networking/sync/celeste/default.nix index 5e56e5be7117..1836ebd1e6d9 100644 --- a/pkgs/applications/networking/sync/celeste/default.nix +++ b/pkgs/applications/networking/sync/celeste/default.nix @@ -86,6 +86,7 @@ rustPlatform.buildRustPackage rec { meta = { changelog = "https://github.com/hwittenborn/celeste/blob/${src.rev}/CHANGELOG.md"; description = "GUI file synchronization client that can sync with any cloud provider"; + mainProgram = "celeste"; homepage = "https://github.com/hwittenborn/celeste"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ dotlambda ]; diff --git a/pkgs/applications/networking/sync/desync/default.nix b/pkgs/applications/networking/sync/desync/default.nix index 8a5e3965ffd5..e2c43315338e 100644 --- a/pkgs/applications/networking/sync/desync/default.nix +++ b/pkgs/applications/networking/sync/desync/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Content-addressed binary distribution system"; + mainProgram = "desync"; longDescription = "An alternate implementation of the casync protocol and storage mechanism with a focus on production-readiness"; homepage = "https://github.com/folbricht/desync"; changelog = "https://github.com/folbricht/desync/releases/tag/v${version}"; diff --git a/pkgs/applications/networking/sync/lcsync/default.nix b/pkgs/applications/networking/sync/lcsync/default.nix index 1d06ee1e4fd6..591a95fd008c 100644 --- a/pkgs/applications/networking/sync/lcsync/default.nix +++ b/pkgs/applications/networking/sync/lcsync/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { changelog = "https://codeberg.org/librecast/lcsync/src/tag/v${finalAttrs.version}/CHANGELOG.md"; description = "Librecast File and Syncing Tool"; + mainProgram = "lcsync"; homepage = "https://librecast.net/lcsync.html"; license = [ lib.licenses.gpl2 lib.licenses.gpl3 ]; maintainers = with lib.maintainers; [ albertchae aynish DMills27 jasonodoom jleightcap ]; diff --git a/pkgs/applications/networking/sync/lsyncd/default.nix b/pkgs/applications/networking/sync/lsyncd/default.nix index cc9663dd6fc2..a5dc0bc8cf51 100644 --- a/pkgs/applications/networking/sync/lsyncd/default.nix +++ b/pkgs/applications/networking/sync/lsyncd/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/axkibe/lsyncd"; description = "A utility that synchronizes local directories with remote targets"; + mainProgram = "lsyncd"; license = licenses.gpl2Plus; platforms = platforms.all; maintainers = with maintainers; [ bobvanderlinden ]; diff --git a/pkgs/applications/networking/sync/onedrive/default.nix b/pkgs/applications/networking/sync/onedrive/default.nix index b2c3b30d8719..a4616c2aa923 100644 --- a/pkgs/applications/networking/sync/onedrive/default.nix +++ b/pkgs/applications/networking/sync/onedrive/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A complete tool to interact with OneDrive on Linux"; + mainProgram = "onedrive"; homepage = "https://github.com/abraunegg/onedrive"; license = licenses.gpl3Only; maintainers = with maintainers; [ srgom peterhoeg bertof ]; diff --git a/pkgs/applications/networking/sync/openrsync/default.nix b/pkgs/applications/networking/sync/openrsync/default.nix index 291db3c39951..8b91bf24407c 100644 --- a/pkgs/applications/networking/sync/openrsync/default.nix +++ b/pkgs/applications/networking/sync/openrsync/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://www.openrsync.org/"; description = "BSD-licensed implementation of rsync"; + mainProgram = "openrsync"; license = licenses.isc; maintainers = with maintainers; [ fgaz ]; # https://github.com/kristapsdz/openrsync#portability diff --git a/pkgs/applications/networking/sync/rclone/browser.nix b/pkgs/applications/networking/sync/rclone/browser.nix index 1917fc40c0ee..99945267fa99 100644 --- a/pkgs/applications/networking/sync/rclone/browser.nix +++ b/pkgs/applications/networking/sync/rclone/browser.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { inherit (src.meta) homepage; description = "Graphical Frontend to Rclone written in Qt"; + mainProgram = "rclone-browser"; license = licenses.unlicense; platforms = platforms.linux; maintainers = with maintainers; [ dotlambda ]; diff --git a/pkgs/applications/office/PageEdit/default.nix b/pkgs/applications/office/PageEdit/default.nix index 0c98eaac4b37..5f47ca9bbe68 100644 --- a/pkgs/applications/office/PageEdit/default.nix +++ b/pkgs/applications/office/PageEdit/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "ePub XHTML Visual Editor"; + mainProgram = "pageedit"; homepage = "https://sigil-ebook.com/pageedit/"; license = licenses.gpl3Plus; maintainers = [ maintainers.pasqui23 ]; diff --git a/pkgs/applications/office/abiword/default.nix b/pkgs/applications/office/abiword/default.nix index 8f62a4187611..0ca18f8e360b 100644 --- a/pkgs/applications/office/abiword/default.nix +++ b/pkgs/applications/office/abiword/default.nix @@ -64,6 +64,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Word processing program, similar to Microsoft Word"; + mainProgram = "abiword"; homepage = "https://www.abisource.com/"; license = licenses.gpl3; platforms = platforms.linux; diff --git a/pkgs/applications/office/beancount/bean-add.nix b/pkgs/applications/office/beancount/bean-add.nix index 1d5bafbdb406..9d451668eff6 100644 --- a/pkgs/applications/office/beancount/bean-add.nix +++ b/pkgs/applications/office/beancount/bean-add.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation { meta = { homepage = "https://github.com/simon-v/bean-add/"; description = "beancount transaction entry assistant"; + mainProgram = "bean-add"; # The (only) source file states: # License: "Do what you feel is right, but don't be a jerk" public license. diff --git a/pkgs/applications/office/beebeep/default.nix b/pkgs/applications/office/beebeep/default.nix index 8fa5fc980714..978066b7199a 100644 --- a/pkgs/applications/office/beebeep/default.nix +++ b/pkgs/applications/office/beebeep/default.nix @@ -36,6 +36,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://www.beebeep.net/"; description = "BeeBEEP is the free office messenger that is indispensable in all those places where privacy and security are an essential requirement."; + mainProgram = "beebeep"; platforms = platforms.linux; license = licenses.gpl2Only; maintainers = with maintainers; [ mglolenstine ]; diff --git a/pkgs/applications/office/bookworm/default.nix b/pkgs/applications/office/bookworm/default.nix index 621fce9e4579..13d3c46c946d 100644 --- a/pkgs/applications/office/bookworm/default.nix +++ b/pkgs/applications/office/bookworm/default.nix @@ -82,6 +82,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple, focused eBook reader"; + mainProgram = "com.github.babluboy.bookworm"; longDescription = '' Read the books you love without having to worry about different format complexities like epub, pdf, mobi, cbr, etc. ''; diff --git a/pkgs/applications/office/csv2odf/default.nix b/pkgs/applications/office/csv2odf/default.nix index 436e8d97bdba..3ab5ff356b6e 100644 --- a/pkgs/applications/office/csv2odf/default.nix +++ b/pkgs/applications/office/csv2odf/default.nix @@ -11,6 +11,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://sourceforge.net/p/csv2odf/wiki/Main_Page/"; description = "Convert csv files to OpenDocument Format"; + mainProgram = "csv2odf"; longDescription = '' csv2odf is a command line tool that can convert a comma separated value (csv) file to an odf, ods, html, xlsx, or docx document that can be viewed in diff --git a/pkgs/applications/office/cutemarked-ng/default.nix b/pkgs/applications/office/cutemarked-ng/default.nix index 9488546aad6e..79555fc2f113 100644 --- a/pkgs/applications/office/cutemarked-ng/default.nix +++ b/pkgs/applications/office/cutemarked-ng/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Qt-based, free and open source markdown editor"; + mainProgram = "cutemarked"; homepage = "https://github.com/Waqar144/CuteMarkEd-NG"; license = licenses.gpl2Plus; maintainers = with maintainers; [ rewine ]; diff --git a/pkgs/applications/office/endeavour/default.nix b/pkgs/applications/office/endeavour/default.nix index 09442c8b56ba..851eab538818 100644 --- a/pkgs/applications/office/endeavour/default.nix +++ b/pkgs/applications/office/endeavour/default.nix @@ -62,6 +62,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Personal task manager for GNOME"; + mainProgram = "endeavour"; homepage = "https://gitlab.gnome.org/World/Endeavour"; license = licenses.gpl3Plus; maintainers = teams.gnome.members; diff --git a/pkgs/applications/office/espanso/default.nix b/pkgs/applications/office/espanso/default.nix index 16518734c656..1b02f3be80ec 100644 --- a/pkgs/applications/office/espanso/default.nix +++ b/pkgs/applications/office/espanso/default.nix @@ -145,6 +145,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cross-platform Text Expander written in Rust"; + mainProgram = "espanso"; homepage = "https://espanso.org"; license = licenses.gpl3Plus; maintainers = with maintainers; [ kimat thehedgeh0g ]; diff --git a/pkgs/applications/office/fava/default.nix b/pkgs/applications/office/fava/default.nix index d66587e79108..d00600bbea59 100644 --- a/pkgs/applications/office/fava/default.nix +++ b/pkgs/applications/office/fava/default.nix @@ -47,6 +47,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Web interface for beancount"; + mainProgram = "fava"; homepage = "https://beancount.github.io/fava"; changelog = "https://beancount.github.io/fava/changelog.html"; license = licenses.mit; diff --git a/pkgs/applications/office/foliate/default.nix b/pkgs/applications/office/foliate/default.nix index 0ca0f87a073a..7a7aa8c1c9a1 100644 --- a/pkgs/applications/office/foliate/default.nix +++ b/pkgs/applications/office/foliate/default.nix @@ -51,6 +51,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple and modern GTK eBook reader"; + mainProgram = "foliate"; homepage = "https://johnfactotum.github.io/foliate"; license = licenses.gpl3Only; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/applications/office/gnote/default.nix b/pkgs/applications/office/gnote/default.nix index 922c41d1d42f..29c72b24cdce 100644 --- a/pkgs/applications/office/gnote/default.nix +++ b/pkgs/applications/office/gnote/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Gnote"; description = "A note taking application"; + mainProgram = "gnote"; maintainers = with maintainers; [ jfvillablanca ]; license = licenses.gpl3Only; platforms = platforms.linux; diff --git a/pkgs/applications/office/grisbi/default.nix b/pkgs/applications/office/grisbi/default.nix index 81f97b116b05..b0242fc4ae43 100644 --- a/pkgs/applications/office/grisbi/default.nix +++ b/pkgs/applications/office/grisbi/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A personnal accounting application"; + mainProgram = "grisbi"; longDescription = '' Grisbi is an application written by French developers, so it perfectly respects French accounting rules. Grisbi can manage multiple accounts, diff --git a/pkgs/applications/office/gtg/default.nix b/pkgs/applications/office/gtg/default.nix index 44aaa6c7146e..d7bad1d13390 100644 --- a/pkgs/applications/office/gtg/default.nix +++ b/pkgs/applications/office/gtg/default.nix @@ -72,6 +72,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = " A personal tasks and TODO-list items organizer"; + mainProgram = "gtg"; longDescription = '' "Getting Things GNOME" (GTG) is a personal tasks and ToDo list organizer inspired by the "Getting Things Done" (GTD) methodology. GTG is intended to help you track everything you need to do and need to know, from small tasks to large projects. diff --git a/pkgs/applications/office/homebank/default.nix b/pkgs/applications/office/homebank/default.nix index a5f0b90095e7..023a5729ed80 100644 --- a/pkgs/applications/office/homebank/default.nix +++ b/pkgs/applications/office/homebank/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Free, easy, personal accounting for everyone"; + mainProgram = "homebank"; homepage = "https://www.gethomebank.org"; license = licenses.gpl2Plus; maintainers = with maintainers; [ pSub frlan ]; diff --git a/pkgs/applications/office/jameica/default.nix b/pkgs/applications/office/jameica/default.nix index 683d51bf43f2..66d2a80c5555 100644 --- a/pkgs/applications/office/jameica/default.nix +++ b/pkgs/applications/office/jameica/default.nix @@ -4,6 +4,7 @@ , makeDesktopItem , makeWrapper , wrapGAppsHook +, stripJavaArchivesHook , ant , jdk , jre @@ -46,13 +47,7 @@ stdenv.mkDerivation rec { hash = "sha256-MSVSd5DyVL+dcfTDv1M99hxickPwT2Pt6QGNsu6DGZI="; }; - postPatch = '' - # Fix jar timestamps for reproducibility - substituteInPlace build/build.xml \ - --replace-fail '/dev/null - # -q|--quiet, -r|--recurse-paths - # -o|--latest-time: canonicalizes overall archive mtime - # -X|--no-extra: don't store platform-specific extra file attribute fields - @zip@ -qroX "$outer/tmp-out.jar" . 2> /dev/null - popd 2>/dev/null - rm -rf "$input-tmp" - mv "$outer/tmp-out.jar" "$input" -} - -# See also the Java specification's JAR requirements: -# https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html#Notes_on_Manifest_and_Signature_Files -canonicalizeJarManifest() { - local input='' - input="$(realpath -sm -- "$1")" - (head -n 1 "$input" && tail -n +2 "$input" | sort | grep -v '^\s*$') > "$input-tmp" - mv "$input-tmp" "$input" -} diff --git a/pkgs/build-support/kernel/make-initrd-ng-tool.nix b/pkgs/build-support/kernel/make-initrd-ng-tool.nix index b1fbee92b32e..5e08c091c054 100644 --- a/pkgs/build-support/kernel/make-initrd-ng-tool.nix +++ b/pkgs/build-support/kernel/make-initrd-ng-tool.nix @@ -11,6 +11,7 @@ rustPlatform.buildRustPackage { meta = { description = "Tool for copying binaries and their dependencies"; + mainProgram = "make-initrd-ng"; maintainers = with lib.maintainers; [ das_j elvishjerricco k900 lheckemann ]; license = lib.licenses.mit; }; diff --git a/pkgs/build-support/node/fetch-npm-deps/default.nix b/pkgs/build-support/node/fetch-npm-deps/default.nix index 725f9ba3bb01..373d63cc59b8 100644 --- a/pkgs/build-support/node/fetch-npm-deps/default.nix +++ b/pkgs/build-support/node/fetch-npm-deps/default.nix @@ -141,6 +141,7 @@ meta = with lib; { description = "Prefetch dependencies from npm (for use with `fetchNpmDeps`)"; + mainProgram = "prefetch-npm-deps"; maintainers = with maintainers; [ lilyinstarlight winter ]; license = licenses.mit; }; diff --git a/pkgs/build-support/remove-references-to/default.nix b/pkgs/build-support/remove-references-to/default.nix index f022611ef913..1277cdb04fd7 100644 --- a/pkgs/build-support/remove-references-to/default.nix +++ b/pkgs/build-support/remove-references-to/default.nix @@ -32,4 +32,5 @@ stdenv.mkDerivation { inherit (builtins) storeDir; shell = lib.getBin shell + (shell.shellPath or ""); signingUtils = if darwinCodeSign then signingUtils else null; + meta.mainProgram = "remove-references-to"; } diff --git a/pkgs/build-support/setup-hooks/canonicalize-jars.sh b/pkgs/build-support/setup-hooks/canonicalize-jars.sh deleted file mode 100644 index 5137bfc94b01..000000000000 --- a/pkgs/build-support/setup-hooks/canonicalize-jars.sh +++ /dev/null @@ -1,16 +0,0 @@ -# This setup hook causes the fixup phase to repack all JAR files in a -# canonical & deterministic fashion, e.g. resetting mtimes (like with normal -# store files) and avoiding impure metadata. - -fixupOutputHooks+=('if [ -z "$dontCanonicalizeJars" -a -e "$prefix" ]; then canonicalizeJarsIn "$prefix"; fi') - -canonicalizeJarsIn() { - local dir="$1" - echo "canonicalizing jars in $dir" - dir="$(realpath -sm -- "$dir")" - while IFS= read -rd '' f; do - canonicalizeJar "$f" - done < <(find -- "$dir" -type f -name '*.jar' -print0) -} - -source @canonicalize_jar@ diff --git a/pkgs/build-support/setup-hooks/strip-java-archives.sh b/pkgs/build-support/setup-hooks/strip-java-archives.sh new file mode 100644 index 000000000000..22322468f76d --- /dev/null +++ b/pkgs/build-support/setup-hooks/strip-java-archives.sh @@ -0,0 +1,16 @@ +# This setup hook makes the fixup phase to repack all java archives in a +# deterministic fashion. The most important change being done is the resetting +# of the modification times of the archive entries + +fixupOutputHooks+=('stripJavaArchivesIn $prefix') + +stripJavaArchivesIn() { + local dir="$1" + echo "stripping java archives in $dir" + find $dir -type f -regextype posix-egrep -regex ".*\.(jar|war|hpi|apk)$" -print0 | + while IFS= read -rd '' f; do + echo "stripping java archive $f" + strip-nondeterminism --type jar "$f" + done +} + diff --git a/pkgs/by-name/aa/aaaaxy/package.nix b/pkgs/by-name/aa/aaaaxy/package.nix index dd0b57a69176..3145758f50d6 100644 --- a/pkgs/by-name/aa/aaaaxy/package.nix +++ b/pkgs/by-name/aa/aaaaxy/package.nix @@ -114,6 +114,7 @@ buildGoModule rec { meta = with lib; { description = "A nonlinear 2D puzzle platformer taking place in impossible spaces"; + mainProgram = "aaaaxy"; homepage = "https://divverent.github.io/aaaaxy/"; license = licenses.asl20; maintainers = with maintainers; [ Luflosi ]; diff --git a/pkgs/by-name/ad/adafruit-nrfutil/package.nix b/pkgs/by-name/ad/adafruit-nrfutil/package.nix index a521154aa253..dbf90df66026 100644 --- a/pkgs/by-name/ad/adafruit-nrfutil/package.nix +++ b/pkgs/by-name/ad/adafruit-nrfutil/package.nix @@ -53,6 +53,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/adafruit/Adafruit_nRF52_nrfutil"; description = "Modified version of Nordic's nrfutil 0.5.x for use with the Adafruit Feather nRF52"; + mainProgram = "adafruit-nrfutil"; license = licenses.bsd3; maintainers = with maintainers; [ stargate01 ]; }; diff --git a/pkgs/by-name/ai/airscan/package.nix b/pkgs/by-name/ai/airscan/package.nix index 0859a6c21be8..e6001b44f3ef 100644 --- a/pkgs/by-name/ai/airscan/package.nix +++ b/pkgs/by-name/ai/airscan/package.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Package to scan paper documents using the Apple AirScan (eSCL) protocol"; + mainProgram = "airscan1"; homepage = "https://github.com/stapelberg/airscan"; changelog = "https://github.com/stapelberg/airscan/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/by-name/al/alephone/package.nix b/pkgs/by-name/al/alephone/package.nix index 44349b7621e5..5ee1ef50a76b 100644 --- a/pkgs/by-name/al/alephone/package.nix +++ b/pkgs/by-name/al/alephone/package.nix @@ -84,6 +84,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Aleph One is the open source continuation of Bungie’s Marathon 2 game engine"; + mainProgram = "alephone"; homepage = "https://alephone.lhowon.org/"; license = [ lib.licenses.gpl3 ]; maintainers = with lib.maintainers; [ ehmry ]; diff --git a/pkgs/by-name/al/alsa-lib-with-plugins/package.nix b/pkgs/by-name/al/alsa-lib-with-plugins/package.nix index 4388884f75a6..63ffa5550c44 100644 --- a/pkgs/by-name/al/alsa-lib-with-plugins/package.nix +++ b/pkgs/by-name/al/alsa-lib-with-plugins/package.nix @@ -12,6 +12,7 @@ in runCommand "${alsa-lib.pname}-${alsa-lib.version}" { meta = with lib; { description = "wrapper to ease access to ALSA plugins"; + mainProgram = "aserver"; platforms = platforms.linux; maintainers = with maintainers; [ gm6k ]; }; diff --git a/pkgs/by-name/al/alsa-lib/package.nix b/pkgs/by-name/al/alsa-lib/package.nix index f22f68d19cf8..50f40cd0686c 100644 --- a/pkgs/by-name/al/alsa-lib/package.nix +++ b/pkgs/by-name/al/alsa-lib/package.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "http://www.alsa-project.org/"; description = "ALSA, the Advanced Linux Sound Architecture libraries"; + mainProgram = "aserver"; longDescription = '' The Advanced Linux Sound Architecture (ALSA) provides audio and diff --git a/pkgs/by-name/al/alsa-oss/package.nix b/pkgs/by-name/al/alsa-oss/package.nix index f600b52c5f3a..71c53580c286 100644 --- a/pkgs/by-name/al/alsa-oss/package.nix +++ b/pkgs/by-name/al/alsa-oss/package.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://www.alsa-project.org/"; description = "ALSA, the Advanced Linux Sound Architecture alsa-oss emulation"; + mainProgram = "aoss"; longDescription = '' The Advanced Linux Sound Architecture (ALSA) provides audio and diff --git a/pkgs/by-name/am/amphetype/package.nix b/pkgs/by-name/am/amphetype/package.nix index 0b47515c3dfe..1db7bb9a9e66 100644 --- a/pkgs/by-name/am/amphetype/package.nix +++ b/pkgs/by-name/am/amphetype/package.nix @@ -38,6 +38,7 @@ in python3Packages.buildPythonApplication { meta = with lib; { inherit description; + mainProgram = "amphetype"; homepage = "https://gitlab.com/franksh/amphetype"; license = licenses.gpl3Only; maintainers = with maintainers; [ rycee ]; diff --git a/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix b/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix index 7a5499110a05..bae622f00fd2 100644 --- a/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix +++ b/pkgs/by-name/ar/arxiv-latex-cleaner/package.nix @@ -30,6 +30,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/google-research/arxiv-latex-cleaner"; description = "Easily clean the LaTeX code of your paper to submit to arXiv"; + mainProgram = "arxiv_latex_cleaner"; license = licenses.asl20; maintainers = with maintainers; [ arkivm ]; }; diff --git a/pkgs/by-name/at/ataripp/package.nix b/pkgs/by-name/at/ataripp/package.nix index 86dc7b0bc0f4..303a7c47c4d2 100644 --- a/pkgs/by-name/at/ataripp/package.nix +++ b/pkgs/by-name/at/ataripp/package.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "http://www.xl-project.com/"; description = "An enhanced, cycle-accurated Atari emulator"; + mainProgram = "atari++"; longDescription = '' The Atari++ Emulator is a Unix based emulator of the Atari eight bit computers, namely the Atari 400 and 800, the Atari 400XL, 800XL and 130XE, diff --git a/pkgs/by-name/au/audio-sharing/package.nix b/pkgs/by-name/au/audio-sharing/package.nix index f65ffbc434de..4fbf8a54036f 100644 --- a/pkgs/by-name/au/audio-sharing/package.nix +++ b/pkgs/by-name/au/audio-sharing/package.nix @@ -68,6 +68,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://gitlab.gnome.org/World/AudioSharing"; description = "Automatically share the current audio playback in the form of an RTSP stream"; + mainProgram = "audio-sharing"; maintainers = with maintainers; [ benediktbroich ]; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/by-name/ba/backlight-auto/package.nix b/pkgs/by-name/ba/backlight-auto/package.nix index 5115ae229673..26869b5a20dd 100644 --- a/pkgs/by-name/ba/backlight-auto/package.nix +++ b/pkgs/by-name/ba/backlight-auto/package.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Automatically set screen brightness with a webcam"; + mainProgram = "backlight-auto"; homepage = "https://len.falken.directory/backlight-auto.html"; license = licenses.mit; maintainers = [ maintainers.lf- ]; diff --git a/pkgs/by-name/ba/base16-shell-preview/package.nix b/pkgs/by-name/ba/base16-shell-preview/package.nix index bd1c8508023d..e047c7e88b21 100644 --- a/pkgs/by-name/ba/base16-shell-preview/package.nix +++ b/pkgs/by-name/ba/base16-shell-preview/package.nix @@ -23,6 +23,7 @@ python3Packages.buildPythonApplication { meta = { homepage = "https://github.com/nvllsvm/base16-shell-preview"; description = "Browse and preview Base16 Shell themes in your terminal"; + mainProgram = "base16-shell-preview"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ AndersonTorres ]; }; diff --git a/pkgs/by-name/be/betula/package.nix b/pkgs/by-name/be/betula/package.nix index b6ed66a4e690..1e2740095023 100644 --- a/pkgs/by-name/be/betula/package.nix +++ b/pkgs/by-name/be/betula/package.nix @@ -20,6 +20,7 @@ meta = with lib; { description = "Single-user self-hosted bookmarking software"; + mainProgram = "betula"; homepage = "https://betula.mycorrhiza.wiki/"; license = licenses.agpl3Only; maintainers = with maintainers; [ GoldsteinE ]; diff --git a/pkgs/by-name/bi/binsort/package.nix b/pkgs/by-name/bi/binsort/package.nix index edb41c642268..b1100dabad8c 100644 --- a/pkgs/by-name/bi/binsort/package.nix +++ b/pkgs/by-name/bi/binsort/package.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Sort files by binary similarity"; + mainProgram = "binsort"; homepage = "http://neoscientists.org/~tmueller/binsort/"; license = licenses.bsd3; maintainers = with maintainers; [ numinit ]; diff --git a/pkgs/by-name/bi/bitbake-language-server/package.nix b/pkgs/by-name/bi/bitbake-language-server/package.nix index 68b536d1319c..e73c78124ac2 100644 --- a/pkgs/by-name/bi/bitbake-language-server/package.nix +++ b/pkgs/by-name/bi/bitbake-language-server/package.nix @@ -30,6 +30,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Language server for bitbake"; + mainProgram = "bitbake-language-server"; homepage = "https://github.com/Freed-Wu/bitbake-language-server"; changelog = "https://github.com/Freed-Wu/bitbake-language-server/releases/tag/v${version}"; license = licenses.gpl3; diff --git a/pkgs/by-name/bu/bullshit/package.nix b/pkgs/by-name/bu/bullshit/package.nix index 64f50f1d2b30..c32123eb1451 100644 --- a/pkgs/by-name/bu/bullshit/package.nix +++ b/pkgs/by-name/bu/bullshit/package.nix @@ -35,6 +35,7 @@ stdenvNoCC.mkDerivation { meta = with lib; { description = "A nonsense phrase generator"; + mainProgram = "bullshit"; homepage = "https://github.com/fceschmidt/bullshit-arch"; license = licenses.gpl2Only; maintainers = with maintainers; [ krloer ]; diff --git a/pkgs/by-name/c2/c2nim/package.nix b/pkgs/by-name/c2/c2nim/package.nix index 2212cb5879ed..1cc603b59bc8 100644 --- a/pkgs/by-name/c2/c2nim/package.nix +++ b/pkgs/by-name/c2/c2nim/package.nix @@ -11,6 +11,7 @@ buildNimPackage (finalAttrs: { }; meta = finalAttrs.src.meta // { description = "Tool to translate Ansi C code to Nim"; + mainProgram = "c2nim"; license = lib.licenses.mit; maintainers = [ lib.maintainers.ehmry ]; }; diff --git a/pkgs/by-name/ca/cargo-bump/package.nix b/pkgs/by-name/ca/cargo-bump/package.nix index 76f21c1ca027..f5ff8e08f574 100644 --- a/pkgs/by-name/ca/cargo-bump/package.nix +++ b/pkgs/by-name/ca/cargo-bump/package.nix @@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Increments the version number of the current project."; + mainProgram = "cargo-bump"; homepage = "https://github.com/wraithan/cargo-bump"; license = with licenses; [ isc ]; maintainers = with maintainers; [ cafkafk ]; diff --git a/pkgs/by-name/ca/cargo-rdme/package.nix b/pkgs/by-name/ca/cargo-rdme/package.nix index 7cc47e22a641..3ee82740c3c8 100644 --- a/pkgs/by-name/ca/cargo-rdme/package.nix +++ b/pkgs/by-name/ca/cargo-rdme/package.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo command to create the README.md from your crate's documentation"; + mainProgram = "cargo-rdme"; homepage = "https://github.com/orium/cargo-rdme"; changelog = "https://github.com/orium/cargo-rdme/blob/v${version}/release-notes.md"; license = with licenses; [ mpl20 ]; diff --git a/pkgs/by-name/ca/cargo-swift/package.nix b/pkgs/by-name/ca/cargo-swift/package.nix index d8135f2ca4f6..cc9cc989e0b3 100644 --- a/pkgs/by-name/ca/cargo-swift/package.nix +++ b/pkgs/by-name/ca/cargo-swift/package.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cargo plugin to easily build Swift packages from Rust code"; + mainProgram = "cargo-swift"; homepage = "https://github.com/antoniusnaumann/cargo-swift"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ elliot ]; diff --git a/pkgs/by-name/ca/cargo-typify/package.nix b/pkgs/by-name/ca/cargo-typify/package.nix index 6d62df94c517..6693776c04ed 100644 --- a/pkgs/by-name/ca/cargo-typify/package.nix +++ b/pkgs/by-name/ca/cargo-typify/package.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "JSON Schema to Rust type converter"; + mainProgram = "cargo-typify"; homepage = "https://github.com/oxidecomputer/typify"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ david-r-cox ]; diff --git a/pkgs/by-name/ca/cargo-vibe/package.nix b/pkgs/by-name/ca/cargo-vibe/package.nix index f884dd817c1d..4caaa823264b 100644 --- a/pkgs/by-name/ca/cargo-vibe/package.nix +++ b/pkgs/by-name/ca/cargo-vibe/package.nix @@ -33,6 +33,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo x Buttplug.io"; + mainProgram = "cargo-vibe"; homepage = "https://github.com/shadlock0133/cargo-vibe"; license = licenses.mit; maintainers = with maintainers; [ _999eagle ]; diff --git a/pkgs/by-name/ca/cargo-xwin/package.nix b/pkgs/by-name/ca/cargo-xwin/package.nix index b361b2a808ac..5a5cfb00fac0 100644 --- a/pkgs/by-name/ca/cargo-xwin/package.nix +++ b/pkgs/by-name/ca/cargo-xwin/package.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cross compile Cargo project to Windows MSVC target with ease"; + mainProgram = "cargo-xwin"; homepage = "https://github.com/rust-cross/cargo-xwin"; license = with licenses; [ mit ]; maintainers = with maintainers; [ shivaraj-bh ]; diff --git a/pkgs/by-name/cd/cdk/package.nix b/pkgs/by-name/cd/cdk/package.nix index 410e341cf0fc..9848f293a011 100644 --- a/pkgs/by-name/cd/cdk/package.nix +++ b/pkgs/by-name/cd/cdk/package.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Curses development kit"; + mainProgram = "cdk5-config"; homepage = "https://invisible-island.net/cdk/"; changelog = "https://invisible-island.net/cdk/CHANGES.html"; license = lib.licenses.mit; diff --git a/pkgs/by-name/ce/certmgr/package.nix b/pkgs/by-name/ce/certmgr/package.nix index 7b7ccbf34d68..e5579125a2ca 100644 --- a/pkgs/by-name/ce/certmgr/package.nix +++ b/pkgs/by-name/ce/certmgr/package.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://cfssl.org/"; description = "Cloudflare's automated certificate management using a CFSSL CA"; + mainProgram = "certmgr"; platforms = platforms.linux; license = licenses.bsd2; maintainers = with maintainers; [ johanot srhb ]; diff --git a/pkgs/by-name/ch/chess-clock/package.nix b/pkgs/by-name/ch/chess-clock/package.nix index f8fc0f9baa9a..9e36fc97d00a 100644 --- a/pkgs/by-name/ch/chess-clock/package.nix +++ b/pkgs/by-name/ch/chess-clock/package.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Time games of over-the-board chess"; + mainProgram = "chess-clock"; homepage = "https://gitlab.gnome.org/World/chess-clock"; changelog = "https://gitlab.gnome.org/World/chess-clock/-/releases/v${version}"; license = licenses.gpl3Plus; diff --git a/pkgs/by-name/ci/cidr-merger/package.nix b/pkgs/by-name/ci/cidr-merger/package.nix index 3d0612071609..def8f4080933 100644 --- a/pkgs/by-name/ci/cidr-merger/package.nix +++ b/pkgs/by-name/ci/cidr-merger/package.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "A simple command line tool to merge ip/ip cidr/ip range, supports IPv4/IPv6"; + mainProgram = "cidr-merger"; homepage = "https://github.com/zhanhb/cidr-merger"; license = licenses.mit; maintainers = with maintainers; [ cyounkins ]; diff --git a/pkgs/by-name/ci/circom/package.nix b/pkgs/by-name/ci/circom/package.nix index 4601704293d4..f142a7fc234a 100644 --- a/pkgs/by-name/ci/circom/package.nix +++ b/pkgs/by-name/ci/circom/package.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "zkSnark circuit compiler"; + mainProgram = "circom"; homepage = "https://github.com/iden3/circom"; changelog = "https://github.com/iden3/circom/blob/${src.rev}/RELEASES.md"; license = licenses.gpl3Only; diff --git a/pkgs/by-name/cl/clamtk/package.nix b/pkgs/by-name/cl/clamtk/package.nix index 3c85528a6e63..b34850c92599 100644 --- a/pkgs/by-name/cl/clamtk/package.nix +++ b/pkgs/by-name/cl/clamtk/package.nix @@ -67,6 +67,7 @@ perlPackages.buildPerlPackage rec { description = '' Easy to use, lightweight front-end for ClamAV (Clam Antivirus). ''; + mainProgram = "clamtk"; license = licenses.gpl1Plus; homepage = "https://github.com/dave-theunsub/clamtk"; platforms = platforms.linux; diff --git a/pkgs/by-name/cl/clzip/package.nix b/pkgs/by-name/cl/clzip/package.nix index 19ec4347a1e7..d2e17c5e14a0 100644 --- a/pkgs/by-name/cl/clzip/package.nix +++ b/pkgs/by-name/cl/clzip/package.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://www.nongnu.org/lzip/clzip.html"; description = "C language version of lzip"; + mainProgram = "clzip"; license = licenses.gpl2Plus; maintainers = with maintainers; [ ]; platforms = platforms.all; diff --git a/pkgs/by-name/cn/cntb/package.nix b/pkgs/by-name/cn/cntb/package.nix index 98364e8f9a88..24b319308919 100644 --- a/pkgs/by-name/cn/cntb/package.nix +++ b/pkgs/by-name/cn/cntb/package.nix @@ -18,6 +18,7 @@ meta = with lib; { description = "CLI tool for managing your products from Contabo like VPS and VDS"; + mainProgram = "cntb"; homepage = "https://github.com/contabo/cntb"; license = licenses.gpl3Only; maintainers = with maintainers; [ aciceri ]; diff --git a/pkgs/by-name/co/cockpit/package.nix b/pkgs/by-name/co/cockpit/package.nix index 063483c0c561..db977bafe822 100644 --- a/pkgs/by-name/co/cockpit/package.nix +++ b/pkgs/by-name/co/cockpit/package.nix @@ -217,6 +217,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Web-based graphical interface for servers"; + mainProgram = "cockpit-bridge"; homepage = "https://cockpit-project.org/"; license = licenses.lgpl21; maintainers = with maintainers; [ lucasew ]; diff --git a/pkgs/by-name/co/commitmsgfmt/package.nix b/pkgs/by-name/co/commitmsgfmt/package.nix index 45ee60ff0b3b..508ce1f98312 100644 --- a/pkgs/by-name/co/commitmsgfmt/package.nix +++ b/pkgs/by-name/co/commitmsgfmt/package.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://gitlab.com/mkjeldsen/commitmsgfmt"; changelog = "https://gitlab.com/mkjeldsen/commitmsgfmt/-/raw/v${version}/CHANGELOG.md"; description = "Formats commit messages better than fmt(1) and Vim"; + mainProgram = "commitmsgfmt"; license = licenses.asl20; maintainers = with maintainers; [ mmlb ]; }; diff --git a/pkgs/by-name/co/connman-gtk/package.nix b/pkgs/by-name/co/connman-gtk/package.nix index c75254a27b15..46dce2aa2930 100644 --- a/pkgs/by-name/co/connman-gtk/package.nix +++ b/pkgs/by-name/co/connman-gtk/package.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GTK GUI for Connman"; + mainProgram = "connman-gtk"; homepage = "https://github.com/jgke/connman-gtk"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/by-name/co/connman-ncurses/package.nix b/pkgs/by-name/co/connman-ncurses/package.nix index 9d638c48000a..53b488159823 100644 --- a/pkgs/by-name/co/connman-ncurses/package.nix +++ b/pkgs/by-name/co/connman-ncurses/package.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Simple ncurses UI for connman"; + mainProgram = "connman_ncurses"; homepage = "https://github.com/eurogiciel-oss/connman-json-client"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/by-name/co/connman-notify/package.nix b/pkgs/by-name/co/connman-notify/package.nix index cbf500913038..c8df6bc89352 100644 --- a/pkgs/by-name/co/connman-notify/package.nix +++ b/pkgs/by-name/co/connman-notify/package.nix @@ -28,6 +28,7 @@ python3Packages.buildPythonApplication { meta = with lib; { description = "Desktop notification integration for connman"; + mainProgram = "connman-notify"; homepage = "https://gitlab.com/wavexx/connman-notify"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/by-name/co/connman_dmenu/package.nix b/pkgs/by-name/co/connman_dmenu/package.nix index 86e5a62fb8de..0a193493b71a 100644 --- a/pkgs/by-name/co/connman_dmenu/package.nix +++ b/pkgs/by-name/co/connman_dmenu/package.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation { meta = { description = "A dmenu wrapper for connmann"; + mainProgram = "connman_dmenu"; homepage = "https://github.com/march-linux/connman_dmenu"; license = lib.licenses.free; maintainers = [ lib.maintainers.magnetophon ]; diff --git a/pkgs/by-name/co/convco/package.nix b/pkgs/by-name/co/convco/package.nix index 314c5593bcba..2883cb56e2cf 100644 --- a/pkgs/by-name/co/convco/package.nix +++ b/pkgs/by-name/co/convco/package.nix @@ -28,6 +28,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A Conventional commit cli"; + mainProgram = "convco"; homepage = "https://github.com/convco/convco"; license = with licenses; [ mit ]; maintainers = with maintainers; [ hoverbear cafkafk ]; diff --git a/pkgs/by-name/co/cosmic-comp/package.nix b/pkgs/by-name/co/cosmic-comp/package.nix index bd7d147cfeb0..50f30dcd85f8 100644 --- a/pkgs/by-name/co/cosmic-comp/package.nix +++ b/pkgs/by-name/co/cosmic-comp/package.nix @@ -83,6 +83,7 @@ rustPlatform.buildRustPackage { meta = with lib; { homepage = "https://github.com/pop-os/cosmic-comp"; description = "Compositor for the COSMIC Desktop Environment"; + mainProgram = "cosmic-comp"; license = licenses.gpl3Only; maintainers = with maintainers; [ qyliss nyanbinary ]; platforms = platforms.linux; diff --git a/pkgs/by-name/co/cosmic-edit/package.nix b/pkgs/by-name/co/cosmic-edit/package.nix index 60020d46df45..2270e1f9da20 100644 --- a/pkgs/by-name/co/cosmic-edit/package.nix +++ b/pkgs/by-name/co/cosmic-edit/package.nix @@ -101,6 +101,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/pop-os/cosmic-edit"; description = "Text Editor for the COSMIC Desktop Environment"; + mainProgram = "cosmic-edit"; license = licenses.gpl3Only; maintainers = with maintainers; [ ahoneybun nyanbinary ]; platforms = platforms.linux; diff --git a/pkgs/by-name/co/cosmic-greeter/package.nix b/pkgs/by-name/co/cosmic-greeter/package.nix index 754c181d9ff0..103eec88c217 100644 --- a/pkgs/by-name/co/cosmic-greeter/package.nix +++ b/pkgs/by-name/co/cosmic-greeter/package.nix @@ -51,6 +51,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/pop-os/cosmic-greeter"; description = "Greeter for the COSMIC Desktop Environment"; + mainProgram = "cosmic-greeter"; license = licenses.gpl3Only; maintainers = with maintainers; [ nyanbinary ]; platforms = platforms.linux; diff --git a/pkgs/by-name/co/cosmic-launcher/package.nix b/pkgs/by-name/co/cosmic-launcher/package.nix index 8d5b65bd8c4b..6fcdd0373641 100644 --- a/pkgs/by-name/co/cosmic-launcher/package.nix +++ b/pkgs/by-name/co/cosmic-launcher/package.nix @@ -66,6 +66,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/pop-os/cosmic-launcher"; description = "Launcher for the COSMIC Desktop Environment"; + mainProgram = "cosmic-launcher"; license = licenses.gpl3Only; maintainers = with maintainers; [ nyanbinary ]; platforms = platforms.linux; diff --git a/pkgs/by-name/co/cosmic-notifications/package.nix b/pkgs/by-name/co/cosmic-notifications/package.nix index 3faf12c39e02..2bf02f2245d3 100644 --- a/pkgs/by-name/co/cosmic-notifications/package.nix +++ b/pkgs/by-name/co/cosmic-notifications/package.nix @@ -66,6 +66,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/pop-os/cosmic-notifications"; description = "Notifications for the COSMIC Desktop Environment"; + mainProgram = "cosmic-notifications"; license = licenses.gpl3Only; maintainers = with maintainers; [ nyanbinary ]; platforms = platforms.linux; diff --git a/pkgs/by-name/co/cosmic-osd/package.nix b/pkgs/by-name/co/cosmic-osd/package.nix index b71333fe0f94..f42f68e8c801 100644 --- a/pkgs/by-name/co/cosmic-osd/package.nix +++ b/pkgs/by-name/co/cosmic-osd/package.nix @@ -38,6 +38,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/pop-os/cosmic-osd"; description = "OSD for the COSMIC Desktop Environment"; + mainProgram = "cosmic-osd"; license = licenses.gpl3Only; maintainers = with maintainers; [ nyanbinary ]; platforms = platforms.linux; diff --git a/pkgs/by-name/co/cosmic-panel/package.nix b/pkgs/by-name/co/cosmic-panel/package.nix index 7c8c31f511d4..8847307fa41f 100644 --- a/pkgs/by-name/co/cosmic-panel/package.nix +++ b/pkgs/by-name/co/cosmic-panel/package.nix @@ -55,6 +55,7 @@ rustPlatform.buildRustPackage { meta = with lib; { homepage = "https://github.com/pop-os/cosmic-panel"; description = "Panel for the COSMIC Desktop Environment"; + mainProgram = "cosmic-panel"; license = licenses.gpl3Only; maintainers = with maintainers; [ qyliss nyanbinary ]; platforms = platforms.linux; diff --git a/pkgs/by-name/co/cosmic-settings-daemon/package.nix b/pkgs/by-name/co/cosmic-settings-daemon/package.nix index 6046b55e3bc8..8b0c9819ab4e 100644 --- a/pkgs/by-name/co/cosmic-settings-daemon/package.nix +++ b/pkgs/by-name/co/cosmic-settings-daemon/package.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/pop-os/cosmic-settings-daemon"; description = "Settings Daemon for the COSMIC Desktop Environment"; + mainProgram = "cosmic-settings-daemon"; license = licenses.gpl3Only; maintainers = with maintainers; [ nyanbinary ]; platforms = platforms.linux; diff --git a/pkgs/by-name/co/cosmic-workspaces-epoch/package.nix b/pkgs/by-name/co/cosmic-workspaces-epoch/package.nix index 5ec477b821d3..24d5f056daf0 100644 --- a/pkgs/by-name/co/cosmic-workspaces-epoch/package.nix +++ b/pkgs/by-name/co/cosmic-workspaces-epoch/package.nix @@ -53,6 +53,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/pop-os/cosmic-workspaces-epoch"; description = "Workspaces Epoch for the COSMIC Desktop Environment"; + mainProgram = "cosmic-workspaces"; license = licenses.gpl3Only; maintainers = with maintainers; [ nyanbinary ]; platforms = platforms.linux; diff --git a/pkgs/by-name/cp/cpu-x/package.nix b/pkgs/by-name/cp/cpu-x/package.nix index 8171cfc78f2b..d8db8212ba76 100644 --- a/pkgs/by-name/cp/cpu-x/package.nix +++ b/pkgs/by-name/cp/cpu-x/package.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Free software that gathers information on CPU, motherboard and more"; + mainProgram = "cpu-x"; homepage = "https://thetumultuousunicornofdarkness.github.io/CPU-X"; license = licenses.gpl3Plus; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/by-name/cy/cyanrip/package.nix b/pkgs/by-name/cy/cyanrip/package.nix index 9626224b4f99..e1f1ae1648af 100644 --- a/pkgs/by-name/cy/cyanrip/package.nix +++ b/pkgs/by-name/cy/cyanrip/package.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://github.com/cyanreg/cyanrip"; description = "Bule-ish CD ripper"; + mainProgram = "cyanrip"; license = licenses.lgpl21Plus; platforms = platforms.all; maintainers = [ maintainers.zane ]; diff --git a/pkgs/by-name/de/dependabot-cli/package.nix b/pkgs/by-name/de/dependabot-cli/package.nix index 3cd9b537d515..b5b8eadad45b 100644 --- a/pkgs/by-name/de/dependabot-cli/package.nix +++ b/pkgs/by-name/de/dependabot-cli/package.nix @@ -55,6 +55,7 @@ buildGoModule { meta = with lib; { changelog = "https://github.com/dependabot/cli/releases/tag/v${version}"; description = "A tool for testing and debugging Dependabot update jobs"; + mainProgram = "dependabot"; homepage = "https://github.com/dependabot/cli"; license = licenses.mit; maintainers = with maintainers; [ l0b0 ]; diff --git a/pkgs/by-name/dj/djent/package.nix b/pkgs/by-name/dj/djent/package.nix index 3559410fbd29..06cff41ec358 100644 --- a/pkgs/by-name/dj/djent/package.nix +++ b/pkgs/by-name/dj/djent/package.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { A reimplementation of the Fourmilab/John Walker random number test program ent with several improvements ''; + mainProgram = "djent"; license = lib.licenses.gpl2Only; platforms = lib.platforms.all; maintainers = with lib.maintainers; [ orichter thillux ]; diff --git a/pkgs/by-name/dm/dmenu-bluetooth/package.nix b/pkgs/by-name/dm/dmenu-bluetooth/package.nix index 63a46f1e6e50..64d853229022 100644 --- a/pkgs/by-name/dm/dmenu-bluetooth/package.nix +++ b/pkgs/by-name/dm/dmenu-bluetooth/package.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "A script that generates a dmenu menu that uses bluetoothctl to connect to bluetooth devices and display status info"; + mainProgram = "dmenu-bluetooth"; homepage = "https://github.com/Layerex/dmenu-bluetooth"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ ludovicopiero ]; diff --git a/pkgs/by-name/do/doggo/package.nix b/pkgs/by-name/do/doggo/package.nix index cdd19bc37b90..2fe817010bf3 100644 --- a/pkgs/by-name/do/doggo/package.nix +++ b/pkgs/by-name/do/doggo/package.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/mr-karan/doggo"; description = "Command-line DNS Client for Humans. Written in Golang"; + mainProgram = "doggo"; longDescription = '' doggo is a modern command-line DNS client (like dig) written in Golang. It outputs information in a neat concise manner and supports protocols like DoH, DoT, DoQ, and DNSCrypt as well diff --git a/pkgs/by-name/do/dotbot/package.nix b/pkgs/by-name/do/dotbot/package.nix index a2b979f67139..77d98148434b 100644 --- a/pkgs/by-name/do/dotbot/package.nix +++ b/pkgs/by-name/do/dotbot/package.nix @@ -27,6 +27,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A tool that bootstraps your dotfiles"; + mainProgram = "dotbot"; longDescription = '' Dotbot is designed to be lightweight and self-contained, with no external dependencies and no installation required. Dotbot can also be a drop-in diff --git a/pkgs/by-name/ds/dsda-doom/package.nix b/pkgs/by-name/ds/dsda-doom/package.nix index cedf7c0524f5..c45c0ff37988 100644 --- a/pkgs/by-name/ds/dsda-doom/package.nix +++ b/pkgs/by-name/ds/dsda-doom/package.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/kraflab/dsda-doom"; description = "An advanced Doom source port with a focus on speedrunning, successor of PrBoom+"; + mainProgram = "dsda-doom"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = [ maintainers.Gliczy ]; diff --git a/pkgs/by-name/ds/dsda-launcher/package.nix b/pkgs/by-name/ds/dsda-launcher/package.nix index 8a83fb43a6f5..8e73ae10e74f 100644 --- a/pkgs/by-name/ds/dsda-launcher/package.nix +++ b/pkgs/by-name/ds/dsda-launcher/package.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/Pedro-Beirao/dsda-launcher"; description = "This is a launcher GUI for the dsda-doom source port"; + mainProgram = "dsda-launcher"; license = licenses.gpl3; platforms = platforms.linux; maintainers = [ maintainers.Gliczy ]; diff --git a/pkgs/by-name/dx/dxvk/package.nix b/pkgs/by-name/dx/dxvk/package.nix index 88b7e5b104fb..d3639215057f 100644 --- a/pkgs/by-name/dx/dxvk/package.nix +++ b/pkgs/by-name/dx/dxvk/package.nix @@ -43,6 +43,7 @@ stdenvNoCC.mkDerivation (finalAttrs: meta = { description = "Setup script for DXVK"; + mainProgram = "setup_dxvk.sh"; homepage = "https://github.com/doitsujin/dxvk"; changelog = "https://github.com/doitsujin/dxvk/releases"; maintainers = [ lib.maintainers.reckenrode ]; diff --git a/pkgs/by-name/ec/ecc/package.nix b/pkgs/by-name/ec/ecc/package.nix index b79fa4bd18c8..40597fe0fd99 100644 --- a/pkgs/by-name/ec/ecc/package.nix +++ b/pkgs/by-name/ec/ecc/package.nix @@ -117,6 +117,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://eunomia.dev"; description = "the eBPF compile toolchain for eunomia-bpf"; + mainProgram = "ecc-rs"; maintainers = with maintainers; [ oluceps ]; platforms = platforms.linux; license = licenses.mit; diff --git a/pkgs/by-name/el/elf2nucleus/package.nix b/pkgs/by-name/el/elf2nucleus/package.nix index c6cafbfc4578..08ec2e8f0a23 100644 --- a/pkgs/by-name/el/elf2nucleus/package.nix +++ b/pkgs/by-name/el/elf2nucleus/package.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Integrate micronucleus into the cargo buildsystem, flash an AVR firmware from an elf file"; + mainProgram = "elf2nucleus"; homepage = "https://github.com/kpcyrd/elf2nucleus"; license = licenses.gpl3Plus; maintainers = [ maintainers.marble ]; diff --git a/pkgs/by-name/el/elvish/package.nix b/pkgs/by-name/el/elvish/package.nix index bd3e746377a3..4363657fcced 100644 --- a/pkgs/by-name/el/elvish/package.nix +++ b/pkgs/by-name/el/elvish/package.nix @@ -42,6 +42,7 @@ buildGoModule { meta = { homepage = "https://elv.sh/"; description = "A friendly and expressive command shell"; + mainProgram = "elvish"; longDescription = '' Elvish is a friendly interactive shell and an expressive programming language. It runs on Linux, BSDs, macOS and Windows. Despite its pre-1.0 diff --git a/pkgs/by-name/en/encled/package.nix b/pkgs/by-name/en/encled/package.nix index 3b4817bfab8e..f75b75cd6a02 100644 --- a/pkgs/by-name/en/encled/package.nix +++ b/pkgs/by-name/en/encled/package.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation { meta = { description = "Control fault/locate indicators in disk slots in enclosures"; + mainProgram = "encled"; homepage = "https://github.com/amarao/sdled"; license = lib.licenses.gpl2Plus; maintainers = [ lib.maintainers.lheckemann ]; diff --git a/pkgs/by-name/en/engage/package.nix b/pkgs/by-name/en/engage/package.nix index ccfc963ab665..b873b81155ac 100644 --- a/pkgs/by-name/en/engage/package.nix +++ b/pkgs/by-name/en/engage/package.nix @@ -38,6 +38,7 @@ rustPlatform.buildRustPackage { meta = { description = "A task runner with DAG-based parallelism"; + mainProgram = "engage"; homepage = "https://or.computer.surgery/charles/engage"; changelog = "https://or.computer.surgery/charles/engage/-/blob/v${version}/CHANGELOG.md"; license = with lib.licenses; [ asl20 mit ]; diff --git a/pkgs/by-name/en/envio/package.nix b/pkgs/by-name/en/envio/package.nix index 51b656eccbbb..0424bcf4e9bd 100644 --- a/pkgs/by-name/en/envio/package.nix +++ b/pkgs/by-name/en/envio/package.nix @@ -40,6 +40,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://envio-cli.github.io/home"; changelog = "https://github.com/envio-cli/envio/blob/${version}/CHANGELOG.md"; description = "Modern and secure CLI tool for managing environment variables"; + mainProgram = "envio"; longDescription = '' Envio is a command-line tool that simplifies the management of environment variables across multiple profiles. It allows users to easily diff --git a/pkgs/by-name/fa/fanbox-dl/package.nix b/pkgs/by-name/fa/fanbox-dl/package.nix index 753c31b0e5c7..3ee99df709fa 100644 --- a/pkgs/by-name/fa/fanbox-dl/package.nix +++ b/pkgs/by-name/fa/fanbox-dl/package.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Pixiv FANBOX Downloader"; + mainProgram = "fanbox-dl"; homepage = "https://github.com/hareku/fanbox-dl"; license = licenses.mit; maintainers = [ maintainers.moni ]; diff --git a/pkgs/by-name/fi/figurine/package.nix b/pkgs/by-name/fi/figurine/package.nix index ec6470de63d6..5c1fa255565b 100644 --- a/pkgs/by-name/fi/figurine/package.nix +++ b/pkgs/by-name/fi/figurine/package.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/arsham/figurine"; description = "Print your name in style"; + mainProgram = "figurine"; license = licenses.asl20; maintainers = with maintainers; [ ironicbadger ]; }; diff --git a/pkgs/by-name/fi/firewalk/package.nix b/pkgs/by-name/fi/firewalk/package.nix index 8909a61062c7..13497d99c443 100644 --- a/pkgs/by-name/fi/firewalk/package.nix +++ b/pkgs/by-name/fi/firewalk/package.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Gateway ACL scanner"; + mainProgram = "firewalk"; homepage = "http://packetfactory.openwall.net/projects/firewalk/"; license = licenses.bsd2; maintainers = with maintainers; [ tochiaha ]; diff --git a/pkgs/by-name/fi/fitsverify/package.nix b/pkgs/by-name/fi/fitsverify/package.nix index 35184352819a..b755e71616f8 100644 --- a/pkgs/by-name/fi/fitsverify/package.nix +++ b/pkgs/by-name/fi/fitsverify/package.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "FITS File Format-Verification Tool"; + mainProgram = "fitsverify"; longDescription = '' Fitsverify is a computer program that rigorously checks whether a FITS (Flexible Image Transport System) data file conforms to all the diff --git a/pkgs/by-name/fo/foonathan-memory/package.nix b/pkgs/by-name/fo/foonathan-memory/package.nix index 66177fabc22a..7e2141ef042c 100644 --- a/pkgs/by-name/fo/foonathan-memory/package.nix +++ b/pkgs/by-name/fo/foonathan-memory/package.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://github.com/foonathan/memory"; changelog = "https://github.com/foonathan/memory/releases/tag/${finalAttrs.src.rev}"; description = "STL compatible C++ memory allocator library"; + mainProgram = "nodesize_dbg"; longDescription = '' The C++ STL allocator model has various flaws. For example, they are diff --git a/pkgs/by-name/fy/fypp/package.nix b/pkgs/by-name/fy/fypp/package.nix index 7785b67eda26..fe6cd3267bbb 100644 --- a/pkgs/by-name/fy/fypp/package.nix +++ b/pkgs/by-name/fy/fypp/package.nix @@ -16,6 +16,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Python powered Fortran preprocessor"; + mainProgram = "fypp"; homepage = "https://github.com/aradi/fypp"; license = licenses.gpl3Only; maintainers = [ maintainers.sheepforce ]; diff --git a/pkgs/by-name/g3/g3kb-switch/package.nix b/pkgs/by-name/g3/g3kb-switch/package.nix index 625cd6ef9a3d..91994eb36624 100644 --- a/pkgs/by-name/g3/g3kb-switch/package.nix +++ b/pkgs/by-name/g3/g3kb-switch/package.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/lyokha/g3kb-switch"; description = "CLI keyboard layout switcher for GNOME Shell"; + mainProgram = "g3kb-switch"; license = licenses.bsd2; maintainers = with maintainers; [ Freed-Wu ]; platforms = platforms.unix; diff --git a/pkgs/by-name/ga/gash/package.nix b/pkgs/by-name/ga/gash/package.nix index 49dca7962907..cd6136dbc90f 100644 --- a/pkgs/by-name/ga/gash/package.nix +++ b/pkgs/by-name/ga/gash/package.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "POSIX-compatible shell written in Guile Scheme"; + mainProgram = "gash"; homepage = "https://savannah.nongnu.org/projects/gash/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ wegank ]; diff --git a/pkgs/by-name/ge/get-google-fonts/package.nix b/pkgs/by-name/ge/get-google-fonts/package.nix index 64c4197e8761..0939c43443e3 100644 --- a/pkgs/by-name/ge/get-google-fonts/package.nix +++ b/pkgs/by-name/ge/get-google-fonts/package.nix @@ -30,6 +30,7 @@ buildNpmPackage { meta = with lib; { description = "Downloads and adapts Google fonts to working offline"; + mainProgram = "get-google-fonts"; homepage = "https://github.com/MrMaxie/get-google-fonts"; license = licenses.asl20; maintainers = with maintainers; [ SuperSandro2000 ]; diff --git a/pkgs/by-name/ge/geticons/package.nix b/pkgs/by-name/ge/geticons/package.nix index f3afda0f136d..5d8d7d2d1df8 100644 --- a/pkgs/by-name/ge/geticons/package.nix +++ b/pkgs/by-name/ge/geticons/package.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "CLI utility to get icons for apps on your system or other generic icons by name"; + mainProgram = "geticons"; homepage = "https://git.sr.ht/~zethra/geticons"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ Madouura ]; diff --git a/pkgs/by-name/gh/ghunt/package.nix b/pkgs/by-name/gh/ghunt/package.nix index ddd139f38907..337104efa42b 100644 --- a/pkgs/by-name/gh/ghunt/package.nix +++ b/pkgs/by-name/gh/ghunt/package.nix @@ -49,6 +49,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Offensive Google framework"; + mainProgram = "ghunt"; homepage = "https://github.com/mxrch/ghunt"; changelog = "https://github.com/mxrch/GHunt/releases/tag/v${version}"; license = licenses.agpl3Only; diff --git a/pkgs/by-name/gi/git-instafix/package.nix b/pkgs/by-name/gi/git-instafix/package.nix index 9085d381ff2d..b44411570091 100644 --- a/pkgs/by-name/gi/git-instafix/package.nix +++ b/pkgs/by-name/gi/git-instafix/package.nix @@ -33,6 +33,7 @@ rustPlatform.buildRustPackage { meta = { description = "Quickly fix up an old commit using your currently-staged changes"; + mainProgram = "git-instafix"; homepage = "https://github.com/quodlibetor/git-instafix"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ mightyiam ]; diff --git a/pkgs/by-name/gi/gitlab-ci-local/package.nix b/pkgs/by-name/gi/gitlab-ci-local/package.nix index 639d18343f28..40466b99d2da 100644 --- a/pkgs/by-name/gi/gitlab-ci-local/package.nix +++ b/pkgs/by-name/gi/gitlab-ci-local/package.nix @@ -27,6 +27,7 @@ buildNpmPackage rec { meta = with lib;{ description = "Run gitlab pipelines locally as shell executor or docker executor"; + mainProgram = "gitlab-ci-local"; longDescription = '' Tired of pushing to test your .gitlab-ci.yml? Run gitlab pipelines locally as shell executor or docker executor. diff --git a/pkgs/by-name/gm/gmic/package.nix b/pkgs/by-name/gm/gmic/package.nix index 6efd3154d88e..70c5a29d737f 100644 --- a/pkgs/by-name/gm/gmic/package.nix +++ b/pkgs/by-name/gm/gmic/package.nix @@ -111,6 +111,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://gmic.eu/"; description = "Open and full-featured framework for image processing"; + mainProgram = "gmic"; license = lib.licenses.cecill21; maintainers = [ lib.maintainers.AndersonTorres diff --git a/pkgs/by-name/go/gosmore/package.nix b/pkgs/by-name/go/gosmore/package.nix index 2bc778ff9cb2..daa5553d0c0a 100644 --- a/pkgs/by-name/go/gosmore/package.nix +++ b/pkgs/by-name/go/gosmore/package.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Open Street Map viewer"; + mainProgram = "gosmore"; homepage = "https://sourceforge.net/projects/gosmore/"; maintainers = with maintainers; [ raskin diff --git a/pkgs/by-name/gr/grun/package.nix b/pkgs/by-name/gr/grun/package.nix index aef41add611d..54b6a5715ddb 100644 --- a/pkgs/by-name/gr/grun/package.nix +++ b/pkgs/by-name/gr/grun/package.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation { meta = { description = "An application launcher written in C and using GTK for the interface"; + mainProgram = "grun"; homepage = "https://github.com/lrgc/grun"; platforms = lib.platforms.linux; license = with lib.licenses; [ gpl2Only ]; diff --git a/pkgs/by-name/gt/gtimelog/package.nix b/pkgs/by-name/gt/gtimelog/package.nix index 05a0c7e3dd99..138575132945 100644 --- a/pkgs/by-name/gt/gtimelog/package.nix +++ b/pkgs/by-name/gt/gtimelog/package.nix @@ -45,6 +45,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A time tracking app"; + mainProgram = "gtimelog"; longDescription = '' GTimeLog is a small time tracking application for GNOME. It's main goal is to be as unintrusive as possible. diff --git a/pkgs/by-name/ha/haunt/package.nix b/pkgs/by-name/ha/haunt/package.nix index 989fce392b28..d15fd5e95726 100644 --- a/pkgs/by-name/ha/haunt/package.nix +++ b/pkgs/by-name/ha/haunt/package.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://dthompson.us/projects/haunt.html"; description = "Guile-based static site generator"; + mainProgram = "haunt"; longDescription = '' Haunt is a simple, functional, hackable static site generator that gives authors the ability to treat websites as Scheme programs. diff --git a/pkgs/by-name/he/helix-gpt/package.nix b/pkgs/by-name/he/helix-gpt/package.nix index 6e77d5e8a8d4..d95c9689f1f7 100644 --- a/pkgs/by-name/he/helix-gpt/package.nix +++ b/pkgs/by-name/he/helix-gpt/package.nix @@ -56,6 +56,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/leona/helix-gpt"; description = "Code completion LSP for Helix with support for Copilot + OpenAI"; + mainProgram = "helix-gpt"; maintainers = with maintainers; [ happysalada ]; license = with licenses; [ mit ]; platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; diff --git a/pkgs/by-name/ho/hoppscotch/package.nix b/pkgs/by-name/ho/hoppscotch/package.nix index 3e6bf1ac190c..e7d1dbdc274b 100644 --- a/pkgs/by-name/ho/hoppscotch/package.nix +++ b/pkgs/by-name/ho/hoppscotch/package.nix @@ -27,6 +27,7 @@ let meta = { description = "Open source API development ecosystem"; + mainProgram = "hoppscotch"; homepage = "https://hoppscotch.com"; changelog = "https://github.com/hoppscotch/hoppscotch/releases/tag/${version}"; platforms = [ "aarch64-darwin" "x86_64-darwin" "x86_64-linux" ]; diff --git a/pkgs/by-name/if/ifrextractor-rs/package.nix b/pkgs/by-name/if/ifrextractor-rs/package.nix index 48ab01d352fa..2d525771d85f 100644 --- a/pkgs/by-name/if/ifrextractor-rs/package.nix +++ b/pkgs/by-name/if/ifrextractor-rs/package.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Rust utility to extract UEFI IFR data into human-readable text"; + mainProgram = "ifrextractor"; homepage = "https://github.com/LongSoft/IFRExtractor-RS"; license = licenses.bsd2; maintainers = with maintainers; [ jiegec ]; diff --git a/pkgs/by-name/ig/igir/package.nix b/pkgs/by-name/ig/igir/package.nix index cf1881f7c396..892b18414630 100644 --- a/pkgs/by-name/ig/igir/package.nix +++ b/pkgs/by-name/ig/igir/package.nix @@ -36,6 +36,7 @@ buildNpmPackage rec { meta = with lib; { description = "A video game ROM collection manager to help filter, sort, patch, archive, and report on collections on any OS"; + mainProgram = "igir"; homepage = "https://igir.io"; license = licenses.gpl3Plus; maintainers = with maintainers; [ TheBrainScrambler ]; diff --git a/pkgs/by-name/jo/jogl/package.nix b/pkgs/by-name/jo/jogl/package.nix index 3919ee1e0e0f..5157fe679771 100644 --- a/pkgs/by-name/jo/jogl/package.nix +++ b/pkgs/by-name/jo/jogl/package.nix @@ -5,6 +5,7 @@ , jdk11 , git , xmlstarlet +, stripJavaArchivesHook , xcbuild , udev , xorg @@ -42,13 +43,6 @@ stdenv.mkDerivation { substituteInPlace gluegen/src/java/com/jogamp/common/util/IOUtil.java \ --replace-fail '#!/bin/true' '#!${coreutils}/bin/true' '' - # set timestamp of files in jar to a fixed point in time - + '' - xmlstarlet ed --inplace \ - --append //jar --type attr -n modificationtime --value 1980-01-01T00:00Z \ - gluegen/make/{build.xml,gluegen-cpptasks-base.xml} \ - jogl/make/{build.xml,build-nativewindow.xml,build-jogl.xml} - '' # prevent looking for native libraries in /usr/lib + '' substituteInPlace jogl/make/build-*.xml \ @@ -72,6 +66,7 @@ stdenv.mkDerivation { jdk11 git xmlstarlet + stripJavaArchivesHook ] ++ lib.optionals stdenv.isDarwin [ xcbuild ]; diff --git a/pkgs/by-name/ku/kubectl-neat/package.nix b/pkgs/by-name/ku/kubectl-neat/package.nix index c0ce31abb926..82ba45377ac4 100644 --- a/pkgs/by-name/ku/kubectl-neat/package.nix +++ b/pkgs/by-name/ku/kubectl-neat/package.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Clean up Kubernetes yaml and json output to make it readable"; + mainProgram = "kubectl-neat"; homepage = "https://github.com/itaysk/kubectl-neat"; changelog = "https://github.com/itaysk/kubectl-neat/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/by-name/le/ledger/package.nix b/pkgs/by-name/le/ledger/package.nix index 2e8336660be7..89a614247ff9 100644 --- a/pkgs/by-name/le/ledger/package.nix +++ b/pkgs/by-name/le/ledger/package.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A double-entry accounting system with a command-line reporting interface"; + mainProgram = "ledger"; homepage = "https://www.ledger-cli.org/"; changelog = "https://github.com/ledger/ledger/raw/v${version}/NEWS.md"; license = licenses.bsd3; diff --git a/pkgs/by-name/le/lemminx/package.nix b/pkgs/by-name/le/lemminx/package.nix index df946d3b4dea..e4c17d6e2daf 100644 --- a/pkgs/by-name/le/lemminx/package.nix +++ b/pkgs/by-name/le/lemminx/package.nix @@ -98,6 +98,7 @@ maven.buildMavenPackage rec { meta = with lib; { description = "XML Language Server"; + mainProgram = "lemminx"; homepage = "https://github.com/eclipse/lemminx"; license = licenses.epl20; maintainers = with maintainers; [ tricktron ]; diff --git a/pkgs/by-name/li/libbgcode/package.nix b/pkgs/by-name/li/libbgcode/package.nix index 6a28df1dce61..c2ddb4f6ddf4 100644 --- a/pkgs/by-name/li/libbgcode/package.nix +++ b/pkgs/by-name/li/libbgcode/package.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/prusa3d/libbgcode"; description = "Prusa Block & Binary G-code reader / writer / converter"; + mainProgram = "bgcode"; license = licenses.agpl3Only; maintainers = with maintainers; [ lach ]; platforms = platforms.unix; diff --git a/pkgs/by-name/li/libcpuid/package.nix b/pkgs/by-name/li/libcpuid/package.nix index 56df13aabd2a..7e63d25a53f3 100644 --- a/pkgs/by-name/li/libcpuid/package.nix +++ b/pkgs/by-name/li/libcpuid/package.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://libcpuid.sourceforge.net/"; description = "A small C library for x86 CPU detection and feature extraction"; + mainProgram = "cpuid_tool"; changelog = "https://raw.githubusercontent.com/anrieff/libcpuid/master/ChangeLog"; license = licenses.bsd2; maintainers = with maintainers; [ orivej artuuge ]; diff --git a/pkgs/by-name/li/linien-gui/package.nix b/pkgs/by-name/li/linien-gui/package.nix index 972070afc3ac..dd9ca7e4ca58 100644 --- a/pkgs/by-name/li/linien-gui/package.nix +++ b/pkgs/by-name/li/linien-gui/package.nix @@ -40,6 +40,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Graphical user interface of the Linien spectroscopy lock application"; + mainProgram = "linien"; homepage = "https://github.com/linien-org/linien/tree/develop/linien-gui"; license = licenses.gpl3Plus; maintainers = with maintainers; [ fsagbuya doronbehar ]; diff --git a/pkgs/by-name/li/listmonk/package.nix b/pkgs/by-name/li/listmonk/package.nix index 3ac3522a861e..6e652d280c40 100644 --- a/pkgs/by-name/li/listmonk/package.nix +++ b/pkgs/by-name/li/listmonk/package.nix @@ -48,6 +48,7 @@ buildGoModule rec { meta = with lib; { description = "High performance, self-hosted, newsletter and mailing list manager with a modern dashboard."; + mainProgram = "listmonk"; homepage = "https://github.com/knadh/listmonk"; changelog = "https://github.com/knadh/listmonk/releases/tag/v${version}"; maintainers = with maintainers; [ raitobezarius ]; diff --git a/pkgs/by-name/ln/lngen/package.nix b/pkgs/by-name/ln/lngen/package.nix index 1b06a5b1966b..d84e3556cd5e 100644 --- a/pkgs/by-name/ln/lngen/package.nix +++ b/pkgs/by-name/ln/lngen/package.nix @@ -20,4 +20,5 @@ haskellPackages.mkDerivation { description = "Tool for generating Locally Nameless definitions and proofs in Coq, working together with Ott"; maintainers = with lib.maintainers; [ chen ]; license = lib.licenses.mit; + mainProgram = "lngen"; } diff --git a/pkgs/by-name/lo/logiops/package.nix b/pkgs/by-name/lo/logiops/package.nix index e8cb020a32c5..fea73c79268b 100644 --- a/pkgs/by-name/lo/logiops/package.nix +++ b/pkgs/by-name/lo/logiops/package.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation (oldAttrs: { meta = with lib; { description = "Unofficial userspace driver for HID++ Logitech devices"; + mainProgram = "logid"; homepage = "https://github.com/PixlOne/logiops"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ckie ]; diff --git a/pkgs/by-name/lo/logiops_0_2_3/package.nix b/pkgs/by-name/lo/logiops_0_2_3/package.nix index 71283a406214..f2a9c5be1589 100644 --- a/pkgs/by-name/lo/logiops_0_2_3/package.nix +++ b/pkgs/by-name/lo/logiops_0_2_3/package.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Unofficial userspace driver for HID++ Logitech devices"; + mainProgram = "logid"; homepage = "https://github.com/PixlOne/logiops"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ckie ]; diff --git a/pkgs/by-name/lo/loksh/package.nix b/pkgs/by-name/lo/loksh/package.nix index 4ba926aa2f53..01143fae7b52 100644 --- a/pkgs/by-name/lo/loksh/package.nix +++ b/pkgs/by-name/lo/loksh/package.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://github.com/dimkr/loksh"; description = "Linux port of OpenBSD's ksh"; + mainProgram = "loksh"; longDescription = '' loksh is a Linux port of OpenBSD's ksh. diff --git a/pkgs/by-name/lo/loramon/package.nix b/pkgs/by-name/lo/loramon/package.nix index 9d0161dff2cd..9665026ff511 100644 --- a/pkgs/by-name/lo/loramon/package.nix +++ b/pkgs/by-name/lo/loramon/package.nix @@ -25,6 +25,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "LoRa packet sniffer for RNode hardware"; + mainProgram = "loramon"; homepage = "https://github.com/markqvist/LoRaMon"; changelog = "https://github.com/markqvist/LoRaMon/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/by-name/lp/lprint/package.nix b/pkgs/by-name/lp/lprint/package.nix index 4d597df1d481..26167ccb0d6c 100644 --- a/pkgs/by-name/lp/lprint/package.nix +++ b/pkgs/by-name/lp/lprint/package.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "LPrint implements printing for a variety of common label and receipt printers connected via network or USB."; + mainProgram = "lprint"; homepage = "https://github.com/michaelrsweet/lprint"; license = licenses.asl20; platforms = platforms.linux; diff --git a/pkgs/by-name/lz/lzsa/package.nix b/pkgs/by-name/lz/lzsa/package.nix index e0ddc158706e..a8b1b5e05f66 100644 --- a/pkgs/by-name/lz/lzsa/package.nix +++ b/pkgs/by-name/lz/lzsa/package.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://github.com/emmanuel-marty/lzsa"; description = "Byte-aligned, efficient lossless packer that is optimized for fast decompression on 8-bit micros"; + mainProgram = "lzsa"; license = with lib.licenses; [ cc0 ]; maintainers = with lib.maintainers; [ AndersonTorres ]; platforms = lib.platforms.unix; diff --git a/pkgs/by-name/ma/matrix-hook/package.nix b/pkgs/by-name/ma/matrix-hook/package.nix index ed9093da9957..c492217f00c3 100644 --- a/pkgs/by-name/ma/matrix-hook/package.nix +++ b/pkgs/by-name/ma/matrix-hook/package.nix @@ -16,6 +16,7 @@ buildGoModule rec { meta = with lib; { description = "A simple webhook for matrix"; + mainProgram = "matrix-hook"; homepage = "https://github.com/pinpox/matrix-hook"; license = licenses.gpl3; maintainers = with maintainers; [ pinpox mic92 zowoq ]; diff --git a/pkgs/by-name/mc/mcomix/package.nix b/pkgs/by-name/mc/mcomix/package.nix index bf087c94a0d8..170386de3e4c 100644 --- a/pkgs/by-name/mc/mcomix/package.nix +++ b/pkgs/by-name/mc/mcomix/package.nix @@ -68,6 +68,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Comic book reader and image viewer"; + mainProgram = "mcomix"; longDescription = '' User-friendly, customizable image viewer, specifically designed to handle comic books and manga supporting a variety of container formats diff --git a/pkgs/by-name/me/meson/package.nix b/pkgs/by-name/me/meson/package.nix index 4bf3a3a7d551..04064b4255c6 100644 --- a/pkgs/by-name/me/meson/package.nix +++ b/pkgs/by-name/me/meson/package.nix @@ -141,6 +141,7 @@ python3.pkgs.buildPythonApplication rec { meta = { homepage = "https://mesonbuild.com"; description = "An open source, fast and friendly build system made in Python"; + mainProgram = "meson"; longDescription = '' Meson is an open source build system meant to be both extremely fast, and, even more importantly, as user friendly as possible. diff --git a/pkgs/by-name/mf/mfoc-hardnested/package.nix b/pkgs/by-name/mf/mfoc-hardnested/package.nix index 550d3a5c4667..672db4d21c1a 100644 --- a/pkgs/by-name/mf/mfoc-hardnested/package.nix +++ b/pkgs/by-name/mf/mfoc-hardnested/package.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A fork of mfoc integrating hardnested code from the proxmark"; + mainProgram = "mfoc-hardnested"; license = licenses.gpl2; homepage = "https://github.com/nfc-tools/mfoc-hardnested"; maintainers = with maintainers; [ azuwis ]; diff --git a/pkgs/by-name/mk/mksh/package.nix b/pkgs/by-name/mk/mksh/package.nix index 27cee1d4e226..2572e378ddf4 100644 --- a/pkgs/by-name/mk/mksh/package.nix +++ b/pkgs/by-name/mk/mksh/package.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "http://www.mirbsd.org/mksh.htm"; description = "MirBSD Korn Shell"; + mainProgram = "mksh"; longDescription = '' The MirBSD Korn Shell is a DFSG-free and OSD-compliant (and OSI approved) successor to pdksh, developed as part of the MirOS diff --git a/pkgs/by-name/mo/mosdepth/package.nix b/pkgs/by-name/mo/mosdepth/package.nix index 7c74901bc6ff..2a2bce125530 100644 --- a/pkgs/by-name/mo/mosdepth/package.nix +++ b/pkgs/by-name/mo/mosdepth/package.nix @@ -25,6 +25,7 @@ buildNimPackage (finalAttrs: { meta = with lib; { description = "fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing"; + mainProgram = "mosdepth"; license = licenses.mit; homepage = "https://github.com/brentp/mosdepth"; maintainers = with maintainers; [ jbedo ]; diff --git a/pkgs/by-name/mo/move-mount-beneath/package.nix b/pkgs/by-name/mo/move-mount-beneath/package.nix index 2e2e058eec97..be04c80a1b70 100644 --- a/pkgs/by-name/mo/move-mount-beneath/package.nix +++ b/pkgs/by-name/mo/move-mount-beneath/package.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation { meta = { description = "Toy binary to illustrate adding a mount beneath an existing mount"; + mainProgram = "move-mount"; homepage = "https://github.com/brauner/move-mount-beneath"; license = lib.licenses.mit0; maintainers = with lib.maintainers; [ nikstur ]; diff --git a/pkgs/by-name/ms/msolve/package.nix b/pkgs/by-name/ms/msolve/package.nix index 3a8fe18b063c..cf06aba55595 100644 --- a/pkgs/by-name/ms/msolve/package.nix +++ b/pkgs/by-name/ms/msolve/package.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Library for polynomial system solving through algebraic methods"; + mainProgram = "msolve"; homepage = "https://msolve.lip6.fr"; license = licenses.gpl2Plus; maintainers = with maintainers; [ wegank ]; diff --git a/pkgs/by-name/n2/n2/package.nix b/pkgs/by-name/n2/n2/package.nix index dd35f134d8a1..4e88285c3e0f 100644 --- a/pkgs/by-name/n2/n2/package.nix +++ b/pkgs/by-name/n2/n2/package.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage { meta = with lib; { homepage = "https://github.com/evmar/n2"; description = "A ninja compatible build system"; + mainProgram = "n2"; license = licenses.asl20; maintainers = with maintainers; [ fgaz ]; platforms = platforms.all; diff --git a/pkgs/by-name/na/narsil/package.nix b/pkgs/by-name/na/narsil/package.nix index ac00cf482055..9e6d3ba1dc02 100644 --- a/pkgs/by-name/na/narsil/package.nix +++ b/pkgs/by-name/na/narsil/package.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/NickMcConnell/NarSil/"; description = "Unofficial rewrite of Sil, a roguelike influenced by Angband"; + mainProgram = "narsil"; longDescription = '' NarSil attempts to be an almost-faithful recreation of Sil 1.3.0, but based on the codebase of modern Angband. diff --git a/pkgs/by-name/nb/nbtscan/package.nix b/pkgs/by-name/nb/nbtscan/package.nix index 27194abcf5ce..9d9e0b3afbe6 100644 --- a/pkgs/by-name/nb/nbtscan/package.nix +++ b/pkgs/by-name/nb/nbtscan/package.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Scan networks searching for NetBIOS information"; + mainProgram = "nbtscan"; homepage = "https://github.com/resurrecting-open-source-projects/nbtscan"; maintainers = with maintainers; [ d3vil0p3r ]; platforms = platforms.unix; diff --git a/pkgs/by-name/nc/nc4nix/package.nix b/pkgs/by-name/nc/nc4nix/package.nix index 4593e82f24ae..4269d235ea26 100644 --- a/pkgs/by-name/nc/nc4nix/package.nix +++ b/pkgs/by-name/nc/nc4nix/package.nix @@ -18,6 +18,7 @@ buildGoModule { meta = with lib; { description = "Packaging helper for Nextcloud apps"; + mainProgram = "nc4nix"; homepage = "https://github.com/helsinki-systems/nc4nix"; license = licenses.mit; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/by-name/ne/netclient/package.nix b/pkgs/by-name/ne/netclient/package.nix index 2a914d03ca8e..dc00b6856cab 100644 --- a/pkgs/by-name/ne/netclient/package.nix +++ b/pkgs/by-name/ne/netclient/package.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { description = "Automated WireGuard® Management Client"; + mainProgram = "netclient"; homepage = "https://netmaker.io"; changelog = "https://github.com/gravitl/netclient/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/by-name/ne/netproxrc/package.nix b/pkgs/by-name/ne/netproxrc/package.nix index 4f3de9cc073f..93f965e40c6a 100644 --- a/pkgs/by-name/ne/netproxrc/package.nix +++ b/pkgs/by-name/ne/netproxrc/package.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "A HTTP proxy injecting credentials from a .netrc file"; + mainProgram = "netproxrc"; homepage = "https://github.com/timbertson/netproxrc"; license = licenses.mit; maintainers = with maintainers; [ timbertson ]; diff --git a/pkgs/by-name/ni/nim-atlas/package.nix b/pkgs/by-name/ni/nim-atlas/package.nix index 70b36698a72b..7f01fab5876d 100644 --- a/pkgs/by-name/ni/nim-atlas/package.nix +++ b/pkgs/by-name/ni/nim-atlas/package.nix @@ -16,6 +16,7 @@ buildNimPackage (final: prev: { doCheck = false; # tests will clone repos meta = final.src.meta // { description = "Nim package cloner"; + mainProgram = "atlas"; license = [ lib.licenses.mit ]; }; }) diff --git a/pkgs/by-name/ni/nim_builder/package.nix b/pkgs/by-name/ni/nim_builder/package.nix index 34da4dfa61a0..50fa519b7a92 100644 --- a/pkgs/by-name/ni/nim_builder/package.nix +++ b/pkgs/by-name/ni/nim_builder/package.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation { ''; meta = { description = "Internal Nixpkgs utility for buildNimPackage."; + mainProgram = "nim_builder"; maintainers = [ lib.maintainers.ehmry ]; }; } diff --git a/pkgs/by-name/ni/nimmm/package.nix b/pkgs/by-name/ni/nimmm/package.nix index be3e01b7dcae..266c29883a8d 100644 --- a/pkgs/by-name/ni/nimmm/package.nix +++ b/pkgs/by-name/ni/nimmm/package.nix @@ -17,6 +17,7 @@ buildNimPackage (finalAttrs: { meta = { description = "Terminal file manager written in Nim"; + mainProgram = "nimmm"; homepage = "https://github.com/joachimschmidt557/nimmm"; license = lib.licenses.gpl3; platforms = lib.platforms.linux; diff --git a/pkgs/by-name/ni/nixops-dns/package.nix b/pkgs/by-name/ni/nixops-dns/package.nix index 624b6a0ae517..f1a6cacfe121 100644 --- a/pkgs/by-name/ni/nixops-dns/package.nix +++ b/pkgs/by-name/ni/nixops-dns/package.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/museoa/nixops-dns"; description = "DNS server for resolving NixOps machines"; + mainProgram = "nixops-dns"; license = licenses.mit; maintainers = with maintainers; [ kamilchm sorki ]; }; diff --git a/pkgs/by-name/nl/nls/package.nix b/pkgs/by-name/nl/nls/package.nix index d060207f7af3..136920367da2 100644 --- a/pkgs/by-name/nl/nls/package.nix +++ b/pkgs/by-name/nl/nls/package.nix @@ -12,6 +12,7 @@ symlinkJoin { meta = { inherit (nickel.meta) homepage changelog license maintainers; description = "A language server for the Nickel programming language"; + mainProgram = "nls"; longDescription = '' The Nickel Language Server (NLS) is a language server for the Nickel programming language. NLS offers error messages, type hints, and diff --git a/pkgs/by-name/nr/nrpl/package.nix b/pkgs/by-name/nr/nrpl/package.nix index 31ed20246e67..c75fe1d5a512 100644 --- a/pkgs/by-name/nr/nrpl/package.nix +++ b/pkgs/by-name/nr/nrpl/package.nix @@ -31,6 +31,7 @@ buildNimPackage { meta = with lib; { description = "REPL for the Nim programming language"; + mainProgram = "nrpl"; homepage = "https://github.com/wheineman/nrpl"; license = licenses.mit; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/by-name/ns/nsxiv/package.nix b/pkgs/by-name/ns/nsxiv/package.nix index 4e3229b77d2e..ba267571a900 100644 --- a/pkgs/by-name/ns/nsxiv/package.nix +++ b/pkgs/by-name/ns/nsxiv/package.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://nsxiv.codeberg.page/"; description = "New Suckless X Image Viewer"; + mainProgram = "nsxiv"; longDescription = '' nsxiv is a fork of now unmaintained sxiv with the purpose of being a drop-in replacement of sxiv, maintaining it and adding simple, sensible diff --git a/pkgs/by-name/nu/nuget/package.nix b/pkgs/by-name/nu/nuget/package.nix index 6bf41690a2ea..664dd7b4e390 100644 --- a/pkgs/by-name/nu/nuget/package.nix +++ b/pkgs/by-name/nu/nuget/package.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation (attrs: { meta = with lib; { description = "A package manager for the .NET platform"; + mainProgram = "nuget"; homepage = "https://www.mono-project.com/"; longDescription = '' NuGet is the package manager for the .NET platform. diff --git a/pkgs/by-name/oa/oauth2ms/package.nix b/pkgs/by-name/oa/oauth2ms/package.nix index b32ea14d3a9f..0a4787bacd7d 100644 --- a/pkgs/by-name/oa/oauth2ms/package.nix +++ b/pkgs/by-name/oa/oauth2ms/package.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/harishkrupo/oauth2ms"; description = "XOAUTH2 compatible Office365 token fetcher"; + mainProgram = "oauth2ms"; platforms = platforms.all; license = licenses.asl20; maintainers = with maintainers; [ wentasah ]; diff --git a/pkgs/by-name/oc/octorpki/package.nix b/pkgs/by-name/oc/octorpki/package.nix index 87a8498d28a6..1f710d134228 100644 --- a/pkgs/by-name/oc/octorpki/package.nix +++ b/pkgs/by-name/oc/octorpki/package.nix @@ -43,6 +43,7 @@ buildGoModule rec { homepage = "https://github.com/cloudflare/cfrpki#octorpki"; changelog = "https://github.com/cloudflare/cfrpki/releases/tag/v${version}"; description = "A software used to download RPKI (RFC 6480) certificates and validate them"; + mainProgram = "octorpki"; license = licenses.bsd3; platforms = platforms.all; maintainers = teams.wdz.members; diff --git a/pkgs/by-name/oe/oelint-adv/package.nix b/pkgs/by-name/oe/oelint-adv/package.nix index 32215b708f98..cc1de202d70d 100644 --- a/pkgs/by-name/oe/oelint-adv/package.nix +++ b/pkgs/by-name/oe/oelint-adv/package.nix @@ -32,6 +32,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Advanced bitbake-recipe linter"; + mainProgram = "oelint-adv"; homepage = "https://github.com/priv-kweihmann/oelint-adv"; changelog = "https://github.com/priv-kweihmann/oelint-adv/releases/tag/v${version}"; license = licenses.bsd2; diff --git a/pkgs/by-name/on/onedrivegui/package.nix b/pkgs/by-name/on/onedrivegui/package.nix index f9d1fca67539..f0a7eb7b7594 100644 --- a/pkgs/by-name/on/onedrivegui/package.nix +++ b/pkgs/by-name/on/onedrivegui/package.nix @@ -80,6 +80,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/bpozdena/OneDriveGUI"; description = "A simple GUI for Linux OneDrive Client, with multi-account support"; + mainProgram = "onedrivegui"; license = licenses.gpl3Only; maintainers = with maintainers; [ chewblacka ]; platforms = platforms.linux; diff --git a/pkgs/by-name/on/onlyoffice-bin_latest/package.nix b/pkgs/by-name/on/onlyoffice-bin_latest/package.nix index b73d179e341d..4f3aaea95f24 100644 --- a/pkgs/by-name/on/onlyoffice-bin_latest/package.nix +++ b/pkgs/by-name/on/onlyoffice-bin_latest/package.nix @@ -187,6 +187,7 @@ buildFHSEnv { meta = with lib; { description = "Office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents"; + mainProgram = "onlyoffice-desktopeditors"; longDescription = '' This version is broken on wlroots environments (e.g. Hyprland, Sway). If you are using one of these environments, please use `onlyoffice-bin` instead. diff --git a/pkgs/by-name/op/opengist/package.nix b/pkgs/by-name/op/opengist/package.nix index fb9efcd7b076..053c088a6990 100644 --- a/pkgs/by-name/op/opengist/package.nix +++ b/pkgs/by-name/op/opengist/package.nix @@ -62,6 +62,7 @@ buildGoModule { meta = { description = "Self-hosted pastebin powered by Git"; + mainProgram = "opengist"; homepage = "https://github.com/thomiceli/opengist"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ lf- ]; diff --git a/pkgs/by-name/op/opensnitch-ui/package.nix b/pkgs/by-name/op/opensnitch-ui/package.nix index c8aef3a05123..a22767daacdc 100644 --- a/pkgs/by-name/op/opensnitch-ui/package.nix +++ b/pkgs/by-name/op/opensnitch-ui/package.nix @@ -67,6 +67,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "An application firewall"; + mainProgram = "opensnitch-ui"; homepage = "https://github.com/evilsocket/opensnitch/wiki"; license = licenses.gpl3Only; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/by-name/op/opensnitch/package.nix b/pkgs/by-name/op/opensnitch/package.nix index 1ba7f6e65dc4..df8647bdeb05 100644 --- a/pkgs/by-name/op/opensnitch/package.nix +++ b/pkgs/by-name/op/opensnitch/package.nix @@ -92,6 +92,7 @@ buildGoModule rec { meta = with lib; { description = "An application firewall"; + mainProgram = "opensnitchd"; homepage = "https://github.com/evilsocket/opensnitch/wiki"; license = licenses.gpl3Only; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/by-name/pa/passes/package.nix b/pkgs/by-name/pa/passes/package.nix index 39a502038b52..e7abf9d95f00 100644 --- a/pkgs/by-name/pa/passes/package.nix +++ b/pkgs/by-name/pa/passes/package.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A digital pass manager"; + mainProgram = "passes"; homepage = "https://github.com/pablo-s/passes"; license = licenses.gpl3Plus; maintainers = with maintainers; [ fgaz ]; diff --git a/pkgs/by-name/pa/payme/package.nix b/pkgs/by-name/pa/payme/package.nix index 3272fad5d350..96b973e6f4d2 100644 --- a/pkgs/by-name/pa/payme/package.nix +++ b/pkgs/by-name/pa/payme/package.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = { description = "QR code generator (ASCII & PNG) for SEPA payments"; + mainProgram = "payme"; homepage = "https://github.com/jovandeginste/payme"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ cimm ]; diff --git a/pkgs/by-name/pd/pdfannots2json/package.nix b/pkgs/by-name/pd/pdfannots2json/package.nix index 01c30fe1fb52..15d2103893fc 100644 --- a/pkgs/by-name/pd/pdfannots2json/package.nix +++ b/pkgs/by-name/pd/pdfannots2json/package.nix @@ -20,6 +20,7 @@ in homepage = "https://github.com/mgmeyers/pdfannots2json"; license = licenses.agpl3; description = "A tool to convert PDF annotations to JSON"; + mainProgram = "pdfannots2json"; maintainers = with maintainers; [ _0nyr ]; }; } diff --git a/pkgs/by-name/pe/peergos/package.nix b/pkgs/by-name/pe/peergos/package.nix index d51f0504bd49..f91c8ea78618 100644 --- a/pkgs/by-name/pe/peergos/package.nix +++ b/pkgs/by-name/pe/peergos/package.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A p2p, secure file storage, social network and application protocol"; + mainProgram = "peergos"; homepage = "https://peergos.org/"; # peergos have agpt3 license, peergos-web-ui have gpl3, both are used license = [ licenses.agpl3Only licenses.gpl3Only ]; diff --git a/pkgs/by-name/pi/pianotrans/package.nix b/pkgs/by-name/pi/pianotrans/package.nix index 1c493bc87c68..d36fffb0c990 100644 --- a/pkgs/by-name/pi/pianotrans/package.nix +++ b/pkgs/by-name/pi/pianotrans/package.nix @@ -32,6 +32,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Simple GUI for ByteDance's Piano Transcription with Pedals"; + mainProgram = "pianotrans"; homepage = "https://github.com/azuwis/pianotrans"; license = licenses.mit; maintainers = with maintainers; [ azuwis ]; diff --git a/pkgs/by-name/pl/plumber/package.nix b/pkgs/by-name/pl/plumber/package.nix index 77678a2f5229..760eea36573a 100644 --- a/pkgs/by-name/pl/plumber/package.nix +++ b/pkgs/by-name/pl/plumber/package.nix @@ -28,6 +28,7 @@ buildGoModule rec { meta = with lib; { description = "A CLI devtool for interacting with data in message systems like Kafka, RabbitMQ, GCP PubSub and more"; + mainProgram = "plumber"; homepage = "https://github.com/streamdal/plumber"; license = licenses.mit; maintainers = with maintainers; [ svrana ]; diff --git a/pkgs/by-name/pr/pre2k/package.nix b/pkgs/by-name/pr/pre2k/package.nix index 59353d9806ed..4865269b5565 100644 --- a/pkgs/by-name/pr/pre2k/package.nix +++ b/pkgs/by-name/pr/pre2k/package.nix @@ -5,14 +5,14 @@ python3.pkgs.buildPythonApplication rec { pname = "pre2k"; - version = "3.0-unstable-2024-03-14"; + version = "3.0"; pyproject = true; src = fetchFromGitHub { owner = "garrettfoster13"; repo = "pre2k"; - rev = "3baa7b73aedd45f52e417210081da3dd010c1b22"; - hash = "sha256-0lgH7Z9LuiZwODdFvKWcqS1TV02aVjzD9RgOhX0lU6s="; + rev = "refs/tags/${version}"; + hash = "sha256-z1ttuRos7x/zdWiYYozxWzRarFExd4W5rUYAEiUMugU="; }; pythonRelaxDeps = [ @@ -42,6 +42,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to query for the existence of pre-windows 2000 computer objects"; homepage = "https://github.com/garrettfoster13/pre2k"; + changelog = "https://github.com/garrettfoster13/pre2k/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; mainProgram = "pre2k"; diff --git a/pkgs/by-name/pr/pretalx/package.nix b/pkgs/by-name/pr/pretalx/package.nix index 9544d7babcd0..bea6f3cc41c4 100644 --- a/pkgs/by-name/pr/pretalx/package.nix +++ b/pkgs/by-name/pr/pretalx/package.nix @@ -38,6 +38,7 @@ let meta = with lib; { description = "Conference planning tool: CfP, scheduling, speaker management"; + mainProgram = "pretalx-manage"; homepage = "https://github.com/pretalx/pretalx"; changelog = "https://docs.pretalx.org/en/latest/changelog.html"; license = licenses.asl20; diff --git a/pkgs/by-name/pr/pretix/package.nix b/pkgs/by-name/pr/pretix/package.nix index 952da297900f..dc7fc925f1f5 100644 --- a/pkgs/by-name/pr/pretix/package.nix +++ b/pkgs/by-name/pr/pretix/package.nix @@ -247,6 +247,7 @@ python.pkgs.buildPythonApplication rec { meta = with lib; { description = "Ticketing software that cares about your event—all the way"; + mainProgram = "pretix-manage"; homepage = "https://github.com/pretix/pretix"; license = with licenses; [ agpl3Only diff --git a/pkgs/by-name/pr/promptfoo/package.nix b/pkgs/by-name/pr/promptfoo/package.nix index 4be98d738fcc..f087bb630c5f 100644 --- a/pkgs/by-name/pr/promptfoo/package.nix +++ b/pkgs/by-name/pr/promptfoo/package.nix @@ -20,6 +20,7 @@ buildNpmPackage rec { meta = with lib; { description = "Test your prompts, models, RAGs. Evaluate and compare LLM outputs, catch regressions, and improve prompt quality."; + mainProgram = "promptfoo"; homepage = "https://www.promptfoo.dev/"; changelog = "https://github.com/promptfoo/promptfoo/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/by-name/pr/protoc-gen-js/package.nix b/pkgs/by-name/pr/protoc-gen-js/package.nix index 21cd426388f8..e9e8207b3cc9 100644 --- a/pkgs/by-name/pr/protoc-gen-js/package.nix +++ b/pkgs/by-name/pr/protoc-gen-js/package.nix @@ -28,6 +28,7 @@ buildBazelPackage rec { meta = with lib; { description = "Protobuf plugin for generating JavaScript code"; + mainProgram = "protoc-gen-js"; homepage = "https://github.com/protocolbuffers/protobuf-javascript"; platforms = platforms.linux ++ platforms.darwin; license = with licenses; [ asl20 bsd3 ]; diff --git a/pkgs/by-name/pr/prox/package.nix b/pkgs/by-name/pr/prox/package.nix index 7c49551423f7..6f432de3ec72 100644 --- a/pkgs/by-name/pr/prox/package.nix +++ b/pkgs/by-name/pr/prox/package.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/fgrosse/prox"; description = "A process runner for Procfile-based applications "; + mainProgram = "prox"; license = licenses.bsd2; maintainers = with maintainers; [ lucperkins ]; }; diff --git a/pkgs/by-name/pt/ptcollab/package.nix b/pkgs/by-name/pt/ptcollab/package.nix index f03d89e7c490..d2db8def2ab8 100644 --- a/pkgs/by-name/pt/ptcollab/package.nix +++ b/pkgs/by-name/pt/ptcollab/package.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Experimental pxtone editor where you can collaborate with friends"; + mainProgram = "ptcollab"; homepage = "https://yuxshao.github.io/ptcollab/"; changelog = "https://github.com/yuxshao/ptcollab/releases/tag/v${finalAttrs.version}"; license = licenses.mit; diff --git a/pkgs/by-name/qg/qgrep/package.nix b/pkgs/by-name/qg/qgrep/package.nix index 57f7d0088d65..57c3d20db283 100644 --- a/pkgs/by-name/qg/qgrep/package.nix +++ b/pkgs/by-name/qg/qgrep/package.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fast regular expression grep for source code with incremental index updates"; + mainProgram = "qgrep"; homepage = "https://github.com/zeux/qgrep"; license = licenses.mit; maintainers = [ maintainers.yrashk ]; diff --git a/pkgs/by-name/re/regols/package.nix b/pkgs/by-name/re/regols/package.nix index 3b62c387d40f..64515e5ed72e 100644 --- a/pkgs/by-name/re/regols/package.nix +++ b/pkgs/by-name/re/regols/package.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "OPA Rego language server"; + mainProgram = "regols"; homepage = "https://github.com/kitagry/regols"; license = licenses.mit; maintainers = with maintainers; [ alias-dev ]; diff --git a/pkgs/by-name/re/renode-unstable/package.nix b/pkgs/by-name/re/renode-unstable/package.nix index 7f538ea34265..48ebb6f62959 100644 --- a/pkgs/by-name/re/renode-unstable/package.nix +++ b/pkgs/by-name/re/renode-unstable/package.nix @@ -7,10 +7,10 @@ inherit buildUnstable; }).overrideAttrs (finalAttrs: _: { pname = "renode-unstable"; - version = "1.14.0+20240314git7ff57f373"; + version = "1.14.0+20240315gita7bdc1e0e"; src = fetchurl { url = "https://builds.renode.io/renode-${finalAttrs.version}.linux-portable.tar.gz"; - hash = "sha256-r9dI8g9GPa4QymFJagZLLynjTvQzR8IBIFOCSxZ3x7Q="; + hash = "sha256-mSuu6Tg/O1kSanxKjRLzJv6iYcoytc8u53zU1g8e13A="; }; }) diff --git a/pkgs/by-name/ri/ricochet-refresh/package.nix b/pkgs/by-name/ri/ricochet-refresh/package.nix index c90c6aabbd92..384932ed7c85 100644 --- a/pkgs/by-name/ri/ricochet-refresh/package.nix +++ b/pkgs/by-name/ri/ricochet-refresh/package.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Secure chat without DNS or WebPKI"; + mainProgram = "ricochet-refresh"; longDescription = '' Ricochet Refresh is a peer-to-peer messenger app that uses Tor to connect clients. diff --git a/pkgs/by-name/ri/ripunzip/package.nix b/pkgs/by-name/ri/ripunzip/package.nix index 3dcdf976fcaa..1942b61f5fb8 100644 --- a/pkgs/by-name/ri/ripunzip/package.nix +++ b/pkgs/by-name/ri/ripunzip/package.nix @@ -41,6 +41,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to unzip files in parallel"; + mainProgram = "ripunzip"; homepage = "https://github.com/google/ripunzip"; license = with lib.licenses; [ mit asl20 ]; maintainers = [ maintainers.lesuisse ]; diff --git a/pkgs/by-name/rs/rs/package.nix b/pkgs/by-name/rs/rs/package.nix index 141d72dfe077..1b369eec9b34 100644 --- a/pkgs/by-name/rs/rs/package.nix +++ b/pkgs/by-name/rs/rs/package.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://www.mirbsd.org/htman/i386/man1/rs.htm"; description = "Reshape a data array from standard input"; + mainProgram = "rs"; longDescription = '' rs reads the standard input, interpreting each line as a row of blank- separated entries in an array, transforms the array according to the op- diff --git a/pkgs/by-name/rs/rsgain/package.nix b/pkgs/by-name/rs/rsgain/package.nix index adb2be57332c..b759b50892d5 100644 --- a/pkgs/by-name/rs/rsgain/package.nix +++ b/pkgs/by-name/rs/rsgain/package.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple, but powerful ReplayGain 2.0 tagging utility"; + mainProgram = "rsgain"; homepage = "https://github.com/complexlogic/rsgain"; changelog = "https://github.com/complexlogic/rsgain/blob/v${version}/CHANGELOG"; license = licenses.bsd2; diff --git a/pkgs/by-name/rs/rspamd-trainer/package.nix b/pkgs/by-name/rs/rspamd-trainer/package.nix index 0479b8f07da4..49dd46d29564 100644 --- a/pkgs/by-name/rs/rspamd-trainer/package.nix +++ b/pkgs/by-name/rs/rspamd-trainer/package.nix @@ -53,6 +53,7 @@ python3Packages.buildPythonApplication { meta = { homepage = "https://gitlab.com/onlime/rspamd-trainer"; description = "Grabs messages from a spam mailbox via IMAP and feeds them to Rspamd for training"; + mainProgram = "rspamd-trainer"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ onny ]; }; diff --git a/pkgs/by-name/rs/rst2html5/package.nix b/pkgs/by-name/rs/rst2html5/package.nix index 61b75130fe1b..82def912da99 100644 --- a/pkgs/by-name/rs/rst2html5/package.nix +++ b/pkgs/by-name/rs/rst2html5/package.nix @@ -19,6 +19,7 @@ python3Packages.buildPythonPackage rec { meta = with lib;{ homepage = "https://rst2html5.readthedocs.io/en/latest/"; description = "Converts ReSTructuredText to (X)HTML5"; + mainProgram = "rst2html5"; license = licenses.mit; maintainers = with maintainers; [ AndersonTorres ]; }; diff --git a/pkgs/by-name/ru/rusti-cal/package.nix b/pkgs/by-name/ru/rusti-cal/package.nix index 3dd368e19257..97b5e107314d 100644 --- a/pkgs/by-name/ru/rusti-cal/package.nix +++ b/pkgs/by-name/ru/rusti-cal/package.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Minimal command line calendar, similar to cal"; + mainProgram = "rusti-cal"; homepage = "https://github.com/arthurhenrique/rusti-cal"; license = [ licenses.mit ]; maintainers = [ maintainers.detegr ]; diff --git a/pkgs/by-name/s3/s3proxy/package.nix b/pkgs/by-name/s3/s3proxy/package.nix index 86221921cadf..b2fd1b03a5ab 100644 --- a/pkgs/by-name/s3/s3proxy/package.nix +++ b/pkgs/by-name/s3/s3proxy/package.nix @@ -34,6 +34,7 @@ maven.buildMavenPackage { meta = with lib; { description = "Access other storage backends via the S3 API"; + mainProgram = "s3proxy"; homepage = "https://github.com/gaul/s3proxy"; changelog = "https://github.com/gaul/s3proxy/releases/tag/s3proxy-${version}"; license = licenses.asl20; diff --git a/pkgs/by-name/sa/salmon/package.nix b/pkgs/by-name/sa/salmon/package.nix index e540c5018162..5d65e2698a42 100644 --- a/pkgs/by-name/sa/salmon/package.nix +++ b/pkgs/by-name/sa/salmon/package.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Tool for quantifying the expression of transcripts using RNA-seq data"; + mainProgram = "salmon"; longDescription = '' Salmon is a tool for quantifying the expression of transcripts using RNA-seq data. Salmon uses new algorithms (specifically, diff --git a/pkgs/by-name/sa/samrewritten/package.nix b/pkgs/by-name/sa/samrewritten/package.nix index de0c4e985727..f90c31395f73 100644 --- a/pkgs/by-name/sa/samrewritten/package.nix +++ b/pkgs/by-name/sa/samrewritten/package.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Steam Achievement Manager For Linux. Rewritten in C++"; + mainProgram = "samrewritten"; homepage = "https://github.com/PaulCombal/SamRewritten"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ ludovicopiero ]; diff --git a/pkgs/by-name/sc/scalingo/package.nix b/pkgs/by-name/sc/scalingo/package.nix index 11aa1245ca7e..38f1a8691c51 100644 --- a/pkgs/by-name/sc/scalingo/package.nix +++ b/pkgs/by-name/sc/scalingo/package.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Command line client for the Scalingo PaaS"; + mainProgram = "scalingo"; homepage = "https://doc.scalingo.com/platform/cli/start"; changelog = "https://github.com/Scalingo/cli/blob/master/CHANGELOG.md"; license = licenses.bsdOriginal; diff --git a/pkgs/by-name/sc/scout/package.nix b/pkgs/by-name/sc/scout/package.nix index 30f3a9fce3c4..4c1a80ff109b 100644 --- a/pkgs/by-name/sc/scout/package.nix +++ b/pkgs/by-name/sc/scout/package.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Lightweight URL fuzzer and spider: Discover a web server's undisclosed files, directories and VHOSTs"; + mainProgram = "scout"; homepage = "https://github.com/liamg/scout"; platforms = platforms.unix; license = licenses.unlicense; diff --git a/pkgs/by-name/sc/screentest/package.nix b/pkgs/by-name/sc/screentest/package.nix index d64f3300256f..8efba0354e5f 100644 --- a/pkgs/by-name/sc/screentest/package.nix +++ b/pkgs/by-name/sc/screentest/package.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A simple screen testing tool"; + mainProgram = "screentest"; homepage = "https://github.com/TobiX/screentest"; changelog = "https://github.com/TobiX/screentest/blob/${finalAttrs.src.rev}/NEWS"; license = licenses.gpl2Only; diff --git a/pkgs/by-name/sh/shittier/package.nix b/pkgs/by-name/sh/shittier/package.nix index e9316063c3bc..2ba1bd3d0f94 100644 --- a/pkgs/by-name/sh/shittier/package.nix +++ b/pkgs/by-name/sh/shittier/package.nix @@ -21,6 +21,7 @@ buildNpmPackage rec { meta = { description = "Unconventional code formatting tool for JavaScript"; + mainProgram = "shittier"; homepage = "https://github.com/rohitdhas/shittier"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ totoroot ]; diff --git a/pkgs/by-name/sh/shopware-cli/package.nix b/pkgs/by-name/sh/shopware-cli/package.nix index 9c7d026c958b..8504a28a22a9 100644 --- a/pkgs/by-name/sh/shopware-cli/package.nix +++ b/pkgs/by-name/sh/shopware-cli/package.nix @@ -43,6 +43,7 @@ buildGoModule rec { meta = with lib; { description = "Command line tool for Shopware 6"; + mainProgram = "shopware-cli"; homepage = "https://github.com/FriendsOfShopware/shopware-cli"; changelog = "https://github.com/FriendsOfShopware/shopware-cli/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/by-name/si/signaturepdf/package.nix b/pkgs/by-name/si/signaturepdf/package.nix index 34eaab9213ed..623f3a654fce 100644 --- a/pkgs/by-name/si/signaturepdf/package.nix +++ b/pkgs/by-name/si/signaturepdf/package.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Web software for signing PDFs and also organize pages, edit metadata and compress pdf"; + mainProgram = "signaturepdf"; homepage = "https://pdf.24eme.fr/"; changelog = "https://github.com/24eme/signaturepdf/releases/tag/v${version}"; diff --git a/pkgs/by-name/si/simplex-chat-desktop/package.nix b/pkgs/by-name/si/simplex-chat-desktop/package.nix index 4332e6467005..1868e2669cdb 100644 --- a/pkgs/by-name/si/simplex-chat-desktop/package.nix +++ b/pkgs/by-name/si/simplex-chat-desktop/package.nix @@ -38,6 +38,7 @@ in appimageTools.wrapType2 { meta = with lib; { description = "Desktop application for SimpleX Chat"; + mainProgram = "simplex-chat-desktop"; homepage = "https://simplex.chat"; changelog = "https://github.com/simplex-chat/simplex-chat/releases/tag/v${version}"; license = licenses.agpl3Only; diff --git a/pkgs/by-name/sm/smuview/package.nix b/pkgs/by-name/sm/smuview/package.nix index 7c67e012cd14..e2825cdb783f 100644 --- a/pkgs/by-name/sm/smuview/package.nix +++ b/pkgs/by-name/sm/smuview/package.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Qt based source measure unit GUI for sigrok"; + mainProgram = "smuview"; longDescription = "SmuView is a GUI for sigrok that supports power supplies, electronic loads and all sorts of measurement devices like multimeters, LCR meters and so on"; homepage = "https://github.com/knarfS/smuview"; license = licenses.gpl3Plus; diff --git a/pkgs/by-name/sn/snekim/package.nix b/pkgs/by-name/sn/snekim/package.nix index e041c1f0e314..d5e80a3c75fe 100644 --- a/pkgs/by-name/sn/snekim/package.nix +++ b/pkgs/by-name/sn/snekim/package.nix @@ -25,6 +25,7 @@ buildNimPackage (finalAttrs: { meta = { homepage = "https://codeberg.org/annaaurora/snekim"; description = "A simple implementation of the classic snake game"; + mainProgram = "snekim"; license = lib.licenses.lgpl3Only; maintainers = [ lib.maintainers.annaaurora ]; }; diff --git a/pkgs/by-name/sp/speakersafetyd/package.nix b/pkgs/by-name/sp/speakersafetyd/package.nix index 4351ae55176e..aa44ad62c02b 100644 --- a/pkgs/by-name/sp/speakersafetyd/package.nix +++ b/pkgs/by-name/sp/speakersafetyd/package.nix @@ -39,6 +39,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A userspace daemon written in Rust that implements an analogue of the Texas Instruments Smart Amp speaker protection model"; + mainProgram = "speakersafetyd"; homepage = "https://github.com/AsahiLinux/speakersafetyd"; maintainers = with maintainers; [ yuka ]; license = licenses.mit; diff --git a/pkgs/by-name/sp/spice-autorandr/package.nix b/pkgs/by-name/sp/spice-autorandr/package.nix index e79f4cb18bd9..1291a0f612d7 100644 --- a/pkgs/by-name/sp/spice-autorandr/package.nix +++ b/pkgs/by-name/sp/spice-autorandr/package.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation { meta = { description = "Automatically adjust the client window resolution in Linux KVM guests using the SPICE driver."; + mainProgram = "spice-autorandr"; longDescription = '' Some desktop environments update the display resolution automatically, this package is only useful when running without a DE or with a DE that diff --git a/pkgs/by-name/sp/spigot/package.nix b/pkgs/by-name/sp/spigot/package.nix index 421af163cd4f..9515a573b713 100644 --- a/pkgs/by-name/sp/spigot/package.nix +++ b/pkgs/by-name/sp/spigot/package.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://www.chiark.greenend.org.uk/~sgtatham/spigot/"; description = "A command-line exact real calculator"; + mainProgram = "spigot"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ AndersonTorres ]; platforms = lib.platforms.unix; diff --git a/pkgs/by-name/ss/sssnake/package.nix b/pkgs/by-name/ss/sssnake/package.nix index d50d624781b0..98b774bf4f8c 100644 --- a/pkgs/by-name/ss/sssnake/package.nix +++ b/pkgs/by-name/ss/sssnake/package.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { ]; meta = with lib; { description = "Cli snake game that plays itself"; + mainProgram = "sssnake"; homepage = "https://github.com/angeljumbo/sssnake"; license = with licenses; [mit]; platforms = platforms.unix; diff --git a/pkgs/by-name/st/stormlib/package.nix b/pkgs/by-name/st/stormlib/package.nix index d55b93ca48ca..cfa218c34e1e 100644 --- a/pkgs/by-name/st/stormlib/package.nix +++ b/pkgs/by-name/st/stormlib/package.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/ladislav-zezula/StormLib"; license = licenses.mit; description = "An open-source project that can work with Blizzard MPQ archives"; + mainProgram = "storm_test"; platforms = platforms.all; maintainers = with maintainers; [ aanderse karolchmist ]; }; diff --git a/pkgs/by-name/sw/sway-assign-cgroups/package.nix b/pkgs/by-name/sw/sway-assign-cgroups/package.nix index c420a32cf37b..83602655a669 100644 --- a/pkgs/by-name/sw/sway-assign-cgroups/package.nix +++ b/pkgs/by-name/sw/sway-assign-cgroups/package.nix @@ -25,6 +25,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Place GUI applications into systemd scopes for systemd-oomd compatibility."; + mainProgram = "assign-cgroups.py"; longDescription = '' Automatically assign a dedicated systemd scope to the GUI applications launched in the same cgroup as the compositor. This could be helpful for diff --git a/pkgs/by-name/sw/swaycons/package.nix b/pkgs/by-name/sw/swaycons/package.nix index 33e5ab3666d4..9716f8708795 100644 --- a/pkgs/by-name/sw/swaycons/package.nix +++ b/pkgs/by-name/sw/swaycons/package.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Window Icons in Sway with Nerd Fonts!"; + mainProgram = "swaycons"; homepage = "https://github.com/ActuallyAllie/swaycons"; license = licenses.asl20; platforms = platforms.linux; diff --git a/pkgs/by-name/sw/swayws/package.nix b/pkgs/by-name/sw/swayws/package.nix index 999581153ac9..a216e9efba71 100644 --- a/pkgs/by-name/sw/swayws/package.nix +++ b/pkgs/by-name/sw/swayws/package.nix @@ -22,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A sway workspace tool which allows easy moving of workspaces to and from outputs"; + mainProgram = "swayws"; homepage = "https://gitlab.com/w0lff/swayws"; license = licenses.mit; maintainers = [ maintainers.atila ]; diff --git a/pkgs/by-name/sw/swaywsr/package.nix b/pkgs/by-name/sw/swaywsr/package.nix index 23a82bd2df08..5926e605b750 100644 --- a/pkgs/by-name/sw/swaywsr/package.nix +++ b/pkgs/by-name/sw/swaywsr/package.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Automatically change sway workspace names based on their contents"; + mainProgram = "swaywsr"; longDescription = '' Automatically sets the workspace names to match the windows on the workspace. The chosen name for a workspace is a composite of the app_id or WM_CLASS X11 diff --git a/pkgs/by-name/tc/tcsh/package.nix b/pkgs/by-name/tc/tcsh/package.nix index 7d60050b0a93..abc58430f2e6 100644 --- a/pkgs/by-name/tc/tcsh/package.nix +++ b/pkgs/by-name/tc/tcsh/package.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://www.tcsh.org/"; description = "An enhanced version of the Berkeley UNIX C shell (csh)"; + mainProgram = "tcsh"; longDescription = '' tcsh is an enhanced but completely compatible version of the Berkeley UNIX C shell, csh. It is a command language interpreter usable both as an diff --git a/pkgs/by-name/ti/tilda/package.nix b/pkgs/by-name/ti/tilda/package.nix index 000088efa5c0..cda946d04ecf 100644 --- a/pkgs/by-name/ti/tilda/package.nix +++ b/pkgs/by-name/ti/tilda/package.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://github.com/lanoxx/tilda/"; description = "A Gtk based drop down terminal for Linux and Unix"; + mainProgram = "tilda"; license = lib.licenses.gpl3Plus; maintainers = [ lib.maintainers.AndersonTorres ]; platforms = lib.platforms.linux; diff --git a/pkgs/by-name/tr/tridactyl-native/package.nix b/pkgs/by-name/tr/tridactyl-native/package.nix index af5cbe191126..e8f9394c896d 100644 --- a/pkgs/by-name/tr/tridactyl-native/package.nix +++ b/pkgs/by-name/tr/tridactyl-native/package.nix @@ -22,6 +22,7 @@ buildNimPackage { meta = with lib; { description = "Native messenger for Tridactyl, a vim-like Firefox webextension"; + mainProgram = "native_main"; homepage = "https://github.com/tridactyl/native_messenger"; license = licenses.bsd2; platforms = platforms.all; diff --git a/pkgs/by-name/tr/trunk-ng/package.nix b/pkgs/by-name/tr/trunk-ng/package.nix index 6ef55446de55..2759b8f4f921 100644 --- a/pkgs/by-name/tr/trunk-ng/package.nix +++ b/pkgs/by-name/tr/trunk-ng/package.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/ctron/trunk"; description = "Build, bundle & ship your Rust WASM application to the web"; + mainProgram = "trunk-ng"; maintainers = with maintainers; [ ctron ]; license = with licenses; [ asl20 ]; }; diff --git a/pkgs/by-name/tu/tup/package.nix b/pkgs/by-name/tu/tup/package.nix index 902508129cb2..269ee96f1a73 100644 --- a/pkgs/by-name/tu/tup/package.nix +++ b/pkgs/by-name/tu/tup/package.nix @@ -58,6 +58,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "A fast, file-based build system"; + mainProgram = "tup"; longDescription = '' Tup is a file-based build system for Linux, OSX, and Windows. It inputs a list of file changes and a directed acyclic graph (DAG), then processes the DAG to diff --git a/pkgs/by-name/ud/udebug/package.nix b/pkgs/by-name/ud/udebug/package.nix index f3233d8baca8..d52b713418a6 100644 --- a/pkgs/by-name/ud/udebug/package.nix +++ b/pkgs/by-name/ud/udebug/package.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation { meta = with lib; { description = "OpenWrt debugging helper library/service"; + mainProgram = "udebugd"; homepage = "https://git.openwrt.org/?p=project/udebug.git;a=summary"; license = licenses.free; platforms = platforms.linux; diff --git a/pkgs/by-name/un/unciv/package.nix b/pkgs/by-name/un/unciv/package.nix index b017677e8b59..0e2f80f09d96 100644 --- a/pkgs/by-name/un/unciv/package.nix +++ b/pkgs/by-name/un/unciv/package.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An open-source Android/Desktop remake of Civ V"; + mainProgram = "unciv"; homepage = "https://github.com/yairm210/Unciv"; maintainers = with maintainers; [ tex ]; sourceProvenance = with sourceTypes; [ binaryBytecode ]; diff --git a/pkgs/by-name/un/unl0kr/package.nix b/pkgs/by-name/un/unl0kr/package.nix index fa72e2af5c18..345a07ea9291 100644 --- a/pkgs/by-name/un/unl0kr/package.nix +++ b/pkgs/by-name/un/unl0kr/package.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Framebuffer-based disk unlocker for the initramfs based on LVGL"; + mainProgram = "unl0kr"; homepage = "https://gitlab.com/cherrypicker/unl0kr"; license = licenses.gpl3Plus; maintainers = with maintainers; [ tomfitzhenry ]; diff --git a/pkgs/by-name/un/unsilence/package.nix b/pkgs/by-name/un/unsilence/package.nix index a8c9ef1d9c95..c82fe04616b6 100644 --- a/pkgs/by-name/un/unsilence/package.nix +++ b/pkgs/by-name/un/unsilence/package.nix @@ -37,6 +37,7 @@ python3Packages.buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/lagmoellertim/unsilence"; description = "Console Interface and Library to remove silent parts of a media file"; + mainProgram = "unsilence"; license = licenses.mit; maintainers = with maintainers; [ esau79p ]; }; diff --git a/pkgs/by-name/uv/uv/Cargo.lock b/pkgs/by-name/uv/uv/Cargo.lock index 6c4862001d75..c9f0be4d721f 100644 --- a/pkgs/by-name/uv/uv/Cargo.lock +++ b/pkgs/by-name/uv/uv/Cargo.lock @@ -885,6 +885,15 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "63dfa964fe2a66f3fde91fc70b267fe193d822c7e603e2a675a49a7f46ad3f49" +[[package]] +name = "deranged" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +dependencies = [ + "powerfmt", +] + [[package]] name = "derivative" version = "2.2.0" @@ -1956,6 +1965,15 @@ dependencies = [ "vcpkg", ] +[[package]] +name = "line-wrap" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f30344350a2a51da54c1d53be93fade8a237e545dbcc4bdbe635413f2117cab9" +dependencies = [ + "safemem", +] + [[package]] name = "linked-hash-map" version = "0.5.6" @@ -2168,6 +2186,12 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-traits" version = "0.2.18" @@ -2256,6 +2280,16 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" +[[package]] +name = "os_info" +version = "3.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "006e42d5b888366f1880eda20371fedde764ed2213dc8496f49622fa0c99cd5e" +dependencies = [ + "log", + "winapi", +] + [[package]] name = "overload" version = "0.1.1" @@ -2453,11 +2487,26 @@ dependencies = [ name = "platform-tags" version = "0.0.1" dependencies = [ + "insta", "rustc-hash", "serde", "thiserror", ] +[[package]] +name = "plist" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5699cc8a63d1aa2b1ee8e12b9ad70ac790d65788cd36101fa37f87ea46c4cef" +dependencies = [ + "base64 0.21.7", + "indexmap 2.2.5", + "line-wrap", + "quick-xml", + "serde", + "time", +] + [[package]] name = "png" version = "0.17.13" @@ -2486,6 +2535,12 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -2683,6 +2738,15 @@ dependencies = [ "toml", ] +[[package]] +name = "quick-xml" +version = "0.31.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1004a344b30a54e2ee58d66a71b32d2db2feb0a31f9a2d302bf0536f15de2a33" +dependencies = [ + "memchr", +] + [[package]] name = "quote" version = "1.0.35" @@ -3209,6 +3273,12 @@ version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" +[[package]] +name = "safemem" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072" + [[package]] name = "same-file" version = "1.0.6" @@ -3546,6 +3616,16 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +[[package]] +name = "sys-info" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b3a0d0aba8bf96a0e1ddfdc352fc53b3df7f39318c71854910c3c4b024ae52c" +dependencies = [ + "cc", + "libc", +] + [[package]] name = "system-configuration" version = "0.5.1" @@ -3725,6 +3805,37 @@ dependencies = [ "tikv-jemalloc-sys", ] +[[package]] +name = "time" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +dependencies = [ + "deranged", + "itoa", + "num-conv", + "powerfmt", + "serde", + "time-core", + "time-macros", +] + +[[package]] +name = "time-core" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" + +[[package]] +name = "time-macros" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" +dependencies = [ + "num-conv", + "time-core", +] + [[package]] name = "tiny-skia" version = "0.8.4" @@ -4198,7 +4309,7 @@ checksum = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a" [[package]] name = "uv" -version = "0.1.21" +version = "0.1.22" dependencies = [ "anstream", "anyhow", @@ -4301,6 +4412,7 @@ dependencies = [ "insta", "itertools 0.12.1", "once_cell", + "pep440_rs", "pep508_rs", "pypi-types", "pyproject-toml", @@ -4359,9 +4471,11 @@ dependencies = [ "hyper 0.14.28", "insta", "install-wheel-rs", + "os_info", "pep440_rs", "pep508_rs", "platform-tags", + "plist", "pypi-types", "reqwest", "reqwest-middleware", @@ -4374,6 +4488,7 @@ dependencies = [ "serde", "serde_json", "sha2", + "sys-info", "task-local-extensions", "tempfile", "thiserror", @@ -4386,6 +4501,7 @@ dependencies = [ "uv-auth", "uv-cache", "uv-fs", + "uv-interpreter", "uv-normalize", "uv-version", "uv-warnings", @@ -4719,7 +4835,7 @@ dependencies = [ [[package]] name = "uv-version" -version = "0.1.21" +version = "0.1.22" [[package]] name = "uv-virtualenv" diff --git a/pkgs/by-name/uv/uv/package.nix b/pkgs/by-name/uv/uv/package.nix index 57404bc33584..322a47bb761f 100644 --- a/pkgs/by-name/uv/uv/package.nix +++ b/pkgs/by-name/uv/uv/package.nix @@ -11,13 +11,13 @@ rustPlatform.buildRustPackage rec { pname = "uv"; - version = "0.1.21"; + version = "0.1.22"; src = fetchFromGitHub { owner = "astral-sh"; repo = "uv"; rev = version; - hash = "sha256-xc1+33BCycl7BJqqcQKLR9Sgg8xTRcF8P7gRIyeRIZ4="; + hash = "sha256-AbixSkwyhj3eBMLvGlodpz7XE3ln0IokNMdu5SOZjOE="; }; cargoLock = { diff --git a/pkgs/by-name/vc/vcpkg-tool/package.nix b/pkgs/by-name/vc/vcpkg-tool/package.nix index b96667bfbb55..801c9d9c7bbd 100644 --- a/pkgs/by-name/vc/vcpkg-tool/package.nix +++ b/pkgs/by-name/vc/vcpkg-tool/package.nix @@ -65,6 +65,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Components of microsoft/vcpkg's binary"; + mainProgram = "vcpkg"; homepage = "https://github.com/microsoft/vcpkg-tool"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ guekka gracicot ]; diff --git a/pkgs/by-name/vc/vcpkg/package.nix b/pkgs/by-name/vc/vcpkg/package.nix index e6642b1ba3a7..66ebb4afef9e 100644 --- a/pkgs/by-name/vc/vcpkg/package.nix +++ b/pkgs/by-name/vc/vcpkg/package.nix @@ -43,6 +43,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { meta = { description = "C++ Library Manager"; + mainProgram = "vcpkg"; homepage = "https://vcpkg.io/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ guekka gracicot ]; diff --git a/pkgs/by-name/vi/vieb/package.nix b/pkgs/by-name/vi/vieb/package.nix index 0c8afad3fb00..f49cea3c13c7 100644 --- a/pkgs/by-name/vi/vieb/package.nix +++ b/pkgs/by-name/vi/vieb/package.nix @@ -56,6 +56,7 @@ buildNpmPackage rec { homepage = "https://vieb.dev/"; changelog = "https://github.com/Jelmerro/Vieb/releases/tag/${version}"; description = "Vim Inspired Electron Browser"; + mainProgram = "vieb"; maintainers = with maintainers; [ gebner tejing ]; platforms = platforms.unix; license = licenses.gpl3Plus; diff --git a/pkgs/by-name/wa/wayland-logout/package.nix b/pkgs/by-name/wa/wayland-logout/package.nix index 22e197a4987a..272b3dfbe06f 100644 --- a/pkgs/by-name/wa/wayland-logout/package.nix +++ b/pkgs/by-name/wa/wayland-logout/package.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { description = '' A utility designed to kill a single instance of a wayland compositor ''; + mainProgram = "wayland-logout"; homepage = "https://github.com/soreau/wayland-logout"; maintainers = with maintainers; [quantenzitrone]; license = with licenses; [mit]; diff --git a/pkgs/by-name/wt/wtfis/package.nix b/pkgs/by-name/wt/wtfis/package.nix index 0a9ae5bd0bd3..56d302208d9c 100644 --- a/pkgs/by-name/wt/wtfis/package.nix +++ b/pkgs/by-name/wt/wtfis/package.nix @@ -41,6 +41,7 @@ in python3.pkgs.buildPythonApplication { meta = { homepage = "https://github.com/pirxthepilot/wtfis"; description = "Passive hostname, domain and IP lookup tool for non-robots"; + mainProgram = "wtfis"; license = lib.licenses.mit; maintainers = [ lib.maintainers.AndersonTorres ]; }; diff --git a/pkgs/by-name/x5/x509-limbo/package.nix b/pkgs/by-name/x5/x509-limbo/package.nix index 18fe5778b7c4..2cb4625e04fa 100644 --- a/pkgs/by-name/x5/x509-limbo/package.nix +++ b/pkgs/by-name/x5/x509-limbo/package.nix @@ -40,6 +40,7 @@ python3.pkgs.buildPythonPackage { meta = with lib; { homepage = "https://x509-limbo.com/"; description = "A suite of testvectors for X.509 certificate path validation and tools for building them "; + mainProgram = "limbo"; license = licenses.asl20; platforms = platforms.all; diff --git a/pkgs/by-name/xa/xarcan/package.nix b/pkgs/by-name/xa/xarcan/package.nix index fb43766e7207..2f10a984aa37 100644 --- a/pkgs/by-name/xa/xarcan/package.nix +++ b/pkgs/by-name/xa/xarcan/package.nix @@ -107,6 +107,7 @@ stdenv.mkDerivation (finalPackages: { meta = { homepage = "https://github.com/letoram/letoram"; description = "Patched Xserver that bridges connections to Arcan"; + mainProgram = "Xarcan"; longDescription = '' xarcan is a patched X server with a KDrive backend that uses the arcan-shmif to map Xlib/Xcb/X clients to a running arcan instance. It diff --git a/pkgs/by-name/xf/xfs-undelete/package.nix b/pkgs/by-name/xf/xfs-undelete/package.nix index d5da9d01fc3b..cc333fb3ec2b 100644 --- a/pkgs/by-name/xf/xfs-undelete/package.nix +++ b/pkgs/by-name/xf/xfs-undelete/package.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation { meta = with lib; { description = "An undelete tool for the XFS filesystem"; + mainProgram = "xfs_undelete"; homepage = "https://github.com/ianka/xfs_undelete"; license = licenses.gpl3; platforms = platforms.linux; diff --git a/pkgs/by-name/xp/xplr/package.nix b/pkgs/by-name/xp/xplr/package.nix index 0d4750bf7e08..5f79ed376260 100644 --- a/pkgs/by-name/xp/xplr/package.nix +++ b/pkgs/by-name/xp/xplr/package.nix @@ -39,6 +39,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A hackable, minimal, fast TUI file explorer"; + mainProgram = "xplr"; homepage = "https://xplr.dev"; changelog = "https://github.com/sayanarijit/xplr/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/by-name/xs/xsct/package.nix b/pkgs/by-name/xs/xsct/package.nix index 6bec80b6b965..8e384f8ef978 100644 --- a/pkgs/by-name/xs/xsct/package.nix +++ b/pkgs/by-name/xs/xsct/package.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Set color temperature of screen"; + mainProgram = "xsct"; homepage = "https://github.com/faf0/sct"; license = licenses.unlicense; maintainers = with maintainers; [ OPNA2608 ]; diff --git a/pkgs/by-name/za/zabbix-agent2-plugin-postgresql/package.nix b/pkgs/by-name/za/zabbix-agent2-plugin-postgresql/package.nix index 97aeb25d36c9..d80e98f83271 100644 --- a/pkgs/by-name/za/zabbix-agent2-plugin-postgresql/package.nix +++ b/pkgs/by-name/za/zabbix-agent2-plugin-postgresql/package.nix @@ -13,6 +13,7 @@ buildGoModule rec { meta = with lib; { description = "Required tool for Zabbix agent integrated PostgreSQL monitoring"; + mainProgram = "postgresql"; homepage = "https://www.zabbix.com/integrations/postgresql"; license = licenses.asl20; maintainers = with maintainers; [ gador ]; diff --git a/pkgs/by-name/zc/zcfan/package.nix b/pkgs/by-name/zc/zcfan/package.nix index c6bb42c286fb..7fd6eea7a5b2 100644 --- a/pkgs/by-name/zc/zcfan/package.nix +++ b/pkgs/by-name/zc/zcfan/package.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A zero-configuration fan daemon for ThinkPads"; + mainProgram = "zcfan"; homepage = "https://github.com/cdown/zcfan"; changelog = "https://github.com/cdown/zcfan/tags/${finalAttrs.version}"; license = licenses.mit; diff --git a/pkgs/by-name/ze/zesarux/package.nix b/pkgs/by-name/ze/zesarux/package.nix index 915bfe3905cf..096f4bf2b0ec 100644 --- a/pkgs/by-name/ze/zesarux/package.nix +++ b/pkgs/by-name/ze/zesarux/package.nix @@ -75,6 +75,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://github.com/chernandezba/zesarux"; description = "ZX Second-Emulator And Released for UniX"; + mainProgram = "zesarux"; license = with lib.licenses; [ gpl3Plus ]; maintainers = with lib.maintainers; [ AndersonTorres ]; platforms = lib.platforms.unix; diff --git a/pkgs/by-name/zi/zigpy-cli/package.nix b/pkgs/by-name/zi/zigpy-cli/package.nix index f0ddf387354b..a1b86b3b8830 100644 --- a/pkgs/by-name/zi/zigpy-cli/package.nix +++ b/pkgs/by-name/zi/zigpy-cli/package.nix @@ -51,6 +51,7 @@ python3.pkgs.buildPythonPackage rec { meta = with lib; { description = "Command line interface for zigpy"; + mainProgram = "zigpy"; homepage = "https://github.com/zigpy/zigpy-cli"; changelog = "https://github.com/zigpy/zigpy/releases/tag/v${version}"; license = licenses.gpl3Plus; diff --git a/pkgs/by-name/zi/zircolite/package.nix b/pkgs/by-name/zi/zircolite/package.nix index 799f2002963c..13583df1b912 100644 --- a/pkgs/by-name/zi/zircolite/package.nix +++ b/pkgs/by-name/zi/zircolite/package.nix @@ -52,6 +52,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "SIGMA-based detection tool for EVTX, Auditd, Sysmon and other logs"; + mainProgram = "zircolite"; homepage = "https://github.com/wagga40/Zircolite"; changelog = "https://github.com/wagga40/Zircolite/releases/tag/${version}"; license = licenses.gpl3Only; diff --git a/pkgs/by-name/zo/zola/package.nix b/pkgs/by-name/zo/zola/package.nix index df32093d3ef3..8d0cb6722ef8 100644 --- a/pkgs/by-name/zo/zola/package.nix +++ b/pkgs/by-name/zo/zola/package.nix @@ -47,6 +47,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A fast static site generator with everything built-in"; + mainProgram = "zola"; homepage = "https://www.getzola.org/"; changelog = "https://github.com/getzola/zola/raw/v${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/by-name/zp/zpaqfranz/package.nix b/pkgs/by-name/zp/zpaqfranz/package.nix index 9719eb7dc81d..158dbade94e7 100644 --- a/pkgs/by-name/zp/zpaqfranz/package.nix +++ b/pkgs/by-name/zp/zpaqfranz/package.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://github.com/fcorbelli/zpaqfranz"; description = "Advanced multiversioned deduplicating archiver, with HW acceleration, encryption and paranoid-level tests"; + mainProgram = "zpaqfranz"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ AndersonTorres ]; platforms = lib.platforms.unix; diff --git a/pkgs/data/misc/papirus-folders/default.nix b/pkgs/data/misc/papirus-folders/default.nix index a44a382c4b40..b701742a9f46 100644 --- a/pkgs/data/misc/papirus-folders/default.nix +++ b/pkgs/data/misc/papirus-folders/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A tool to change papirus icon theme color"; + mainProgram = "papirus-folders"; longDescription = '' papirus-folders is a bash script that allows changing the color of folders in Papirus icon theme and its forks (which based on version 20171007 and newer). diff --git a/pkgs/data/misc/xorg-rgb/default.nix b/pkgs/data/misc/xorg-rgb/default.nix index 646f4ae491b0..d9d78b153649 100644 --- a/pkgs/data/misc/xorg-rgb/default.nix +++ b/pkgs/data/misc/xorg-rgb/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "X11 colorname to RGB mapping database"; + mainProgram = "showrgb"; license = licenses.mit; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; diff --git a/pkgs/data/themes/lightly-boehs/default.nix b/pkgs/data/themes/lightly-boehs/default.nix index 10c30a431e7c..c8a1b010fc22 100644 --- a/pkgs/data/themes/lightly-boehs/default.nix +++ b/pkgs/data/themes/lightly-boehs/default.nix @@ -34,6 +34,7 @@ mkDerivation rec { meta = with lib; { description = "A fork of the Lightly breeze theme style that aims to be visually modern and minimalistic"; + mainProgram = "lightly-settings5"; homepage = "https://github.com/boehs/Lightly"; license = licenses.gpl2Plus; maintainers = [ maintainers.hikari ]; diff --git a/pkgs/data/themes/lightly-qt/default.nix b/pkgs/data/themes/lightly-qt/default.nix index 7b653d952424..99e7e4eb59ef 100644 --- a/pkgs/data/themes/lightly-qt/default.nix +++ b/pkgs/data/themes/lightly-qt/default.nix @@ -34,6 +34,7 @@ mkDerivation rec { meta = with lib; { description = "A fork of breeze theme style that aims to be visually modern and minimalistic"; + mainProgram = "lightly-settings5"; homepage = "https://github.com/Luwx/Lightly"; license = licenses.gpl2Plus; maintainers = [ maintainers.pwoelfel ]; diff --git a/pkgs/desktops/cinnamon/bulky/default.nix b/pkgs/desktops/cinnamon/bulky/default.nix index 2d34ffbc1a18..21cd43601924 100644 --- a/pkgs/desktops/cinnamon/bulky/default.nix +++ b/pkgs/desktops/cinnamon/bulky/default.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Bulk rename app"; + mainProgram = "bulky"; homepage = "https://github.com/linuxmint/bulky"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/cinnamon/cinnamon-control-center/default.nix b/pkgs/desktops/cinnamon/cinnamon-control-center/default.nix index bf13651d1746..e0aee4bde640 100644 --- a/pkgs/desktops/cinnamon/cinnamon-control-center/default.nix +++ b/pkgs/desktops/cinnamon/cinnamon-control-center/default.nix @@ -99,6 +99,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/linuxmint/cinnamon-control-center"; description = "A collection of configuration plugins used in cinnamon-settings"; + mainProgram = "cinnamon-control-center"; license = licenses.gpl2; platforms = platforms.linux; maintainers = teams.cinnamon.members; diff --git a/pkgs/desktops/cinnamon/muffin/default.nix b/pkgs/desktops/cinnamon/muffin/default.nix index 893ddf065333..f00a92ddc6d4 100644 --- a/pkgs/desktops/cinnamon/muffin/default.nix +++ b/pkgs/desktops/cinnamon/muffin/default.nix @@ -115,6 +115,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/linuxmint/muffin"; description = "The window management library for the Cinnamon desktop (libmuffin) and its sample WM binary (muffin)"; + mainProgram = "muffin"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = teams.cinnamon.members; diff --git a/pkgs/desktops/cinnamon/pix/default.nix b/pkgs/desktops/cinnamon/pix/default.nix index 219a0216437d..d1272f431389 100644 --- a/pkgs/desktops/cinnamon/pix/default.nix +++ b/pkgs/desktops/cinnamon/pix/default.nix @@ -95,6 +95,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A generic image viewer from Linux Mint"; + mainProgram = "pix"; homepage = "https://github.com/linuxmint/pix"; license = licenses.gpl2Only; platforms = platforms.linux; diff --git a/pkgs/desktops/cinnamon/xviewer/default.nix b/pkgs/desktops/cinnamon/xviewer/default.nix index 5a2bb2264d29..47e4e331da8b 100644 --- a/pkgs/desktops/cinnamon/xviewer/default.nix +++ b/pkgs/desktops/cinnamon/xviewer/default.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A generic image viewer from Linux Mint"; + mainProgram = "xviewer"; homepage = "https://github.com/linuxmint/xviewer"; license = licenses.gpl2Only; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/apps/deepin-calculator/default.nix b/pkgs/desktops/deepin/apps/deepin-calculator/default.nix index c8915e3f354c..fa5c80d4a071 100644 --- a/pkgs/desktops/deepin/apps/deepin-calculator/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-calculator/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An easy to use calculator for ordinary users"; + mainProgram = "deepin-calculator"; homepage = "https://github.com/linuxdeepin/deepin-calculator"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/apps/deepin-compressor/default.nix b/pkgs/desktops/deepin/apps/deepin-compressor/default.nix index 9be79853b5fe..60a02851b95a 100644 --- a/pkgs/desktops/deepin/apps/deepin-compressor/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-compressor/default.nix @@ -74,6 +74,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A fast and lightweight application for creating and extracting archives"; + mainProgram = "deepin-compressor"; homepage = "https://github.com/linuxdeepin/deepin-compressor"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/apps/deepin-draw/default.nix b/pkgs/desktops/deepin/apps/deepin-draw/default.nix index c07ca9e0b880..980c7b3d1934 100644 --- a/pkgs/desktops/deepin/apps/deepin-draw/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-draw/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Lightweight drawing tool for users to freely draw and simply edit images"; + mainProgram = "deepin-draw"; homepage = "https://github.com/linuxdeepin/deepin-draw"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/apps/deepin-movie-reborn/default.nix b/pkgs/desktops/deepin/apps/deepin-movie-reborn/default.nix index 7794d5b50d0b..d9f810c95184 100644 --- a/pkgs/desktops/deepin/apps/deepin-movie-reborn/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-movie-reborn/default.nix @@ -123,6 +123,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Full-featured video player supporting playing local and streaming media in multiple video formats"; + mainProgram = "deepin-movie"; homepage = "https://github.com/linuxdeepin/deepin-movie-reborn"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/apps/deepin-music/default.nix b/pkgs/desktops/deepin/apps/deepin-music/default.nix index 64e5ee857745..e5cbca387efb 100644 --- a/pkgs/desktops/deepin/apps/deepin-music/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-music/default.nix @@ -79,6 +79,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Awesome music player with brilliant and tweakful UI Deepin-UI based"; + mainProgram = "deepin-music"; homepage = "https://github.com/linuxdeepin/deepin-music"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/apps/deepin-picker/default.nix b/pkgs/desktops/deepin/apps/deepin-picker/default.nix index cafd235fc9f4..cbb3d8e66a74 100644 --- a/pkgs/desktops/deepin/apps/deepin-picker/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-picker/default.nix @@ -51,6 +51,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Color picker application"; + mainProgram = "deepin-picker"; homepage = "https://github.com/linuxdeepin/deepin-picker"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/apps/deepin-reader/default.nix b/pkgs/desktops/deepin/apps/deepin-reader/default.nix index 0d95349bf56e..39045e0e2a61 100644 --- a/pkgs/desktops/deepin/apps/deepin-reader/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-reader/default.nix @@ -69,6 +69,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple memo software with texts and voice recordings"; + mainProgram = "deepin-reader"; homepage = "https://github.com/linuxdeepin/deepin-reader"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/apps/deepin-screensaver/default.nix b/pkgs/desktops/deepin/apps/deepin-screensaver/default.nix index 544e8e32b249..daadb5a863d3 100644 --- a/pkgs/desktops/deepin/apps/deepin-screensaver/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-screensaver/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A screensaver service developed by deepin"; + mainProgram = "deepin-screensaver"; homepage = "https://github.com/linuxdeepin/deepin-screensaver"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/apps/deepin-shortcut-viewer/default.nix b/pkgs/desktops/deepin/apps/deepin-shortcut-viewer/default.nix index a9e1f8d7e977..fc0fd4eab8e1 100644 --- a/pkgs/desktops/deepin/apps/deepin-shortcut-viewer/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-shortcut-viewer/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Deepin Shortcut Viewer"; + mainProgram = "deepin-shortcut-viewer"; homepage = "https://github.com/linuxdeepin/deepin-shortcut-viewer"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/apps/deepin-terminal/default.nix b/pkgs/desktops/deepin/apps/deepin-terminal/default.nix index 275f3935b41f..5142b8d354ee 100644 --- a/pkgs/desktops/deepin/apps/deepin-terminal/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-terminal/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Terminal emulator with workspace, multiple windows, remote management, quake mode and other features"; + mainProgram = "deepin-terminal"; homepage = "https://github.com/linuxdeepin/deepin-terminal"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/apps/deepin-voice-note/default.nix b/pkgs/desktops/deepin/apps/deepin-voice-note/default.nix index 13124f82b7aa..766d4962fc70 100644 --- a/pkgs/desktops/deepin/apps/deepin-voice-note/default.nix +++ b/pkgs/desktops/deepin/apps/deepin-voice-note/default.nix @@ -78,6 +78,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple memo software with texts and voice recordings"; + mainProgram = "deepin-voice-note"; homepage = "https://github.com/linuxdeepin/deepin-voice-note"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/core/dde-application-manager/default.nix b/pkgs/desktops/deepin/core/dde-application-manager/default.nix index 865352f92475..b386d0bbeabf 100644 --- a/pkgs/desktops/deepin/core/dde-application-manager/default.nix +++ b/pkgs/desktops/deepin/core/dde-application-manager/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Application manager for DDE"; + mainProgram = "dde-application-manager"; homepage = "https://github.com/linuxdeepin/dde-application-manager"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/core/dde-calendar/default.nix b/pkgs/desktops/deepin/core/dde-calendar/default.nix index 930b75a65644..b244898566e9 100644 --- a/pkgs/desktops/deepin/core/dde-calendar/default.nix +++ b/pkgs/desktops/deepin/core/dde-calendar/default.nix @@ -61,6 +61,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Calendar for Deepin Desktop Environment"; + mainProgram = "dde-calendar"; homepage = "https://github.com/linuxdeepin/dde-calendar"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/core/dde-control-center/default.nix b/pkgs/desktops/deepin/core/dde-control-center/default.nix index cca8a03e771f..cbfbb34f33ce 100644 --- a/pkgs/desktops/deepin/core/dde-control-center/default.nix +++ b/pkgs/desktops/deepin/core/dde-control-center/default.nix @@ -91,6 +91,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Control panel of Deepin Desktop Environment"; + mainProgram = "dde-control-center"; homepage = "https://github.com/linuxdeepin/dde-control-center"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/core/dde-dock/default.nix b/pkgs/desktops/deepin/core/dde-dock/default.nix index 39aa5492a44d..9c827e96a745 100644 --- a/pkgs/desktops/deepin/core/dde-dock/default.nix +++ b/pkgs/desktops/deepin/core/dde-dock/default.nix @@ -81,6 +81,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Deepin desktop-environment - dock module"; + mainProgram = "dde-dock"; homepage = "https://github.com/linuxdeepin/dde-dock"; platforms = platforms.linux; license = licenses.lgpl3Plus; diff --git a/pkgs/desktops/deepin/core/dde-launchpad/default.nix b/pkgs/desktops/deepin/core/dde-launchpad/default.nix index d57609bea945..3e3b15f3a250 100644 --- a/pkgs/desktops/deepin/core/dde-launchpad/default.nix +++ b/pkgs/desktops/deepin/core/dde-launchpad/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "The 'launcher' or 'start menu' component for DDE"; + mainProgram = "dde-launchpad"; homepage = "https://github.com/linuxdeepin/dde-launchpad"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/core/dde-widgets/default.nix b/pkgs/desktops/deepin/core/dde-widgets/default.nix index f071d4f63fc0..f7455a92e0b7 100644 --- a/pkgs/desktops/deepin/core/dde-widgets/default.nix +++ b/pkgs/desktops/deepin/core/dde-widgets/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Desktop widgets service/implementation for DDE"; + mainProgram = "dde-widgets"; homepage = "https://github.com/linuxdeepin/dde-widgets"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/core/deepin-service-manager/default.nix b/pkgs/desktops/deepin/core/deepin-service-manager/default.nix index 3d657ef33869..a11f7717b646 100644 --- a/pkgs/desktops/deepin/core/deepin-service-manager/default.nix +++ b/pkgs/desktops/deepin/core/deepin-service-manager/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Manage DBus service on Deepin"; + mainProgram = "deepin-service-manager"; homepage = "https://github.com/linuxdeepin/deepin-service-manager"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/go-package/dde-api/default.nix b/pkgs/desktops/deepin/go-package/dde-api/default.nix index 9b1f6f080818..d86c36976302 100644 --- a/pkgs/desktops/deepin/go-package/dde-api/default.nix +++ b/pkgs/desktops/deepin/go-package/dde-api/default.nix @@ -98,6 +98,7 @@ buildGoModule rec { meta = with lib; { description = "Dbus interfaces used for screen zone detecting, thumbnail generating, sound playing, etc"; + mainProgram = "dde-open"; homepage = "https://github.com/linuxdeepin/dde-api"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/go-package/deepin-pw-check/default.nix b/pkgs/desktops/deepin/go-package/deepin-pw-check/default.nix index f745c8d942be..d01c45c654d2 100644 --- a/pkgs/desktops/deepin/go-package/deepin-pw-check/default.nix +++ b/pkgs/desktops/deepin/go-package/deepin-pw-check/default.nix @@ -62,6 +62,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to verify the validity of the password"; + mainProgram = "pwd-conf-update"; homepage = "https://github.com/linuxdeepin/deepin-pw-check"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/go-package/go-gir-generator/default.nix b/pkgs/desktops/deepin/go-package/go-gir-generator/default.nix index eecdbeb990ba..45c486d606d3 100644 --- a/pkgs/desktops/deepin/go-package/go-gir-generator/default.nix +++ b/pkgs/desktops/deepin/go-package/go-gir-generator/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Generate static golang bindings for GObject"; + mainProgram = "gir-generator"; homepage = "https://github.com/linuxdeepin/go-gir-generator"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/library/dtkdeclarative/default.nix b/pkgs/desktops/deepin/library/dtkdeclarative/default.nix index b2df4d42790f..32e499ad242a 100644 --- a/pkgs/desktops/deepin/library/dtkdeclarative/default.nix +++ b/pkgs/desktops/deepin/library/dtkdeclarative/default.nix @@ -64,6 +64,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A widget development toolkit based on QtQuick/QtQml"; + mainProgram = "dtk-exhibition"; homepage = "https://github.com/linuxdeepin/dtkdeclarative"; license = licenses.lgpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/deepin/tools/dde-device-formatter/default.nix b/pkgs/desktops/deepin/tools/dde-device-formatter/default.nix index 7bc12672472d..f090c6feefa8 100644 --- a/pkgs/desktops/deepin/tools/dde-device-formatter/default.nix +++ b/pkgs/desktops/deepin/tools/dde-device-formatter/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple graphical interface for creating file system in a block device"; + mainProgram = "dde-device-formatter"; homepage = "https://github.com/linuxdeepin/dde-device-formatter"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/enlightenment/econnman/default.nix b/pkgs/desktops/enlightenment/econnman/default.nix index 228957de4ad1..c71f28576055 100644 --- a/pkgs/desktops/enlightenment/econnman/default.nix +++ b/pkgs/desktops/enlightenment/econnman/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A user interface for the connman network connection manager"; + mainProgram = "econnman-bin"; homepage = "https://enlightenment.org/"; license = licenses.lgpl3; platforms = platforms.linux; diff --git a/pkgs/desktops/enlightenment/ecrire/default.nix b/pkgs/desktops/enlightenment/ecrire/default.nix index 25238ca59ab7..3f511c3a79d0 100644 --- a/pkgs/desktops/enlightenment/ecrire/default.nix +++ b/pkgs/desktops/enlightenment/ecrire/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "EFL simple text editor"; + mainProgram = "ecrire"; homepage = "https://www.enlightenment.org/"; license = licenses.gpl3Only; platforms = platforms.linux; diff --git a/pkgs/desktops/enlightenment/ephoto/default.nix b/pkgs/desktops/enlightenment/ephoto/default.nix index c7681bfe0e47..1fff72fdb7bd 100644 --- a/pkgs/desktops/enlightenment/ephoto/default.nix +++ b/pkgs/desktops/enlightenment/ephoto/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Image viewer and editor written using the Enlightenment Foundation Libraries"; + mainProgram = "ephoto"; homepage = "https://www.smhouston.us/ephoto/"; license = licenses.bsd2; platforms = platforms.linux; diff --git a/pkgs/desktops/enlightenment/evisum/default.nix b/pkgs/desktops/enlightenment/evisum/default.nix index 438b68902813..af38f526f5ad 100644 --- a/pkgs/desktops/enlightenment/evisum/default.nix +++ b/pkgs/desktops/enlightenment/evisum/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "System and process monitor written with EFL"; + mainProgram = "evisum"; homepage = "https://www.enlightenment.org"; license = with licenses; [ isc ]; platforms = platforms.linux; diff --git a/pkgs/desktops/enlightenment/rage/default.nix b/pkgs/desktops/enlightenment/rage/default.nix index 814887491438..2ed7384ca0e0 100644 --- a/pkgs/desktops/enlightenment/rage/default.nix +++ b/pkgs/desktops/enlightenment/rage/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Video and audio player along the lines of mplayer"; + mainProgram = "rage"; homepage = "https://enlightenment.org/"; license = licenses.bsd2; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome-2/platform/libIDL/default.nix b/pkgs/desktops/gnome-2/platform/libIDL/default.nix index c8c40de9d44c..81f8e6d08e17 100644 --- a/pkgs/desktops/gnome-2/platform/libIDL/default.nix +++ b/pkgs/desktops/gnome-2/platform/libIDL/default.nix @@ -20,4 +20,5 @@ stdenv.mkDerivation rec { # the result was always ll https://lists.openembedded.org/g/openembedded-core/topic/85775262?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3A%2C%2C%2C0%2C0%2C0%2C85775262 "libIDL_cv_long_long_format=ll" ]; + meta.mainProgram = "libIDL-config-2"; } diff --git a/pkgs/desktops/gnome-2/platform/libart_lgpl/default.nix b/pkgs/desktops/gnome-2/platform/libart_lgpl/default.nix index 80ea3d02d939..5f21e59a4c52 100644 --- a/pkgs/desktops/gnome-2/platform/libart_lgpl/default.nix +++ b/pkgs/desktops/gnome-2/platform/libart_lgpl/default.nix @@ -7,4 +7,5 @@ stdenv.mkDerivation rec { url = "mirror://gnome/sources/libart_lgpl/${lib.versions.majorMinor version}/libart_lgpl-${version}.tar.bz2"; sha256 = "1yknfkyzgz9s616is0l9gp5aray0f2ry4dw533jgzj8gq5s1xhgx"; }; + meta.mainProgram = "libart2-config"; } diff --git a/pkgs/desktops/gnome-2/platform/libgnome/default.nix b/pkgs/desktops/gnome-2/platform/libgnome/default.nix index 56145980a5d2..c265b2ea6993 100644 --- a/pkgs/desktops/gnome-2/platform/libgnome/default.nix +++ b/pkgs/desktops/gnome-2/platform/libgnome/default.nix @@ -20,4 +20,5 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config intltool ]; buildInputs = [ popt zlib GConf gnome_vfs libcanberra-gtk2 libtool ]; propagatedBuildInputs = [ glib libbonobo libogg ]; + meta.mainProgram = "gnome-open"; } diff --git a/pkgs/desktops/gnome/apps/accerciser/default.nix b/pkgs/desktops/gnome/apps/accerciser/default.nix index 4e88c2779f2d..e486a3b283f1 100644 --- a/pkgs/desktops/gnome/apps/accerciser/default.nix +++ b/pkgs/desktops/gnome/apps/accerciser/default.nix @@ -70,6 +70,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Accerciser"; description = "Interactive Python accessibility explorer"; + mainProgram = "accerciser"; maintainers = teams.gnome.members; license = licenses.bsd3; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/apps/cheese/default.nix b/pkgs/desktops/gnome/apps/cheese/default.nix index 8d041b551143..ce5d841c9dd8 100644 --- a/pkgs/desktops/gnome/apps/cheese/default.nix +++ b/pkgs/desktops/gnome/apps/cheese/default.nix @@ -100,6 +100,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Cheese"; description = "Take photos and videos with your webcam, with fun graphical effects"; + mainProgram = "cheese"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/apps/ghex/default.nix b/pkgs/desktops/gnome/apps/ghex/default.nix index 787f5c4f446e..b2abd36af212 100644 --- a/pkgs/desktops/gnome/apps/ghex/default.nix +++ b/pkgs/desktops/gnome/apps/ghex/default.nix @@ -79,6 +79,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Ghex"; description = "Hex editor for GNOME desktop environment"; + mainProgram = "ghex"; platforms = platforms.linux; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/apps/gnome-boxes/default.nix b/pkgs/desktops/gnome/apps/gnome-boxes/default.nix index cac407d971af..24b889fb58c3 100644 --- a/pkgs/desktops/gnome/apps/gnome-boxes/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-boxes/default.nix @@ -129,6 +129,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple GNOME 3 application to access remote or virtual systems"; + mainProgram = "gnome-boxes"; homepage = "https://wiki.gnome.org/Apps/Boxes"; license = licenses.lgpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/apps/gnome-calendar/default.nix b/pkgs/desktops/gnome/apps/gnome-calendar/default.nix index 410c631583e2..78829cfd74e2 100644 --- a/pkgs/desktops/gnome/apps/gnome-calendar/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-calendar/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Calendar"; description = "Simple and beautiful calendar application for GNOME"; + mainProgram = "gnome-calendar"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/apps/gnome-characters/default.nix b/pkgs/desktops/gnome/apps/gnome-characters/default.nix index 8283d001132c..570bdccafd82 100644 --- a/pkgs/desktops/gnome/apps/gnome-characters/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-characters/default.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Characters"; description = "Simple utility application to find and insert unusual characters"; + mainProgram = "gnome-characters"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/apps/gnome-clocks/default.nix b/pkgs/desktops/gnome/apps/gnome-clocks/default.nix index be7896f6b11a..3e719ef12218 100644 --- a/pkgs/desktops/gnome/apps/gnome-clocks/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-clocks/default.nix @@ -75,6 +75,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Clocks"; description = "Clock application designed for GNOME 3"; + mainProgram = "gnome-clocks"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/apps/gnome-connections/default.nix b/pkgs/desktops/gnome/apps/gnome-connections/default.nix index fcc8a67bb0c9..933c80a9ffe9 100644 --- a/pkgs/desktops/gnome/apps/gnome-connections/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-connections/default.nix @@ -61,6 +61,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.gnome.org/GNOME/connections"; description = "A remote desktop client for the GNOME desktop environment"; + mainProgram = "gnome-connections"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/apps/gnome-logs/default.nix b/pkgs/desktops/gnome/apps/gnome-logs/default.nix index dc55df0e175e..e2dc57d67088 100644 --- a/pkgs/desktops/gnome/apps/gnome-logs/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-logs/default.nix @@ -69,6 +69,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Logs"; description = "A log viewer for the systemd journal"; + mainProgram = "gnome-logs"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/apps/gnome-maps/default.nix b/pkgs/desktops/gnome/apps/gnome-maps/default.nix index f378e221eb5f..730a98e192df 100644 --- a/pkgs/desktops/gnome/apps/gnome-maps/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-maps/default.nix @@ -92,6 +92,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Maps"; description = "A map application for GNOME 3"; + mainProgram = "gnome-maps"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/apps/gnome-music/default.nix b/pkgs/desktops/gnome/apps/gnome-music/default.nix index 823d90a49af6..5275e6e9de6a 100644 --- a/pkgs/desktops/gnome/apps/gnome-music/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-music/default.nix @@ -104,6 +104,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Music"; description = "Music player and management application for the GNOME desktop environment"; + mainProgram = "gnome-music"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/apps/gnome-nettool/default.nix b/pkgs/desktops/gnome/apps/gnome-nettool/default.nix index b738aa87666f..761d55a4036c 100644 --- a/pkgs/desktops/gnome/apps/gnome-nettool/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-nettool/default.nix @@ -79,6 +79,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.gnome.org/GNOME/gnome-nettool"; description = "A collection of networking tools"; + mainProgram = "gnome-nettool"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/apps/gnome-notes/default.nix b/pkgs/desktops/gnome/apps/gnome-notes/default.nix index 0ecd1e2ef6fd..86d7253ae560 100644 --- a/pkgs/desktops/gnome/apps/gnome-notes/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-notes/default.nix @@ -90,6 +90,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Note editor designed to remain simple to use"; + mainProgram = "bijiben"; homepage = "https://wiki.gnome.org/Apps/Notes"; license = licenses.gpl3; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/apps/gnome-power-manager/default.nix b/pkgs/desktops/gnome/apps/gnome-power-manager/default.nix index eb0070344bd7..3797f9df6f9b 100644 --- a/pkgs/desktops/gnome/apps/gnome-power-manager/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-power-manager/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.gnome.org/GNOME/gnome-power-manager"; description = "View battery and power statistics provided by UPower"; + mainProgram = "gnome-power-statistics"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/apps/gnome-sound-recorder/default.nix b/pkgs/desktops/gnome/apps/gnome-sound-recorder/default.nix index c8d455ae216a..81bec81cb41e 100644 --- a/pkgs/desktops/gnome/apps/gnome-sound-recorder/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-sound-recorder/default.nix @@ -65,6 +65,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple and modern sound recorder"; + mainProgram = "gnome-sound-recorder"; homepage = "https://wiki.gnome.org/Apps/SoundRecorder"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/apps/gnome-text-editor/default.nix b/pkgs/desktops/gnome/apps/gnome-text-editor/default.nix index 72ccdffd374a..3dd7b2f4decb 100644 --- a/pkgs/desktops/gnome/apps/gnome-text-editor/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-text-editor/default.nix @@ -64,6 +64,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.gnome.org/GNOME/gnome-text-editor"; description = "A Text Editor for GNOME"; + mainProgram = "gnome-text-editor"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/apps/gnome-weather/default.nix b/pkgs/desktops/gnome/apps/gnome-weather/default.nix index acee41048704..c4b5743cb516 100644 --- a/pkgs/desktops/gnome/apps/gnome-weather/default.nix +++ b/pkgs/desktops/gnome/apps/gnome-weather/default.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Weather"; description = "Access current weather conditions and forecasts"; + mainProgram = "gnome-weather"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/apps/polari/default.nix b/pkgs/desktops/gnome/apps/polari/default.nix index 6ab83b064b32..31ad6c94a6a9 100644 --- a/pkgs/desktops/gnome/apps/polari/default.nix +++ b/pkgs/desktops/gnome/apps/polari/default.nix @@ -92,6 +92,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Polari"; description = "IRC chat client designed to integrate with the GNOME desktop"; + mainProgram = "polari"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/apps/seahorse/default.nix b/pkgs/desktops/gnome/apps/seahorse/default.nix index 1207d7969610..c3c1aa020ad2 100644 --- a/pkgs/desktops/gnome/apps/seahorse/default.nix +++ b/pkgs/desktops/gnome/apps/seahorse/default.nix @@ -107,6 +107,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Seahorse"; description = "Application for managing encryption keys and passwords in the GnomeKeyring"; + mainProgram = "seahorse"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/apps/vinagre/default.nix b/pkgs/desktops/gnome/apps/vinagre/default.nix index f8d20291a1fa..5ef01e04fce5 100644 --- a/pkgs/desktops/gnome/apps/vinagre/default.nix +++ b/pkgs/desktops/gnome/apps/vinagre/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Remote desktop viewer for GNOME"; + mainProgram = "vinagre"; homepage = "https://wiki.gnome.org/Apps/Vinagre"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/core/baobab/default.nix b/pkgs/desktops/gnome/core/baobab/default.nix index b459677a3e36..aad394c2d960 100644 --- a/pkgs/desktops/gnome/core/baobab/default.nix +++ b/pkgs/desktops/gnome/core/baobab/default.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Graphical application to analyse disk usage in any GNOME environment"; + mainProgram = "baobab"; homepage = "https://wiki.gnome.org/Apps/DiskUsageAnalyzer"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/core/caribou/default.nix b/pkgs/desktops/gnome/core/caribou/default.nix index 2afb65d528e1..a0d6623b597e 100644 --- a/pkgs/desktops/gnome/core/caribou/default.nix +++ b/pkgs/desktops/gnome/core/caribou/default.nix @@ -61,6 +61,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "An input assistive technology intended for switch and pointer users"; + mainProgram = "caribou-preferences"; homepage = "https://wiki.gnome.org/Projects/Caribou"; license = licenses.lgpl21; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/core/dconf-editor/default.nix b/pkgs/desktops/gnome/core/dconf-editor/default.nix index 4da661748c95..4189063c1419 100644 --- a/pkgs/desktops/gnome/core/dconf-editor/default.nix +++ b/pkgs/desktops/gnome/core/dconf-editor/default.nix @@ -71,6 +71,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GSettings editor for GNOME"; + mainProgram = "dconf-editor"; homepage = "https://wiki.gnome.org/Apps/DconfEditor"; license = licenses.gpl3Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/core/epiphany/default.nix b/pkgs/desktops/gnome/core/epiphany/default.nix index 31d78e60e6aa..efac41be7ce5 100644 --- a/pkgs/desktops/gnome/core/epiphany/default.nix +++ b/pkgs/desktops/gnome/core/epiphany/default.nix @@ -101,6 +101,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Epiphany"; description = "WebKit based web browser for GNOME"; + mainProgram = "epiphany"; maintainers = teams.gnome.members ++ teams.pantheon.members; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/core/gnome-bluetooth/1.0/default.nix b/pkgs/desktops/gnome/core/gnome-bluetooth/1.0/default.nix index 38bb96980dca..9389127e578c 100644 --- a/pkgs/desktops/gnome/core/gnome-bluetooth/1.0/default.nix +++ b/pkgs/desktops/gnome/core/gnome-bluetooth/1.0/default.nix @@ -90,6 +90,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://help.gnome.org/users/gnome-bluetooth/stable/index.html.en"; description = "Application that let you manage Bluetooth in the GNOME destkop"; + mainProgram = "bluetooth-sendto"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/core/gnome-bluetooth/default.nix b/pkgs/desktops/gnome/core/gnome-bluetooth/default.nix index 6482ba231f77..b9701f3d5e11 100644 --- a/pkgs/desktops/gnome/core/gnome-bluetooth/default.nix +++ b/pkgs/desktops/gnome/core/gnome-bluetooth/default.nix @@ -79,6 +79,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.gnome.org/GNOME/gnome-bluetooth"; description = "Application that lets you manage Bluetooth in the GNOME desktop"; + mainProgram = "bluetooth-sendto"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/core/gnome-contacts/default.nix b/pkgs/desktops/gnome/core/gnome-contacts/default.nix index 469e601b0337..9e41193c03c5 100644 --- a/pkgs/desktops/gnome/core/gnome-contacts/default.nix +++ b/pkgs/desktops/gnome/core/gnome-contacts/default.nix @@ -73,6 +73,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Contacts"; description = "GNOME’s integrated address book"; + mainProgram = "gnome-contacts"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/core/gnome-control-center/default.nix b/pkgs/desktops/gnome/core/gnome-control-center/default.nix index 1bbdc1f8df7b..eafbc79545f3 100644 --- a/pkgs/desktops/gnome/core/gnome-control-center/default.nix +++ b/pkgs/desktops/gnome/core/gnome-control-center/default.nix @@ -208,6 +208,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Utilities to configure the GNOME desktop"; + mainProgram = "gnome-control-center"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/core/gnome-dictionary/default.nix b/pkgs/desktops/gnome/core/gnome-dictionary/default.nix index ebd9b58fd96a..d5dfce9f7ed0 100644 --- a/pkgs/desktops/gnome/core/gnome-dictionary/default.nix +++ b/pkgs/desktops/gnome/core/gnome-dictionary/default.nix @@ -78,6 +78,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Dictionary"; description = "Dictionary is the GNOME application to look up definitions"; + mainProgram = "gnome-dictionary"; maintainers = teams.gnome.members; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/core/gnome-remote-desktop/default.nix b/pkgs/desktops/gnome/core/gnome-remote-desktop/default.nix index 9b2f0876d7f5..58fbbc0cfc1f 100644 --- a/pkgs/desktops/gnome/core/gnome-remote-desktop/default.nix +++ b/pkgs/desktops/gnome/core/gnome-remote-desktop/default.nix @@ -77,6 +77,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Projects/Mutter/RemoteDesktop"; description = "GNOME Remote Desktop server"; + mainProgram = "grdctl"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/core/gnome-screenshot/default.nix b/pkgs/desktops/gnome/core/gnome-screenshot/default.nix index 3904f1443f7d..0a345fe0d8c9 100644 --- a/pkgs/desktops/gnome/core/gnome-screenshot/default.nix +++ b/pkgs/desktops/gnome/core/gnome-screenshot/default.nix @@ -75,6 +75,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.gnome.org/GNOME/gnome-screenshot"; description = "Utility used in the GNOME desktop environment for taking screenshots"; + mainProgram = "gnome-screenshot"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/core/gnome-software/default.nix b/pkgs/desktops/gnome/core/gnome-software/default.nix index 34b3ac609882..f45f643cb57d 100644 --- a/pkgs/desktops/gnome/core/gnome-software/default.nix +++ b/pkgs/desktops/gnome/core/gnome-software/default.nix @@ -129,6 +129,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Software store that lets you install and update applications and system extensions"; + mainProgram = "gnome-software"; homepage = "https://wiki.gnome.org/Apps/Software"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/core/gnome-system-monitor/default.nix b/pkgs/desktops/gnome/core/gnome-system-monitor/default.nix index 60de20502b37..eef86a460371 100644 --- a/pkgs/desktops/gnome/core/gnome-system-monitor/default.nix +++ b/pkgs/desktops/gnome/core/gnome-system-monitor/default.nix @@ -72,6 +72,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/SystemMonitor"; description = "System Monitor shows you what programs are running and how much processor time, memory, and disk space are being used"; + mainProgram = "gnome-system-monitor"; maintainers = teams.gnome.members; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/core/gnome-terminal/default.nix b/pkgs/desktops/gnome/core/gnome-terminal/default.nix index bc524bc800db..92d1a7a37ecf 100644 --- a/pkgs/desktops/gnome/core/gnome-terminal/default.nix +++ b/pkgs/desktops/gnome/core/gnome-terminal/default.nix @@ -95,6 +95,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "The GNOME Terminal Emulator"; + mainProgram = "gnome-terminal"; homepage = "https://wiki.gnome.org/Apps/Terminal"; platforms = platforms.linux; license = licenses.gpl3Plus; diff --git a/pkgs/desktops/gnome/core/gnome-tour/default.nix b/pkgs/desktops/gnome/core/gnome-tour/default.nix index 9ded6a332654..c6d58c480581 100644 --- a/pkgs/desktops/gnome/core/gnome-tour/default.nix +++ b/pkgs/desktops/gnome/core/gnome-tour/default.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.gnome.org/GNOME/gnome-tour"; description = "GNOME Greeter & Tour"; + mainProgram = "gnome-tour"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/core/gucharmap/default.nix b/pkgs/desktops/gnome/core/gucharmap/default.nix index 91bea357d251..83706f36ab4b 100644 --- a/pkgs/desktops/gnome/core/gucharmap/default.nix +++ b/pkgs/desktops/gnome/core/gucharmap/default.nix @@ -105,6 +105,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "GNOME Character Map, based on the Unicode Character Database"; + mainProgram = "gucharmap"; homepage = "https://wiki.gnome.org/Apps/Gucharmap"; license = licenses.gpl3; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/core/mutter/43/default.nix b/pkgs/desktops/gnome/core/mutter/43/default.nix index e565603ae576..63110d9d90d3 100644 --- a/pkgs/desktops/gnome/core/mutter/43/default.nix +++ b/pkgs/desktops/gnome/core/mutter/43/default.nix @@ -185,6 +185,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A window manager for GNOME"; + mainProgram = "mutter"; homepage = "https://gitlab.gnome.org/GNOME/mutter"; license = licenses.gpl2Plus; maintainers = teams.pantheon.members; diff --git a/pkgs/desktops/gnome/core/mutter/default.nix b/pkgs/desktops/gnome/core/mutter/default.nix index 8722c95f2386..570d954766a0 100644 --- a/pkgs/desktops/gnome/core/mutter/default.nix +++ b/pkgs/desktops/gnome/core/mutter/default.nix @@ -201,6 +201,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A window manager for GNOME"; + mainProgram = "mutter"; homepage = "https://gitlab.gnome.org/GNOME/mutter"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/core/simple-scan/default.nix b/pkgs/desktops/gnome/core/simple-scan/default.nix index 9d7e60eed64d..3aea02678a83 100644 --- a/pkgs/desktops/gnome/core/simple-scan/default.nix +++ b/pkgs/desktops/gnome/core/simple-scan/default.nix @@ -72,6 +72,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple scanning utility"; + mainProgram = "simple-scan"; longDescription = '' A really easy way to scan both documents and photos. You can crop out the bad parts of a photo and rotate it if it is the wrong way round. You can diff --git a/pkgs/desktops/gnome/core/sushi/default.nix b/pkgs/desktops/gnome/core/sushi/default.nix index 5c54f03d7d53..0765b7af0be7 100644 --- a/pkgs/desktops/gnome/core/sushi/default.nix +++ b/pkgs/desktops/gnome/core/sushi/default.nix @@ -78,6 +78,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://en.wikipedia.org/wiki/Sushi_(software)"; description = "A quick previewer for Nautilus"; + mainProgram = "sushi"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/devtools/devhelp/default.nix b/pkgs/desktops/gnome/devtools/devhelp/default.nix index 55330921e267..6a1bbde4f4c2 100644 --- a/pkgs/desktops/gnome/devtools/devhelp/default.nix +++ b/pkgs/desktops/gnome/devtools/devhelp/default.nix @@ -78,6 +78,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "API documentation browser for GNOME"; + mainProgram = "devhelp"; homepage = "https://wiki.gnome.org/Apps/Devhelp"; license = licenses.gpl3Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/games/aisleriot/default.nix b/pkgs/desktops/gnome/games/aisleriot/default.nix index a56d9e4569b1..e0a372272781 100644 --- a/pkgs/desktops/gnome/games/aisleriot/default.nix +++ b/pkgs/desktops/gnome/games/aisleriot/default.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Aisleriot"; description = "A collection of patience games written in guile scheme"; + mainProgram = "sol"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/games/atomix/default.nix b/pkgs/desktops/gnome/games/atomix/default.nix index 0d43c8e2ee7d..2e72d4300970 100644 --- a/pkgs/desktops/gnome/games/atomix/default.nix +++ b/pkgs/desktops/gnome/games/atomix/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Puzzle game where you move atoms to build a molecule"; + mainProgram = "atomix"; homepage = "https://wiki.gnome.org/Apps/Atomix"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/games/five-or-more/default.nix b/pkgs/desktops/gnome/games/five-or-more/default.nix index 2b264442eab1..749f0de9ac36 100644 --- a/pkgs/desktops/gnome/games/five-or-more/default.nix +++ b/pkgs/desktops/gnome/games/five-or-more/default.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Five_or_more"; description = "Remove colored balls from the board by forming lines"; + mainProgram = "five-or-more"; maintainers = teams.gnome.members; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/four-in-a-row/default.nix b/pkgs/desktops/gnome/games/four-in-a-row/default.nix index a85da0499215..cc866abde224 100644 --- a/pkgs/desktops/gnome/games/four-in-a-row/default.nix +++ b/pkgs/desktops/gnome/games/four-in-a-row/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Four-in-a-row"; description = "Make lines of the same color to win"; + mainProgram = "four-in-a-row"; maintainers = teams.gnome.members; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/gnome-2048/default.nix b/pkgs/desktops/gnome/games/gnome-2048/default.nix index 137521c8bba3..563d298883ca 100644 --- a/pkgs/desktops/gnome/games/gnome-2048/default.nix +++ b/pkgs/desktops/gnome/games/gnome-2048/default.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/2048"; description = "Obtain the 2048 tile"; + mainProgram = "gnome-2048"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/games/gnome-chess/default.nix b/pkgs/desktops/gnome/games/gnome-chess/default.nix index 43b4628d2bb6..41599e6cf0fe 100644 --- a/pkgs/desktops/gnome/games/gnome-chess/default.nix +++ b/pkgs/desktops/gnome/games/gnome-chess/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Chess"; description = "Play the classic two-player boardgame of chess"; + mainProgram = "gnome-chess"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/gnome-klotski/default.nix b/pkgs/desktops/gnome/games/gnome-klotski/default.nix index bdfa9f8ed8f7..8545fefaa539 100644 --- a/pkgs/desktops/gnome/games/gnome-klotski/default.nix +++ b/pkgs/desktops/gnome/games/gnome-klotski/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Klotski"; description = "Slide blocks to solve the puzzle"; + mainProgram = "gnome-klotski"; maintainers = teams.gnome.members; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/gnome-mahjongg/default.nix b/pkgs/desktops/gnome/games/gnome-mahjongg/default.nix index 4ca1a535f186..381af6c0d2a6 100644 --- a/pkgs/desktops/gnome/games/gnome-mahjongg/default.nix +++ b/pkgs/desktops/gnome/games/gnome-mahjongg/default.nix @@ -56,6 +56,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Mahjongg"; description = "Disassemble a pile of tiles by removing matching pairs"; + mainProgram = "gnome-mahjongg"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/gnome-mines/default.nix b/pkgs/desktops/gnome/games/gnome-mines/default.nix index 4640c5842493..7594b94c7aa7 100644 --- a/pkgs/desktops/gnome/games/gnome-mines/default.nix +++ b/pkgs/desktops/gnome/games/gnome-mines/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Mines"; description = "Clear hidden mines from a minefield"; + mainProgram = "gnome-mines"; maintainers = teams.gnome.members; license = licenses.gpl3; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/gnome-nibbles/default.nix b/pkgs/desktops/gnome/games/gnome-nibbles/default.nix index cf7a0038c145..c0a9e3d2692a 100644 --- a/pkgs/desktops/gnome/games/gnome-nibbles/default.nix +++ b/pkgs/desktops/gnome/games/gnome-nibbles/default.nix @@ -56,6 +56,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Guide a worm around a maze"; + mainProgram = "gnome-nibbles"; homepage = "https://wiki.gnome.org/Apps/Nibbles"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/games/gnome-robots/default.nix b/pkgs/desktops/gnome/games/gnome-robots/default.nix index e8b5d48efca1..75f86f2c8842 100644 --- a/pkgs/desktops/gnome/games/gnome-robots/default.nix +++ b/pkgs/desktops/gnome/games/gnome-robots/default.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Robots"; description = "Avoid the robots and make them crash into each other"; + mainProgram = "gnome-robots"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/gnome-sudoku/default.nix b/pkgs/desktops/gnome/games/gnome-sudoku/default.nix index 36378775c69d..8cd6201b16d7 100644 --- a/pkgs/desktops/gnome/games/gnome-sudoku/default.nix +++ b/pkgs/desktops/gnome/games/gnome-sudoku/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Sudoku"; description = "Test your logic skills in this number grid puzzle"; + mainProgram = "gnome-sudoku"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/gnome-taquin/default.nix b/pkgs/desktops/gnome/games/gnome-taquin/default.nix index e982f83f3ff7..b2c65ecb6c2d 100644 --- a/pkgs/desktops/gnome/games/gnome-taquin/default.nix +++ b/pkgs/desktops/gnome/games/gnome-taquin/default.nix @@ -68,6 +68,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Taquin"; description = "Move tiles so that they reach their places"; + mainProgram = "gnome-taquin"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/gnome-tetravex/default.nix b/pkgs/desktops/gnome/games/gnome-tetravex/default.nix index 46e512ad316a..3527f8b54115 100644 --- a/pkgs/desktops/gnome/games/gnome-tetravex/default.nix +++ b/pkgs/desktops/gnome/games/gnome-tetravex/default.nix @@ -69,6 +69,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Tetravex"; description = "Complete the puzzle by matching numbered tiles"; + mainProgram = "gnome-tetravex"; maintainers = teams.gnome.members; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/hitori/default.nix b/pkgs/desktops/gnome/games/hitori/default.nix index e416a7f0343f..d22ded0e5bf4 100644 --- a/pkgs/desktops/gnome/games/hitori/default.nix +++ b/pkgs/desktops/gnome/games/hitori/default.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Hitori"; description = "GTK application to generate and let you play games of Hitori"; + mainProgram = "hitori"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/iagno/default.nix b/pkgs/desktops/gnome/games/iagno/default.nix index eb27430be4e9..e409b04c0a9a 100644 --- a/pkgs/desktops/gnome/games/iagno/default.nix +++ b/pkgs/desktops/gnome/games/iagno/default.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Iagno"; description = "Computer version of the game Reversi, more popularly called Othello"; + mainProgram = "iagno"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/lightsoff/default.nix b/pkgs/desktops/gnome/games/lightsoff/default.nix index fa9eb5d20812..52b2cec7e105 100644 --- a/pkgs/desktops/gnome/games/lightsoff/default.nix +++ b/pkgs/desktops/gnome/games/lightsoff/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Lightsoff"; description = "Puzzle game, where the objective is to turn off all of the tiles on the board"; + mainProgram = "lightsoff"; maintainers = teams.gnome.members; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/games/quadrapassel/default.nix b/pkgs/desktops/gnome/games/quadrapassel/default.nix index 956f9f842d3d..c3a883306bd5 100644 --- a/pkgs/desktops/gnome/games/quadrapassel/default.nix +++ b/pkgs/desktops/gnome/games/quadrapassel/default.nix @@ -65,6 +65,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Classic falling-block game, Tetris"; + mainProgram = "quadrapassel"; homepage = "https://wiki.gnome.org/Apps/Quadrapassel"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/games/swell-foop/default.nix b/pkgs/desktops/gnome/games/swell-foop/default.nix index 61d3e2c0bb67..98a01140fd8e 100644 --- a/pkgs/desktops/gnome/games/swell-foop/default.nix +++ b/pkgs/desktops/gnome/games/swell-foop/default.nix @@ -64,6 +64,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Swell%20Foop"; description = "Puzzle game, previously known as Same GNOME"; + mainProgram = "swell-foop"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/games/tali/default.nix b/pkgs/desktops/gnome/games/tali/default.nix index f5c1e83ee4d0..baac54eab9c1 100644 --- a/pkgs/desktops/gnome/games/tali/default.nix +++ b/pkgs/desktops/gnome/games/tali/default.nix @@ -62,6 +62,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Tali"; description = "Sort of poker with dice and less money"; + mainProgram = "tali"; maintainers = teams.gnome.members; license = licenses.gpl2Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/gnome/misc/gitg/default.nix b/pkgs/desktops/gnome/misc/gitg/default.nix index e2d008a8697e..d454a2605893 100644 --- a/pkgs/desktops/gnome/misc/gitg/default.nix +++ b/pkgs/desktops/gnome/misc/gitg/default.nix @@ -98,6 +98,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Gitg"; description = "GNOME GUI client to view git repositories"; + mainProgram = "gitg"; maintainers = with maintainers; [ domenkozar ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/misc/gnome-applets/default.nix b/pkgs/desktops/gnome/misc/gnome-applets/default.nix index f59bce79728e..194ad991c5b3 100644 --- a/pkgs/desktops/gnome/misc/gnome-applets/default.nix +++ b/pkgs/desktops/gnome/misc/gnome-applets/default.nix @@ -72,6 +72,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Applets for use with the GNOME panel"; + mainProgram = "cpufreq-selector"; homepage = "https://wiki.gnome.org/Projects/GnomeApplets"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/misc/gnome-flashback/default.nix b/pkgs/desktops/gnome/misc/gnome-flashback/default.nix index f1930830938c..baf25a27b948 100644 --- a/pkgs/desktops/gnome/misc/gnome-flashback/default.nix +++ b/pkgs/desktops/gnome/misc/gnome-flashback/default.nix @@ -184,6 +184,7 @@ let meta = with lib; { description = "GNOME 2.x-like session for GNOME 3"; + mainProgram = "gnome-flashback"; homepage = "https://wiki.gnome.org/Projects/GnomeFlashback"; license = licenses.gpl2; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/misc/gnome-panel/default.nix b/pkgs/desktops/gnome/misc/gnome-panel/default.nix index 3e84f442d6a3..4d988de173a2 100644 --- a/pkgs/desktops/gnome/misc/gnome-panel/default.nix +++ b/pkgs/desktops/gnome/misc/gnome-panel/default.nix @@ -99,6 +99,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Component of Gnome Flashback that provides panels and default applets for the desktop"; + mainProgram = "gnome-panel"; homepage = "https://wiki.gnome.org/Projects/GnomePanel"; license = licenses.gpl2Plus; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/misc/gnome-tweaks/default.nix b/pkgs/desktops/gnome/misc/gnome-tweaks/default.nix index 54c0a89d30a8..8489198b2315 100644 --- a/pkgs/desktops/gnome/misc/gnome-tweaks/default.nix +++ b/pkgs/desktops/gnome/misc/gnome-tweaks/default.nix @@ -82,6 +82,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Tweaks"; description = "A tool to customize advanced GNOME 3 options"; + mainProgram = "gnome-tweaks"; maintainers = teams.gnome.members; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/gnome/misc/gpaste/default.nix b/pkgs/desktops/gnome/misc/gpaste/default.nix index 2f66d742f969..e98c861f1267 100644 --- a/pkgs/desktops/gnome/misc/gpaste/default.nix +++ b/pkgs/desktops/gnome/misc/gpaste/default.nix @@ -82,6 +82,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/Keruspe/GPaste"; description = "Clipboard management system with GNOME 3 integration"; + mainProgram = "gpaste-client"; license = licenses.gpl3; platforms = platforms.linux; maintainers = teams.gnome.members; diff --git a/pkgs/desktops/gnome/misc/pomodoro/default.nix b/pkgs/desktops/gnome/misc/pomodoro/default.nix index ab1513305197..9a1697c2332b 100644 --- a/pkgs/desktops/gnome/misc/pomodoro/default.nix +++ b/pkgs/desktops/gnome/misc/pomodoro/default.nix @@ -71,6 +71,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gnomepomodoro.org/"; description = "Time management utility for GNOME based on the pomodoro technique"; + mainProgram = "gnome-pomodoro"; longDescription = '' This GNOME utility helps to manage time according to Pomodoro Technique. It intends to improve productivity and focus by taking short breaks. diff --git a/pkgs/desktops/gnustep/back/default.nix b/pkgs/desktops/gnustep/back/default.nix index 370143e1269f..fc3bc9bed928 100644 --- a/pkgs/desktops/gnustep/back/default.nix +++ b/pkgs/desktops/gnustep/back/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "A generic backend for GNUstep"; + mainProgram = "gpbs"; homepage = "https://gnustep.github.io/"; license = lib.licenses.lgpl2Plus; maintainers = with lib.maintainers; [ ashalkhakov matthewbauer dblsaiko ]; diff --git a/pkgs/desktops/lomiri/development/geonames/default.nix b/pkgs/desktops/lomiri/development/geonames/default.nix index 035837b1c47c..ce77bca6bc41 100644 --- a/pkgs/desktops/lomiri/development/geonames/default.nix +++ b/pkgs/desktops/lomiri/development/geonames/default.nix @@ -99,6 +99,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Parse and query the geonames database dump"; + mainProgram = "geonames-demo"; homepage = "https://gitlab.com/ubports/development/core/geonames"; changelog = "https://gitlab.com/ubports/development/core/geonames/-/blob/${finalAttrs.version}/ChangeLog"; license = licenses.gpl3Only; diff --git a/pkgs/desktops/lomiri/services/lomiri-thumbnailer/default.nix b/pkgs/desktops/lomiri/services/lomiri-thumbnailer/default.nix index 6300cc52545b..e400b73a25ab 100644 --- a/pkgs/desktops/lomiri/services/lomiri-thumbnailer/default.nix +++ b/pkgs/desktops/lomiri/services/lomiri-thumbnailer/default.nix @@ -205,6 +205,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "D-Bus service for out of process thumbnailing"; + mainProgram = "lomiri-thumbnailer-admin"; homepage = "https://gitlab.com/ubports/development/core/lomiri-thumbnailer"; changelog = "https://gitlab.com/ubports/development/core/lomiri-thumbnailer/-/blob/${finalAttrs.version}/ChangeLog"; license = with licenses; [ gpl3Only lgpl3Only ]; diff --git a/pkgs/desktops/lumina/lumina-calculator/default.nix b/pkgs/desktops/lumina/lumina-calculator/default.nix index a8769e3d26ee..758bbf70d851 100644 --- a/pkgs/desktops/lumina/lumina-calculator/default.nix +++ b/pkgs/desktops/lumina/lumina-calculator/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = with lib; { description = "Scientific calculator for the Lumina Desktop"; + mainProgram = "lumina-calculator"; homepage = "https://github.com/lumina-desktop/lumina-calculator"; license = licenses.bsd3; platforms = platforms.unix; diff --git a/pkgs/desktops/lumina/lumina-pdf/default.nix b/pkgs/desktops/lumina/lumina-pdf/default.nix index 0464287b9674..cc9bd48c9de1 100644 --- a/pkgs/desktops/lumina/lumina-pdf/default.nix +++ b/pkgs/desktops/lumina/lumina-pdf/default.nix @@ -30,6 +30,7 @@ mkDerivation rec { meta = with lib; { description = "PDF viewer for the Lumina Desktop"; + mainProgram = "lumina-pdf"; homepage = "https://github.com/lumina-desktop/lumina-pdf"; license = licenses.bsd3; platforms = platforms.unix; diff --git a/pkgs/desktops/lxde/core/lxappearance/default.nix b/pkgs/desktops/lxde/core/lxappearance/default.nix index 6e341681cba3..3dc93a0f3386 100644 --- a/pkgs/desktops/lxde/core/lxappearance/default.nix +++ b/pkgs/desktops/lxde/core/lxappearance/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Lightweight program for configuring the theme and fonts of gtk applications"; + mainProgram = "lxappearance"; homepage = "https://lxde.org/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/lxde/core/lxrandr/default.nix b/pkgs/desktops/lxde/core/lxrandr/default.nix index b6358cadeadd..791540468f3a 100644 --- a/pkgs/desktops/lxde/core/lxrandr/default.nix +++ b/pkgs/desktops/lxde/core/lxrandr/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Standard screen manager of LXDE"; + mainProgram = "lxrandr"; homepage = "https://lxde.org/"; license = licenses.gpl2Plus; maintainers = with maintainers; [ rawkode ]; diff --git a/pkgs/desktops/lxde/core/lxtask/default.nix b/pkgs/desktops/lxde/core/lxtask/default.nix index d2a560afd065..2daece75cbd4 100644 --- a/pkgs/desktops/lxde/core/lxtask/default.nix +++ b/pkgs/desktops/lxde/core/lxtask/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.lxde.org/en/LXTask"; description = "Lightweight and desktop independent task manager"; + mainProgram = "lxtask"; longDescription = '' LXTask is a lightweight task manager derived from xfce4 task manager with all xfce4 dependencies removed, some bugs fixed, and some diff --git a/pkgs/desktops/lxqt/compton-conf/default.nix b/pkgs/desktops/lxqt/compton-conf/default.nix index 4a9a878d31c7..f54fbd92bd35 100644 --- a/pkgs/desktops/lxqt/compton-conf/default.nix +++ b/pkgs/desktops/lxqt/compton-conf/default.nix @@ -45,6 +45,7 @@ mkDerivation rec { broken = stdenv.isDarwin; homepage = "https://github.com/lxqt/compton-conf"; description = "GUI configuration tool for compton X composite manager"; + mainProgram = "compton-conf"; license = licenses.lgpl21Plus; platforms = with platforms; unix; maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/liblxqt/default.nix b/pkgs/desktops/lxqt/liblxqt/default.nix index f7fba687bb86..8a5316d73f53 100644 --- a/pkgs/desktops/lxqt/liblxqt/default.nix +++ b/pkgs/desktops/lxqt/liblxqt/default.nix @@ -54,6 +54,7 @@ mkDerivation rec { meta = with lib; { description = "Core utility library for all LXQt components"; + mainProgram = "lxqt-backlight_backend"; homepage = "https://github.com/lxqt/liblxqt"; license = licenses.lgpl21Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/lxqt/lximage-qt/default.nix b/pkgs/desktops/lxqt/lximage-qt/default.nix index ec95c19b0c5a..2e49678f80f9 100644 --- a/pkgs/desktops/lxqt/lximage-qt/default.nix +++ b/pkgs/desktops/lxqt/lximage-qt/default.nix @@ -51,6 +51,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/lximage-qt"; description = "The image viewer and screenshot tool for lxqt"; + mainProgram = "lximage-qt"; license = licenses.gpl2Plus; platforms = with platforms; unix; maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/lxqt-about/default.nix b/pkgs/desktops/lxqt/lxqt-about/default.nix index fd20c68ba863..e78f0ba4e233 100644 --- a/pkgs/desktops/lxqt/lxqt-about/default.nix +++ b/pkgs/desktops/lxqt/lxqt-about/default.nix @@ -42,6 +42,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/lxqt-about"; description = "Dialogue window providing information about LXQt and the system it's running on"; + mainProgram = "lxqt-about"; license = licenses.lgpl21Plus; platforms = platforms.linux; maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/lxqt-archiver/default.nix b/pkgs/desktops/lxqt/lxqt-archiver/default.nix index 40cad3cb6082..0adf8a085965 100644 --- a/pkgs/desktops/lxqt/lxqt-archiver/default.nix +++ b/pkgs/desktops/lxqt/lxqt-archiver/default.nix @@ -48,6 +48,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/lxqt-archiver/"; description = "Archive tool for the LXQt desktop environment"; + mainProgram = "lxqt-archiver"; license = licenses.gpl2Plus; platforms = with platforms; unix; maintainers = with maintainers; [ jchw ] ++ teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/lxqt-build-tools/default.nix b/pkgs/desktops/lxqt/lxqt-build-tools/default.nix index b3874abfa576..4398dd342774 100644 --- a/pkgs/desktops/lxqt/lxqt-build-tools/default.nix +++ b/pkgs/desktops/lxqt/lxqt-build-tools/default.nix @@ -63,6 +63,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/lxqt-build-tools"; description = "Various packaging tools and scripts for LXQt applications"; + mainProgram = "lxqt-transupdate"; license = licenses.lgpl21Plus; platforms = with platforms; unix; maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/lxqt-panel/default.nix b/pkgs/desktops/lxqt/lxqt-panel/default.nix index 16895a1aa956..5b141e7962d5 100644 --- a/pkgs/desktops/lxqt/lxqt-panel/default.nix +++ b/pkgs/desktops/lxqt/lxqt-panel/default.nix @@ -76,6 +76,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/lxqt-panel"; description = "The LXQt desktop panel"; + mainProgram = "lxqt-panel"; license = licenses.lgpl21Plus; platforms = platforms.linux; maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/lxqt-runner/default.nix b/pkgs/desktops/lxqt/lxqt-runner/default.nix index 3d5bdf0a01b8..465a844c451f 100644 --- a/pkgs/desktops/lxqt/lxqt-runner/default.nix +++ b/pkgs/desktops/lxqt/lxqt-runner/default.nix @@ -54,6 +54,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/lxqt-runner"; description = "Tool used to launch programs quickly by typing their names"; + mainProgram = "lxqt-runner"; license = licenses.lgpl21Plus; platforms = platforms.linux; maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/obconf-qt/default.nix b/pkgs/desktops/lxqt/obconf-qt/default.nix index d44077db4fcf..fc0a0ddd076d 100644 --- a/pkgs/desktops/lxqt/obconf-qt/default.nix +++ b/pkgs/desktops/lxqt/obconf-qt/default.nix @@ -46,6 +46,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/obconf-qt"; description = "The Qt port of obconf, the Openbox configuration tool"; + mainProgram = "obconf-qt"; license = licenses.gpl2Plus; platforms = with platforms; unix; maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/pavucontrol-qt/default.nix b/pkgs/desktops/lxqt/pavucontrol-qt/default.nix index f5b69b2e85fa..6703ed1154fc 100644 --- a/pkgs/desktops/lxqt/pavucontrol-qt/default.nix +++ b/pkgs/desktops/lxqt/pavucontrol-qt/default.nix @@ -38,6 +38,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/pavucontrol-qt"; description = "A Pulseaudio mixer in Qt (port of pavucontrol)"; + mainProgram = "pavucontrol-qt"; license = licenses.gpl2Plus; platforms = with platforms; linux; maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/pcmanfm-qt/default.nix b/pkgs/desktops/lxqt/pcmanfm-qt/default.nix index 82868794e7d2..3d8efb1e9f0a 100644 --- a/pkgs/desktops/lxqt/pcmanfm-qt/default.nix +++ b/pkgs/desktops/lxqt/pcmanfm-qt/default.nix @@ -52,6 +52,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/pcmanfm-qt"; description = "File manager and desktop icon manager (Qt port of PCManFM and libfm)"; + mainProgram = "pcmanfm-qt"; license = licenses.gpl2Plus; platforms = with platforms; unix; maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/qlipper/default.nix b/pkgs/desktops/lxqt/qlipper/default.nix index 91f11e8d1374..5ebb69a861c0 100644 --- a/pkgs/desktops/lxqt/qlipper/default.nix +++ b/pkgs/desktops/lxqt/qlipper/default.nix @@ -31,6 +31,7 @@ mkDerivation rec { meta = with lib; { description = "Cross-platform clipboard history applet"; + mainProgram = "qlipper"; homepage = "https://github.com/pvanek/qlipper"; license = licenses.gpl2Plus; platforms = with platforms; unix; diff --git a/pkgs/desktops/lxqt/qps/default.nix b/pkgs/desktops/lxqt/qps/default.nix index 0b6b81a4e39f..f04b2e595862 100644 --- a/pkgs/desktops/lxqt/qps/default.nix +++ b/pkgs/desktops/lxqt/qps/default.nix @@ -42,6 +42,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/qps"; description = "Qt based process manager"; + mainProgram = "qps"; license = licenses.gpl2Plus; platforms = with platforms; linux; # does not build on darwin maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/qterminal/default.nix b/pkgs/desktops/lxqt/qterminal/default.nix index 0a1bf1f82d12..8a47980d67b7 100644 --- a/pkgs/desktops/lxqt/qterminal/default.nix +++ b/pkgs/desktops/lxqt/qterminal/default.nix @@ -41,6 +41,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/qterminal"; description = "A lightweight Qt-based terminal emulator"; + mainProgram = "qterminal"; license = licenses.gpl2Plus; platforms = with platforms; unix; maintainers = with maintainers; teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/qtxdg-tools/default.nix b/pkgs/desktops/lxqt/qtxdg-tools/default.nix index 10476a00cf73..06374affdaac 100644 --- a/pkgs/desktops/lxqt/qtxdg-tools/default.nix +++ b/pkgs/desktops/lxqt/qtxdg-tools/default.nix @@ -34,6 +34,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/qtxdg-tools"; description = "libqtxdg user tools"; + mainProgram = "qtxdg-mat"; license = licenses.lgpl21Plus; platforms = platforms.linux; maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/lxqt/screengrab/default.nix b/pkgs/desktops/lxqt/screengrab/default.nix index 59513dfebfda..d2c00bebef01 100644 --- a/pkgs/desktops/lxqt/screengrab/default.nix +++ b/pkgs/desktops/lxqt/screengrab/default.nix @@ -49,6 +49,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://github.com/lxqt/screengrab"; description = "Crossplatform tool for fast making screenshots"; + mainProgram = "screengrab"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = teams.lxqt.members; diff --git a/pkgs/desktops/mate/caja-extensions/default.nix b/pkgs/desktops/mate/caja-extensions/default.nix index a73b892c5649..d3bc563f0729 100644 --- a/pkgs/desktops/mate/caja-extensions/default.nix +++ b/pkgs/desktops/mate/caja-extensions/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Set of extensions for Caja file manager"; + mainProgram = "caja-sendto"; homepage = "https://mate-desktop.org"; license = licenses.gpl2Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/mate/engrampa/default.nix b/pkgs/desktops/mate/engrampa/default.nix index d8ec65de6b9d..d5fb1aea2bbe 100644 --- a/pkgs/desktops/mate/engrampa/default.nix +++ b/pkgs/desktops/mate/engrampa/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Archive Manager for MATE"; + mainProgram = "engrampa"; homepage = "https://mate-desktop.org"; license = with licenses; [ gpl2Plus lgpl2Plus fdl11Plus ]; platforms = platforms.unix; diff --git a/pkgs/desktops/mate/eom/default.nix b/pkgs/desktops/mate/eom/default.nix index 0ca00c27b92b..98475acb3cd0 100644 --- a/pkgs/desktops/mate/eom/default.nix +++ b/pkgs/desktops/mate/eom/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An image viewing and cataloging program for the MATE desktop"; + mainProgram = "eom"; homepage = "https://mate-desktop.org"; license = licenses.gpl2Plus; platforms = platforms.unix; diff --git a/pkgs/desktops/mate/mate-applets/default.nix b/pkgs/desktops/mate/mate-applets/default.nix index 3e20dc74da43..8e358fe29ae0 100644 --- a/pkgs/desktops/mate/mate-applets/default.nix +++ b/pkgs/desktops/mate/mate-applets/default.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Applets for use with the MATE panel"; + mainProgram = "mate-cpufreq-selector"; homepage = "https://mate-desktop.org"; license = with licenses; [ gpl2Plus lgpl2Plus ]; platforms = platforms.linux; diff --git a/pkgs/desktops/mate/mate-netbook/default.nix b/pkgs/desktops/mate/mate-netbook/default.nix index 6d7af4148b4f..af4e7bebf9b3 100644 --- a/pkgs/desktops/mate/mate-netbook/default.nix +++ b/pkgs/desktops/mate/mate-netbook/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "MATE utilities for netbooks"; + mainProgram = "mate-maximus"; longDescription = '' MATE utilities for netbooks are an applet and a daemon to maximize windows and move their titles on the panel. diff --git a/pkgs/desktops/mate/mate-notification-daemon/default.nix b/pkgs/desktops/mate/mate-notification-daemon/default.nix index ca1fa2e17289..4299f98d4ccc 100644 --- a/pkgs/desktops/mate/mate-notification-daemon/default.nix +++ b/pkgs/desktops/mate/mate-notification-daemon/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Notification daemon for MATE Desktop"; + mainProgram = "mate-notification-properties"; homepage = "https://github.com/mate-desktop/mate-notification-daemon"; license = with licenses; [ gpl2Plus gpl3Plus ]; platforms = platforms.unix; diff --git a/pkgs/desktops/mate/mate-system-monitor/default.nix b/pkgs/desktops/mate/mate-system-monitor/default.nix index 9408e6529365..665d062dc246 100644 --- a/pkgs/desktops/mate/mate-system-monitor/default.nix +++ b/pkgs/desktops/mate/mate-system-monitor/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "System monitor for the MATE desktop"; + mainProgram = "mate-system-monitor"; homepage = "https://mate-desktop.org"; license = [ licenses.gpl2Plus ]; platforms = platforms.unix; diff --git a/pkgs/desktops/mate/mate-user-share/default.nix b/pkgs/desktops/mate/mate-user-share/default.nix index 3e33e4fd47a4..6156a7450fa1 100644 --- a/pkgs/desktops/mate/mate-user-share/default.nix +++ b/pkgs/desktops/mate/mate-user-share/default.nix @@ -68,6 +68,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "User level public file sharing for the MATE desktop"; + mainProgram = "mate-file-share-properties"; homepage = "https://github.com/mate-desktop/mate-user-share"; license = with licenses; [ gpl2Plus ]; platforms = platforms.unix; diff --git a/pkgs/desktops/mate/mozo/default.nix b/pkgs/desktops/mate/mozo/default.nix index 94426da24178..66b7048ffecf 100644 --- a/pkgs/desktops/mate/mozo/default.nix +++ b/pkgs/desktops/mate/mozo/default.nix @@ -46,6 +46,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "MATE Desktop menu editor"; + mainProgram = "mozo"; homepage = "https://github.com/mate-desktop/mozo"; license = with licenses; [ lgpl2Plus ]; platforms = platforms.unix; diff --git a/pkgs/desktops/mate/pluma/default.nix b/pkgs/desktops/mate/pluma/default.nix index 98985a28564f..f6bfe6eb2ba1 100644 --- a/pkgs/desktops/mate/pluma/default.nix +++ b/pkgs/desktops/mate/pluma/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Powerful text editor for the MATE desktop"; + mainProgram = "pluma"; homepage = "https://mate-desktop.org"; license = with licenses; [ gpl2Plus lgpl2Plus fdl11Plus ]; platforms = platforms.unix; diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix index 81604c472446..a1422ec18354 100644 --- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix +++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix @@ -57,6 +57,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Bluetooth Indicator for Wingpanel"; + mainProgram = "io.elementary.bluetooth"; homepage = "https://github.com/elementary/wingpanel-indicator-bluetooth"; license = licenses.lgpl21Plus; platforms = platforms.linux; diff --git a/pkgs/desktops/plasma-5/plasma-browser-integration.nix b/pkgs/desktops/plasma-5/plasma-browser-integration.nix index 06325911a9df..c951f359c548 100644 --- a/pkgs/desktops/plasma-5/plasma-browser-integration.nix +++ b/pkgs/desktops/plasma-5/plasma-browser-integration.nix @@ -36,6 +36,7 @@ mkDerivation { meta = { description = "Components necessary to integrate browsers into the Plasma Desktop"; + mainProgram = "plasma-browser-integration-host"; homepage = "https://community.kde.org/Plasma/Browser_Integration"; }; } diff --git a/pkgs/desktops/rox/rox-filer/default.nix b/pkgs/desktops/rox/rox-filer/default.nix index 676e99b1a903..64c658d04a94 100644 --- a/pkgs/desktops/rox/rox-filer/default.nix +++ b/pkgs/desktops/rox/rox-filer/default.nix @@ -89,6 +89,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fast, lightweight, gtk2 file manager"; + mainProgram = "rox"; homepage = "http://rox.sourceforge.net/desktop"; license = with licenses; [ gpl2 lgpl2 ]; platforms = platforms.linux; diff --git a/pkgs/desktops/surf-display/default.nix b/pkgs/desktops/surf-display/default.nix index 918f715341a1..8e06e36db464 100644 --- a/pkgs/desktops/surf-display/default.nix +++ b/pkgs/desktops/surf-display/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Kiosk browser session manager based on the surf browser"; + mainProgram = "surf-display"; homepage = "https://code.it-zukunft-schule.de/cgit/surf-display/"; maintainers = with maintainers; [ ]; license = licenses.gpl2; diff --git a/pkgs/desktops/xfce/applications/catfish/default.nix b/pkgs/desktops/xfce/applications/catfish/default.nix index 0cec370e1acc..24148731291a 100644 --- a/pkgs/desktops/xfce/applications/catfish/default.nix +++ b/pkgs/desktops/xfce/applications/catfish/default.nix @@ -75,6 +75,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://docs.xfce.org/apps/catfish/start"; description = "Handy file search tool"; + mainProgram = "catfish"; longDescription = '' Catfish is a handy file searching tool. The interface is intentionally lightweight and simple, using only GTK 3. diff --git a/pkgs/desktops/xfce/applications/gigolo/default.nix b/pkgs/desktops/xfce/applications/gigolo/default.nix index 393e6a8c5b24..e63053deedf6 100644 --- a/pkgs/desktops/xfce/applications/gigolo/default.nix +++ b/pkgs/desktops/xfce/applications/gigolo/default.nix @@ -12,6 +12,7 @@ mkXfceDerivation { meta = with lib; { description = "A frontend to easily manage connections to remote filesystems"; + mainProgram = "gigolo"; license = with licenses; [ gpl2Only ]; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; diff --git a/pkgs/desktops/xfce/applications/mousepad/default.nix b/pkgs/desktops/xfce/applications/mousepad/default.nix index 0247ed3b2dc3..f72a08729bc9 100644 --- a/pkgs/desktops/xfce/applications/mousepad/default.nix +++ b/pkgs/desktops/xfce/applications/mousepad/default.nix @@ -33,6 +33,7 @@ mkXfceDerivation { meta = with lib; { description = "Simple text editor for Xfce"; + mainProgram = "mousepad"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/desktops/xfce/applications/orage/default.nix b/pkgs/desktops/xfce/applications/orage/default.nix index 00c2d5f85d91..130eb8464aeb 100644 --- a/pkgs/desktops/xfce/applications/orage/default.nix +++ b/pkgs/desktops/xfce/applications/orage/default.nix @@ -30,6 +30,7 @@ mkXfceDerivation { meta = with lib; { description = "Simple calendar application for Xfce"; + mainProgram = "orage"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/desktops/xfce/applications/parole/default.nix b/pkgs/desktops/xfce/applications/parole/default.nix index eeadfe793a7c..41286052db41 100644 --- a/pkgs/desktops/xfce/applications/parole/default.nix +++ b/pkgs/desktops/xfce/applications/parole/default.nix @@ -44,6 +44,7 @@ mkXfceDerivation { meta = with lib; { description = "Modern simple media player"; + mainProgram = "parole"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/desktops/xfce/applications/ristretto/default.nix b/pkgs/desktops/xfce/applications/ristretto/default.nix index ff12d00e4a5c..e5ee18d85da0 100644 --- a/pkgs/desktops/xfce/applications/ristretto/default.nix +++ b/pkgs/desktops/xfce/applications/ristretto/default.nix @@ -29,6 +29,7 @@ mkXfceDerivation { meta = with lib; { description = "A fast and lightweight picture-viewer for the Xfce desktop environment"; + mainProgram = "ristretto"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/desktops/xfce/applications/xfburn/default.nix b/pkgs/desktops/xfce/applications/xfburn/default.nix index 3bd58caee9c0..d2ba14d27dff 100644 --- a/pkgs/desktops/xfce/applications/xfburn/default.nix +++ b/pkgs/desktops/xfce/applications/xfburn/default.nix @@ -13,6 +13,7 @@ mkXfceDerivation { meta = with lib; { description = "Disc burner and project creator for Xfce"; + mainProgram = "xfburn"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/desktops/xfce/applications/xfce4-dict/default.nix b/pkgs/desktops/xfce/applications/xfce4-dict/default.nix index 5b79911e0b6e..1ed27991c443 100644 --- a/pkgs/desktops/xfce/applications/xfce4-dict/default.nix +++ b/pkgs/desktops/xfce/applications/xfce4-dict/default.nix @@ -33,6 +33,7 @@ mkXfceDerivation { meta = with lib; { description = "A Dictionary Client for the Xfce desktop environment"; + mainProgram = "xfce4-dict"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/desktops/xfce/applications/xfce4-notifyd/default.nix b/pkgs/desktops/xfce/applications/xfce4-notifyd/default.nix index 0c1e255cdb2d..c7a1f94177e8 100644 --- a/pkgs/desktops/xfce/applications/xfce4-notifyd/default.nix +++ b/pkgs/desktops/xfce/applications/xfce4-notifyd/default.nix @@ -46,6 +46,7 @@ mkXfceDerivation { meta = with lib; { description = "Simple notification daemon for Xfce"; + mainProgram = "xfce4-notifyd-config"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix b/pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix index f4a2a4ef0d44..e223f8bc6663 100644 --- a/pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix +++ b/pkgs/desktops/xfce/applications/xfce4-panel-profiles/default.nix @@ -25,6 +25,7 @@ in mkXfceDerivation { meta = with lib; { description = "Simple application to manage Xfce panel layouts"; + mainProgram = "xfce4-panel-profiles"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix b/pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix index 50601451a8d4..4a3f85ea0ce3 100644 --- a/pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix +++ b/pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix @@ -41,6 +41,7 @@ mkXfceDerivation { meta = with lib; { description = "Screenshot utility for the Xfce desktop"; + mainProgram = "xfce4-screenshooter"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix b/pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix index 5336d5ce41f3..f6dfcec8be7f 100644 --- a/pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix +++ b/pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix @@ -34,6 +34,7 @@ mkXfceDerivation { meta = with lib; { description = "Easy to use task manager for Xfce"; + mainProgram = "xfce4-taskmanager"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/desktops/xfce/applications/xfce4-volumed-pulse/default.nix b/pkgs/desktops/xfce/applications/xfce4-volumed-pulse/default.nix index 9f1373d7d926..878975cebb1c 100644 --- a/pkgs/desktops/xfce/applications/xfce4-volumed-pulse/default.nix +++ b/pkgs/desktops/xfce/applications/xfce4-volumed-pulse/default.nix @@ -11,6 +11,7 @@ mkXfceDerivation { meta = with lib; { description = "A volume keys control daemon for Xfce using pulseaudio"; + mainProgram = "xfce4-volumed-pulse"; license = licenses.gpl3Plus; maintainers = with maintainers; [ abbradar ] ++ teams.xfce.members; }; diff --git a/pkgs/desktops/xfce/core/libxfce4ui/default.nix b/pkgs/desktops/xfce/core/libxfce4ui/default.nix index fb2013e529bf..862d4f8cbc94 100644 --- a/pkgs/desktops/xfce/core/libxfce4ui/default.nix +++ b/pkgs/desktops/xfce/core/libxfce4ui/default.nix @@ -18,6 +18,7 @@ mkXfceDerivation { meta = with lib; { description = "Widgets library for Xfce"; + mainProgram = "xfce4-about"; license = with licenses; [ lgpl2Plus lgpl21Plus ]; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; diff --git a/pkgs/desktops/xfce/core/libxfce4util/default.nix b/pkgs/desktops/xfce/core/libxfce4util/default.nix index d3cbc9f323d8..02a4b98309a3 100644 --- a/pkgs/desktops/xfce/core/libxfce4util/default.nix +++ b/pkgs/desktops/xfce/core/libxfce4util/default.nix @@ -11,6 +11,7 @@ mkXfceDerivation { meta = with lib; { description = "Extension library for Xfce"; + mainProgram = "xfce4-kiosk-query"; license = licenses.lgpl2Plus; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; diff --git a/pkgs/desktops/xfce/core/xfconf/default.nix b/pkgs/desktops/xfce/core/xfconf/default.nix index 459044eb2a5d..45873f7ef248 100644 --- a/pkgs/desktops/xfce/core/xfconf/default.nix +++ b/pkgs/desktops/xfce/core/xfconf/default.nix @@ -18,6 +18,7 @@ mkXfceDerivation { meta = with lib; { description = "Simple client-server configuration storage and query system for Xfce"; + mainProgram = "xfconf-query"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix index fbc40f190255..4a3148962efd 100644 --- a/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix +++ b/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://docs.xfce.org/panel-plugins/xfce4-sensors-plugin"; description = "A panel plug-in for different sensors using acpi, lm_sensors and hddtemp"; + mainProgram = "xfce4-sensors"; license = licenses.gpl2Plus; platforms = platforms.unix; maintainers = with maintainers; [ ] ++ teams.xfce.members; diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix index 7ef0fb79ebbe..b1b068eaa55f 100644 --- a/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix +++ b/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix @@ -42,6 +42,7 @@ mkXfceDerivation { meta = with lib; { description = "Alternate application launcher for Xfce"; + mainProgram = "xfce4-popup-whiskermenu"; maintainers = with maintainers; [ ] ++ teams.xfce.members; }; } diff --git a/pkgs/development/beam-modules/erlfmt/default.nix b/pkgs/development/beam-modules/erlfmt/default.nix index e7c6f21b20ff..4cf139845a20 100644 --- a/pkgs/development/beam-modules/erlfmt/default.nix +++ b/pkgs/development/beam-modules/erlfmt/default.nix @@ -13,6 +13,7 @@ rebar3Relx rec { meta = with lib; { homepage = "https://github.com/WhatsApp/erlfmt"; description = "An automated code formatter for Erlang"; + mainProgram = "erlfmt"; platforms = platforms.unix; license = licenses.asl20; maintainers = with lib.maintainers; [ dlesl ]; diff --git a/pkgs/development/compilers/abcl/default.nix b/pkgs/development/compilers/abcl/default.nix index e36d8975e26b..317d0d92266d 100644 --- a/pkgs/development/compilers/abcl/default.nix +++ b/pkgs/development/compilers/abcl/default.nix @@ -6,7 +6,7 @@ , jdk , jre , makeWrapper -, canonicalize-jars-hook +, stripJavaArchivesHook }: let @@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: { jdk fakeHostname makeWrapper - canonicalize-jars-hook + stripJavaArchivesHook ]; buildPhase = '' diff --git a/pkgs/development/compilers/acme/default.nix b/pkgs/development/compilers/acme/default.nix index 3f8110b5b5a4..cc6426a309a5 100644 --- a/pkgs/development/compilers/acme/default.nix +++ b/pkgs/development/compilers/acme/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A multi-platform cross assembler for 6502/6510/65816 CPUs"; + mainProgram = "acme"; homepage = "https://sourceforge.net/projects/acme-crossass/"; license = licenses.gpl2Plus; platforms = platforms.all; diff --git a/pkgs/development/compilers/ante/default.nix b/pkgs/development/compilers/ante/default.nix index ebd70475d0fa..906ee0f16c2a 100644 --- a/pkgs/development/compilers/ante/default.nix +++ b/pkgs/development/compilers/ante/default.nix @@ -52,6 +52,7 @@ rustPlatform.buildRustPackage { meta = with lib; { homepage = "https://antelang.org/"; description = "A low-level functional language for exploring refinement types, lifetime inference, and algebraic effects"; + mainProgram = "ante"; license = with licenses; [ mit ]; maintainers = with maintainers; [ ehllie ]; }; diff --git a/pkgs/development/compilers/arachne-pnr/default.nix b/pkgs/development/compilers/arachne-pnr/default.nix index a08ad91c4a1c..37b7158c6284 100644 --- a/pkgs/development/compilers/arachne-pnr/default.nix +++ b/pkgs/development/compilers/arachne-pnr/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Place and route tool for FPGAs"; + mainProgram = "arachne-pnr"; longDescription = '' Arachne-pnr implements the place and route step of the hardware compilation process for FPGAs. It diff --git a/pkgs/development/compilers/armips/default.nix b/pkgs/development/compilers/armips/default.nix index b6fbb5ef34c8..6e3a3ef4d964 100644 --- a/pkgs/development/compilers/armips/default.nix +++ b/pkgs/development/compilers/armips/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/Kingcom/armips"; description = "Assembler for various ARM and MIPS platforms."; + mainProgram = "armips"; license = licenses.mit; maintainers = with maintainers; [ marius851000 ]; }; diff --git a/pkgs/development/compilers/as31/default.nix b/pkgs/development/compilers/as31/default.nix index c76b8a03312e..9cff12dd306d 100644 --- a/pkgs/development/compilers/as31/default.nix +++ b/pkgs/development/compilers/as31/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://wiki.erazor-zone.de/wiki:projects:linux:as31"; description = "An 8031/8051 assembler"; + mainProgram = "as31"; license = licenses.gpl2Plus; maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.unix; diff --git a/pkgs/development/compilers/avra/default.nix b/pkgs/development/compilers/avra/default.nix index f3bc33516a3f..8e2d2558c571 100644 --- a/pkgs/development/compilers/avra/default.nix +++ b/pkgs/development/compilers/avra/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Assembler for the Atmel AVR microcontroller family"; + mainProgram = "avra"; homepage = "https://github.com/Ro5bert/avra"; license = licenses.gpl2Plus; platforms = platforms.all; diff --git a/pkgs/development/compilers/ballerina/default.nix b/pkgs/development/compilers/ballerina/default.nix index 4dacd028311e..5a58d9afd9a8 100644 --- a/pkgs/development/compilers/ballerina/default.nix +++ b/pkgs/development/compilers/ballerina/default.nix @@ -37,6 +37,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "An open-source programming language for the cloud"; + mainProgram = "bal"; license = licenses.asl20; platforms = openjdk.meta.platforms; maintainers = with maintainers; [ eigengrau ]; diff --git a/pkgs/development/compilers/bfc/default.nix b/pkgs/development/compilers/bfc/default.nix index a61279b7bc54..c6d351e4c191 100644 --- a/pkgs/development/compilers/bfc/default.nix +++ b/pkgs/development/compilers/bfc/default.nix @@ -34,6 +34,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An industrial-grade brainfuck compiler"; + mainProgram = "bfc"; homepage = "https://bfc.wilfred.me.uk"; license = licenses.gpl2Plus; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/compilers/blueprint/default.nix b/pkgs/development/compilers/blueprint/default.nix index 856fcaa5d5ab..14a901d785fe 100644 --- a/pkgs/development/compilers/blueprint/default.nix +++ b/pkgs/development/compilers/blueprint/default.nix @@ -64,6 +64,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A markup language for GTK user interface files"; + mainProgram = "blueprint-compiler"; homepage = "https://gitlab.gnome.org/jwestman/blueprint-compiler"; license = licenses.lgpl3Plus; maintainers = with maintainers; [ benediktbroich ranfdev ]; diff --git a/pkgs/development/compilers/cakelisp/default.nix b/pkgs/development/compilers/cakelisp/default.nix index b6541619b9f9..9f8939708cec 100644 --- a/pkgs/development/compilers/cakelisp/default.nix +++ b/pkgs/development/compilers/cakelisp/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A performance-oriented Lisp-like language"; + mainProgram = "cakelisp"; homepage = "https://macoy.me/code/macoy/cakelisp"; license = licenses.gpl3Plus; platforms = platforms.darwin ++ platforms.linux; diff --git a/pkgs/development/compilers/chicken/4/egg2nix.nix b/pkgs/development/compilers/chicken/4/egg2nix.nix index dfbec7442ed4..e175f17e1ab7 100644 --- a/pkgs/development/compilers/chicken/4/egg2nix.nix +++ b/pkgs/development/compilers/chicken/4/egg2nix.nix @@ -20,6 +20,7 @@ eggDerivation rec { meta = { description = "Generate nix-expression from CHICKEN scheme eggs"; + mainProgram = "egg2nix"; homepage = "https://github.com/the-kenny/egg2nix"; license = lib.licenses.bsd3; platforms = lib.platforms.unix; diff --git a/pkgs/development/compilers/chicken/5/egg2nix.nix b/pkgs/development/compilers/chicken/5/egg2nix.nix index 62b634eb6370..3e2cc49a2669 100644 --- a/pkgs/development/compilers/chicken/5/egg2nix.nix +++ b/pkgs/development/compilers/chicken/5/egg2nix.nix @@ -21,6 +21,7 @@ eggDerivation { meta = { description = "Generate nix-expression from CHICKEN scheme eggs"; + mainProgram = "egg2nix"; homepage = "https://github.com/the-kenny/egg2nix"; license = lib.licenses.bsd3; platforms = lib.platforms.unix; diff --git a/pkgs/development/compilers/closure/default.nix b/pkgs/development/compilers/closure/default.nix index 39dfa67d23e4..ee560d876301 100644 --- a/pkgs/development/compilers/closure/default.nix +++ b/pkgs/development/compilers/closure/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A tool for making JavaScript download and run faster"; + mainProgram = "closure-compiler"; homepage = "https://developers.google.com/closure/compiler/"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.asl20; diff --git a/pkgs/development/compilers/colm/default.nix b/pkgs/development/compilers/colm/default.nix index d7a0953a8035..b1540ff63072 100644 --- a/pkgs/development/compilers/colm/default.nix +++ b/pkgs/development/compilers/colm/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A programming language for the analysis and transformation of computer languages"; + mainProgram = "colm"; homepage = "http://www.colm.net/open-source/colm"; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/development/compilers/cone/default.nix b/pkgs/development/compilers/cone/default.nix index d94432be12d3..b13ac8de868e 100644 --- a/pkgs/development/compilers/cone/default.nix +++ b/pkgs/development/compilers/cone/default.nix @@ -34,6 +34,7 @@ llvmPackages.stdenv.mkDerivation rec { meta = with lib; { description = "Cone Programming Language"; + mainProgram = "conec"; homepage = "https://cone.jondgoodwin.com"; license = licenses.mit; maintainers = with maintainers; [ luc65r ]; diff --git a/pkgs/development/compilers/crystal/default.nix b/pkgs/development/compilers/crystal/default.nix index 88439d7e66d1..fb031eba18cb 100644 --- a/pkgs/development/compilers/crystal/default.nix +++ b/pkgs/development/compilers/crystal/default.nix @@ -250,6 +250,7 @@ let meta = with lib; { inherit (binary.meta) platforms; description = "A compiled language with Ruby like syntax and type inference"; + mainProgram = "crystal"; homepage = "https://crystal-lang.org/"; license = licenses.asl20; maintainers = with maintainers; [ david50407 manveru peterhoeg donovanglover ]; diff --git a/pkgs/development/compilers/crystal2nix/default.nix b/pkgs/development/compilers/crystal2nix/default.nix index 3a53525b4771..2ba0fefd6aba 100644 --- a/pkgs/development/compilers/crystal2nix/default.nix +++ b/pkgs/development/compilers/crystal2nix/default.nix @@ -29,6 +29,7 @@ crystal.buildCrystalPackage rec { meta = with lib; { description = "Utility to convert Crystal's shard.lock files to a Nix file"; + mainProgram = "crystal2nix"; license = licenses.mit; maintainers = with maintainers; [ manveru peterhoeg ]; }; diff --git a/pkgs/development/compilers/dictu/default.nix b/pkgs/development/compilers/dictu/default.nix index 113f9291df2c..5bce969edb8b 100644 --- a/pkgs/development/compilers/dictu/default.nix +++ b/pkgs/development/compilers/dictu/default.nix @@ -76,6 +76,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "High-level dynamically typed, multi-paradigm, interpreted programming language"; + mainProgram = "dictu"; homepage = "https://dictu-lang.com"; license = licenses.mit; maintainers = with maintainers; [ luc65r ]; diff --git a/pkgs/development/compilers/dmd/generic.nix b/pkgs/development/compilers/dmd/generic.nix index eec43a6a82a7..88fabd9c83fb 100644 --- a/pkgs/development/compilers/dmd/generic.nix +++ b/pkgs/development/compilers/dmd/generic.nix @@ -216,6 +216,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Official reference compiler for the D language"; + mainProgram = "dmd"; homepage = "https://dlang.org/"; # Everything is now Boost licensed, even the backend. # https://github.com/dlang/dmd/pull/6680 diff --git a/pkgs/development/compilers/elm/packages/elm-instrument.nix b/pkgs/development/compilers/elm/packages/elm-instrument.nix index 18f4d3aff196..02593b855077 100644 --- a/pkgs/development/compilers/elm/packages/elm-instrument.nix +++ b/pkgs/development/compilers/elm/packages/elm-instrument.nix @@ -40,4 +40,5 @@ mkDerivation { homepage = "https://elm-lang.org"; description = "Instrumentation library for Elm"; license = lib.licenses.bsd3; + mainProgram = "elm-instrument"; } diff --git a/pkgs/development/compilers/elm/packages/elm-json.nix b/pkgs/development/compilers/elm/packages/elm-json.nix index 6eb5d10cd471..5b988244cc97 100644 --- a/pkgs/development/compilers/elm/packages/elm-json.nix +++ b/pkgs/development/compilers/elm/packages/elm-json.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Install, upgrade and uninstall Elm dependencies"; + mainProgram = "elm-json"; homepage = "https://github.com/zwilias/elm-json"; license = licenses.mit; maintainers = [ maintainers.turbomack ]; diff --git a/pkgs/development/compilers/elm/packages/elm-test-rs.nix b/pkgs/development/compilers/elm/packages/elm-test-rs.nix index 5e2a5502b211..02f69c2d2f03 100644 --- a/pkgs/development/compilers/elm/packages/elm-test-rs.nix +++ b/pkgs/development/compilers/elm/packages/elm-test-rs.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Fast and portable executable to run your Elm tests"; + mainProgram = "elm-test-rs"; homepage = "https://github.com/mpizenberg/elm-test-rs"; license = licenses.bsd3; maintainers = [ maintainers.jpagex ]; diff --git a/pkgs/development/compilers/elm/packages/elm-test.nix b/pkgs/development/compilers/elm/packages/elm-test.nix index fc943a80a3fa..eca45395c3df 100644 --- a/pkgs/development/compilers/elm/packages/elm-test.nix +++ b/pkgs/development/compilers/elm/packages/elm-test.nix @@ -25,6 +25,7 @@ buildNpmPackage rec { meta = { changelog = "https://github.com/rtfeldman/node-test-runner/blob/${src.rev}/CHANGELOG.md"; description = "Runs elm-test suites from Node.js"; + mainProgram = "elm-test"; homepage = "https://github.com/rtfeldman/node-test-runner"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ turbomack ]; diff --git a/pkgs/development/compilers/erg/default.nix b/pkgs/development/compilers/erg/default.nix index c2ecc635e05c..0ad4320c046a 100644 --- a/pkgs/development/compilers/erg/default.nix +++ b/pkgs/development/compilers/erg/default.nix @@ -57,6 +57,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A statically typed language that can deeply improve the Python ecosystem"; + mainProgram = "erg"; homepage = "https://github.com/erg-lang/erg"; changelog = "https://github.com/erg-lang/erg/releases/tag/${src.rev}"; license = with licenses; [ asl20 mit ]; diff --git a/pkgs/development/compilers/fasmg/default.nix b/pkgs/development/compilers/fasmg/default.nix index ec915bcb04bc..b62c114c77e4 100644 --- a/pkgs/development/compilers/fasmg/default.nix +++ b/pkgs/development/compilers/fasmg/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "x86(-64) macro assembler to binary, MZ, PE, COFF, and ELF"; + mainProgram = "fasmg"; homepage = "https://flatassembler.net"; license = licenses.bsd3; maintainers = with maintainers; [ orivej luc65r ]; diff --git a/pkgs/development/compilers/fbc/default.nix b/pkgs/development/compilers/fbc/default.nix index 631bf9c7bfe0..f2a223fb6b8a 100644 --- a/pkgs/development/compilers/fbc/default.nix +++ b/pkgs/development/compilers/fbc/default.nix @@ -123,6 +123,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.freebasic.net/"; description = "A multi-platform BASIC Compiler"; + mainProgram = "fbc"; longDescription = '' FreeBASIC is a completely free, open-source, multi-platform BASIC compiler (fbc), with syntax similar to (and support for) MS-QuickBASIC, that adds new features diff --git a/pkgs/development/compilers/firrtl/default.nix b/pkgs/development/compilers/firrtl/default.nix index 5a59060b6f21..54138a6d3de8 100644 --- a/pkgs/development/compilers/firrtl/default.nix +++ b/pkgs/development/compilers/firrtl/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Flexible Intermediate Representation for RTL"; + mainProgram = "firrtl"; longDescription = '' Firrtl is an intermediate representation (IR) for digital circuits designed as a platform for writing circuit-level transformations. diff --git a/pkgs/development/compilers/flasm/default.nix b/pkgs/development/compilers/flasm/default.nix index c1d2cfedc984..e1da977b0039 100644 --- a/pkgs/development/compilers/flasm/default.nix +++ b/pkgs/development/compilers/flasm/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Assembler and disassembler for Flash (SWF) bytecode"; + mainProgram = "flasm"; homepage = "https://flasm.sourceforge.net/"; license = licenses.bsd2; maintainers = with maintainers; [ siraben ]; diff --git a/pkgs/development/compilers/flix/default.nix b/pkgs/development/compilers/flix/default.nix index 53897054979f..c0f32438db14 100644 --- a/pkgs/development/compilers/flix/default.nix +++ b/pkgs/development/compilers/flix/default.nix @@ -26,6 +26,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { description = "The Flix Programming Language"; + mainProgram = "flix"; homepage = "https://github.com/flix/flix"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.asl20; diff --git a/pkgs/development/compilers/flux/default.nix b/pkgs/development/compilers/flux/default.nix index 75386f21f743..bb3c0da52c61 100644 --- a/pkgs/development/compilers/flux/default.nix +++ b/pkgs/development/compilers/flux/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An interface description language used by DirectFB"; + mainProgram = "fluxcomp"; homepage = "https://github.com/deniskropp/flux"; license = licenses.mit; }; diff --git a/pkgs/development/compilers/gbforth/default.nix b/pkgs/development/compilers/gbforth/default.nix index e85e621cff16..882a25cdae07 100644 --- a/pkgs/development/compilers/gbforth/default.nix +++ b/pkgs/development/compilers/gbforth/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://gbforth.org/"; description = "A Forth-based Game Boy development kit"; + mainProgram = "gbforth"; longDescription = '' A Forth-based Game Boy development kit. It features a Forth-based assembler, a cross-compiler with support for diff --git a/pkgs/development/compilers/gcl/default.nix b/pkgs/development/compilers/gcl/default.nix index 8ef2cedbf076..64d36ea67a73 100644 --- a/pkgs/development/compilers/gcl/default.nix +++ b/pkgs/development/compilers/gcl/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GNU Common Lisp compiler working via GCC"; + mainProgram = "gcl"; maintainers = lib.teams.lisp.members; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/development/compilers/gleam/default.nix b/pkgs/development/compilers/gleam/default.nix index d21c4d48f33f..5dc3976025a8 100644 --- a/pkgs/development/compilers/gleam/default.nix +++ b/pkgs/development/compilers/gleam/default.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A statically typed language for the Erlang VM"; + mainProgram = "gleam"; homepage = "https://gleam.run/"; license = licenses.asl20; maintainers = teams.beam.members; diff --git a/pkgs/development/compilers/gmqcc/default.nix b/pkgs/development/compilers/gmqcc/default.nix index f3b25e2dbd4a..a030133fba52 100644 --- a/pkgs/development/compilers/gmqcc/default.nix +++ b/pkgs/development/compilers/gmqcc/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://graphitemaster.github.io/gmqcc/"; description = "A modern QuakeC compiler"; + mainProgram = "gmqcc"; longDescription = '' For an enduring period of time the options for a decent compiler for the Quake C programming language were confined to a specific compiler diff --git a/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix b/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix index 579e40580802..907441ff68c4 100644 --- a/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix +++ b/pkgs/development/compilers/graalvm/community-edition/buildGraalvmProduct.nix @@ -72,5 +72,6 @@ stdenv.mkDerivation ({ meta = ({ inherit (graalvm-ce.meta) homepage license sourceProvenance maintainers platforms; description = "High-Performance Polyglot VM (Product: ${product})"; + mainProgram = "js"; } // (args.meta or { })); } // extraArgs) diff --git a/pkgs/development/compilers/hvm/default.nix b/pkgs/development/compilers/hvm/default.nix index 03dcdcae6724..8342f0ee05b1 100644 --- a/pkgs/development/compilers/hvm/default.nix +++ b/pkgs/development/compilers/hvm/default.nix @@ -28,6 +28,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A pure functional compile target that is lazy, non-garbage-collected, and parallel"; + mainProgram = "hvm"; homepage = "https://github.com/higherorderco/hvm"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/compilers/idris2/idris2-lsp.nix b/pkgs/development/compilers/idris2/idris2-lsp.nix index a9587588417a..095b973cc0cb 100644 --- a/pkgs/development/compilers/idris2/idris2-lsp.nix +++ b/pkgs/development/compilers/idris2/idris2-lsp.nix @@ -43,6 +43,7 @@ let meta = with lib; { description = "Language Server for Idris2"; + mainProgram = "idris2-lsp"; homepage = "https://github.com/idris-community/idris2-lsp"; license = licenses.bsd3; maintainers = with maintainers; [ mattpolzin ]; diff --git a/pkgs/development/compilers/idris2/idris2.nix b/pkgs/development/compilers/idris2/idris2.nix index 88c4d05703cf..421fb93cf03b 100644 --- a/pkgs/development/compilers/idris2/idris2.nix +++ b/pkgs/development/compilers/idris2/idris2.nix @@ -89,6 +89,7 @@ in stdenv.mkDerivation rec { meta = { description = "A purely functional programming language with first class types"; + mainProgram = "idris2"; homepage = "https://github.com/idris-lang/Idris2"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fabianhjr wchresta mattpolzin ]; diff --git a/pkgs/development/compilers/inform7/default.nix b/pkgs/development/compilers/inform7/default.nix index 24bc14c0b3a9..0fba6d7c4a49 100644 --- a/pkgs/development/compilers/inform7/default.nix +++ b/pkgs/development/compilers/inform7/default.nix @@ -23,6 +23,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "A design system for interactive fiction"; + mainProgram = "i7"; homepage = "http://inform7.com/"; license = licenses.artistic2; maintainers = with maintainers; [ mbbx6spp ]; diff --git a/pkgs/development/compilers/inklecate/default.nix b/pkgs/development/compilers/inklecate/default.nix index ac32e2954937..fa701d8fd269 100644 --- a/pkgs/development/compilers/inklecate/default.nix +++ b/pkgs/development/compilers/inklecate/default.nix @@ -29,6 +29,7 @@ buildDotnetModule rec { meta = with lib; { description = "Compiler for ink, inkle's scripting language"; + mainProgram = "inklecate"; longDescription = '' Inklecate is a command-line compiler for ink, inkle's open source scripting language for writing interactive narrative diff --git a/pkgs/development/compilers/ispc/default.nix b/pkgs/development/compilers/ispc/default.nix index 0c710b0736a3..b7f2ad1228b7 100644 --- a/pkgs/development/compilers/ispc/default.nix +++ b/pkgs/development/compilers/ispc/default.nix @@ -68,6 +68,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://ispc.github.io/"; description = "Intel 'Single Program, Multiple Data' Compiler, a vectorised language"; + mainProgram = "ispc"; license = licenses.bsd3; platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; # TODO: buildable on more platforms? maintainers = with maintainers; [ aristid thoughtpolice athas alexfmpe ]; diff --git a/pkgs/development/compilers/jasmin/default.nix b/pkgs/development/compilers/jasmin/default.nix index db58f48b97bb..685e6aa9537e 100644 --- a/pkgs/development/compilers/jasmin/default.nix +++ b/pkgs/development/compilers/jasmin/default.nix @@ -5,7 +5,7 @@ , ant , jdk8 , makeWrapper -, canonicalize-jars-hook +, stripJavaArchivesHook , callPackage }: @@ -27,7 +27,7 @@ in stdenv.mkDerivation (finalAttrs: { ant jdk makeWrapper - canonicalize-jars-hook + stripJavaArchivesHook ]; buildPhase = '' diff --git a/pkgs/development/compilers/julia/generic.nix b/pkgs/development/compilers/julia/generic.nix index 4ab317618a41..7f690d44e163 100644 --- a/pkgs/development/compilers/julia/generic.nix +++ b/pkgs/development/compilers/julia/generic.nix @@ -83,6 +83,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "High-level performance-oriented dynamical language for technical computing"; + mainProgram = "julia"; homepage = "https://julialang.org/"; license = licenses.mit; maintainers = with maintainers; [ nickcao joshniemela thomasjm ]; diff --git a/pkgs/development/compilers/juniper/default.nix b/pkgs/development/compilers/juniper/default.nix index ff6751104ac0..edf3e4b6374c 100644 --- a/pkgs/development/compilers/juniper/default.nix +++ b/pkgs/development/compilers/juniper/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Functional reactive programming language for programming Arduino"; + mainProgram = "juniper"; longDescription = '' Juniper targets Arduino and supports many features typical of functional programming languages, including algebraic data types, tuples, records, pattern matching, immutable data structures, parametric polymorphic functions, and anonymous functions (lambdas). diff --git a/pkgs/development/compilers/kind2/default.nix b/pkgs/development/compilers/kind2/default.nix index 182e4cb1a0e9..95eedb80670f 100644 --- a/pkgs/development/compilers/kind2/default.nix +++ b/pkgs/development/compilers/kind2/default.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A functional programming language and proof assistant"; + mainProgram = "kind2"; homepage = "https://github.com/higherorderco/kind"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/compilers/lesscpy/default.nix b/pkgs/development/compilers/lesscpy/default.nix index d85b36da8918..52372bb1edce 100644 --- a/pkgs/development/compilers/lesscpy/default.nix +++ b/pkgs/development/compilers/lesscpy/default.nix @@ -17,6 +17,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Python LESS Compiler"; + mainProgram = "lesscpy"; homepage = "https://github.com/lesscpy/lesscpy"; license = licenses.mit; maintainers = with maintainers; [ s1341 ]; diff --git a/pkgs/development/compilers/ligo/default.nix b/pkgs/development/compilers/ligo/default.nix index 3027aa52c5e4..9443f7a8cc08 100644 --- a/pkgs/development/compilers/ligo/default.nix +++ b/pkgs/development/compilers/ligo/default.nix @@ -127,6 +127,7 @@ ocamlPackages.buildDunePackage rec { homepage = "https://ligolang.org/"; downloadPage = "https://ligolang.org/docs/intro/installation"; description = "A friendly Smart Contract Language for Tezos"; + mainProgram = "ligo"; license = licenses.mit; platforms = ocamlPackages.ocaml.meta.platforms; broken = stdenv.isLinux && stdenv.isAarch64; diff --git a/pkgs/development/compilers/llvm/11/compiler-rt/default.nix b/pkgs/development/compilers/llvm/11/compiler-rt/default.nix index 7fddc6e924b9..8a94abeffdca 100644 --- a/pkgs/development/compilers/llvm/11/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/11/compiler-rt/default.nix @@ -122,6 +122,7 @@ stdenv.mkDerivation { meta = llvm_meta // { homepage = "https://compiler-rt.llvm.org/"; description = "Compiler runtime libraries"; + mainProgram = "hwasan_symbolize"; longDescription = '' The compiler-rt project provides highly tuned implementations of the low-level code generator support routines like "__fixunsdfdi" and other diff --git a/pkgs/development/compilers/llvm/12/compiler-rt/default.nix b/pkgs/development/compilers/llvm/12/compiler-rt/default.nix index a3cc65e20235..e11a1b397e76 100644 --- a/pkgs/development/compilers/llvm/12/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/12/compiler-rt/default.nix @@ -112,6 +112,7 @@ stdenv.mkDerivation { meta = llvm_meta // { homepage = "https://compiler-rt.llvm.org/"; description = "Compiler runtime libraries"; + mainProgram = "hwasan_symbolize"; longDescription = '' The compiler-rt project provides highly tuned implementations of the low-level code generator support routines like "__fixunsdfdi" and other diff --git a/pkgs/development/compilers/llvm/13/compiler-rt/default.nix b/pkgs/development/compilers/llvm/13/compiler-rt/default.nix index 7853981bb003..3c83e4e58a17 100644 --- a/pkgs/development/compilers/llvm/13/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/13/compiler-rt/default.nix @@ -119,6 +119,7 @@ stdenv.mkDerivation { meta = llvm_meta // { homepage = "https://compiler-rt.llvm.org/"; description = "Compiler runtime libraries"; + mainProgram = "hwasan_symbolize"; longDescription = '' The compiler-rt project provides highly tuned implementations of the low-level code generator support routines like "__fixunsdfdi" and other diff --git a/pkgs/development/compilers/llvm/14/compiler-rt/default.nix b/pkgs/development/compilers/llvm/14/compiler-rt/default.nix index 53da1bb125b3..3482ed343c5a 100644 --- a/pkgs/development/compilers/llvm/14/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/14/compiler-rt/default.nix @@ -127,6 +127,7 @@ stdenv.mkDerivation { meta = llvm_meta // { homepage = "https://compiler-rt.llvm.org/"; description = "Compiler runtime libraries"; + mainProgram = "hwasan_symbolize"; longDescription = '' The compiler-rt project provides highly tuned implementations of the low-level code generator support routines like "__fixunsdfdi" and other diff --git a/pkgs/development/compilers/llvm/15/compiler-rt/default.nix b/pkgs/development/compilers/llvm/15/compiler-rt/default.nix index 2d89407c0e63..d257c69cbcd0 100644 --- a/pkgs/development/compilers/llvm/15/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/15/compiler-rt/default.nix @@ -126,6 +126,7 @@ stdenv.mkDerivation { meta = llvm_meta // { homepage = "https://compiler-rt.llvm.org/"; description = "Compiler runtime libraries"; + mainProgram = "hwasan_symbolize"; longDescription = '' The compiler-rt project provides highly tuned implementations of the low-level code generator support routines like "__fixunsdfdi" and other diff --git a/pkgs/development/compilers/llvm/16/compiler-rt/default.nix b/pkgs/development/compilers/llvm/16/compiler-rt/default.nix index 3891b4ac78c0..2a15e5302b46 100644 --- a/pkgs/development/compilers/llvm/16/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/16/compiler-rt/default.nix @@ -140,6 +140,7 @@ stdenv.mkDerivation { meta = llvm_meta // { homepage = "https://compiler-rt.llvm.org/"; description = "Compiler runtime libraries"; + mainProgram = "hwasan_symbolize"; longDescription = '' The compiler-rt project provides highly tuned implementations of the low-level code generator support routines like "__fixunsdfdi" and other diff --git a/pkgs/development/compilers/llvm/17/compiler-rt/default.nix b/pkgs/development/compilers/llvm/17/compiler-rt/default.nix index 3891b4ac78c0..2a15e5302b46 100644 --- a/pkgs/development/compilers/llvm/17/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/17/compiler-rt/default.nix @@ -140,6 +140,7 @@ stdenv.mkDerivation { meta = llvm_meta // { homepage = "https://compiler-rt.llvm.org/"; description = "Compiler runtime libraries"; + mainProgram = "hwasan_symbolize"; longDescription = '' The compiler-rt project provides highly tuned implementations of the low-level code generator support routines like "__fixunsdfdi" and other diff --git a/pkgs/development/compilers/llvm/common/libclc.nix b/pkgs/development/compilers/llvm/common/libclc.nix index c91930963b20..4c2081e693c1 100644 --- a/pkgs/development/compilers/llvm/common/libclc.nix +++ b/pkgs/development/compilers/llvm/common/libclc.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://libclc.llvm.org/"; description = "Implementation of the library requirements of the OpenCL C programming language"; + mainProgram = "prepare_builtins"; license = licenses.mit; platforms = platforms.all; }; diff --git a/pkgs/development/compilers/lobster/default.nix b/pkgs/development/compilers/lobster/default.nix index 02748546d5aa..131fdbfef98f 100644 --- a/pkgs/development/compilers/lobster/default.nix +++ b/pkgs/development/compilers/lobster/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation (finalAttrs: { broken = stdenv.isDarwin; homepage = "https://strlen.com/lobster/"; description = "The Lobster programming language"; + mainProgram = "lobster"; longDescription = '' Lobster is a programming language that tries to combine the advantages of very static typing and memory management with a very lightweight, diff --git a/pkgs/development/compilers/lunarml/default.nix b/pkgs/development/compilers/lunarml/default.nix index 558a4e435a41..d47801181701 100644 --- a/pkgs/development/compilers/lunarml/default.nix +++ b/pkgs/development/compilers/lunarml/default.nix @@ -49,6 +49,7 @@ stdenvNoCC.mkDerivation { meta = { description = "Standard ML compiler that produces Lua/JavaScript"; + mainProgram = "lunarml"; homepage = "https://github.com/minoki/LunarML"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ toastal ratsclub ]; diff --git a/pkgs/development/compilers/manticore/default.nix b/pkgs/development/compilers/manticore/default.nix index b767ccf150a6..030e13165631 100644 --- a/pkgs/development/compilers/manticore/default.nix +++ b/pkgs/development/compilers/manticore/default.nix @@ -39,6 +39,7 @@ in stdenv.mkDerivation { meta = { description = "A parallel, pure variant of Standard ML"; + mainProgram = "pmlc"; longDescription = '' Manticore is a high-level parallel programming language aimed at diff --git a/pkgs/development/compilers/mcpp/default.nix b/pkgs/development/compilers/mcpp/default.nix index e8eb62a15f13..9db55e29ccdb 100644 --- a/pkgs/development/compilers/mcpp/default.nix +++ b/pkgs/development/compilers/mcpp/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://github.com/museoa/mcpp"; description = "Matsui's C preprocessor"; + mainProgram = "mcpp"; license = licenses.bsd2; maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.unix; diff --git a/pkgs/development/compilers/microscheme/default.nix b/pkgs/development/compilers/microscheme/default.nix index fa65622ba0cd..c9f3a1847066 100644 --- a/pkgs/development/compilers/microscheme/default.nix +++ b/pkgs/development/compilers/microscheme/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://ryansuchocki.github.io/microscheme/"; description = "A Scheme subset for Atmel microcontrollers"; + mainProgram = "microscheme"; longDescription = '' Microscheme is a Scheme subset/variant designed for Atmel microcontrollers, especially as found on Arduino boards. diff --git a/pkgs/development/compilers/mint/default.nix b/pkgs/development/compilers/mint/default.nix index b1baf88c936c..3a81f17fd538 100644 --- a/pkgs/development/compilers/mint/default.nix +++ b/pkgs/development/compilers/mint/default.nix @@ -26,6 +26,7 @@ crystal.buildCrystalPackage rec { meta = with lib; { description = "A refreshing language for the front-end web"; + mainProgram = "mint"; homepage = "https://www.mint-lang.com/"; license = licenses.bsd3; maintainers = with maintainers; [ manveru ]; diff --git a/pkgs/development/compilers/mrustc/default.nix b/pkgs/development/compilers/mrustc/default.nix index eae17cbce91f..1305843a7fa7 100644 --- a/pkgs/development/compilers/mrustc/default.nix +++ b/pkgs/development/compilers/mrustc/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Mutabah's Rust Compiler"; + mainProgram = "mrustc"; longDescription = '' In-progress alternative rust compiler, written in C++. Capable of building a fully-working copy of rustc, diff --git a/pkgs/development/compilers/mrustc/minicargo.nix b/pkgs/development/compilers/mrustc/minicargo.nix index 76d19d4d96d7..c7d5da1f9049 100644 --- a/pkgs/development/compilers/mrustc/minicargo.nix +++ b/pkgs/development/compilers/mrustc/minicargo.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A minimalist builder for Rust"; + mainProgram = "minicargo"; longDescription = '' A minimalist builder for Rust, similar to Cargo but written in C++. Designed to work with mrustc to build Rust projects diff --git a/pkgs/development/compilers/odin/default.nix b/pkgs/development/compilers/odin/default.nix index ff3efcb8a6ef..6d4ddf61da31 100644 --- a/pkgs/development/compilers/odin/default.nix +++ b/pkgs/development/compilers/odin/default.nix @@ -71,6 +71,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "A fast, concise, readable, pragmatic and open sourced programming language"; + mainProgram = "odin"; homepage = "https://odin-lang.org/"; license = licenses.bsd3; maintainers = with maintainers; [ luc65r astavie znaniye ]; diff --git a/pkgs/development/compilers/openspin/default.nix b/pkgs/development/compilers/openspin/default.nix index abf5623b5821..5bf0ff64d354 100644 --- a/pkgs/development/compilers/openspin/default.nix +++ b/pkgs/development/compilers/openspin/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Compiler for SPIN/PASM languages for Parallax Propeller MCU"; + mainProgram = "openspin"; homepage = "https://github.com/parallaxinc/OpenSpin"; license = licenses.mit; maintainers = [ maintainers.redvers ]; diff --git a/pkgs/development/compilers/ophis/default.nix b/pkgs/development/compilers/ophis/default.nix index 2ddfa849b664..0eebdce820ee 100644 --- a/pkgs/development/compilers/ophis/default.nix +++ b/pkgs/development/compilers/ophis/default.nix @@ -16,6 +16,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "http://michaelcmartin.github.io/Ophis/"; description = "A cross-assembler for the 6502 series of microprocessors"; + mainProgram = "ophis"; longDescription = '' Ophis is an assembler for the 6502 microprocessor - the famous chip used in the vast majority of the classic 8-bit computers and consoles. Its diff --git a/pkgs/development/compilers/paco/default.nix b/pkgs/development/compilers/paco/default.nix index d8014dd8e51b..195a67da023a 100644 --- a/pkgs/development/compilers/paco/default.nix +++ b/pkgs/development/compilers/paco/default.nix @@ -27,6 +27,7 @@ buildGoModule rec { meta = with lib; { description = "A simple compiled programming language"; + mainProgram = "paco"; homepage = "https://github.com/pacolang/paco"; license = licenses.mit; maintainers = with maintainers; [ hugolgst ]; diff --git a/pkgs/development/compilers/passerine/default.nix b/pkgs/development/compilers/passerine/default.nix index e5f88e586746..858356657326 100644 --- a/pkgs/development/compilers/passerine/default.nix +++ b/pkgs/development/compilers/passerine/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A small extensible programming language designed for concise expression with little code"; + mainProgram = "passerine"; homepage = "https://www.passerine.io/"; license = licenses.mit; maintainers = with maintainers; [ siraben ]; diff --git a/pkgs/development/compilers/pforth/default.nix b/pkgs/development/compilers/pforth/default.nix index aadc72c174e2..91efc25fc1e0 100644 --- a/pkgs/development/compilers/pforth/default.nix +++ b/pkgs/development/compilers/pforth/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://www.softsynth.com/pforth/"; description = "Portable Portable ANS-like Forth written in ANSI 'C'"; + mainProgram = "pforth"; changelog = "https://github.com/philburk/pforth/blob/v${finalAttrs.version}/RELEASES.md"; license = lib.licenses.bsd0; maintainers = with lib.maintainers; [ AndersonTorres yrashk ]; diff --git a/pkgs/development/compilers/picat/default.nix b/pkgs/development/compilers/picat/default.nix index 76d1ebdb4102..f52eed6ddf8d 100644 --- a/pkgs/development/compilers/picat/default.nix +++ b/pkgs/development/compilers/picat/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Logic-based programming langage"; + mainProgram = "picat"; homepage = "http://picat-lang.org/"; license = licenses.mpl20; platforms = platforms.linux; diff --git a/pkgs/development/compilers/purescript/psc-package/default.nix b/pkgs/development/compilers/purescript/psc-package/default.nix index d291b1f3cfee..2d6631938546 100644 --- a/pkgs/development/compilers/purescript/psc-package/default.nix +++ b/pkgs/development/compilers/purescript/psc-package/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A package manager for PureScript based on package sets"; + mainProgram = "psc-package"; license = licenses.bsd3; maintainers = with maintainers; [ ]; platforms = [ "x86_64-darwin" "x86_64-linux" ]; diff --git a/pkgs/development/compilers/rasm/default.nix b/pkgs/development/compilers/rasm/default.nix index 0f617d0f6618..3246e014145f 100644 --- a/pkgs/development/compilers/rasm/default.nix +++ b/pkgs/development/compilers/rasm/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://www.roudoudou.com/rasm/"; description = "Z80 assembler"; + mainProgram = "rasm"; # use -n option to display all licenses license = licenses.mit; # expat version maintainers = [ ]; diff --git a/pkgs/development/compilers/rust/cargo-auditable.nix b/pkgs/development/compilers/rust/cargo-auditable.nix index e34308216ef5..34d877501c3b 100644 --- a/pkgs/development/compilers/rust/cargo-auditable.nix +++ b/pkgs/development/compilers/rust/cargo-auditable.nix @@ -21,6 +21,7 @@ let meta = with lib; { description = "A tool to make production Rust binaries auditable"; + mainProgram = "cargo-auditable"; homepage = "https://github.com/rust-secure-code/cargo-auditable"; changelog = "https://github.com/rust-secure-code/cargo-auditable/blob/v${version}/cargo-auditable/CHANGELOG.md"; license = with licenses; [ mit /* or */ asl20 ]; diff --git a/pkgs/development/compilers/rust/cargo.nix b/pkgs/development/compilers/rust/cargo.nix index b57ad0c811c2..b0c40c5760cb 100644 --- a/pkgs/development/compilers/rust/cargo.nix +++ b/pkgs/development/compilers/rust/cargo.nix @@ -72,6 +72,7 @@ rustPlatform.buildRustPackage.override { meta = with lib; { homepage = "https://crates.io"; description = "Downloads your Rust project's dependencies and builds your project"; + mainProgram = "cargo"; maintainers = teams.rust.members; license = [ licenses.mit licenses.asl20 ]; platforms = platforms.unix; diff --git a/pkgs/development/compilers/scryer-prolog/default.nix b/pkgs/development/compilers/scryer-prolog/default.nix index a0247c265e80..02383e6b4a51 100644 --- a/pkgs/development/compilers/scryer-prolog/default.nix +++ b/pkgs/development/compilers/scryer-prolog/default.nix @@ -30,6 +30,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { broken = stdenv.isDarwin; description = "A modern Prolog implementation written mostly in Rust"; + mainProgram = "scryer-prolog"; homepage = "https://github.com/mthom/scryer-prolog"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ malbarbo wkral ]; diff --git a/pkgs/development/compilers/serpent/default.nix b/pkgs/development/compilers/serpent/default.nix index 227e8037eaee..31f6b0709da3 100644 --- a/pkgs/development/compilers/serpent/default.nix +++ b/pkgs/development/compilers/serpent/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Compiler for the Serpent language for Ethereum"; + mainProgram = "serpent"; longDescription = '' Serpent is one of the high-level programming languages used to write Ethereum contracts. The language, as suggested by its name, diff --git a/pkgs/development/compilers/sjasmplus/default.nix b/pkgs/development/compilers/sjasmplus/default.nix index 6ef3d11c712f..61d85b95c452 100644 --- a/pkgs/development/compilers/sjasmplus/default.nix +++ b/pkgs/development/compilers/sjasmplus/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://z00m128.github.io/sjasmplus/"; description = "A Z80 assembly language cross compiler. It is based on the SjASM source code by Sjoerd Mastijn"; + mainProgram = "sjasmplus"; license = licenses.bsd3; platforms = platforms.all; maintainers = with maintainers; [ electrified ]; diff --git a/pkgs/development/compilers/spasm-ng/default.nix b/pkgs/development/compilers/spasm-ng/default.nix index bd31719731e9..9045710dc770 100644 --- a/pkgs/development/compilers/spasm-ng/default.nix +++ b/pkgs/development/compilers/spasm-ng/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/alberthdev/spasm-ng"; description = "Z80 assembler with extra features to support development for TI calculators"; + mainProgram = "spasm"; license = licenses.gpl2Plus; maintainers = with maintainers; [ siraben ]; platforms = platforms.unix; diff --git a/pkgs/development/compilers/spirv-llvm-translator/default.nix b/pkgs/development/compilers/spirv-llvm-translator/default.nix index d168f40fc478..9dde7e475171 100644 --- a/pkgs/development/compilers/spirv-llvm-translator/default.nix +++ b/pkgs/development/compilers/spirv-llvm-translator/default.nix @@ -113,6 +113,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/KhronosGroup/SPIRV-LLVM-Translator"; description = "A tool and a library for bi-directional translation between SPIR-V and LLVM IR"; + mainProgram = "llvm-spirv"; license = licenses.ncsa; platforms = platforms.unix; maintainers = with maintainers; [ gloaming ]; diff --git a/pkgs/development/compilers/swift/foundation/default.nix b/pkgs/development/compilers/swift/foundation/default.nix index b0da48c68a95..eab509c5aaa1 100644 --- a/pkgs/development/compilers/swift/foundation/default.nix +++ b/pkgs/development/compilers/swift/foundation/default.nix @@ -63,6 +63,7 @@ in stdenv.mkDerivation { meta = { description = "Core utilities, internationalization, and OS independence for Swift"; + mainProgram = "plutil"; homepage = "https://github.com/apple/swift-corelibs-foundation"; platforms = lib.platforms.linux; license = lib.licenses.asl20; diff --git a/pkgs/development/compilers/swift/sourcekit-lsp/default.nix b/pkgs/development/compilers/swift/sourcekit-lsp/default.nix index caba3e3441f3..a2dd73fefa13 100644 --- a/pkgs/development/compilers/swift/sourcekit-lsp/default.nix +++ b/pkgs/development/compilers/swift/sourcekit-lsp/default.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation { meta = { description = "Language Server Protocol implementation for Swift and C-based languages"; + mainProgram = "sourcekit-lsp"; homepage = "https://github.com/apple/sourcekit-lsp"; platforms = with lib.platforms; linux ++ darwin; license = lib.licenses.asl20; diff --git a/pkgs/development/compilers/swift/swift-docc/default.nix b/pkgs/development/compilers/swift/swift-docc/default.nix index e79487e7eded..5dec14eb475d 100644 --- a/pkgs/development/compilers/swift/swift-docc/default.nix +++ b/pkgs/development/compilers/swift/swift-docc/default.nix @@ -51,6 +51,7 @@ stdenv.mkDerivation { meta = { description = "Documentation compiler for Swift"; + mainProgram = "docc"; homepage = "https://github.com/apple/swift-docc"; platforms = with lib.platforms; linux ++ darwin; license = lib.licenses.asl20; diff --git a/pkgs/development/compilers/uasm/default.nix b/pkgs/development/compilers/uasm/default.nix index 9fe0e42cb138..ba3e5b03a584 100644 --- a/pkgs/development/compilers/uasm/default.nix +++ b/pkgs/development/compilers/uasm/default.nix @@ -56,6 +56,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.terraspace.co.uk/uasm.html"; description = "A free MASM-compatible assembler based on JWasm"; + mainProgram = "uasm"; platforms = platforms.unix; maintainers = with maintainers; [ thiagokokada ]; license = licenses.watcom; diff --git a/pkgs/development/compilers/urn/default.nix b/pkgs/development/compilers/urn/default.nix index 66f1bda6d5f9..87e28d9672da 100644 --- a/pkgs/development/compilers/urn/default.nix +++ b/pkgs/development/compilers/urn/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://urn-lang.com"; description = "Yet another Lisp variant which compiles to Lua"; + mainProgram = "urn"; license = licenses.bsd3; maintainers = with maintainers; [ CrazedProgrammer ]; platforms = platforms.all; diff --git a/pkgs/development/compilers/urweb/default.nix b/pkgs/development/compilers/urweb/default.nix index b72548e753c3..2621f4bc8050 100644 --- a/pkgs/development/compilers/urweb/default.nix +++ b/pkgs/development/compilers/urweb/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = { description = "Advanced purely-functional web programming language"; + mainProgram = "urweb"; homepage = "http://www.impredicative.com/ur/"; license = lib.licenses.bsd3; platforms = lib.platforms.linux ++ lib.platforms.darwin; diff --git a/pkgs/development/compilers/xa/dxa.nix b/pkgs/development/compilers/xa/dxa.nix index 44e3e8fb9671..5eec63c171d2 100644 --- a/pkgs/development/compilers/xa/dxa.nix +++ b/pkgs/development/compilers/xa/dxa.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://www.floodgap.com/retrotech/xa/"; description = "Andre Fachat's open-source 6502 disassembler"; + mainProgram = "dxa"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ AndersonTorres ]; platforms = with lib.platforms; unix; diff --git a/pkgs/development/compilers/zasm/default.nix b/pkgs/development/compilers/zasm/default.nix index cd15b756b36e..bd98622edf3f 100644 --- a/pkgs/development/compilers/zasm/default.nix +++ b/pkgs/development/compilers/zasm/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Z80 / 8080 / Z180 assembler (for unix-style OS)"; + mainProgram = "zasm"; homepage = "https://k1.spdns.de/Develop/Projects/zasm/Distributions/"; license = licenses.bsd2; maintainers = [ maintainers.turbomack ]; diff --git a/pkgs/development/compilers/zz/default.nix b/pkgs/development/compilers/zz/default.nix index 4ec5131bf74c..ea4e33b8a903 100644 --- a/pkgs/development/compilers/zz/default.nix +++ b/pkgs/development/compilers/zz/default.nix @@ -44,6 +44,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "ZetZ a zymbolic verifier and tranzpiler to bare metal C"; + mainProgram = "zz"; homepage = "https://github.com/zetzit/zz"; license = licenses.mit; maintainers = [ maintainers.marsam ]; diff --git a/pkgs/development/coq-modules/coqide/default.nix b/pkgs/development/coq-modules/coqide/default.nix index a11bfb2c0db7..d2dda145f677 100644 --- a/pkgs/development/coq-modules/coqide/default.nix +++ b/pkgs/development/coq-modules/coqide/default.nix @@ -55,6 +55,7 @@ mkCoqDerivation rec { meta = with lib; { homepage = "https://coq.inria.fr"; description = "The CoqIDE user interface for the Coq proof assistant"; + mainProgram = "coqide"; license = licenses.lgpl21Plus; maintainers = [ maintainers.Zimmi48 ]; }; diff --git a/pkgs/development/embedded/arduino/arduino-ci/default.nix b/pkgs/development/embedded/arduino/arduino-ci/default.nix index fe28a962e102..b711f814fd78 100644 --- a/pkgs/development/embedded/arduino/arduino-ci/default.nix +++ b/pkgs/development/embedded/arduino/arduino-ci/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "CI for Arduino Libraries"; + mainProgram = "arduino-ci"; homepage = src.meta.homepage; license = licenses.mit; maintainers = with maintainers; [ ryantm ]; diff --git a/pkgs/development/embedded/arduino/arduino-cli/default.nix b/pkgs/development/embedded/arduino/arduino-cli/default.nix index 2f0ce3e133ed..0a15a1566fe3 100644 --- a/pkgs/development/embedded/arduino/arduino-cli/default.nix +++ b/pkgs/development/embedded/arduino/arduino-cli/default.nix @@ -65,6 +65,7 @@ let meta = with lib; { inherit (src.meta) homepage; description = "Arduino from the command line"; + mainProgram = "arduino-cli"; changelog = "https://github.com/arduino/arduino-cli/releases/tag/${version}"; license = licenses.gpl3Only; maintainers = with maintainers; [ ryantm ]; diff --git a/pkgs/development/embedded/arduino/arduino-core/default.nix b/pkgs/development/embedded/arduino/arduino-core/default.nix index 91c2792f9be1..e82396669787 100644 --- a/pkgs/development/embedded/arduino/arduino-core/default.nix +++ b/pkgs/development/embedded/arduino/arduino-core/default.nix @@ -242,6 +242,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Open-source electronics prototyping platform"; + mainProgram = "arduino"; homepage = "https://www.arduino.cc/"; license = if withTeensyduino then licenses.unfreeRedistributable else licenses.gpl2; sourceProvenance = with sourceTypes; [ diff --git a/pkgs/development/embedded/arduino/arduino-language-server/default.nix b/pkgs/development/embedded/arduino/arduino-language-server/default.nix index f1d71476a89a..a1d330e4b9a7 100644 --- a/pkgs/development/embedded/arduino/arduino-language-server/default.nix +++ b/pkgs/development/embedded/arduino/arduino-language-server/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "An Arduino Language Server based on Clangd to Arduino code autocompletion"; + mainProgram = "arduino-language-server"; homepage = "https://github.com/arduino/arduino-language-server"; changelog = "https://github.com/arduino/arduino-language-server/releases/tag/${version}"; license = licenses.asl20; diff --git a/pkgs/development/embedded/arduino/arduinoOTA/default.nix b/pkgs/development/embedded/arduino/arduinoOTA/default.nix index 92da1a77f18e..a8e1b481fde1 100644 --- a/pkgs/development/embedded/arduino/arduinoOTA/default.nix +++ b/pkgs/development/embedded/arduino/arduinoOTA/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/arduino/arduinoOTA"; description = "A tool for uploading programs to Arduino boards over a network"; + mainProgram = "arduinoOTA"; license = licenses.gpl3; maintainers = with maintainers; [ poelzi ]; platforms = platforms.all; diff --git a/pkgs/development/embedded/avrdude/default.nix b/pkgs/development/embedded/avrdude/default.nix index 99c798b5c238..3057e2be0936 100644 --- a/pkgs/development/embedded/avrdude/default.nix +++ b/pkgs/development/embedded/avrdude/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Command-line tool for programming Atmel AVR microcontrollers"; + mainProgram = "avrdude"; longDescription = '' AVRDUDE (AVR Downloader/UploaDEr) is an utility to download/upload/manipulate the ROM and EEPROM contents of AVR diff --git a/pkgs/development/embedded/blackmagic/default.nix b/pkgs/development/embedded/blackmagic/default.nix index a422cdc54fc3..893a0c889fad 100644 --- a/pkgs/development/embedded/blackmagic/default.nix +++ b/pkgs/development/embedded/blackmagic/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "In-application debugger for ARM Cortex microcontrollers"; + mainProgram = "blackmagic"; longDescription = '' The Black Magic Probe is a modern, in-application debugging tool for embedded microprocessors. It allows you to see what is going diff --git a/pkgs/development/embedded/cc-tool/default.nix b/pkgs/development/embedded/cc-tool/default.nix index e2a511a0e328..5d8e671b6fcd 100644 --- a/pkgs/development/embedded/cc-tool/default.nix +++ b/pkgs/development/embedded/cc-tool/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Command line tool for the Texas Instruments CC Debugger"; + mainProgram = "cc-tool"; longDescription = '' cc-tool provides support for Texas Instruments CC Debugger ''; diff --git a/pkgs/development/embedded/easypdkprog/default.nix b/pkgs/development/embedded/easypdkprog/default.nix index 92d1a550ea80..28f06db9f35d 100644 --- a/pkgs/development/embedded/easypdkprog/default.nix +++ b/pkgs/development/embedded/easypdkprog/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Read, write and execute programs on PADAUK microcontroller"; + mainProgram = "easypdkprog"; homepage = "https://github.com/free-pdk/easy-pdk-programmer-software"; license = licenses.gpl3Plus; maintainers = with maintainers; [ david-sawatzke ]; diff --git a/pkgs/development/embedded/elf2uf2-rs/default.nix b/pkgs/development/embedded/elf2uf2-rs/default.nix index 0516a71955f0..e02b54a8d12c 100644 --- a/pkgs/development/embedded/elf2uf2-rs/default.nix +++ b/pkgs/development/embedded/elf2uf2-rs/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Convert ELF files to UF2 for USB Flashing Bootloaders"; + mainProgram = "elf2uf2-rs"; homepage = "https://github.com/JoNil/elf2uf2-rs"; license = with licenses; [ bsd0 ]; platforms = platforms.linux ++ platforms.darwin; diff --git a/pkgs/development/embedded/fpga/apio/default.nix b/pkgs/development/embedded/fpga/apio/default.nix index 1ca1e3cd200d..47ff562958ec 100644 --- a/pkgs/development/embedded/fpga/apio/default.nix +++ b/pkgs/development/embedded/fpga/apio/default.nix @@ -73,6 +73,7 @@ buildPythonApplication rec { meta = with lib; { description = "Open source ecosystem for open FPGA boards"; + mainProgram = "apio"; homepage = "https://github.com/FPGAwars/apio"; license = licenses.gpl2Only; maintainers = with maintainers; [ Luflosi ]; diff --git a/pkgs/development/embedded/fpga/ecpdap/default.nix b/pkgs/development/embedded/fpga/ecpdap/default.nix index 799915b1b7f6..b2d0b0e11531 100644 --- a/pkgs/development/embedded/fpga/ecpdap/default.nix +++ b/pkgs/development/embedded/fpga/ecpdap/default.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to program ECP5 FPGAs"; + mainProgram = "ecpdap"; longDescription = '' ECPDAP allows you to program ECP5 FPGAs and attached SPI flash using CMSIS-DAP probes in JTAG mode. diff --git a/pkgs/development/embedded/fpga/fujprog/default.nix b/pkgs/development/embedded/fpga/fujprog/default.nix index db1f42e3a266..69c23f2a71cd 100644 --- a/pkgs/development/embedded/fpga/fujprog/default.nix +++ b/pkgs/development/embedded/fpga/fujprog/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "JTAG programmer for the ULX3S and ULX2S open hardware FPGA development boards"; + mainProgram = "fujprog"; homepage = "https://github.com/kost/fujprog"; license = licenses.bsd2; maintainers = with maintainers; [ trepetti ]; diff --git a/pkgs/development/embedded/fpga/openfpgaloader/default.nix b/pkgs/development/embedded/fpga/openfpgaloader/default.nix index ea0df4fa0419..3ddfd9748645 100644 --- a/pkgs/development/embedded/fpga/openfpgaloader/default.nix +++ b/pkgs/development/embedded/fpga/openfpgaloader/default.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Universal utility for programming FPGAs"; + mainProgram = "openFPGALoader"; homepage = "https://github.com/trabucayre/openFPGALoader"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ danderson ]; diff --git a/pkgs/development/embedded/fpga/tinyprog/default.nix b/pkgs/development/embedded/fpga/tinyprog/default.nix index b242d6ebc1b4..e5a448b6fb3d 100644 --- a/pkgs/development/embedded/fpga/tinyprog/default.nix +++ b/pkgs/development/embedded/fpga/tinyprog/default.nix @@ -33,6 +33,7 @@ with python3Packages; buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/tinyfpga/TinyFPGA-Bootloader/tree/master/programmer"; description = "Programmer for FPGA boards using the TinyFPGA USB Bootloader"; + mainProgram = "tinyprog"; maintainers = with maintainers; [ emily ]; license = licenses.asl20; }; diff --git a/pkgs/development/embedded/jtag-remote-server/default.nix b/pkgs/development/embedded/jtag-remote-server/default.nix index 4a2c9c3df3d2..7f29d1bfbeb9 100644 --- a/pkgs/development/embedded/jtag-remote-server/default.nix +++ b/pkgs/development/embedded/jtag-remote-server/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Remote JTAG server for remote debugging"; + mainProgram = "jtag-remote-server"; homepage = "https://github.com/jiegec/jtag-remote-server"; license = licenses.mit; maintainers = with maintainers; [ nickcao ]; diff --git a/pkgs/development/embedded/nmrpflash/default.nix b/pkgs/development/embedded/nmrpflash/default.nix index 62dea5d4c4d8..08748c325023 100644 --- a/pkgs/development/embedded/nmrpflash/default.nix +++ b/pkgs/development/embedded/nmrpflash/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Netgear Unbrick Utility"; + mainProgram = "nmrpflash"; homepage = "https://github.com/jclehner/nmrpflash"; license = licenses.gpl3; maintainers = with maintainers; [ dadada ]; diff --git a/pkgs/development/embedded/openocd/default.nix b/pkgs/development/embedded/openocd/default.nix index 39e9edc67722..5efd11c65f98 100644 --- a/pkgs/development/embedded/openocd/default.nix +++ b/pkgs/development/embedded/openocd/default.nix @@ -62,6 +62,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing"; + mainProgram = "openocd"; longDescription = '' OpenOCD provides on-chip programming and debugging support with a layered architecture of JTAG interface and TAP support, debug target support diff --git a/pkgs/development/embedded/stm32/stm32flash/default.nix b/pkgs/development/embedded/stm32/stm32flash/default.nix index d6e8d4598960..fd9703fed4cf 100644 --- a/pkgs/development/embedded/stm32/stm32flash/default.nix +++ b/pkgs/development/embedded/stm32/stm32flash/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Open source flash program for the STM32 ARM processors using the ST bootloader"; + mainProgram = "stm32flash"; homepage = "https://sourceforge.net/projects/stm32flash/"; license = lib.licenses.gpl2; platforms = platforms.all; # Should work on all platforms diff --git a/pkgs/development/embedded/stm8/stm8flash/default.nix b/pkgs/development/embedded/stm8/stm8flash/default.nix index 1584ee7fdf07..c2bab12246b2 100644 --- a/pkgs/development/embedded/stm8/stm8flash/default.nix +++ b/pkgs/development/embedded/stm8/stm8flash/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/vdudouyt/stm8flash"; description = "A tool for flashing STM8 MCUs via ST-LINK (V1 and V2)"; + mainProgram = "stm8flash"; maintainers = with maintainers; [ pkharvey ]; license = licenses.gpl2; platforms = platforms.all; diff --git a/pkgs/development/embedded/svdtools/default.nix b/pkgs/development/embedded/svdtools/default.nix index 829e9019639e..204d40c63e42 100644 --- a/pkgs/development/embedded/svdtools/default.nix +++ b/pkgs/development/embedded/svdtools/default.nix @@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Tools to handle vendor-supplied, often buggy SVD files"; + mainProgram = "svdtools"; homepage = "https://github.com/stm32-rs/svdtools"; changelog = "https://github.com/stm32-rs/svdtools/blob/v${version}/CHANGELOG-rust.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/embedded/teensy-loader-cli/default.nix b/pkgs/development/embedded/teensy-loader-cli/default.nix index e8445a9955f2..cd318d7a1ca5 100644 --- a/pkgs/development/embedded/teensy-loader-cli/default.nix +++ b/pkgs/development/embedded/teensy-loader-cli/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Firmware uploader for the Teensy microcontroller boards"; + mainProgram = "teensy-loader-cli"; homepage = "https://www.pjrc.com/teensy/"; license = licenses.gpl3Only; platforms = platforms.unix; diff --git a/pkgs/development/embedded/uisp/default.nix b/pkgs/development/embedded/uisp/default.nix index 0ae31bc24fb2..d086781fb1c4 100644 --- a/pkgs/development/embedded/uisp/default.nix +++ b/pkgs/development/embedded/uisp/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation rec { meta = { description = "Tool for AVR microcontrollers which can interface to many hardware in-system programmers"; + mainProgram = "uisp"; license = lib.licenses.gpl2; homepage = "https://savannah.nongnu.org/projects/uisp"; platforms = lib.platforms.linux; diff --git a/pkgs/development/embedded/wch-isp/default.nix b/pkgs/development/embedded/wch-isp/default.nix index 87f241813e03..c577779772e5 100644 --- a/pkgs/development/embedded/wch-isp/default.nix +++ b/pkgs/development/embedded/wch-isp/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = { description = "Firmware programmer for WCH microcontrollers over USB"; + mainProgram = "wch-isp"; license = lib.licenses.gpl2Only; homepage = "https://github.com/jmaselbas/wch-isp"; maintainers = with lib.maintainers; [ lesuisse ]; diff --git a/pkgs/development/gnuradio-modules/ais/default.nix b/pkgs/development/gnuradio-modules/ais/default.nix index 1376fbe657a8..8155f39ee689 100644 --- a/pkgs/development/gnuradio-modules/ais/default.nix +++ b/pkgs/development/gnuradio-modules/ais/default.nix @@ -53,6 +53,7 @@ mkDerivation rec { meta = with lib; { description = "Gnuradio block for ais"; + mainProgram = "ais_rx"; homepage = "https://github.com/bistromath/gr-ais"; license = licenses.gpl3Plus; platforms = platforms.unix; diff --git a/pkgs/development/guile-modules/guile-ncurses/default.nix b/pkgs/development/guile-modules/guile-ncurses/default.nix index a355ed44777a..e20da1d9f98c 100644 --- a/pkgs/development/guile-modules/guile-ncurses/default.nix +++ b/pkgs/development/guile-modules/guile-ncurses/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.gnu.org/software/guile-ncurses/"; description = "Scheme interface to the NCurses libraries"; + mainProgram = "guile-ncurses-shell"; longDescription = '' GNU Guile-Ncurses is a library for the Guile Scheme interpreter that provides functions for creating text user interfaces. The text user diff --git a/pkgs/development/interpreters/acl2/default.nix b/pkgs/development/interpreters/acl2/default.nix index bf37d19cd8c4..bbb02e2fabc9 100644 --- a/pkgs/development/interpreters/acl2/default.nix +++ b/pkgs/development/interpreters/acl2/default.nix @@ -113,6 +113,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "An interpreter and a prover for a Lisp dialect"; + mainProgram = "acl2"; longDescription = '' ACL2 is a logic and programming language in which you can model computer systems, together with a tool to help you prove properties of those diff --git a/pkgs/development/interpreters/bats/default.nix b/pkgs/development/interpreters/bats/default.nix index afffef1d1f68..000c6045922c 100644 --- a/pkgs/development/interpreters/bats/default.nix +++ b/pkgs/development/interpreters/bats/default.nix @@ -210,6 +210,7 @@ resholve.mkDerivation rec { meta = with lib; { homepage = "https://github.com/bats-core/bats-core"; description = "Bash Automated Testing System"; + mainProgram = "bats"; maintainers = with maintainers; [ abathur ]; license = licenses.mit; platforms = platforms.unix; diff --git a/pkgs/development/interpreters/bic/default.nix b/pkgs/development/interpreters/bic/default.nix index 31b539a3ff3e..52dc7ac31c53 100644 --- a/pkgs/development/interpreters/bic/default.nix +++ b/pkgs/development/interpreters/bic/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A C interpreter and API explorer"; + mainProgram = "bic"; longDescription = '' bic This a project that allows developers to explore and test C-APIs using a read eval print loop, also known as a REPL. diff --git a/pkgs/development/interpreters/boron/default.nix b/pkgs/development/interpreters/boron/default.nix index e40ca2b5b4dc..541c3525b660 100644 --- a/pkgs/development/interpreters/boron/default.nix +++ b/pkgs/development/interpreters/boron/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://urlan.sourceforge.net/boron/"; description = "Scripting language and C library useful for building DSLs"; + mainProgram = "boron"; license = licenses.lgpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ mausch ]; diff --git a/pkgs/development/interpreters/bwbasic/default.nix b/pkgs/development/interpreters/bwbasic/default.nix index 4fec1cc7b3e4..a99570888991 100644 --- a/pkgs/development/interpreters/bwbasic/default.nix +++ b/pkgs/development/interpreters/bwbasic/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Bywater BASIC Interpreter"; + mainProgram = "bwbasic"; license = licenses.gpl2Only; maintainers = with maintainers; [ irenes ]; platforms = platforms.all; diff --git a/pkgs/development/interpreters/cel-go/default.nix b/pkgs/development/interpreters/cel-go/default.nix index 3943f89b423c..ad95711e6dfa 100644 --- a/pkgs/development/interpreters/cel-go/default.nix +++ b/pkgs/development/interpreters/cel-go/default.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "Fast, portable, non-Turing complete expression evaluation with gradual typing"; + mainProgram = "cel-go"; homepage = "https://github.com/google/cel-go"; changelog = "https://github.com/google/cel-go/releases/tag/${src.rev}"; license = licenses.asl20; diff --git a/pkgs/development/interpreters/ceptre/default.nix b/pkgs/development/interpreters/ceptre/default.nix index 9771a8f72d2a..28be28f68be6 100644 --- a/pkgs/development/interpreters/ceptre/default.nix +++ b/pkgs/development/interpreters/ceptre/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A linear logic programming language for modeling generative interactive systems"; + mainProgram = "ceptre"; homepage = "https://github.com/chrisamaphone/interactive-lp"; maintainers = with maintainers; [ pSub ]; platforms = platforms.unix; diff --git a/pkgs/development/interpreters/cling/default.nix b/pkgs/development/interpreters/cling/default.nix index f59c1910a6ff..ed204c8863f6 100644 --- a/pkgs/development/interpreters/cling/default.nix +++ b/pkgs/development/interpreters/cling/default.nix @@ -116,6 +116,7 @@ let meta = with lib; { description = "The Interactive C++ Interpreter"; + mainProgram = "cling"; homepage = "https://root.cern/cling/"; license = with licenses; [ lgpl21 ncsa ]; maintainers = with maintainers; [ thomasjm ]; diff --git a/pkgs/development/interpreters/clips/default.nix b/pkgs/development/interpreters/clips/default.nix index 2edeaf9e4e87..e79f4a92481f 100644 --- a/pkgs/development/interpreters/clips/default.nix +++ b/pkgs/development/interpreters/clips/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Tool for Building Expert Systems"; + mainProgram = "clips"; homepage = "http://www.clipsrules.net/"; longDescription = '' Developed at NASA's Johnson Space Center from 1985 to 1996, diff --git a/pkgs/development/interpreters/clojure/clooj.nix b/pkgs/development/interpreters/clojure/clooj.nix index 0e8391d5a686..9b93a478aa68 100644 --- a/pkgs/development/interpreters/clojure/clooj.nix +++ b/pkgs/development/interpreters/clojure/clooj.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = { description = "A lightweight IDE for Clojure"; + mainProgram = "clooj"; homepage = "https://github.com/arthuredelstein/clooj"; sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; license = lib.licenses.bsd3; diff --git a/pkgs/development/interpreters/cyber/default.nix b/pkgs/development/interpreters/cyber/default.nix index d71ec5648100..710ec991edd0 100644 --- a/pkgs/development/interpreters/cyber/default.nix +++ b/pkgs/development/interpreters/cyber/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A fast, efficient, and concurrent scripting language"; + mainProgram = "cyber"; homepage = "https://github.com/fubark/cyber"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/interpreters/eff/default.nix b/pkgs/development/interpreters/eff/default.nix index a4565a1b8944..3ef2831a72e8 100644 --- a/pkgs/development/interpreters/eff/default.nix +++ b/pkgs/development/interpreters/eff/default.nix @@ -20,6 +20,7 @@ with ocamlPackages; buildDunePackage rec { meta = with lib; { homepage = "https://www.eff-lang.org"; description = "A functional programming language based on algebraic effects and their handlers"; + mainProgram = "eff"; longDescription = '' Eff is a functional language with handlers of not only exceptions, but also of other computational effects such as state or I/O. With diff --git a/pkgs/development/interpreters/emilua/default.nix b/pkgs/development/interpreters/emilua/default.nix index c44621d661b1..03ba8d81cfcd 100644 --- a/pkgs/development/interpreters/emilua/default.nix +++ b/pkgs/development/interpreters/emilua/default.nix @@ -95,6 +95,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Lua execution engine"; + mainProgram = "emilua"; homepage = "https://emilua.org/"; license = licenses.boost; maintainers = with maintainers; [ manipuladordedados ]; diff --git a/pkgs/development/interpreters/gpython/default.nix b/pkgs/development/interpreters/gpython/default.nix index 8bb432e839ea..b0aae579bf2b 100644 --- a/pkgs/development/interpreters/gpython/default.nix +++ b/pkgs/development/interpreters/gpython/default.nix @@ -39,6 +39,7 @@ buildGoModule rec { meta = with lib; { description = "A Python interpreter written in Go"; + mainProgram = "gpython"; homepage = "https://github.com/go-python/gpython"; changelog = "https://github.com/go-python/gpython/releases/tag/${src.rev}"; license = licenses.bsd3; diff --git a/pkgs/development/interpreters/hashlink/default.nix b/pkgs/development/interpreters/hashlink/default.nix index dc5f153c5ee1..880e480a1f85 100644 --- a/pkgs/development/interpreters/hashlink/default.nix +++ b/pkgs/development/interpreters/hashlink/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A virtual machine for Haxe"; + mainProgram = "hl"; homepage = "https://hashlink.haxe.org/"; license = licenses.mit; platforms = [ "x86_64-linux" "x86_64-darwin" ]; diff --git a/pkgs/development/interpreters/ivy/default.nix b/pkgs/development/interpreters/ivy/default.nix index 171b739bddff..eed0913c36ba 100644 --- a/pkgs/development/interpreters/ivy/default.nix +++ b/pkgs/development/interpreters/ivy/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/robpike/ivy"; description = "ivy, an APL-like calculator"; + mainProgram = "ivy"; license = licenses.bsd3; maintainers = with maintainers; [ smasher164 ]; }; diff --git a/pkgs/development/interpreters/janet/default.nix b/pkgs/development/interpreters/janet/default.nix index 8fd424ce153b..7456619a9ae8 100644 --- a/pkgs/development/interpreters/janet/default.nix +++ b/pkgs/development/interpreters/janet/default.nix @@ -57,6 +57,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Janet programming language"; + mainProgram = "janet"; homepage = "https://janet-lang.org/"; license = licenses.mit; maintainers = with maintainers; [ andrewchambers peterhoeg ]; diff --git a/pkgs/development/interpreters/janet/jpm.nix b/pkgs/development/interpreters/janet/jpm.nix index 050a035e0666..31ed1e2fc1ff 100644 --- a/pkgs/development/interpreters/janet/jpm.nix +++ b/pkgs/development/interpreters/janet/jpm.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation rec { meta = janet.meta // { description = "Janet Project Manager for the Janet programming language"; + mainProgram = "jpm"; platforms = lib.attrNames platformFiles; }; } diff --git a/pkgs/development/interpreters/jelly/default.nix b/pkgs/development/interpreters/jelly/default.nix index 46c27e91a02a..6f97b58dc636 100644 --- a/pkgs/development/interpreters/jelly/default.nix +++ b/pkgs/development/interpreters/jelly/default.nix @@ -20,6 +20,7 @@ python3Packages.buildPythonApplication { meta = with lib; { description = "A recreational programming language inspired by J"; + mainProgram = "jelly"; homepage = "https://github.com/DennisMitchell/jellylanguage"; license = licenses.mit; maintainers = [ maintainers.tckmn ]; diff --git a/pkgs/development/interpreters/joker/default.nix b/pkgs/development/interpreters/joker/default.nix index 281e2c1310b1..6af8fc10160e 100644 --- a/pkgs/development/interpreters/joker/default.nix +++ b/pkgs/development/interpreters/joker/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/candid82/joker"; description = "A small Clojure interpreter and linter written in Go"; + mainProgram = "joker"; license = licenses.epl10; maintainers = with maintainers; [ andrestylianos ]; }; diff --git a/pkgs/development/interpreters/jython/default.nix b/pkgs/development/interpreters/jython/default.nix index 341dccb263c2..157ad76e6f8a 100644 --- a/pkgs/development/interpreters/jython/default.nix +++ b/pkgs/development/interpreters/jython/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = { description = "Python interpreter written in Java"; + mainProgram = "jython"; homepage = "https://jython.org/"; sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; license = lib.licenses.psfl; diff --git a/pkgs/development/interpreters/kamilalisp/default.nix b/pkgs/development/interpreters/kamilalisp/default.nix index e0554e10b421..7638b8f932e7 100644 --- a/pkgs/development/interpreters/kamilalisp/default.nix +++ b/pkgs/development/interpreters/kamilalisp/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://github.com/kspalaiologos/kamilalisp"; description = "A functional, flexible, and concise Lisp"; + mainProgram = "kamilalisp"; license = lib.licenses.gpl3Plus; inherit (jre.meta) platforms; maintainers = with lib.maintainers; [ cafkafk ]; diff --git a/pkgs/development/interpreters/kerf/default.nix b/pkgs/development/interpreters/kerf/default.nix index 99d9bb8710e4..d019743bfb4d 100644 --- a/pkgs/development/interpreters/kerf/default.nix +++ b/pkgs/development/interpreters/kerf/default.nix @@ -74,6 +74,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Columnar tick database and time-series language"; + mainProgram = "kerf"; longDescription = '' Kerf is a columnar tick database and small programming language that is a superset of JSON and SQL. It can be diff --git a/pkgs/development/interpreters/love/0.10.nix b/pkgs/development/interpreters/love/0.10.nix index 53c7b5e9435e..7dc82ce3248a 100644 --- a/pkgs/development/interpreters/love/0.10.nix +++ b/pkgs/development/interpreters/love/0.10.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://love2d.org"; description = "A Lua-based 2D game engine/scripting language"; + mainProgram = "love"; license = lib.licenses.zlib; platforms = lib.platforms.linux; maintainers = [ lib.maintainers.raskin ]; diff --git a/pkgs/development/interpreters/love/11.nix b/pkgs/development/interpreters/love/11.nix index 177c3f46086a..93f5d5792ecc 100644 --- a/pkgs/development/interpreters/love/11.nix +++ b/pkgs/development/interpreters/love/11.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://love2d.org"; description = "A Lua-based 2D game engine/scripting language"; + mainProgram = "love"; license = lib.licenses.zlib; platforms = lib.platforms.linux; maintainers = [ lib.maintainers.raskin ]; diff --git a/pkgs/development/interpreters/lune/default.nix b/pkgs/development/interpreters/lune/default.nix index 6622c572692a..956fe3da666c 100644 --- a/pkgs/development/interpreters/lune/default.nix +++ b/pkgs/development/interpreters/lune/default.nix @@ -55,6 +55,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A standalone Luau script runtime"; + mainProgram = "lune"; homepage = "https://github.com/lune-org/lune"; changelog = "https://github.com/lune-org/lune/blob/${src.rev}/CHANGELOG.md"; license = licenses.mpl20; diff --git a/pkgs/development/interpreters/maude/default.nix b/pkgs/development/interpreters/maude/default.nix index 9ec93157c49a..f8d4e98c90b2 100644 --- a/pkgs/development/interpreters/maude/default.nix +++ b/pkgs/development/interpreters/maude/default.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation { meta = { homepage = "http://maude.cs.illinois.edu/"; description = "High-level specification language"; + mainProgram = "maude"; license = lib.licenses.gpl2Plus; longDescription = '' diff --git a/pkgs/development/interpreters/metamath/default.nix b/pkgs/development/interpreters/metamath/default.nix index c9a490ddc4e3..3d36b8501f10 100644 --- a/pkgs/development/interpreters/metamath/default.nix +++ b/pkgs/development/interpreters/metamath/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Interpreter for the metamath proof language"; + mainProgram = "metamath"; longDescription = '' The metamath program is an ASCII-based ANSI C program with a command-line interface. It was used (along with mmj2) to build and verify the proofs diff --git a/pkgs/development/interpreters/oak/default.nix b/pkgs/development/interpreters/oak/default.nix index 734576d862b0..3e5d952a1d49 100644 --- a/pkgs/development/interpreters/oak/default.nix +++ b/pkgs/development/interpreters/oak/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Expressive, simple, dynamic programming language"; + mainProgram = "oak"; homepage = "https://oaklang.org/"; license = licenses.mit; maintainers = with maintainers; [ tejasag ]; diff --git a/pkgs/development/interpreters/picoc/default.nix b/pkgs/development/interpreters/picoc/default.nix index e6e87f2b8a7b..51bf82aafbbe 100644 --- a/pkgs/development/interpreters/picoc/default.nix +++ b/pkgs/development/interpreters/picoc/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { broken = (stdenv.isLinux && stdenv.isAarch64); description = "Very small C interpreter for scripting"; + mainProgram = "picoc"; longDescription = '' PicoC is a very small C interpreter for scripting. It was originally written as a script language for a UAV's on-board flight system. It's diff --git a/pkgs/development/interpreters/python/pypy/default.nix b/pkgs/development/interpreters/python/pypy/default.nix index c64c65df350e..9b414944bba5 100644 --- a/pkgs/development/interpreters/python/pypy/default.nix +++ b/pkgs/development/interpreters/python/pypy/default.nix @@ -201,6 +201,7 @@ in with passthru; stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.pypy.org/"; description = "Fast, compliant alternative implementation of the Python language (${pythonVersion})"; + mainProgram = "pypy"; license = licenses.mit; platforms = [ "aarch64-linux" "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ]; broken = optimizationLevel == "0"; # generates invalid code diff --git a/pkgs/development/interpreters/qnial/default.nix b/pkgs/development/interpreters/qnial/default.nix index ae68c1ad6af3..e90c268719d5 100644 --- a/pkgs/development/interpreters/qnial/default.nix +++ b/pkgs/development/interpreters/qnial/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation { meta = { description = "An array language from Nial Systems"; + mainProgram = "nial"; homepage = "https://github.com/vrthra/qnial"; license = lib.licenses.artistic1; maintainers = [ lib.maintainers.vrthra ]; diff --git a/pkgs/development/interpreters/rascal/default.nix b/pkgs/development/interpreters/rascal/default.nix index 409a34d8cfe6..50bfb7e54d63 100644 --- a/pkgs/development/interpreters/rascal/default.nix +++ b/pkgs/development/interpreters/rascal/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://www.rascal-mpl.org/"; description = "Command-line REPL for the Rascal metaprogramming language"; + mainProgram = "rascal"; sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; license = lib.licenses.epl10; maintainers = [ lib.maintainers.eelco ]; diff --git a/pkgs/development/interpreters/red/default.nix b/pkgs/development/interpreters/red/default.nix index 6689f7eb5c3c..676ecb721cc4 100644 --- a/pkgs/development/interpreters/red/default.nix +++ b/pkgs/development/interpreters/red/default.nix @@ -84,6 +84,7 @@ stdenv.mkDerivation rec { programming to high-level scripting, while providing modern support for concurrency and multi-core CPUs ''; + mainProgram = "red"; maintainers = with maintainers; [ uralbash ]; platforms = [ "i686-linux" "x86_64-linux" ]; license = licenses.bsd3; diff --git a/pkgs/development/interpreters/renpy/default.nix b/pkgs/development/interpreters/renpy/default.nix index d094018bad46..45a3630f7c57 100644 --- a/pkgs/development/interpreters/renpy/default.nix +++ b/pkgs/development/interpreters/renpy/default.nix @@ -81,6 +81,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Visual Novel Engine"; + mainProgram = "renpy"; homepage = "https://renpy.org/"; changelog = "https://renpy.org/doc/html/changelog.html"; license = licenses.mit; diff --git a/pkgs/development/interpreters/risor/default.nix b/pkgs/development/interpreters/risor/default.nix index 22bbe5b9c73b..86c55107a44b 100644 --- a/pkgs/development/interpreters/risor/default.nix +++ b/pkgs/development/interpreters/risor/default.nix @@ -38,6 +38,7 @@ buildGoModule rec { meta = with lib; { description = "Fast and flexible scripting for Go developers and DevOps"; + mainProgram = "risor"; homepage = "https://github.com/risor-io/risor"; changelog = "https://github.com/risor-io/risor/releases/tag/${src.rev}"; license = licenses.asl20; diff --git a/pkgs/development/interpreters/rlci/default.nix b/pkgs/development/interpreters/rlci/default.nix index ce8e0a9ee8f2..6c766c9d0037 100644 --- a/pkgs/development/interpreters/rlci/default.nix +++ b/pkgs/development/interpreters/rlci/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A lambda calculus interpreter"; + mainProgram = "rlci"; homepage = "https://github.com/orsinium-labs/rlci"; changelog = "https://github.com/orsinium-labs/rlci/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/development/interpreters/sollya/default.nix b/pkgs/development/interpreters/sollya/default.nix index 78b45daf178d..69ec182f61f3 100644 --- a/pkgs/development/interpreters/sollya/default.nix +++ b/pkgs/development/interpreters/sollya/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A tool environment for safe floating-point code development"; + mainProgram = "sollya"; homepage = "https://www.sollya.org/"; license = licenses.cecill-c; platforms = platforms.unix; diff --git a/pkgs/development/interpreters/wasmer/default.nix b/pkgs/development/interpreters/wasmer/default.nix index 0a5e888b06cd..e69e04f06df3 100644 --- a/pkgs/development/interpreters/wasmer/default.nix +++ b/pkgs/development/interpreters/wasmer/default.nix @@ -59,6 +59,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "The Universal WebAssembly Runtime"; + mainProgram = "wasmer"; longDescription = '' Wasmer is a standalone WebAssembly runtime for running WebAssembly outside of the browser, supporting WASI and Emscripten. Wasmer can be used diff --git a/pkgs/development/interpreters/wavm/default.nix b/pkgs/development/interpreters/wavm/default.nix index c4d4c4f5f2d2..feedb88acaa3 100644 --- a/pkgs/development/interpreters/wavm/default.nix +++ b/pkgs/development/interpreters/wavm/default.nix @@ -19,6 +19,7 @@ llvmPackages.stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "WebAssembly Virtual Machine"; + mainProgram = "wavm"; homepage = "https://wavm.github.io"; license = licenses.bsd3; maintainers = with maintainers; [ ereslibre ]; diff --git a/pkgs/development/interpreters/yabasic/default.nix b/pkgs/development/interpreters/yabasic/default.nix index ee4cb47b6829..4a63f152a623 100644 --- a/pkgs/development/interpreters/yabasic/default.nix +++ b/pkgs/development/interpreters/yabasic/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "http://2484.de/yabasic/"; description = "Yet another BASIC"; + mainProgram = "yabasic"; longDescription = '' Yabasic is a traditional basic-interpreter. It comes with goto and various loops and allows to define subroutines and libraries. It does simple diff --git a/pkgs/development/interpreters/yaegi/default.nix b/pkgs/development/interpreters/yaegi/default.nix index 5a9e6949d4c6..b3453e564efb 100644 --- a/pkgs/development/interpreters/yaegi/default.nix +++ b/pkgs/development/interpreters/yaegi/default.nix @@ -37,6 +37,7 @@ buildGoModule rec { meta = with lib; { description = "A Go interpreter"; + mainProgram = "yaegi"; homepage = "https://github.com/traefik/yaegi"; changelog = "https://github.com/traefik/yaegi/releases/tag/${src.rev}"; license = licenses.asl20; diff --git a/pkgs/development/interpreters/zuo/default.nix b/pkgs/development/interpreters/zuo/default.nix index b4527a37686a..963abaa492e1 100644 --- a/pkgs/development/interpreters/zuo/default.nix +++ b/pkgs/development/interpreters/zuo/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Tiny Racket for Scripting"; + mainProgram = "zuo"; homepage = "https://github.com/racket/zuo"; license = licenses.mit; platforms = platforms.all; diff --git a/pkgs/development/libraries/SDL/default.nix b/pkgs/development/libraries/SDL/default.nix index fa816c0add0f..a791d94a2c03 100644 --- a/pkgs/development/libraries/SDL/default.nix +++ b/pkgs/development/libraries/SDL/default.nix @@ -127,6 +127,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A cross-platform multimedia library"; + mainProgram = "sdl-config"; homepage = "http://www.libsdl.org/"; maintainers = with maintainers; [ lovek323 ]; platforms = platforms.unix; diff --git a/pkgs/development/libraries/SDL2/default.nix b/pkgs/development/libraries/SDL2/default.nix index a69b8216124a..838bb9ecdbe5 100644 --- a/pkgs/development/libraries/SDL2/default.nix +++ b/pkgs/development/libraries/SDL2/default.nix @@ -180,6 +180,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A cross-platform multimedia library"; + mainProgram = "sdl2-config"; homepage = "http://www.libsdl.org/"; changelog = "https://github.com/libsdl-org/SDL/releases/tag/release-${version}"; license = licenses.zlib; diff --git a/pkgs/development/libraries/SDL2_sound/default.nix b/pkgs/development/libraries/SDL2_sound/default.nix index 3a2d05c31a10..056991c9aca4 100644 --- a/pkgs/development/libraries/SDL2_sound/default.nix +++ b/pkgs/development/libraries/SDL2_sound/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "SDL2 sound library"; + mainProgram = "playsound"; platforms = platforms.unix; license = licenses.zlib; homepage = "https://www.icculus.org/SDL_sound/"; diff --git a/pkgs/development/libraries/SDL_compat/default.nix b/pkgs/development/libraries/SDL_compat/default.nix index 3f3521de60a1..f7d997cd52e5 100644 --- a/pkgs/development/libraries/SDL_compat/default.nix +++ b/pkgs/development/libraries/SDL_compat/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A cross-platform multimedia library - build SDL 1.2 applications against 2.0"; + mainProgram = "sdl-config"; homepage = "https://www.libsdl.org/"; license = licenses.zlib; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/development/libraries/SDL_sixel/default.nix b/pkgs/development/libraries/SDL_sixel/default.nix index 1bc4c8ba35c0..189fdee05b26 100644 --- a/pkgs/development/libraries/SDL_sixel/default.nix +++ b/pkgs/development/libraries/SDL_sixel/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A cross-platform multimedia library, that supports sixel graphics on consoles"; + mainProgram = "sdl-config"; homepage = "https://github.com/saitoha/SDL1.2-SIXEL"; maintainers = with maintainers; [ vrthra ]; platforms = platforms.linux; diff --git a/pkgs/development/libraries/accounts-qt/default.nix b/pkgs/development/libraries/accounts-qt/default.nix index 7d2617a6ee60..8a11d3375491 100644 --- a/pkgs/development/libraries/accounts-qt/default.nix +++ b/pkgs/development/libraries/accounts-qt/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Qt library for accessing the online accounts database"; + mainProgram = "accountstest"; homepage = "https://gitlab.com/accounts-sso"; license = licenses.lgpl21; platforms = platforms.linux; diff --git a/pkgs/development/libraries/ace/default.nix b/pkgs/development/libraries/ace/default.nix index bae0401a781a..01041c858623 100644 --- a/pkgs/development/libraries/ace/default.nix +++ b/pkgs/development/libraries/ace/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.dre.vanderbilt.edu/~schmidt/ACE.html"; description = "ADAPTIVE Communication Environment"; + mainProgram = "ace_gperf"; license = licenses.doc; maintainers = with maintainers; [ nico202 ]; platforms = platforms.linux; diff --git a/pkgs/development/libraries/alkimia/default.nix b/pkgs/development/libraries/alkimia/default.nix index b6fb92ae62dd..d5c89209ce5d 100644 --- a/pkgs/development/libraries/alkimia/default.nix +++ b/pkgs/development/libraries/alkimia/default.nix @@ -22,6 +22,7 @@ mkDerivation rec { meta = { description = "Library used by KDE finance applications"; + mainProgram = "onlinequoteseditor5"; longDescription = '' Alkimia is the infrastructure for common storage and business logic that will be used by all financial applications in KDE. diff --git a/pkgs/development/libraries/apr-util/default.nix b/pkgs/development/libraries/apr-util/default.nix index a1cbbc5e6642..bd32ad45c47b 100644 --- a/pkgs/development/libraries/apr-util/default.nix +++ b/pkgs/development/libraries/apr-util/default.nix @@ -82,6 +82,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://apr.apache.org/"; description = "A companion library to APR, the Apache Portable Runtime"; + mainProgram = "apu-1-config"; maintainers = [ maintainers.eelco ]; platforms = platforms.unix; license = licenses.asl20; diff --git a/pkgs/development/libraries/apr/default.nix b/pkgs/development/libraries/apr/default.nix index b0809829c541..6428489173da 100644 --- a/pkgs/development/libraries/apr/default.nix +++ b/pkgs/development/libraries/apr/default.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://apr.apache.org/"; description = "The Apache Portable Runtime library"; + mainProgram = "apr-1-config"; platforms = platforms.all; license = licenses.asl20; maintainers = [ maintainers.eelco ]; diff --git a/pkgs/development/libraries/aptdec/default.nix b/pkgs/development/libraries/aptdec/default.nix index f969f0d66ada..2c3c9b3bdfd7 100644 --- a/pkgs/development/libraries/aptdec/default.nix +++ b/pkgs/development/libraries/aptdec/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "NOAA APT satellite imagery decoding library"; + mainProgram = "aptdec"; homepage = "https://github.com/Xerbo/aptdec"; license = licenses.gpl2; maintainers = with maintainers; [ alexwinter ]; diff --git a/pkgs/development/libraries/assimp/default.nix b/pkgs/development/libraries/assimp/default.nix index ec2d5561570e..654935391602 100644 --- a/pkgs/development/libraries/assimp/default.nix +++ b/pkgs/development/libraries/assimp/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A library to import various 3D model formats"; + mainProgram = "assimp"; homepage = "https://www.assimp.org/"; license = licenses.bsd3; maintainers = with maintainers; [ ehmry ]; diff --git a/pkgs/development/libraries/audiality2/default.nix b/pkgs/development/libraries/audiality2/default.nix index 11625bc64f79..c189cd7e1ea4 100644 --- a/pkgs/development/libraries/audiality2/default.nix +++ b/pkgs/development/libraries/audiality2/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A realtime scripted modular audio engine for video games and musical applications"; + mainProgram = "a2play"; homepage = "http://audiality.org"; license = licenses.zlib; platforms = platforms.all; diff --git a/pkgs/development/libraries/audio/cubeb/default.nix b/pkgs/development/libraries/audio/cubeb/default.nix index baad8a1efd64..dd7033b1910e 100644 --- a/pkgs/development/libraries/audio/cubeb/default.nix +++ b/pkgs/development/libraries/audio/cubeb/default.nix @@ -60,6 +60,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "Cross platform audio library"; + mainProgram = "cubeb-test"; homepage = "https://github.com/mozilla/cubeb"; license = licenses.isc; platforms = platforms.linux ++ platforms.darwin; diff --git a/pkgs/development/libraries/audio/libopenmpt/default.nix b/pkgs/development/libraries/audio/libopenmpt/default.nix index 658d686538b8..cb515ebde884 100644 --- a/pkgs/development/libraries/audio/libopenmpt/default.nix +++ b/pkgs/development/libraries/audio/libopenmpt/default.nix @@ -57,6 +57,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Cross-platform C++ and C library to decode tracked music files into a raw PCM audio stream"; + mainProgram = "openmpt123"; longDescription = '' libopenmpt is a cross-platform C++ and C library to decode tracked music files (modules) into a raw PCM audio stream. openmpt123 is a cross-platform command-line or terminal based module file player. diff --git a/pkgs/development/libraries/audio/lv2/default.nix b/pkgs/development/libraries/audio/lv2/default.nix index d0f85c95a077..473b246f3f9d 100644 --- a/pkgs/development/libraries/audio/lv2/default.nix +++ b/pkgs/development/libraries/audio/lv2/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://lv2plug.in"; description = "A plugin standard for audio systems"; + mainProgram = "lv2_validate"; license = licenses.mit; maintainers = with maintainers; [ goibhniu ]; platforms = platforms.unix; diff --git a/pkgs/development/libraries/audio/lvtk/default.nix b/pkgs/development/libraries/audio/lvtk/default.nix index 9822640f8d67..b1a6adaaeca2 100644 --- a/pkgs/development/libraries/audio/lvtk/default.nix +++ b/pkgs/development/libraries/audio/lvtk/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A set C++ wrappers around the LV2 C API"; + mainProgram = "ttl2c"; homepage = "https://lvtk.org/"; license = licenses.gpl3; maintainers = [ maintainers.goibhniu ]; diff --git a/pkgs/development/libraries/avro-c++/default.nix b/pkgs/development/libraries/avro-c++/default.nix index 57070c8f442e..d0d899fe9935 100644 --- a/pkgs/development/libraries/avro-c++/default.nix +++ b/pkgs/development/libraries/avro-c++/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = { description = "A C++ library which implements parts of the Avro Specification"; + mainProgram = "avrogencpp"; homepage = "https://avro.apache.org/"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ rasendubi ]; diff --git a/pkgs/development/libraries/babl/default.nix b/pkgs/development/libraries/babl/default.nix index 12dcbd12b9dd..b3ec8194c92a 100644 --- a/pkgs/development/libraries/babl/default.nix +++ b/pkgs/development/libraries/babl/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Image pixel format conversion library"; + mainProgram = "babl"; homepage = "https://gegl.org/babl/"; changelog = "https://gitlab.gnome.org/GNOME/babl/-/blob/BABL_${lib.replaceStrings [ "." ] [ "_" ] version}/NEWS"; license = licenses.lgpl3Plus; diff --git a/pkgs/development/libraries/bashup-events/generic.nix b/pkgs/development/libraries/bashup-events/generic.nix index f8a17f3bb11e..c3e2269a8a12 100644 --- a/pkgs/development/libraries/bashup-events/generic.nix +++ b/pkgs/development/libraries/bashup-events/generic.nix @@ -78,6 +78,7 @@ resholve.mkDerivation rec { meta = with lib; { inherit branch; description = "An event listener/callback API for creating extensible bash programs"; + mainProgram = "bashup.events"; homepage = "https://github.com/bashup/events"; license = licenses.cc0; maintainers = with maintainers; [ abathur ]; diff --git a/pkgs/development/libraries/basu/default.nix b/pkgs/development/libraries/basu/default.nix index 25e5adf65771..4665c4c2d158 100644 --- a/pkgs/development/libraries/basu/default.nix +++ b/pkgs/development/libraries/basu/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://sr.ht/~emersion/basu"; description = "The sd-bus library, extracted from systemd"; + mainProgram = "basuctl"; license = lib.licenses.lgpl21Only; maintainers = with lib.maintainers; [ AndersonTorres ]; platforms = lib.platforms.linux; diff --git a/pkgs/development/libraries/bctoolbox/default.nix b/pkgs/development/libraries/bctoolbox/default.nix index e473fa97a0ea..1da254093b1b 100644 --- a/pkgs/development/libraries/bctoolbox/default.nix +++ b/pkgs/development/libraries/bctoolbox/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Utilities library for Linphone"; + mainProgram = "bctoolbox_tester"; homepage = "https://gitlab.linphone.org/BC/public/bctoolbox"; license = licenses.gpl3Plus; maintainers = with maintainers; [ raskin jluttine ]; diff --git a/pkgs/development/libraries/belle-sip/default.nix b/pkgs/development/libraries/belle-sip/default.nix index 338b0082be5e..b4b5629cdafb 100644 --- a/pkgs/development/libraries/belle-sip/default.nix +++ b/pkgs/development/libraries/belle-sip/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://linphone.org/technical-corner/belle-sip"; description = "Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers. Part of the Linphone project."; + mainProgram = "belle_sip_tester"; license = licenses.gpl3Plus; platforms = platforms.all; maintainers = with maintainers; [ jluttine ]; diff --git a/pkgs/development/libraries/boringssl/default.nix b/pkgs/development/libraries/boringssl/default.nix index 3e8908416185..fadf478e037f 100644 --- a/pkgs/development/libraries/boringssl/default.nix +++ b/pkgs/development/libraries/boringssl/default.nix @@ -59,6 +59,7 @@ buildGoModule { meta = with lib; { description = "Free TLS/SSL implementation"; + mainProgram = "bssl"; homepage = "https://boringssl.googlesource.com"; maintainers = [ maintainers.thoughtpolice ]; license = with licenses; [ openssl isc mit bsd3 ]; diff --git a/pkgs/development/libraries/botan/generic.nix b/pkgs/development/libraries/botan/generic.nix index 8e053581e88b..a2acb8183283 100644 --- a/pkgs/development/libraries/botan/generic.nix +++ b/pkgs/development/libraries/botan/generic.nix @@ -56,6 +56,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Cryptographic algorithms library"; + mainProgram = "botan"; maintainers = with maintainers; [ raskin thillux ]; platforms = platforms.unix; license = licenses.bsd2; diff --git a/pkgs/development/libraries/cairo/default.nix b/pkgs/development/libraries/cairo/default.nix index 8ac9da237d19..7408a43272e9 100644 --- a/pkgs/development/libraries/cairo/default.nix +++ b/pkgs/development/libraries/cairo/default.nix @@ -93,6 +93,7 @@ in { meta = with lib; { description = "A 2D graphics library with support for multiple output devices"; + mainProgram = "cairo-trace"; longDescription = '' Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X diff --git a/pkgs/development/libraries/cdo/default.nix b/pkgs/development/libraries/cdo/default.nix index b016aa4d4d68..18a6dc57434a 100644 --- a/pkgs/development/libraries/cdo/default.nix +++ b/pkgs/development/libraries/cdo/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Collection of command line Operators to manipulate and analyse Climate and NWP model Data"; + mainProgram = "cdo"; longDescription = '' Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG. There are more than 600 operators available. diff --git a/pkgs/development/libraries/cegui/default.nix b/pkgs/development/libraries/cegui/default.nix index c56c59d02ad1..1e884b3d8a81 100644 --- a/pkgs/development/libraries/cegui/default.nix +++ b/pkgs/development/libraries/cegui/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "http://cegui.org.uk/"; description = "C++ Library for creating GUIs"; + mainProgram = "CEGUISampleFramework-0.9999"; license = licenses.mit; platforms = platforms.unix; }; diff --git a/pkgs/development/libraries/cgreen/default.nix b/pkgs/development/libraries/cgreen/default.nix index 60d5bc1289ac..921eb6c79724 100644 --- a/pkgs/development/libraries/cgreen/default.nix +++ b/pkgs/development/libraries/cgreen/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://github.com/cgreen-devs/cgreen"; description = "The Modern Unit Test and Mocking Framework for C and C++"; + mainProgram = "cgreen-runner"; license = lib.licenses.isc; maintainers = [ lib.maintainers.AndersonTorres ]; platforms = lib.platforms.unix; diff --git a/pkgs/development/libraries/chipmunk/default.nix b/pkgs/development/libraries/chipmunk/default.nix index 8290e60a4850..599cf9cfcee2 100644 --- a/pkgs/development/libraries/chipmunk/default.nix +++ b/pkgs/development/libraries/chipmunk/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A fast and lightweight 2D game physics library"; + mainProgram = "chipmunk_demos"; homepage = "http://chipmunk2d.net/"; license = licenses.mit; platforms = platforms.unix; # supports Windows and MacOS as well, but those require more work diff --git a/pkgs/development/libraries/chromaprint/default.nix b/pkgs/development/libraries/chromaprint/default.nix index 189154da8c4e..bc53e2257f12 100644 --- a/pkgs/development/libraries/chromaprint/default.nix +++ b/pkgs/development/libraries/chromaprint/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://acoustid.org/chromaprint"; description = "AcoustID audio fingerprinting library"; + mainProgram = "fpcalc"; license = licenses.lgpl21Plus; platforms = platforms.unix; }; diff --git a/pkgs/development/libraries/civetweb/default.nix b/pkgs/development/libraries/civetweb/default.nix index 3222702f5a1a..f6fe616957d6 100644 --- a/pkgs/development/libraries/civetweb/default.nix +++ b/pkgs/development/libraries/civetweb/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = { description = "Embedded C/C++ web server"; + mainProgram = "civetweb"; homepage = "https://github.com/civetweb/civetweb"; license = [ lib.licenses.mit ]; }; diff --git a/pkgs/development/libraries/cln/default.nix b/pkgs/development/libraries/cln/default.nix index a7094d18e6ea..ae3ed853a026 100644 --- a/pkgs/development/libraries/cln/default.nix +++ b/pkgs/development/libraries/cln/default.nix @@ -13,6 +13,7 @@ gccStdenv.mkDerivation rec { meta = with lib; { description = "C/C++ library for numbers, a part of GiNaC"; + mainProgram = "pi"; homepage = "https://www.ginac.de/CLN/"; license = licenses.gpl2; platforms = platforms.unix; # Once had cygwin problems diff --git a/pkgs/development/libraries/cloog-ppl/default.nix b/pkgs/development/libraries/cloog-ppl/default.nix index 65d6a392ffdb..3a6f926b3f32 100644 --- a/pkgs/development/libraries/cloog-ppl/default.nix +++ b/pkgs/development/libraries/cloog-ppl/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = { description = "CLooG-PPL, the Chunky Loop Generator"; + mainProgram = "cloog"; longDescription = '' CLooG is a free software library to generate code for scanning diff --git a/pkgs/development/libraries/cloog/0.18.0.nix b/pkgs/development/libraries/cloog/0.18.0.nix index 12e279797e76..a1ba3aaf93f3 100644 --- a/pkgs/development/libraries/cloog/0.18.0.nix +++ b/pkgs/development/libraries/cloog/0.18.0.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = { description = "Library that generates loops for scanning polyhedra"; + mainProgram = "cloog"; longDescription = '' CLooG is a free software library to generate code for scanning diff --git a/pkgs/development/libraries/cloog/default.nix b/pkgs/development/libraries/cloog/default.nix index bfca886e03d5..3ae266c61cdd 100644 --- a/pkgs/development/libraries/cloog/default.nix +++ b/pkgs/development/libraries/cloog/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = { description = "Library that generates loops for scanning polyhedra"; + mainProgram = "cloog"; longDescription = '' CLooG is a free software library to generate code for scanning diff --git a/pkgs/development/libraries/cmark-gfm/default.nix b/pkgs/development/libraries/cmark-gfm/default.nix index 650913fc3888..75ff3acdb947 100644 --- a/pkgs/development/libraries/cmark-gfm/default.nix +++ b/pkgs/development/libraries/cmark-gfm/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C"; + mainProgram = "cmark-gfm"; homepage = "https://github.com/github/cmark-gfm"; changelog = "https://github.com/github/cmark-gfm/raw/${version}/changelog.txt"; maintainers = with maintainers; [ cyplo ]; diff --git a/pkgs/development/libraries/cmark/default.nix b/pkgs/development/libraries/cmark/default.nix index 23d00769ee1b..5720f87c5bc4 100644 --- a/pkgs/development/libraries/cmark/default.nix +++ b/pkgs/development/libraries/cmark/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "CommonMark parsing and rendering library and program in C"; + mainProgram = "cmark"; homepage = "https://github.com/commonmark/cmark"; changelog = "https://github.com/commonmark/cmark/raw/${version}/changelog.txt"; maintainers = [ maintainers.michelk ]; diff --git a/pkgs/development/libraries/codec2/default.nix b/pkgs/development/libraries/codec2/default.nix index 7b1a226de812..8637f5b7ab2d 100644 --- a/pkgs/development/libraries/codec2/default.nix +++ b/pkgs/development/libraries/codec2/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Speech codec designed for communications quality speech at low data rates"; + mainProgram = "freedv_rx"; homepage = "https://www.rowetel.com/codec2.html"; license = licenses.lgpl21Only; platforms = platforms.unix; diff --git a/pkgs/development/libraries/coin3d/default.nix b/pkgs/development/libraries/coin3d/default.nix index 7675ddae378e..8c331a28dcb1 100644 --- a/pkgs/development/libraries/coin3d/default.nix +++ b/pkgs/development/libraries/coin3d/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://github.com/coin3d/coin"; description = "High-level, retained-mode toolkit for effective 3D graphics development"; + mainProgram = "coin-config"; license = licenses.bsd3; maintainers = with maintainers; [ gebner viric ]; platforms = platforms.linux; diff --git a/pkgs/development/libraries/cppunit/default.nix b/pkgs/development/libraries/cppunit/default.nix index fba624a861d7..73c96de4ff24 100644 --- a/pkgs/development/libraries/cppunit/default.nix +++ b/pkgs/development/libraries/cppunit/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://freedesktop.org/wiki/Software/cppunit/"; description = "C++ unit testing framework"; + mainProgram = "DllPlugInTester"; license = licenses.lgpl21; platforms = platforms.linux ++ platforms.darwin; }; diff --git a/pkgs/development/libraries/ctpl/default.nix b/pkgs/development/libraries/ctpl/default.nix index 634c2cf44cf4..c9925d162f99 100644 --- a/pkgs/development/libraries/ctpl/default.nix +++ b/pkgs/development/libraries/ctpl/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://ctpl.tuxfamily.org/"; description = "Template engine library written in C"; + mainProgram = "ctpl"; platforms = platforms.linux; maintainers = [ ]; license = licenses.gpl3Plus; diff --git a/pkgs/development/libraries/ctranslate2/default.nix b/pkgs/development/libraries/ctranslate2/default.nix index 943b9f28584c..c7876a98bd54 100644 --- a/pkgs/development/libraries/ctranslate2/default.nix +++ b/pkgs/development/libraries/ctranslate2/default.nix @@ -84,6 +84,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fast inference engine for Transformer models"; + mainProgram = "ct2-translator"; homepage = "https://github.com/OpenNMT/CTranslate2"; changelog = "https://github.com/OpenNMT/CTranslate2/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/development/libraries/ctypes_sh/default.nix b/pkgs/development/libraries/ctypes_sh/default.nix index 644c68e85d86..c06eff11aad0 100644 --- a/pkgs/development/libraries/ctypes_sh/default.nix +++ b/pkgs/development/libraries/ctypes_sh/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A foreign function interface for bash"; + mainProgram = "ctypes.sh"; homepage = "https://github.com/taviso/ctypes.sh"; license = licenses.mit; maintainers = with maintainers; [ tadeokondrak ]; diff --git a/pkgs/development/libraries/curlpp/default.nix b/pkgs/development/libraries/curlpp/default.nix index 0aee75751d9e..c8fe78d0462f 100644 --- a/pkgs/development/libraries/curlpp/default.nix +++ b/pkgs/development/libraries/curlpp/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.curlpp.org/"; description = "C++ wrapper around libcURL"; + mainProgram = "curlpp-config"; license = licenses.mit; maintainers = with maintainers; [ CrazedProgrammer ]; }; diff --git a/pkgs/development/libraries/cutee/default.nix b/pkgs/development/libraries/cutee/default.nix index 07e2b7cbcee2..eb5f51cbcfeb 100644 --- a/pkgs/development/libraries/cutee/default.nix +++ b/pkgs/development/libraries/cutee/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "C++ Unit Testing Easy Environment"; + mainProgram = "cutee"; homepage = "https://www.codesink.org/cutee_unit_testing.html"; license = licenses.gpl2Plus; maintainers = with maintainers; [ leenaars]; diff --git a/pkgs/development/libraries/cxx-rs/default.nix b/pkgs/development/libraries/cxx-rs/default.nix index c06171e72ce5..a2864fbb89df 100644 --- a/pkgs/development/libraries/cxx-rs/default.nix +++ b/pkgs/development/libraries/cxx-rs/default.nix @@ -47,6 +47,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Safe FFI between Rust and C++"; + mainProgram = "cxxbridge"; homepage = "https://github.com/dtolnay/cxx"; license = licenses.mit; maintainers = with maintainers; [ centromere ]; diff --git a/pkgs/development/libraries/cxxtest/default.nix b/pkgs/development/libraries/cxxtest/default.nix index 4228a3cb5876..545aa4bc0e0c 100644 --- a/pkgs/development/libraries/cxxtest/default.nix +++ b/pkgs/development/libraries/cxxtest/default.nix @@ -40,6 +40,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "http://cxxtest.com"; description = "Unit testing framework for C++"; + mainProgram = "cxxtestgen"; license = licenses.lgpl3; platforms = platforms.unix; maintainers = with maintainers; [ juliendehos ]; diff --git a/pkgs/development/libraries/czmq/default.nix b/pkgs/development/libraries/czmq/default.nix index bb8ecafbb347..db2b99c96650 100644 --- a/pkgs/development/libraries/czmq/default.nix +++ b/pkgs/development/libraries/czmq/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://czmq.zeromq.org/"; description = "High-level C Binding for ZeroMQ"; + mainProgram = "zmakecert"; license = licenses.mpl20; platforms = platforms.all; }; diff --git a/pkgs/development/libraries/dbus-glib/default.nix b/pkgs/development/libraries/dbus-glib/default.nix index c6be0dd419db..b2946872fbbd 100644 --- a/pkgs/development/libraries/dbus-glib/default.nix +++ b/pkgs/development/libraries/dbus-glib/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { homepage = "https://dbus.freedesktop.org"; license = with lib.licenses; [ afl21 gpl2Plus ]; description = "Obsolete glib bindings for D-Bus lightweight IPC mechanism"; + mainProgram = "dbus-binding-tool"; maintainers = [ ]; platforms = lib.platforms.unix; }; diff --git a/pkgs/development/libraries/dee/default.nix b/pkgs/development/libraries/dee/default.nix index 4a2199f450e6..4bece9069466 100644 --- a/pkgs/development/libraries/dee/default.nix +++ b/pkgs/development/libraries/dee/default.nix @@ -64,6 +64,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A library that uses DBus to provide objects allowing you to create Model-View-Controller type programs across DBus"; + mainProgram = "dee-tool"; homepage = "https://launchpad.net/dee"; license = licenses.lgpl3; platforms = platforms.linux; diff --git a/pkgs/development/libraries/exempi/default.nix b/pkgs/development/libraries/exempi/default.nix index 2ebf1ce7cc91..e79bc6169802 100644 --- a/pkgs/development/libraries/exempi/default.nix +++ b/pkgs/development/libraries/exempi/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An implementation of XMP (Adobe's Extensible Metadata Platform)"; + mainProgram = "exempi"; homepage = "https://libopenraw.freedesktop.org/exempi/"; platforms = platforms.linux ++ platforms.darwin; license = licenses.bsd3; diff --git a/pkgs/development/libraries/exiv2/default.nix b/pkgs/development/libraries/exiv2/default.nix index f080bd804b48..0ef833b8aa23 100644 --- a/pkgs/development/libraries/exiv2/default.nix +++ b/pkgs/development/libraries/exiv2/default.nix @@ -98,6 +98,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://exiv2.org"; description = "A library and command-line utility to manage image metadata"; + mainProgram = "exiv2"; platforms = platforms.all; license = licenses.gpl2Plus; maintainers = with maintainers; [ wegank ]; diff --git a/pkgs/development/libraries/expat/default.nix b/pkgs/development/libraries/expat/default.nix index ee17f3c9b86e..9944277e946b 100644 --- a/pkgs/development/libraries/expat/default.nix +++ b/pkgs/development/libraries/expat/default.nix @@ -68,6 +68,7 @@ stdenv.mkDerivation (finalAttrs: { changelog = "https://github.com/libexpat/libexpat/blob/${tag}/expat/Changes"; homepage = "https://libexpat.github.io/"; description = "A stream-oriented XML parser library written in C"; + mainProgram = "xmlwf"; platforms = platforms.all; license = licenses.mit; # expat version pkgConfigModules = [ "expat" ]; diff --git a/pkgs/development/libraries/fbthrift/default.nix b/pkgs/development/libraries/fbthrift/default.nix index 216387cf0ae1..5ac08f2c6cc3 100644 --- a/pkgs/development/libraries/fbthrift/default.nix +++ b/pkgs/development/libraries/fbthrift/default.nix @@ -64,6 +64,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Facebook's branch of Apache Thrift"; + mainProgram = "thrift1"; homepage = "https://github.com/facebook/fbthrift"; license = licenses.asl20; platforms = platforms.unix; diff --git a/pkgs/development/libraries/fflas-ffpack/default.nix b/pkgs/development/libraries/fflas-ffpack/default.nix index 7dadbcb39502..66ea25a4b11b 100644 --- a/pkgs/development/libraries/fflas-ffpack/default.nix +++ b/pkgs/development/libraries/fflas-ffpack/default.nix @@ -51,6 +51,7 @@ stdenv.mkDerivation rec { meta = with lib; { broken = stdenv.isDarwin; description = "Finite Field Linear Algebra Subroutines"; + mainProgram = "fflas-ffpack-config"; license = licenses.lgpl21Plus; maintainers = teams.sage.members; platforms = platforms.unix; diff --git a/pkgs/development/libraries/ffmpegthumbnailer/default.nix b/pkgs/development/libraries/ffmpegthumbnailer/default.nix index 381bb7b2984c..47e3c3ed42c7 100644 --- a/pkgs/development/libraries/ffmpegthumbnailer/default.nix +++ b/pkgs/development/libraries/ffmpegthumbnailer/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/dirkvdb/ffmpegthumbnailer"; description = "A lightweight video thumbnailer"; + mainProgram = "ffmpegthumbnailer"; longDescription = "FFmpegthumbnailer is a lightweight video thumbnailer that can be used by file managers to create thumbnails for your video files. The thumbnailer uses ffmpeg o decode frames diff --git a/pkgs/development/libraries/ffms/default.nix b/pkgs/development/libraries/ffms/default.nix index 06fce3891e27..370b4267bdb4 100644 --- a/pkgs/development/libraries/ffms/default.nix +++ b/pkgs/development/libraries/ffms/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/FFMS/ffms2/"; description = "FFmpeg based source library for easy frame accurate access"; + mainProgram = "ffmsindex"; license = licenses.mit; maintainers = with maintainers; [ tadeokondrak ]; platforms = platforms.unix; diff --git a/pkgs/development/libraries/flatcc/default.nix b/pkgs/development/libraries/flatcc/default.nix index 1f487955b3f3..4d74627ee3c9 100644 --- a/pkgs/development/libraries/flatcc/default.nix +++ b/pkgs/development/libraries/flatcc/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "FlatBuffers Compiler and Library in C for C "; + mainProgram = "flatcc"; homepage = "https://github.com/dvidelabs/flatcc"; license = [ licenses.asl20 ]; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/development/libraries/frame/default.nix b/pkgs/development/libraries/frame/default.nix index f0b37b7e633c..e56ce1e68416 100644 --- a/pkgs/development/libraries/frame/default.nix +++ b/pkgs/development/libraries/frame/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://launchpad.net/frame"; description = "Handles the buildup and synchronization of a set of simultaneous touches"; + mainProgram = "frame-test-x11"; license = lib.licenses.gpl3; platforms = lib.platforms.linux; }; diff --git a/pkgs/development/libraries/freealut/default.nix b/pkgs/development/libraries/freealut/default.nix index c29899922979..dbae2b20b61c 100644 --- a/pkgs/development/libraries/freealut/default.nix +++ b/pkgs/development/libraries/freealut/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "http://openal.org/"; description = "Free implementation of OpenAL's ALUT standard"; + mainProgram = "freealut-config"; license = lib.licenses.lgpl2; pkgConfigModules = [ "freealut" ]; platforms = lib.platforms.unix; diff --git a/pkgs/development/libraries/freetts/default.nix b/pkgs/development/libraries/freetts/default.nix index 698a7f6a28ac..ec948f1fdccc 100644 --- a/pkgs/development/libraries/freetts/default.nix +++ b/pkgs/development/libraries/freetts/default.nix @@ -4,6 +4,7 @@ , ant , jdk8 , sharutils +, stripJavaArchivesHook }: stdenv.mkDerivation (finalAttrs: { @@ -20,16 +21,11 @@ stdenv.mkDerivation (finalAttrs: { ant jdk8 sharutils + stripJavaArchivesHook ]; sourceRoot = "${finalAttrs.src.name}/freetts-${finalAttrs.version}"; - postPatch = '' - # Fix jar timestamps for reproducibility - substituteInPlace build.xml demo.xml \ - --replace-fail ' https://github.com/01micko/gtkdialog description = "Small utility for fast and easy GUI building from many scripted and compiled languages"; + mainProgram = "gtkdialog"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; }; diff --git a/pkgs/development/tools/misc/gtkperf/default.nix b/pkgs/development/tools/misc/gtkperf/default.nix index c977ca3070e4..a478306cad67 100644 --- a/pkgs/development/tools/misc/gtkperf/default.nix +++ b/pkgs/development/tools/misc/gtkperf/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Application designed to test GTK performance"; + mainProgram = "gtkperf"; homepage = "https://gtkperf.sourceforge.net/"; license = with licenses; [ gpl2 ]; maintainers = with maintainers; [ dtzWill ]; diff --git a/pkgs/development/tools/misc/help2man/default.nix b/pkgs/development/tools/misc/help2man/default.nix index 5c54941b9077..9fd35a094db8 100644 --- a/pkgs/development/tools/misc/help2man/default.nix +++ b/pkgs/development/tools/misc/help2man/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Generate man pages from `--help' output"; + mainProgram = "help2man"; longDescription = '' help2man produces simple manual pages from the ‘--help’ and ‘--version’ output of other commands. ''; diff --git a/pkgs/development/tools/misc/highlight-assertions/default.nix b/pkgs/development/tools/misc/highlight-assertions/default.nix index 9e4ed0e61dd8..5db0a722dc10 100644 --- a/pkgs/development/tools/misc/highlight-assertions/default.nix +++ b/pkgs/development/tools/misc/highlight-assertions/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool for unit testing tree sitter highlights for nvim-treesitter"; + mainProgram = "highlight-assertions"; homepage = "https://github.com/thehamsta/highlight-assertions"; license = licenses.asl20; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/misc/httpref/default.nix b/pkgs/development/tools/misc/httpref/default.nix index 4417a81b66ec..f2c0f58a3094 100644 --- a/pkgs/development/tools/misc/httpref/default.nix +++ b/pkgs/development/tools/misc/httpref/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "Command line, offline, access to HTTP status code, common header, and port references"; + mainProgram = "httpref"; homepage = "https://github.com/dnnrly/httpref"; changelog = "https://github.com/dnnrly/httpref/releases/tag/${src.rev}"; license = licenses.asl20; diff --git a/pkgs/development/tools/misc/husky/default.nix b/pkgs/development/tools/misc/husky/default.nix index dd2fef2a6026..cd613b925b2d 100644 --- a/pkgs/development/tools/misc/husky/default.nix +++ b/pkgs/development/tools/misc/husky/default.nix @@ -15,6 +15,7 @@ buildNpmPackage rec { meta = with lib; { description = "Git hooks made easy 🐶 woof!"; + mainProgram = "husky"; homepage = "https://github.com/typicode/husky"; changelog = "https://github.com/typicode/husky/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/tools/misc/hydra-cli/default.nix b/pkgs/development/tools/misc/hydra-cli/default.nix index 05829eb0c999..6044aa99216b 100644 --- a/pkgs/development/tools/misc/hydra-cli/default.nix +++ b/pkgs/development/tools/misc/hydra-cli/default.nix @@ -41,6 +41,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A client for the Hydra CI"; + mainProgram = "hydra-cli"; homepage = "https://github.com/nlewo/hydra-cli"; license = with licenses; [ mit ]; maintainers = with maintainers; [ gilligan lewo ]; diff --git a/pkgs/development/tools/misc/indent/default.nix b/pkgs/development/tools/misc/indent/default.nix index 8e6ba9b70c04..c7cef90d0a43 100644 --- a/pkgs/development/tools/misc/indent/default.nix +++ b/pkgs/development/tools/misc/indent/default.nix @@ -56,6 +56,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://www.gnu.org/software/indent/"; description = "A source code reformatter"; + mainProgram = "indent"; license = lib.licenses.gpl3Plus; maintainers = [ lib.maintainers.mmahut ]; platforms = lib.platforms.unix; diff --git a/pkgs/development/tools/misc/itstool/default.nix b/pkgs/development/tools/misc/itstool/default.nix index 0f2633d71e6f..c8889d33401b 100644 --- a/pkgs/development/tools/misc/itstool/default.nix +++ b/pkgs/development/tools/misc/itstool/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://itstool.org/"; description = "XML to PO and back again"; + mainProgram = "itstool"; license = lib.licenses.gpl3Plus; platforms = lib.platforms.all; maintainers = [ ]; diff --git a/pkgs/development/tools/misc/jcli/default.nix b/pkgs/development/tools/misc/jcli/default.nix index 0333b74e3e0c..f5d9d7a85899 100644 --- a/pkgs/development/tools/misc/jcli/default.nix +++ b/pkgs/development/tools/misc/jcli/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Jenkins CLI allows you to manage your Jenkins in an easy way"; + mainProgram = "jcli"; homepage = "https://jcli.jenkins-zh.cn/"; license = licenses.mit; maintainers = with maintainers; [ sikmir ]; diff --git a/pkgs/development/tools/misc/jiq/default.nix b/pkgs/development/tools/misc/jiq/default.nix index 2a0f0ed822c0..34177e142d1c 100644 --- a/pkgs/development/tools/misc/jiq/default.nix +++ b/pkgs/development/tools/misc/jiq/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { homepage = "https://github.com/fiatjaf/jiq"; license = licenses.mit; description = "jid on jq - interactive JSON query tool using jq expressions"; + mainProgram = "jiq"; maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/development/tools/misc/k2tf/default.nix b/pkgs/development/tools/misc/k2tf/default.nix index 35eb679281aa..0da0d51f3bc4 100644 --- a/pkgs/development/tools/misc/k2tf/default.nix +++ b/pkgs/development/tools/misc/k2tf/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { description = "Kubernetes YAML to Terraform HCL converter"; + mainProgram = "k2tf"; homepage = "https://github.com/sl1pm4t/k2tf"; license = licenses.mpl20; maintainers = [ maintainers.flokli ]; diff --git a/pkgs/development/tools/misc/kdbg/default.nix b/pkgs/development/tools/misc/kdbg/default.nix index 283089abb99a..cd3284023944 100644 --- a/pkgs/development/tools/misc/kdbg/default.nix +++ b/pkgs/development/tools/misc/kdbg/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { intuitive interface for setting breakpoints, inspecting variables, and stepping through code. ''; + mainProgram = "kdbg"; license = licenses.gpl2; maintainers = [ maintainers.catern ]; }; diff --git a/pkgs/development/tools/misc/kool/default.nix b/pkgs/development/tools/misc/kool/default.nix index fc747a476bdc..dd5a79f17ee4 100644 --- a/pkgs/development/tools/misc/kool/default.nix +++ b/pkgs/development/tools/misc/kool/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "From local development to the cloud: development workflow made easy"; + mainProgram = "kool"; homepage = "https://kool.dev"; changelog = "https://github.com/kool-dev/kool/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/development/tools/misc/libtree/default.nix b/pkgs/development/tools/misc/libtree/default.nix index 24083a60d28e..621ab218669e 100644 --- a/pkgs/development/tools/misc/libtree/default.nix +++ b/pkgs/development/tools/misc/libtree/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Tree ldd with an option to bundle dependencies into a single folder"; + mainProgram = "libtree"; homepage = "https://github.com/haampie/libtree"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/development/tools/misc/libwhich/default.nix b/pkgs/development/tools/misc/libwhich/default.nix index aee79b826444..915e1018c561 100644 --- a/pkgs/development/tools/misc/libwhich/default.nix +++ b/pkgs/development/tools/misc/libwhich/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Like `which`, for dynamic libraries"; + mainProgram = "libwhich"; homepage = "https://github.com/vtjnash/libwhich"; license = licenses.mit; maintainers = with maintainers; [ dtzWill ]; diff --git a/pkgs/development/tools/misc/licenseclassifier/default.nix b/pkgs/development/tools/misc/licenseclassifier/default.nix index 05a858130b39..11e986c245b0 100644 --- a/pkgs/development/tools/misc/licenseclassifier/default.nix +++ b/pkgs/development/tools/misc/licenseclassifier/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "A License Classifier"; + mainProgram = "identify_license"; longDescription = '' The license classifier can analyze text to determine what type of license it contains. It searches for license texts in a file and compares them to diff --git a/pkgs/development/tools/misc/linuxkit/default.nix b/pkgs/development/tools/misc/linuxkit/default.nix index 73ea58a17e4d..118b49b10f84 100644 --- a/pkgs/development/tools/misc/linuxkit/default.nix +++ b/pkgs/development/tools/misc/linuxkit/default.nix @@ -53,6 +53,7 @@ buildGoModule rec { meta = with lib; { description = "A toolkit for building secure, portable and lean operating systems for containers"; + mainProgram = "linuxkit"; license = licenses.asl20; homepage = "https://github.com/linuxkit/linuxkit"; maintainers = with maintainers; [ nicknovitski ]; diff --git a/pkgs/development/tools/misc/loccount/default.nix b/pkgs/development/tools/misc/loccount/default.nix index d51cec639c1d..fa128cf3cb5c 100644 --- a/pkgs/development/tools/misc/loccount/default.nix +++ b/pkgs/development/tools/misc/loccount/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { description = "Re-implementation of sloccount in Go"; + mainProgram = "loccount"; longDescription = '' loccount is a re-implementation of David A. Wheeler's sloccount tool in Go. It is faster and handles more different languages. Because diff --git a/pkgs/development/tools/misc/lsof/default.nix b/pkgs/development/tools/misc/lsof/default.nix index eece4f972231..4cce674820af 100644 --- a/pkgs/development/tools/misc/lsof/default.nix +++ b/pkgs/development/tools/misc/lsof/default.nix @@ -56,6 +56,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/lsof-org/lsof"; description = "A tool to list open files"; + mainProgram = "lsof"; longDescription = '' List open files. Can show what process has opened some file, socket (IPv6/IPv4/UNIX local), or partition (by opening a file diff --git a/pkgs/development/tools/misc/ltrace/default.nix b/pkgs/development/tools/misc/ltrace/default.nix index 9114e7cf4cef..c9ba073f6b34 100644 --- a/pkgs/development/tools/misc/ltrace/default.nix +++ b/pkgs/development/tools/misc/ltrace/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Library call tracer"; + mainProgram = "ltrace"; homepage = "https://www.ltrace.org/"; platforms = platforms.linux; license = licenses.gpl2Plus; diff --git a/pkgs/development/tools/misc/lttng-tools/default.nix b/pkgs/development/tools/misc/lttng-tools/default.nix index b3660f7cad9b..bce8c2583fe6 100644 --- a/pkgs/development/tools/misc/lttng-tools/default.nix +++ b/pkgs/development/tools/misc/lttng-tools/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tracing tools (kernel + user space) for Linux"; + mainProgram = "lttng"; homepage = "https://lttng.org/"; license = with licenses; [ lgpl21Only gpl2Only ]; platforms = platforms.linux; diff --git a/pkgs/development/tools/misc/lttng-ust/generic.nix b/pkgs/development/tools/misc/lttng-ust/generic.nix index 60b133f73144..89bc888828e2 100644 --- a/pkgs/development/tools/misc/lttng-ust/generic.nix +++ b/pkgs/development/tools/misc/lttng-ust/generic.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "LTTng Userspace Tracer libraries"; + mainProgram = "lttng-gen-tp"; homepage = "https://lttng.org/"; license = with licenses; [ lgpl21Only gpl2Only mit ]; platforms = platforms.linux; diff --git a/pkgs/development/tools/misc/micronucleus/default.nix b/pkgs/development/tools/misc/micronucleus/default.nix index 560cfa0c0dce..d7141324dc97 100644 --- a/pkgs/development/tools/misc/micronucleus/default.nix +++ b/pkgs/development/tools/misc/micronucleus/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Upload tool for micronucleus"; + mainProgram = "micronucleus"; homepage = "https://github.com/micronucleus/micronucleus"; license = licenses.gpl3; maintainers = [ maintainers.cab404 ]; diff --git a/pkgs/development/tools/misc/mkcert/default.nix b/pkgs/development/tools/misc/mkcert/default.nix index 0022dd003cd9..8da04668ec13 100644 --- a/pkgs/development/tools/misc/mkcert/default.nix +++ b/pkgs/development/tools/misc/mkcert/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/FiloSottile/mkcert"; description = "A simple tool for making locally-trusted development certificates"; + mainProgram = "mkcert"; license = licenses.bsd3; maintainers = [ maintainers.marsam ]; }; diff --git a/pkgs/development/tools/misc/namaka/default.nix b/pkgs/development/tools/misc/namaka/default.nix index 185f24b47211..50259d691cbc 100644 --- a/pkgs/development/tools/misc/namaka/default.nix +++ b/pkgs/development/tools/misc/namaka/default.nix @@ -40,6 +40,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Snapshot testing tool for Nix based on haumea"; + mainProgram = "namaka"; homepage = "https://github.com/nix-community/namaka"; changelog = "https://github.com/nix-community/namaka/blob/${src.rev}/CHANGELOG.md"; license = licenses.mpl20; diff --git a/pkgs/development/tools/misc/ninka/default.nix b/pkgs/development/tools/misc/ninka/default.nix index 2b45af77e7a9..cfdf1d5bb3dc 100644 --- a/pkgs/development/tools/misc/ninka/default.nix +++ b/pkgs/development/tools/misc/ninka/default.nix @@ -26,6 +26,7 @@ perlPackages.buildPerlPackage { meta = with lib; { description = "A sentence based license detector"; + mainProgram = "ninka"; homepage = "http://ninka.turingmachine.org/"; license = licenses.gpl2; maintainers = [ maintainers.vrthra ]; diff --git a/pkgs/development/tools/misc/nix-build-uncached/default.nix b/pkgs/development/tools/misc/nix-build-uncached/default.nix index 960b744dc738..4471b30fc7c0 100644 --- a/pkgs/development/tools/misc/nix-build-uncached/default.nix +++ b/pkgs/development/tools/misc/nix-build-uncached/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "A CI friendly wrapper around nix-build"; + mainProgram = "nix-build-uncached"; license = licenses.mit; homepage = "https://github.com/Mic92/nix-build-uncached"; maintainers = [ maintainers.mic92 ]; diff --git a/pkgs/development/tools/misc/nixbang/default.nix b/pkgs/development/tools/misc/nixbang/default.nix index bcddf4479eb0..cc5edb162a4c 100644 --- a/pkgs/development/tools/misc/nixbang/default.nix +++ b/pkgs/development/tools/misc/nixbang/default.nix @@ -15,6 +15,7 @@ pythonPackages.buildPythonApplication rec { meta = { homepage = "https://github.com/madjar/nixbang"; description = "A special shebang to run scripts in a nix-shell"; + mainProgram = "nixbang"; maintainers = [ lib.maintainers.madjar ]; platforms = lib.platforms.all; }; diff --git a/pkgs/development/tools/misc/objconv/default.nix b/pkgs/development/tools/misc/objconv/default.nix index ec0f5a367d1c..9eee3cca1051 100644 --- a/pkgs/development/tools/misc/objconv/default.nix +++ b/pkgs/development/tools/misc/objconv/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Object and executable file converter, modifier and disassembler"; + mainProgram = "objconv"; homepage = "https://www.agner.org/optimize/"; license = licenses.gpl2; maintainers = with maintainers; [ orivej vrthra ]; diff --git a/pkgs/development/tools/misc/opengrok/default.nix b/pkgs/development/tools/misc/opengrok/default.nix index bf566188e5d7..88639c752fab 100644 --- a/pkgs/development/tools/misc/opengrok/default.nix +++ b/pkgs/development/tools/misc/opengrok/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Source code search and cross reference engine"; + mainProgram = "opengrok"; homepage = "https://opengrok.github.io/OpenGrok/"; changelog = "https://github.com/oracle/opengrok/releases/tag/${version}"; license = licenses.cddl; diff --git a/pkgs/development/tools/misc/patchelf/default.nix b/pkgs/development/tools/misc/patchelf/default.nix index fc71c4aa4ea4..94c05394a901 100644 --- a/pkgs/development/tools/misc/patchelf/default.nix +++ b/pkgs/development/tools/misc/patchelf/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/NixOS/patchelf"; license = licenses.gpl3Plus; description = "A small utility to modify the dynamic linker and RPATH of ELF executables"; + mainProgram = "patchelf"; maintainers = [ maintainers.eelco ]; platforms = platforms.all; }; diff --git a/pkgs/development/tools/misc/patchelf/unstable.nix b/pkgs/development/tools/misc/patchelf/unstable.nix index a4061855d997..c2d9b2c0bede 100644 --- a/pkgs/development/tools/misc/patchelf/unstable.nix +++ b/pkgs/development/tools/misc/patchelf/unstable.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/NixOS/patchelf"; license = licenses.gpl3; description = "A small utility to modify the dynamic linker and RPATH of ELF executables"; + mainProgram = "patchelf"; maintainers = [ maintainers.eelco ]; platforms = platforms.all; }; diff --git a/pkgs/development/tools/misc/patsh/default.nix b/pkgs/development/tools/misc/patsh/default.nix index 9fabbf789db9..0e8bafc86bd7 100644 --- a/pkgs/development/tools/misc/patsh/default.nix +++ b/pkgs/development/tools/misc/patsh/default.nix @@ -43,6 +43,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A command-line tool for patching shell scripts inspired by resholve"; + mainProgram = "patsh"; homepage = "https://github.com/nix-community/patsh"; changelog = "https://github.com/nix-community/patsh/blob/v${version}/CHANGELOG.md"; license = licenses.mpl20; diff --git a/pkgs/development/tools/misc/perfect-hash/default.nix b/pkgs/development/tools/misc/perfect-hash/default.nix index 71747f0d1172..124758e571e9 100644 --- a/pkgs/development/tools/misc/perfect-hash/default.nix +++ b/pkgs/development/tools/misc/perfect-hash/default.nix @@ -20,6 +20,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Minimal perfect hash function generator"; + mainProgram = "perfect-hash"; longDescription = '' Generate a minimal perfect hash function for a given set of keys. A given code template is filled with parameters, such that the diff --git a/pkgs/development/tools/misc/planus/default.nix b/pkgs/development/tools/misc/planus/default.nix index 9074debb2633..6580c7b21304 100644 --- a/pkgs/development/tools/misc/planus/default.nix +++ b/pkgs/development/tools/misc/planus/default.nix @@ -30,6 +30,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An alternative compiler for flatbuffers"; + mainProgram = "planus"; homepage = "https://github.com/planus-org/planus"; changelog = "https://github.com/planus-org/planus/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 mit ]; diff --git a/pkgs/development/tools/misc/polylith/default.nix b/pkgs/development/tools/misc/polylith/default.nix index 06aadb009207..66e274026a0c 100644 --- a/pkgs/development/tools/misc/polylith/default.nix +++ b/pkgs/development/tools/misc/polylith/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A tool used to develop Polylith based architectures in Clojure"; + mainProgram = "poly"; homepage = "https://github.com/polyfy/polylith"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.epl10; diff --git a/pkgs/development/tools/misc/premake/3.nix b/pkgs/development/tools/misc/premake/3.nix index c05581f5591a..f0891873eb58 100644 --- a/pkgs/development/tools/misc/premake/3.nix +++ b/pkgs/development/tools/misc/premake/3.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://premake.github.io/"; description = "A simple build configuration and project generation tool using lua"; + mainProgram = "premake"; license = lib.licenses.bsd3; platforms = lib.platforms.unix; }; diff --git a/pkgs/development/tools/misc/premake/5.nix b/pkgs/development/tools/misc/premake/5.nix index a42d4c1a7b6e..841e8480da1a 100644 --- a/pkgs/development/tools/misc/premake/5.nix +++ b/pkgs/development/tools/misc/premake/5.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://premake.github.io"; description = "A simple build configuration and project generation tool using lua"; + mainProgram = "premake5"; license = lib.licenses.bsd3; platforms = lib.platforms.darwin ++ lib.platforms.linux; broken = stdenv.isDarwin && stdenv.isAarch64; diff --git a/pkgs/development/tools/misc/protox/default.nix b/pkgs/development/tools/misc/protox/default.nix index 82849b6d9478..415f19aa71b0 100644 --- a/pkgs/development/tools/misc/protox/default.nix +++ b/pkgs/development/tools/misc/protox/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A rust implementation of the protobuf compiler"; + mainProgram = "protox"; homepage = "https://github.com/andrewhickman/protox"; changelog = "https://github.com/andrewhickman/protox/blob/${version}/CHANGELOG.md"; license = with licenses; [ asl20 mit ]; diff --git a/pkgs/development/tools/misc/ptags/default.nix b/pkgs/development/tools/misc/ptags/default.nix index 8af08bd8311f..aa7980158356 100644 --- a/pkgs/development/tools/misc/ptags/default.nix +++ b/pkgs/development/tools/misc/ptags/default.nix @@ -34,6 +34,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A parallel universal-ctags wrapper for git repository"; + mainProgram = "ptags"; homepage = "https://github.com/dalance/ptags"; maintainers = with maintainers; [ pamplemousse ]; license = licenses.mit; diff --git a/pkgs/development/tools/misc/pwndbg/default.nix b/pkgs/development/tools/misc/pwndbg/default.nix index d80fa230c8a4..b9156abf84b8 100644 --- a/pkgs/development/tools/misc/pwndbg/default.nix +++ b/pkgs/development/tools/misc/pwndbg/default.nix @@ -52,6 +52,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Exploit Development and Reverse Engineering with GDB Made Easy"; + mainProgram = "pwndbg"; homepage = "https://github.com/pwndbg/pwndbg"; license = licenses.mit; platforms = platforms.all; diff --git a/pkgs/development/tools/misc/pwninit/default.nix b/pkgs/development/tools/misc/pwninit/default.nix index 92cfa6f4fcb0..341532d00422 100644 --- a/pkgs/development/tools/misc/pwninit/default.nix +++ b/pkgs/development/tools/misc/pwninit/default.nix @@ -33,6 +33,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Automate starting binary exploit challenges"; + mainProgram = "pwninit"; homepage = "https://github.com/io12/pwninit"; license = lib.licenses.mit; maintainers = [ lib.maintainers.scoder12 ]; diff --git a/pkgs/development/tools/misc/qtspim/default.nix b/pkgs/development/tools/misc/qtspim/default.nix index 1ef63f1a431d..15fd8dd13b2c 100644 --- a/pkgs/development/tools/misc/qtspim/default.nix +++ b/pkgs/development/tools/misc/qtspim/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "New user interface for spim, a MIPS simulator"; + mainProgram = "qtspim"; homepage = "https://spimsimulator.sourceforge.net/"; license = licenses.bsdOriginal; maintainers = with maintainers; [ emilytrau ]; diff --git a/pkgs/development/tools/misc/regex-cli/default.nix b/pkgs/development/tools/misc/regex-cli/default.nix index 4ce731042589..f30d02bcf29f 100644 --- a/pkgs/development/tools/misc/regex-cli/default.nix +++ b/pkgs/development/tools/misc/regex-cli/default.nix @@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A command line tool for debugging, ad hoc benchmarking and generating regular expressions"; + mainProgram = "regex-cli"; homepage = "https://github.com/rust-lang/regex/tree/master/regex-cli"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/misc/replacement/default.nix b/pkgs/development/tools/misc/replacement/default.nix index 75c5363ff672..dde607419cae 100644 --- a/pkgs/development/tools/misc/replacement/default.nix +++ b/pkgs/development/tools/misc/replacement/default.nix @@ -28,6 +28,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/siriobalmelli/replacement"; description = "A tool to execute yaml templates and output text"; + mainProgram = "replacement"; longDescription = '' Replacement is a python utility that parses a yaml template and outputs text. diff --git a/pkgs/development/tools/misc/reviewdog/default.nix b/pkgs/development/tools/misc/reviewdog/default.nix index b08fa9d5568d..8339c0625100 100644 --- a/pkgs/development/tools/misc/reviewdog/default.nix +++ b/pkgs/development/tools/misc/reviewdog/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Automated code review tool integrated with any code analysis tools regardless of programming language"; + mainProgram = "reviewdog"; homepage = "https://github.com/reviewdog/reviewdog"; changelog = "https://github.com/reviewdog/reviewdog/blob/v${version}/CHANGELOG.md"; maintainers = [ maintainers.marsam ]; diff --git a/pkgs/development/tools/misc/riff/default.nix b/pkgs/development/tools/misc/riff/default.nix index 94096a2bc5e2..fe2e2f310fa1 100644 --- a/pkgs/development/tools/misc/riff/default.nix +++ b/pkgs/development/tools/misc/riff/default.nix @@ -38,6 +38,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool that automatically provides external dependencies for software projects"; + mainProgram = "riff"; homepage = "https://riff.sh"; changelog = "https://github.com/DeterminateSystems/riff/releases/tag/v${version}"; license = licenses.mpl20; diff --git a/pkgs/development/tools/misc/rolespec/default.nix b/pkgs/development/tools/misc/rolespec/default.nix index 7b084fae891e..cd90d1cda963 100644 --- a/pkgs/development/tools/misc/rolespec/default.nix +++ b/pkgs/development/tools/misc/rolespec/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/nickjj/rolespec"; description = "A test library for testing Ansible roles"; + mainProgram = "rolespec"; longDescription = '' A shell based test library for Ansible that works both locally and over Travis-CI. diff --git a/pkgs/development/tools/misc/rsass/default.nix b/pkgs/development/tools/misc/rsass/default.nix index 1804c1301230..0e2e4d57823a 100644 --- a/pkgs/development/tools/misc/rsass/default.nix +++ b/pkgs/development/tools/misc/rsass/default.nix @@ -14,6 +14,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Sass reimplemented in rust with nom"; + mainProgram = "rsass"; homepage = "https://github.com/kaj/rsass"; changelog = "https://github.com/kaj/rsass/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit /* or */ asl20 ]; diff --git a/pkgs/development/tools/misc/rtss/default.nix b/pkgs/development/tools/misc/rtss/default.nix index cb5b55b8894c..4172919d42f2 100644 --- a/pkgs/development/tools/misc/rtss/default.nix +++ b/pkgs/development/tools/misc/rtss/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Annotate output with relative durations between lines"; + mainProgram = "rtss"; homepage = "https://github.com/Freaky/rtss"; license = licenses.mit; maintainers = with maintainers; [ djanatyn ]; diff --git a/pkgs/development/tools/misc/runme/default.nix b/pkgs/development/tools/misc/runme/default.nix index d7850c18fabe..8299ceba5395 100644 --- a/pkgs/development/tools/misc/runme/default.nix +++ b/pkgs/development/tools/misc/runme/default.nix @@ -67,6 +67,7 @@ buildGoModule rec { meta = with lib; { description = "Execute commands inside your runbooks, docs, and READMEs"; + mainProgram = "runme"; homepage = "https://runme.dev"; changelog = "https://github.com/stateful/runme/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/development/tools/misc/rustywind/default.nix b/pkgs/development/tools/misc/rustywind/default.nix index 5fe1e15b8fa5..7c664aff4bba 100644 --- a/pkgs/development/tools/misc/rustywind/default.nix +++ b/pkgs/development/tools/misc/rustywind/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "CLI for organizing Tailwind CSS classes"; + mainProgram = "rustywind"; homepage = "https://github.com/avencera/rustywind"; changelog = "https://github.com/avencera/rustywind/blob/${src.rev}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/development/tools/misc/samply/default.nix b/pkgs/development/tools/misc/samply/default.nix index 9d70b9bc14d6..9109de361779 100644 --- a/pkgs/development/tools/misc/samply/default.nix +++ b/pkgs/development/tools/misc/samply/default.nix @@ -47,6 +47,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A command line profiler for macOS and Linux"; + mainProgram = "samply"; homepage = "https://github.com/mstange/samply"; changelog = "https://github.com/mstange/samply/releases/tag/samply-v${version}"; license = with licenses; [ asl20 mit ]; diff --git a/pkgs/development/tools/misc/sccache/default.nix b/pkgs/development/tools/misc/sccache/default.nix index 9b9311529b77..1f6e6e7a040b 100644 --- a/pkgs/development/tools/misc/sccache/default.nix +++ b/pkgs/development/tools/misc/sccache/default.nix @@ -36,6 +36,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Ccache with Cloud Storage"; + mainProgram = "sccache"; homepage = "https://github.com/mozilla/sccache"; changelog = "https://github.com/mozilla/sccache/releases/tag/v${version}"; maintainers = with maintainers; [ doronbehar figsoda ]; diff --git a/pkgs/development/tools/misc/scip/default.nix b/pkgs/development/tools/misc/scip/default.nix index 176ddccbe34e..c36d4c5b0886 100644 --- a/pkgs/development/tools/misc/scip/default.nix +++ b/pkgs/development/tools/misc/scip/default.nix @@ -39,6 +39,7 @@ buildGoModule rec { meta = with lib; { description = "SCIP Code Intelligence Protocol CLI"; + mainProgram = "scip"; homepage = "https://github.com/sourcegraph/scip"; changelog = "https://github.com/sourcegraph/scip/blob/${src.rev}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/development/tools/misc/scriptisto/default.nix b/pkgs/development/tools/misc/scriptisto/default.nix index 9b7b287fce5d..f3a3ba18240b 100644 --- a/pkgs/development/tools/misc/scriptisto/default.nix +++ b/pkgs/development/tools/misc/scriptisto/default.nix @@ -27,6 +27,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A language-agnostic \"shebang interpreter\" that enables you to write scripts in compiled languages"; + mainProgram = "scriptisto"; homepage = "https://github.com/igor-petruk/scriptisto"; changelog = "https://github.com/igor-petruk/scriptisto/releases/tag/${src.rev}"; license = licenses.asl20; diff --git a/pkgs/development/tools/misc/seer/default.nix b/pkgs/development/tools/misc/seer/default.nix index 92bc871185ff..b797287a02dc 100644 --- a/pkgs/development/tools/misc/seer/default.nix +++ b/pkgs/development/tools/misc/seer/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Qt gui frontend for GDB"; + mainProgram = "seergdb"; homepage = "https://github.com/epasveer/seer"; license = licenses.gpl3Only; platforms = platforms.linux; diff --git a/pkgs/development/tools/misc/sipp/default.nix b/pkgs/development/tools/misc/sipp/default.nix index 297669733c0e..43dcd2aea9b4 100644 --- a/pkgs/development/tools/misc/sipp/default.nix +++ b/pkgs/development/tools/misc/sipp/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://sipp.sf.net"; description = "The SIPp testing tool"; + mainProgram = "sipp"; license = licenses.gpl3; platforms = platforms.unix; }; diff --git a/pkgs/development/tools/misc/slint-lsp/default.nix b/pkgs/development/tools/misc/slint-lsp/default.nix index dfd26ad273cc..7eb9cd05b97b 100644 --- a/pkgs/development/tools/misc/slint-lsp/default.nix +++ b/pkgs/development/tools/misc/slint-lsp/default.nix @@ -54,6 +54,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Language Server Protocol (LSP) for Slint UI language"; + mainProgram = "slint-lsp"; homepage = "https://slint-ui.com/"; changelog = "https://github.com/slint-ui/slint/blob/v${version}/CHANGELOG.md"; license = with licenses; [ gpl3Plus ]; diff --git a/pkgs/development/tools/misc/spruce/default.nix b/pkgs/development/tools/misc/spruce/default.nix index 2cf0f184a729..4c03d0acfab6 100644 --- a/pkgs/development/tools/misc/spruce/default.nix +++ b/pkgs/development/tools/misc/spruce/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "A BOSH template merge tool"; + mainProgram = "spruce"; homepage = "https://github.com/geofffranks/spruce"; license = licenses.mit; maintainers = with maintainers; [ risson ]; diff --git a/pkgs/development/tools/misc/sqitch/default.nix b/pkgs/development/tools/misc/sqitch/default.nix index 32235e85c48d..612ef223e67b 100644 --- a/pkgs/development/tools/misc/sqitch/default.nix +++ b/pkgs/development/tools/misc/sqitch/default.nix @@ -44,5 +44,6 @@ stdenv.mkDerivation { meta = { inherit (sqitch.meta) description homepage license platforms; + mainProgram = "sqitch"; }; } diff --git a/pkgs/development/tools/misc/strace-analyzer/default.nix b/pkgs/development/tools/misc/strace-analyzer/default.nix index db0591cab10a..33371bee9373 100644 --- a/pkgs/development/tools/misc/strace-analyzer/default.nix +++ b/pkgs/development/tools/misc/strace-analyzer/default.nix @@ -27,6 +27,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Analyzes strace output"; + mainProgram = "strace-analyzer"; homepage = "https://github.com/wookietreiber/strace-analyzer"; license = licenses.gpl3Plus; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/misc/swig/default.nix b/pkgs/development/tools/misc/swig/default.nix index 41f33f4db67f..ad7b64c25568 100644 --- a/pkgs/development/tools/misc/swig/default.nix +++ b/pkgs/development/tools/misc/swig/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages"; + mainProgram = "swig"; homepage = "https://swig.org/"; # Different types of licenses available: http://www.swig.org/Release/LICENSE . license = licenses.gpl3Plus; diff --git a/pkgs/development/tools/misc/sysbench/default.nix b/pkgs/development/tools/misc/sysbench/default.nix index 85d289e49b7a..6bba1ebfd611 100644 --- a/pkgs/development/tools/misc/sysbench/default.nix +++ b/pkgs/development/tools/misc/sysbench/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = { description = "Modular, cross-platform and multi-threaded benchmark tool"; + mainProgram = "sysbench"; longDescription = '' sysbench is a scriptable multi-threaded benchmark tool based on LuaJIT. It is most frequently used for database benchmarks, but can also be used diff --git a/pkgs/development/tools/misc/tcptrack/default.nix b/pkgs/development/tools/misc/tcptrack/default.nix index cf3cdf586cc4..5c1fe8c5b9b7 100644 --- a/pkgs/development/tools/misc/tcptrack/default.nix +++ b/pkgs/development/tools/misc/tcptrack/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { inherit (src.meta) homepage; description = "libpcap based program for live TCP connection monitoring"; + mainProgram = "tcptrack"; license = licenses.lgpl21; platforms = platforms.linux; maintainers = [ maintainers.bjornfor maintainers.vrthra ]; diff --git a/pkgs/development/tools/misc/terracognita/default.nix b/pkgs/development/tools/misc/terracognita/default.nix index 55b13dad748b..b01d73ecc172 100644 --- a/pkgs/development/tools/misc/terracognita/default.nix +++ b/pkgs/development/tools/misc/terracognita/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Reads from existing Cloud Providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration"; + mainProgram = "terracognita"; homepage = "https://github.com/cycloidio/terracognita"; changelog = "https://github.com/cycloidio/terracognita/raw/v${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/development/tools/misc/terraform-ls/default.nix b/pkgs/development/tools/misc/terraform-ls/default.nix index 814f6872d3f3..4499d113e838 100644 --- a/pkgs/development/tools/misc/terraform-ls/default.nix +++ b/pkgs/development/tools/misc/terraform-ls/default.nix @@ -28,6 +28,7 @@ buildGoModule rec { meta = with lib; { description = "Terraform Language Server (official)"; + mainProgram = "terraform-ls"; homepage = "https://github.com/hashicorp/terraform-ls"; changelog = "https://github.com/hashicorp/terraform-ls/blob/v${version}/CHANGELOG.md"; license = licenses.mpl20; diff --git a/pkgs/development/tools/misc/terraform-lsp/default.nix b/pkgs/development/tools/misc/terraform-lsp/default.nix index 332913e71130..74070bd6ea8c 100644 --- a/pkgs/development/tools/misc/terraform-lsp/default.nix +++ b/pkgs/development/tools/misc/terraform-lsp/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "Language Server Protocol for Terraform"; + mainProgram = "terraform-lsp"; homepage = "https://github.com/juliosueiras/terraform-lsp"; license = licenses.mit; maintainers = with maintainers; [ marsam ]; diff --git a/pkgs/development/tools/misc/terraformer/default.nix b/pkgs/development/tools/misc/terraformer/default.nix index 4b6001a17c70..dc8ad0644fcb 100644 --- a/pkgs/development/tools/misc/terraformer/default.nix +++ b/pkgs/development/tools/misc/terraformer/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "CLI tool to generate terraform files from existing infrastructure (reverse Terraform). Infrastructure to Code"; + mainProgram = "terraformer"; homepage = "https://github.com/GoogleCloudPlatform/terraformer"; license = licenses.asl20; maintainers = [ maintainers.marsam ]; diff --git a/pkgs/development/tools/misc/terser/default.nix b/pkgs/development/tools/misc/terser/default.nix index f58473eb54cf..3c484b5372fb 100644 --- a/pkgs/development/tools/misc/terser/default.nix +++ b/pkgs/development/tools/misc/terser/default.nix @@ -15,6 +15,7 @@ buildNpmPackage rec { meta = with lib; { description = "JavaScript parser, mangler and compressor toolkit for ES6+"; + mainProgram = "terser"; homepage = "https://terser.org"; license = licenses.bsd2; maintainers = with maintainers; [ talyz ]; diff --git a/pkgs/development/tools/misc/texi2html/default.nix b/pkgs/development/tools/misc/texi2html/default.nix index 98f846b7c2f7..66609d8d17e1 100644 --- a/pkgs/development/tools/misc/texi2html/default.nix +++ b/pkgs/development/tools/misc/texi2html/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Perl script which converts Texinfo source files to HTML output"; + mainProgram = "texi2html"; homepage = "https://www.nongnu.org/texi2html/"; license = licenses.gpl2; maintainers = [ maintainers.marcweber ]; diff --git a/pkgs/development/tools/misc/texlab/default.nix b/pkgs/development/tools/misc/texlab/default.nix index 1c504f6fbf68..9a6a1ad33139 100644 --- a/pkgs/development/tools/misc/texlab/default.nix +++ b/pkgs/development/tools/misc/texlab/default.nix @@ -50,6 +50,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An implementation of the Language Server Protocol for LaTeX"; + mainProgram = "texlab"; homepage = "https://github.com/latex-lsp/texlab"; changelog = "https://github.com/latex-lsp/texlab/blob/v${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/development/tools/misc/tie/default.nix b/pkgs/development/tools/misc/tie/default.nix index 52a740ed1c8c..70d64af37186 100644 --- a/pkgs/development/tools/misc/tie/default.nix +++ b/pkgs/development/tools/misc/tie/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.ctan.org/tex-archive/web/tie"; description = "Allow multiple web change files"; + mainProgram = "tie"; platforms = platforms.all; maintainers = with maintainers; [ vrthra ]; license = licenses.abstyles; diff --git a/pkgs/development/tools/misc/tockloader/default.nix b/pkgs/development/tools/misc/tockloader/default.nix index fbca0b0359de..d81760daa5fc 100644 --- a/pkgs/development/tools/misc/tockloader/default.nix +++ b/pkgs/development/tools/misc/tockloader/default.nix @@ -32,6 +32,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool for programming Tock onto hardware boards"; + mainProgram = "tockloader"; homepage = "https://github.com/tock/tockloader"; changelog = "https://github.com/tock/tockloader/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/tools/misc/topiary/default.nix b/pkgs/development/tools/misc/topiary/default.nix index 610deb178c10..467cd8cbacd8 100644 --- a/pkgs/development/tools/misc/topiary/default.nix +++ b/pkgs/development/tools/misc/topiary/default.nix @@ -45,6 +45,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A uniform formatter for simple languages, as part of the Tree-sitter ecosystem"; + mainProgram = "topiary"; homepage = "https://github.com/tweag/topiary"; changelog = "https://github.com/tweag/topiary/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/development/tools/misc/travis/default.nix b/pkgs/development/tools/misc/travis/default.nix index 0be7721fe080..494604e975f1 100644 --- a/pkgs/development/tools/misc/travis/default.nix +++ b/pkgs/development/tools/misc/travis/default.nix @@ -9,6 +9,7 @@ bundlerEnv { meta = with lib; { description = "CLI and Ruby client library for Travis CI"; + mainProgram = "travis"; homepage = "https://github.com/travis-ci/travis.rb"; license = licenses.mit; maintainers = with maintainers; [ zimbatm nicknovitski ]; diff --git a/pkgs/development/tools/misc/ttags/default.nix b/pkgs/development/tools/misc/ttags/default.nix index f07f2d3ef5e8..c765d0c308d4 100644 --- a/pkgs/development/tools/misc/ttags/default.nix +++ b/pkgs/development/tools/misc/ttags/default.nix @@ -21,6 +21,7 @@ in rustPlatform.buildRustPackage { meta = with lib; { description = "Generate tags using tree-sitter"; + mainProgram = "ttags"; longDescription = '' ttags generates tags (similar to ctags) for various languages, using tree-sitter. diff --git a/pkgs/development/tools/misc/typical/default.nix b/pkgs/development/tools/misc/typical/default.nix index 7944f14ca4d6..8c094a2e1f18 100644 --- a/pkgs/development/tools/misc/typical/default.nix +++ b/pkgs/development/tools/misc/typical/default.nix @@ -35,6 +35,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Data interchange with algebraic data types"; + mainProgram = "typical"; homepage = "https://github.com/stepchowfun/typical"; changelog = "https://github.com/stepchowfun/typical/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/development/tools/misc/tyson/default.nix b/pkgs/development/tools/misc/tyson/default.nix index b10b78708b58..2809c881c945 100644 --- a/pkgs/development/tools/misc/tyson/default.nix +++ b/pkgs/development/tools/misc/tyson/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "TypeScript as a configuration language"; + mainProgram = "tyson"; homepage = "https://github.com/jetpack-io/tyson"; changelog = "https://github.com/jetpack-io/tyson/releases/tag/${src.rev}"; license = licenses.asl20; diff --git a/pkgs/development/tools/misc/uncrustify/default.nix b/pkgs/development/tools/misc/uncrustify/default.nix index d57010a4bad3..a8fef714cada 100644 --- a/pkgs/development/tools/misc/uncrustify/default.nix +++ b/pkgs/development/tools/misc/uncrustify/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA"; + mainProgram = "uncrustify"; homepage = "https://uncrustify.sourceforge.net/"; license = licenses.gpl2Plus; platforms = platforms.unix; diff --git a/pkgs/development/tools/misc/vtable-dumper/default.nix b/pkgs/development/tools/misc/vtable-dumper/default.nix index 1bd59aa9944a..deed8e3af962 100644 --- a/pkgs/development/tools/misc/vtable-dumper/default.nix +++ b/pkgs/development/tools/misc/vtable-dumper/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/lvc/vtable-dumper"; description = "A tool to list content of virtual tables in a C++ shared library"; + mainProgram = "vtable-dumper"; license = licenses.lgpl21; maintainers = [ maintainers.bhipple ]; platforms = platforms.all; diff --git a/pkgs/development/tools/misc/wasmer-pack/default.nix b/pkgs/development/tools/misc/wasmer-pack/default.nix index 0f5e85349833..7c1d84de885d 100644 --- a/pkgs/development/tools/misc/wasmer-pack/default.nix +++ b/pkgs/development/tools/misc/wasmer-pack/default.nix @@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Import your WebAssembly code just like any other dependency"; + mainProgram = "wasmer-pack"; homepage = "https://github.com/wasmerio/wasmer-pack"; changelog = "https://github.com/wasmerio/wasmer-pack/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/development/tools/misc/whatstyle/default.nix b/pkgs/development/tools/misc/whatstyle/default.nix index 08f5b85bc5ed..4293a458977b 100644 --- a/pkgs/development/tools/misc/whatstyle/default.nix +++ b/pkgs/development/tools/misc/whatstyle/default.nix @@ -22,6 +22,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Find a code format style that fits given source files"; + mainProgram = "whatstyle"; homepage = "https://github.com/mikr/whatstyle"; license = licenses.mit; maintainers = with maintainers; [ dtzWill ]; diff --git a/pkgs/development/tools/misc/wishbone-tool/default.nix b/pkgs/development/tools/misc/wishbone-tool/default.nix index 0465fb74aa1a..829ccd8775f6 100644 --- a/pkgs/development/tools/misc/wishbone-tool/default.nix +++ b/pkgs/development/tools/misc/wishbone-tool/default.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage { meta = with lib; { description = "Manipulate a Wishbone device over some sort of bridge"; + mainProgram = "wishbone-tool"; homepage = "https://github.com/litex-hub/wishbone-utils"; license = licenses.bsd2; maintainers = with maintainers; [ edef ]; diff --git a/pkgs/development/tools/misc/xxdiff/default.nix b/pkgs/development/tools/misc/xxdiff/default.nix index 8f30a165df3c..87097ef819e3 100644 --- a/pkgs/development/tools/misc/xxdiff/default.nix +++ b/pkgs/development/tools/misc/xxdiff/default.nix @@ -43,6 +43,7 @@ mkDerivation rec { meta = with lib; { description = "Graphical file and directories comparator and merge tool"; + mainProgram = "xxdiff"; homepage = "http://furius.ca/xxdiff/"; license = licenses.gpl2; maintainers = with maintainers; [ pSub raskin ]; diff --git a/pkgs/development/tools/misc/xxgdb/default.nix b/pkgs/development/tools/misc/xxgdb/default.nix index cc093476fec7..eee3a860e9fe 100644 --- a/pkgs/development/tools/misc/xxgdb/default.nix +++ b/pkgs/development/tools/misc/xxgdb/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { broken = stdenv.isDarwin; description = "A simple but powerful graphical interface to gdb"; + mainProgram = "xxgdb"; license = licenses.mit; maintainers = with maintainers; [ emilytrau ]; platforms = platforms.all; diff --git a/pkgs/development/tools/misc/ycmd/default.nix b/pkgs/development/tools/misc/ycmd/default.nix index ae741234a8e2..4d5230f3159b 100644 --- a/pkgs/development/tools/misc/ycmd/default.nix +++ b/pkgs/development/tools/misc/ycmd/default.nix @@ -84,6 +84,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A code-completion and comprehension server"; + mainProgram = "ycmd"; homepage = "https://github.com/ycm-core/ycmd"; license = licenses.gpl3; maintainers = with maintainers; [ rasendubi lnl7 siriobalmelli ]; diff --git a/pkgs/development/tools/mix2nix/default.nix b/pkgs/development/tools/mix2nix/default.nix index 7c2d773884d9..4c7b7951370c 100644 --- a/pkgs/development/tools/mix2nix/default.nix +++ b/pkgs/development/tools/mix2nix/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Generate nix expressions from mix.lock file."; + mainProgram = "mix2nix"; license = licenses.mit; maintainers = with maintainers; [ ydlr ] ++ teams.beam.members; }; diff --git a/pkgs/development/tools/mod/default.nix b/pkgs/development/tools/mod/default.nix index fb5abd0fe6ad..8e71eb969b6b 100644 --- a/pkgs/development/tools/mod/default.nix +++ b/pkgs/development/tools/mod/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "Automated Semantic Import Versioning Upgrades for Go"; + mainProgram = "mod"; longDescription = '' Command line tool to upgrade/downgrade Semantic Import Versioning in Go Modules. diff --git a/pkgs/development/tools/modd/default.nix b/pkgs/development/tools/modd/default.nix index 4ad15ecfc80f..efd74ce98244 100644 --- a/pkgs/development/tools/modd/default.nix +++ b/pkgs/development/tools/modd/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "A flexible developer tool that runs processes and responds to filesystem changes"; + mainProgram = "modd"; homepage = "https://github.com/cortesi/modd"; license = licenses.mit; maintainers = with maintainers; [ kierdavis ]; diff --git a/pkgs/development/tools/moq/default.nix b/pkgs/development/tools/moq/default.nix index 1c94ce10d5d5..bd78d3d92b56 100644 --- a/pkgs/development/tools/moq/default.nix +++ b/pkgs/development/tools/moq/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/matryer/moq"; description = "Interface mocking tool for go generate"; + mainProgram = "moq"; longDescription = '' Moq is a tool that generates a struct from any interface. The struct can be used in test code as a mock of the interface. diff --git a/pkgs/development/tools/mpfshell/default.nix b/pkgs/development/tools/mpfshell/default.nix index e8a2a9b89217..331e80140bb8 100644 --- a/pkgs/development/tools/mpfshell/default.nix +++ b/pkgs/development/tools/mpfshell/default.nix @@ -21,6 +21,7 @@ python3Packages.buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/wendlers/mpfshell"; description = "A simple shell based file explorer for ESP8266 Micropython based devices"; + mainProgram = "mpfshell"; license = licenses.mit; }; } diff --git a/pkgs/development/tools/mutmut/default.nix b/pkgs/development/tools/mutmut/default.nix index 85d981961d16..3d9c8078060c 100644 --- a/pkgs/development/tools/mutmut/default.nix +++ b/pkgs/development/tools/mutmut/default.nix @@ -29,6 +29,7 @@ let self = with python3.pkgs; buildPythonApplication rec { meta = with lib; { description = "mutation testing system for Python, with a strong focus on ease of use"; + mainProgram = "mutmut"; homepage = "https://github.com/boxed/mutmut"; changelog = "https://github.com/boxed/mutmut/blob/${version}/HISTORY.rst"; license = licenses.bsd3; diff --git a/pkgs/development/tools/nap/default.nix b/pkgs/development/tools/nap/default.nix index fdc585fd5e18..aad1a6c53a3a 100644 --- a/pkgs/development/tools/nap/default.nix +++ b/pkgs/development/tools/nap/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = { description = "Code snippets in your terminal 🛌"; + mainProgram = "nap"; homepage = "https://github.com/maaslalani/nap"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ phdcybersec maaslalani ]; diff --git a/pkgs/development/tools/napi-rs-cli/default.nix b/pkgs/development/tools/napi-rs-cli/default.nix index 3b73a05a7c88..86b714dbb0c4 100644 --- a/pkgs/development/tools/napi-rs-cli/default.nix +++ b/pkgs/development/tools/napi-rs-cli/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "CLI tools for napi-rs"; + mainProgram = "napi"; homepage = "https://napi.rs"; license = licenses.mit; maintainers = with maintainers; [ winter ]; diff --git a/pkgs/development/tools/nasmfmt/default.nix b/pkgs/development/tools/nasmfmt/default.nix index 413d7df67885..eda6940f079f 100644 --- a/pkgs/development/tools/nasmfmt/default.nix +++ b/pkgs/development/tools/nasmfmt/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Formatter for NASM source files"; + mainProgram = "nasmfmt"; homepage = "https://github.com/yamnikov-oleg/nasmfmt"; license = licenses.mit; maintainers = with maintainers; [ ckie ]; diff --git a/pkgs/development/tools/neil/default.nix b/pkgs/development/tools/neil/default.nix index 96eb34f09170..e126111b5cb3 100644 --- a/pkgs/development/tools/neil/default.nix +++ b/pkgs/development/tools/neil/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/babashka/neil"; description = "A CLI to add common aliases and features to deps.edn-based projects"; + mainProgram = "neil"; license = licenses.mit; platforms = babashka.meta.platforms; maintainers = with maintainers; [ jlesquembre ]; diff --git a/pkgs/development/tools/nemiver/default.nix b/pkgs/development/tools/nemiver/default.nix index 7894dfe797d6..af0224658212 100644 --- a/pkgs/development/tools/nemiver/default.nix +++ b/pkgs/development/tools/nemiver/default.nix @@ -81,6 +81,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://wiki.gnome.org/Apps/Nemiver"; description = "Easy to use standalone C/C++ debugger"; + mainProgram = "nemiver"; license = licenses.gpl2; platforms = platforms.linux; maintainers = [ maintainers.juliendehos ]; diff --git a/pkgs/development/tools/nodenv/default.nix b/pkgs/development/tools/nodenv/default.nix index 657492966cf2..cdda869aa16a 100644 --- a/pkgs/development/tools/nodenv/default.nix +++ b/pkgs/development/tools/nodenv/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Manage multiple NodeJS versions"; + mainProgram = "nodenv"; homepage = "https://github.com/nodenv/nodenv/"; changelog = "https://github.com/nodenv/nodenv/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/tools/norminette/default.nix b/pkgs/development/tools/norminette/default.nix index 0be1693d5d2a..90a978e09948 100644 --- a/pkgs/development/tools/norminette/default.nix +++ b/pkgs/development/tools/norminette/default.nix @@ -24,6 +24,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Open source norminette to apply 42's norme to C files"; + mainProgram = "norminette"; homepage = "https://github.com/42School/norminette"; license = licenses.mit; maintainers = with maintainers; [ wegank ]; diff --git a/pkgs/development/tools/npm-check/default.nix b/pkgs/development/tools/npm-check/default.nix index 3e1ad56e4414..131048f10cbe 100644 --- a/pkgs/development/tools/npm-check/default.nix +++ b/pkgs/development/tools/npm-check/default.nix @@ -22,6 +22,7 @@ buildNpmPackage rec { meta = with lib; { description = "Check for outdated, incorrect, and unused dependencies"; + mainProgram = "npm-check"; homepage = "https://github.com/dylang/npm-check"; changelog = "https://github.com/dylang/npm-check/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/tools/ocaml/camlidl/default.nix b/pkgs/development/tools/ocaml/camlidl/default.nix index 22104d3d4dc0..5522406c7e74 100644 --- a/pkgs/development/tools/ocaml/camlidl/default.nix +++ b/pkgs/development/tools/ocaml/camlidl/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = { description = "A stub code generator and COM binding for Objective Caml"; + mainProgram = "camlidl"; homepage = "https://xavierleroy.org/camlidl/"; license = lib.licenses.lgpl21; maintainers = [ lib.maintainers.roconnor ]; diff --git a/pkgs/development/tools/ocaml/cppo/default.nix b/pkgs/development/tools/ocaml/cppo/default.nix index 2f057ada92b9..f5b002c59e64 100644 --- a/pkgs/development/tools/ocaml/cppo/default.nix +++ b/pkgs/development/tools/ocaml/cppo/default.nix @@ -7,6 +7,7 @@ let meta = with lib; { description = "The C preprocessor for OCaml"; + mainProgram = "cppo"; longDescription = '' Cppo is an equivalent of the C preprocessor targeted at the OCaml language and its variants. ''; diff --git a/pkgs/development/tools/ocaml/crunch/default.nix b/pkgs/development/tools/ocaml/crunch/default.nix index d7b4d64096ca..8a9e91b55432 100644 --- a/pkgs/development/tools/ocaml/crunch/default.nix +++ b/pkgs/development/tools/ocaml/crunch/default.nix @@ -25,6 +25,7 @@ buildDunePackage rec { meta = { homepage = "https://github.com/mirage/ocaml-crunch"; description = "Convert a filesystem into a static OCaml module"; + mainProgram = "ocaml-crunch"; license = lib.licenses.isc; maintainers = [ lib.maintainers.vbgl ]; }; diff --git a/pkgs/development/tools/ocaml/dune-release/default.nix b/pkgs/development/tools/ocaml/dune-release/default.nix index c404144b05a2..796410828f77 100644 --- a/pkgs/development/tools/ocaml/dune-release/default.nix +++ b/pkgs/development/tools/ocaml/dune-release/default.nix @@ -58,6 +58,7 @@ in buildDunePackage rec { meta = with lib; { description = "Release dune packages in opam"; + mainProgram = "dune-release"; homepage = "https://github.com/ocamllabs/dune-release"; changelog = "https://github.com/tarides/dune-release/blob/${version}/CHANGES.md"; license = licenses.isc; diff --git a/pkgs/development/tools/ocaml/dune/2.nix b/pkgs/development/tools/ocaml/dune/2.nix index 65f8c7eda3ca..0d2d3b7d5324 100644 --- a/pkgs/development/tools/ocaml/dune/2.nix +++ b/pkgs/development/tools/ocaml/dune/2.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://dune.build/"; description = "A composable build system"; + mainProgram = "dune"; changelog = "https://github.com/ocaml/dune/raw/${version}/CHANGES.md"; maintainers = [ lib.maintainers.vbgl lib.maintainers.marsam ]; license = lib.licenses.mit; diff --git a/pkgs/development/tools/ocaml/dune/3.nix b/pkgs/development/tools/ocaml/dune/3.nix index 82b677175469..b168e7e13c3c 100644 --- a/pkgs/development/tools/ocaml/dune/3.nix +++ b/pkgs/development/tools/ocaml/dune/3.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://dune.build/"; description = "A composable build system"; + mainProgram = "dune"; changelog = "https://github.com/ocaml/dune/raw/${version}/CHANGES.md"; maintainers = [ lib.maintainers.vbgl lib.maintainers.marsam ]; license = lib.licenses.mit; diff --git a/pkgs/development/tools/ocaml/merlin/dot-merlin-reader.nix b/pkgs/development/tools/ocaml/merlin/dot-merlin-reader.nix index 89af62ed70e6..2d572364005a 100644 --- a/pkgs/development/tools/ocaml/merlin/dot-merlin-reader.nix +++ b/pkgs/development/tools/ocaml/merlin/dot-merlin-reader.nix @@ -16,6 +16,7 @@ buildDunePackage rec { meta = with lib; { description = "Reads config files for merlin"; + mainProgram = "dot-merlin-reader"; homepage = "https://github.com/ocaml/merlin"; license = licenses.mit; maintainers = [ maintainers.hongchangwu ]; diff --git a/pkgs/development/tools/ocaml/obelisk/default.nix b/pkgs/development/tools/ocaml/obelisk/default.nix index 938fa24374af..2775f72d79d1 100644 --- a/pkgs/development/tools/ocaml/obelisk/default.nix +++ b/pkgs/development/tools/ocaml/obelisk/default.nix @@ -18,6 +18,7 @@ ocamlPackages.buildDunePackage rec { meta = { description = "A simple tool which produces pretty-printed output from a Menhir parser file (.mly)"; + mainProgram = "obelisk"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vbgl ]; homepage = "https://github.com/Lelio-Brun/Obelisk"; diff --git a/pkgs/development/tools/ocaml/ocaml-top/default.nix b/pkgs/development/tools/ocaml/ocaml-top/default.nix index 57b457bff293..b5c506ad9b82 100644 --- a/pkgs/development/tools/ocaml/ocaml-top/default.nix +++ b/pkgs/development/tools/ocaml/ocaml-top/default.nix @@ -17,6 +17,7 @@ with ocamlPackages; buildDunePackage rec { homepage = "https://www.typerex.org/ocaml-top.html"; license = lib.licenses.gpl3; description = "A simple cross-platform OCaml code editor built for top-level evaluation"; + mainProgram = "ocaml-top"; maintainers = with lib.maintainers; [ vbgl ]; }; } diff --git a/pkgs/development/tools/ocaml/ocp-indent/default.nix b/pkgs/development/tools/ocaml/ocp-indent/default.nix index 649e1bcd3559..6fd31d54d999 100644 --- a/pkgs/development/tools/ocaml/ocp-indent/default.nix +++ b/pkgs/development/tools/ocaml/ocp-indent/default.nix @@ -21,6 +21,7 @@ buildDunePackage rec { meta = with lib; { homepage = "https://www.typerex.org/ocp-indent.html"; description = "A customizable tool to indent OCaml code"; + mainProgram = "ocp-indent"; license = licenses.gpl3; maintainers = [ maintainers.jirkamarsik ]; }; diff --git a/pkgs/development/tools/ocaml/opaline/default.nix b/pkgs/development/tools/ocaml/opaline/default.nix index b6bc9c9b9f6f..e8fbae0f241b 100644 --- a/pkgs/development/tools/ocaml/opaline/default.nix +++ b/pkgs/development/tools/ocaml/opaline/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = { description = "OPAm Light INstaller Engine"; + mainProgram = "opaline"; license = lib.licenses.mit; maintainers = [ lib.maintainers.vbgl ]; inherit (src.meta) homepage; diff --git a/pkgs/development/tools/ocaml/opam-publish/default.nix b/pkgs/development/tools/ocaml/opam-publish/default.nix index dec119bc762c..b18b3e6707be 100644 --- a/pkgs/development/tools/ocaml/opam-publish/default.nix +++ b/pkgs/development/tools/ocaml/opam-publish/default.nix @@ -28,6 +28,7 @@ buildDunePackage rec { meta = with lib; { homepage = "https://github.com/ocaml-opam/${pname}"; description = "A tool to ease contributions to opam repositories"; + mainProgram = "opam-publish"; license = with licenses; [ lgpl21Only ocamlLgplLinkingException ]; maintainers = with maintainers; [ niols ]; }; diff --git a/pkgs/development/tools/ocaml/opam/installer.nix b/pkgs/development/tools/ocaml/opam/installer.nix index 9b3b7a5617ba..a56621267df3 100644 --- a/pkgs/development/tools/ocaml/opam/installer.nix +++ b/pkgs/development/tools/ocaml/opam/installer.nix @@ -13,5 +13,6 @@ ocamlPackages.buildDunePackage { meta = opam.meta // { description = "Handle (un)installation from opam install files"; + mainProgram = "opam-installer"; }; } diff --git a/pkgs/development/tools/ocaml/opam2json/default.nix b/pkgs/development/tools/ocaml/opam2json/default.nix index a3ca535d3f86..844e6f816134 100644 --- a/pkgs/development/tools/ocaml/opam2json/default.nix +++ b/pkgs/development/tools/ocaml/opam2json/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { platforms = platforms.all; description = "convert opam file syntax to JSON"; + mainProgram = "opam2json"; maintainers = [ maintainers.balsoft ]; license = licenses.gpl3; homepage = "https://github.com/tweag/opam2json"; diff --git a/pkgs/development/tools/ofono-phonesim/default.nix b/pkgs/development/tools/ofono-phonesim/default.nix index 395211cd13c1..81a513edd687 100644 --- a/pkgs/development/tools/ofono-phonesim/default.nix +++ b/pkgs/development/tools/ofono-phonesim/default.nix @@ -31,6 +31,7 @@ mkDerivation { meta = with lib; { description = "Phone Simulator for modem testing"; + mainProgram = "phonesim"; homepage = "https://01.org/ofono"; license = licenses.gpl2; maintainers = with maintainers; [ ]; diff --git a/pkgs/development/tools/oh-my-posh/default.nix b/pkgs/development/tools/oh-my-posh/default.nix index 66990d84589f..13a8de6550b2 100644 --- a/pkgs/development/tools/oh-my-posh/default.nix +++ b/pkgs/development/tools/oh-my-posh/default.nix @@ -53,6 +53,7 @@ buildGoModule rec { meta = with lib; { description = "A prompt theme engine for any shell"; + mainProgram = "oh-my-posh"; homepage = "https://ohmyposh.dev"; changelog = "https://github.com/JanDeDobbeleer/oh-my-posh/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/tools/okteto/default.nix b/pkgs/development/tools/okteto/default.nix index 0c78566a872f..67446277bf5d 100644 --- a/pkgs/development/tools/okteto/default.nix +++ b/pkgs/development/tools/okteto/default.nix @@ -47,6 +47,7 @@ buildGoModule rec { meta = with lib; { description = "Develop your applications directly in your Kubernetes Cluster"; + mainProgram = "okteto"; homepage = "https://okteto.com/"; license = licenses.asl20; maintainers = with maintainers; [ aaronjheng ]; diff --git a/pkgs/development/tools/ols/default.nix b/pkgs/development/tools/ols/default.nix index 9357cdd9ae01..05839dcdcba7 100644 --- a/pkgs/development/tools/ols/default.nix +++ b/pkgs/development/tools/ols/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation { meta = with lib; { inherit (odin.meta) platforms; description = "Language server for the Odin programming language"; + mainProgram = "ols"; homepage = "https://github.com/DanielGavin/ols"; license = licenses.mit; maintainers = with maintainers; [ astavie znaniye ]; diff --git a/pkgs/development/tools/oq/default.nix b/pkgs/development/tools/oq/default.nix index 8e23e72912b0..8508fbc2d741 100644 --- a/pkgs/development/tools/oq/default.nix +++ b/pkgs/development/tools/oq/default.nix @@ -38,6 +38,7 @@ crystal.buildCrystalPackage rec { meta = with lib; { description = "A performant, and portable jq wrapper"; + mainProgram = "oq"; homepage = "https://blacksmoke16.github.io/oq/"; license = licenses.mit; maintainers = with maintainers; [ Br1ght0ne ]; diff --git a/pkgs/development/tools/oras/default.nix b/pkgs/development/tools/oras/default.nix index 50727b811c21..fe1c0d5db36b 100644 --- a/pkgs/development/tools/oras/default.nix +++ b/pkgs/development/tools/oras/default.nix @@ -51,6 +51,7 @@ buildGoModule rec { homepage = "https://oras.land/"; changelog = "https://github.com/oras-project/oras/releases/tag/v${version}"; description = "The ORAS project provides a way to push and pull OCI Artifacts to and from OCI Registries"; + mainProgram = "oras"; license = licenses.asl20; maintainers = with maintainers; [ jk developer-guy ]; }; diff --git a/pkgs/development/tools/oshka/default.nix b/pkgs/development/tools/oshka/default.nix index 489f41b718df..0161382491cf 100644 --- a/pkgs/development/tools/oshka/default.nix +++ b/pkgs/development/tools/oshka/default.nix @@ -27,6 +27,7 @@ buildGoModule rec { meta = with lib; { description = "Tool for extracting nested CI/CD supply chains and executing commands"; + mainProgram = "oshka"; homepage = "https://github.com/k1LoW/oshka"; license = licenses.mit; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/development/tools/osslsigncode/default.nix b/pkgs/development/tools/osslsigncode/default.nix index a581dd04ec48..f622e11b14d0 100644 --- a/pkgs/development/tools/osslsigncode/default.nix +++ b/pkgs/development/tools/osslsigncode/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/mtrojnar/osslsigncode"; description = "OpenSSL based Authenticode signing for PE/MSI/Java CAB files"; + mainProgram = "osslsigncode"; license = licenses.gpl3Plus; maintainers = with maintainers; [ mmahut prusnak ]; platforms = platforms.all; diff --git a/pkgs/development/tools/out-of-tree/default.nix b/pkgs/development/tools/out-of-tree/default.nix index a96156ca7109..72f7d8b76a60 100644 --- a/pkgs/development/tools/out-of-tree/default.nix +++ b/pkgs/development/tools/out-of-tree/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "kernel {module, exploit} development tool"; + mainProgram = "out-of-tree"; homepage = "https://out-of-tree.io"; maintainers = [ maintainers.dump_stack ]; license = licenses.agpl3Plus; diff --git a/pkgs/development/tools/packcc/default.nix b/pkgs/development/tools/packcc/default.nix index 4f618665573c..b1ec078c9c5d 100644 --- a/pkgs/development/tools/packcc/default.nix +++ b/pkgs/development/tools/packcc/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A parser generator for C"; + mainProgram = "packcc"; longDescription = '' PackCC is a parser generator for C. Its main features are as follows: - Generates your parser in C from a grammar described in a PEG, diff --git a/pkgs/development/tools/packet/default.nix b/pkgs/development/tools/packet/default.nix index 61e9b210683f..056c9a3527ed 100644 --- a/pkgs/development/tools/packet/default.nix +++ b/pkgs/development/tools/packet/default.nix @@ -17,6 +17,7 @@ buildGoPackage rec { meta = with lib; { description = "a CLI tool to manage packet.net services"; + mainProgram = "packet"; homepage = "https://github.com/ebsarr/packet"; license = licenses.mit; maintainers = with maintainers; [ grahamc ]; diff --git a/pkgs/development/tools/pactorio/default.nix b/pkgs/development/tools/pactorio/default.nix index 5d7558669045..851c2c895444 100644 --- a/pkgs/development/tools/pactorio/default.nix +++ b/pkgs/development/tools/pactorio/default.nix @@ -34,6 +34,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Mod packager for factorio"; + mainProgram = "pactorio"; homepage = "https://github.com/figsoda/pactorio"; changelog = "https://github.com/figsoda/pactorio/blob/v${version}/CHANGELOG.md"; license = licenses.mpl20; diff --git a/pkgs/development/tools/paging-calculator/default.nix b/pkgs/development/tools/paging-calculator/default.nix index b3cf80588142..d9241d81ac88 100644 --- a/pkgs/development/tools/paging-calculator/default.nix +++ b/pkgs/development/tools/paging-calculator/default.nix @@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI utility that helps calculating page table indices from a virtual address"; + mainProgram = "paging-calculator"; longDescription = '' paging-calculator is a CLI utility written in Rust that helps you finding the indices that a virtual address will have into the page tables on different architectures. diff --git a/pkgs/development/tools/parinfer-rust/default.nix b/pkgs/development/tools/parinfer-rust/default.nix index ade168b81614..7d7ea67417e0 100644 --- a/pkgs/development/tools/parinfer-rust/default.nix +++ b/pkgs/development/tools/parinfer-rust/default.nix @@ -27,6 +27,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Infer parentheses for Clojure, Lisp, and Scheme"; + mainProgram = "parinfer-rust"; homepage = "https://github.com/eraserhd/parinfer-rust"; license = licenses.isc; maintainers = with maintainers; [ eraserhd ]; diff --git a/pkgs/development/tools/parse-cli-bin/default.nix b/pkgs/development/tools/parse-cli-bin/default.nix index 33dbd0fec181..0ece2bb4afb0 100644 --- a/pkgs/development/tools/parse-cli-bin/default.nix +++ b/pkgs/development/tools/parse-cli-bin/default.nix @@ -11,6 +11,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Parse Command Line Interface"; + mainProgram = "parse"; homepage = "https://parse.com"; platforms = platforms.linux; license = licenses.bsd3; diff --git a/pkgs/development/tools/parsing/bisonc++/default.nix b/pkgs/development/tools/parsing/bisonc++/default.nix index 5a38c6679eb2..5994da022631 100644 --- a/pkgs/development/tools/parsing/bisonc++/default.nix +++ b/pkgs/development/tools/parsing/bisonc++/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A parser generator like bison, but it generates C++ code"; + mainProgram = "bisonc++"; license = licenses.gpl2Plus; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; diff --git a/pkgs/development/tools/parsing/flex/2.5.35.nix b/pkgs/development/tools/parsing/flex/2.5.35.nix index c13abf071c56..d6a09929d4f8 100644 --- a/pkgs/development/tools/parsing/flex/2.5.35.nix +++ b/pkgs/development/tools/parsing/flex/2.5.35.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { branch = "2.5.35"; homepage = "https://flex.sourceforge.net/"; description = "A fast lexical analyser generator"; + mainProgram = "flex"; license = licenses.bsd2; platforms = platforms.unix; }; diff --git a/pkgs/development/tools/parsing/flexc++/default.nix b/pkgs/development/tools/parsing/flexc++/default.nix index e4db5631e7fe..1a56818b4d65 100644 --- a/pkgs/development/tools/parsing/flexc++/default.nix +++ b/pkgs/development/tools/parsing/flexc++/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "C++ tool for generating lexical scanners"; + mainProgram = "flexc++"; longDescription = '' Flexc++ was designed after `flex'. Flexc++ offers a cleaner class design and requires simpler specification files than offered by flex's C++ diff --git a/pkgs/development/tools/parsing/javacc/default.nix b/pkgs/development/tools/parsing/javacc/default.nix index 42e1a536de04..a601ac15221f 100644 --- a/pkgs/development/tools/parsing/javacc/default.nix +++ b/pkgs/development/tools/parsing/javacc/default.nix @@ -5,7 +5,7 @@ , jdk , jre , makeWrapper -, canonicalize-jars-hook +, stripJavaArchivesHook }: stdenv.mkDerivation (finalAttrs: { @@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: { ant jdk makeWrapper - canonicalize-jars-hook + stripJavaArchivesHook ]; buildPhase = '' diff --git a/pkgs/development/tools/parsing/jikespg/default.nix b/pkgs/development/tools/parsing/jikespg/default.nix index e9bd83416933..aec4682cec2e 100644 --- a/pkgs/development/tools/parsing/jikespg/default.nix +++ b/pkgs/development/tools/parsing/jikespg/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://jikes.sourceforge.net/"; description = "The Jikes Parser Generator"; + mainProgram = "jikespg"; platforms = platforms.all; license = licenses.ipl10; maintainers = with maintainers; [ pSub ]; diff --git a/pkgs/development/tools/parsing/jshon/default.nix b/pkgs/development/tools/parsing/jshon/default.nix index 977c4bb398c2..7e167aa729d2 100644 --- a/pkgs/development/tools/parsing/jshon/default.nix +++ b/pkgs/development/tools/parsing/jshon/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://kmkeen.com/jshon"; description = "JSON parser designed for maximum convenience within the shell"; + mainProgram = "jshon"; license = licenses.free; platforms = platforms.all; maintainers = with maintainers; [ rushmorem ]; diff --git a/pkgs/development/tools/parsing/lemon/default.nix b/pkgs/development/tools/parsing/lemon/default.nix index 9c8786950d22..5e59d7441e7e 100644 --- a/pkgs/development/tools/parsing/lemon/default.nix +++ b/pkgs/development/tools/parsing/lemon/default.nix @@ -32,6 +32,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "An LALR(1) parser generator"; + mainProgram = "lemon"; longDescription = '' The Lemon program is an LALR(1) parser generator that takes a context-free grammar and converts it into a subroutine that will parse a diff --git a/pkgs/development/tools/parsing/nex/default.nix b/pkgs/development/tools/parsing/nex/default.nix index 287098ed8d36..2d3f18cacedd 100644 --- a/pkgs/development/tools/parsing/nex/default.nix +++ b/pkgs/development/tools/parsing/nex/default.nix @@ -20,6 +20,7 @@ buildGoPackage rec { meta = with lib; { description = "Lexer for Go"; + mainProgram = "nex"; homepage = "https://github.com/blynn/nex"; license = licenses.gpl3Only; maintainers = with maintainers; [ urandom ]; diff --git a/pkgs/development/tools/parsing/ragel/default.nix b/pkgs/development/tools/parsing/ragel/default.nix index db5590ccbb96..72e77a55a152 100644 --- a/pkgs/development/tools/parsing/ragel/default.nix +++ b/pkgs/development/tools/parsing/ragel/default.nix @@ -30,6 +30,7 @@ let meta = with lib; { homepage = "https://www.colm.net/open-source/ragel/"; description = "State machine compiler"; + mainProgram = "ragel"; inherit broken license; platforms = platforms.unix; maintainers = with maintainers; [ pSub ]; diff --git a/pkgs/development/tools/parsing/tree-sitter/default.nix b/pkgs/development/tools/parsing/tree-sitter/default.nix index 2a6fd3374d8f..84f505caeb5a 100644 --- a/pkgs/development/tools/parsing/tree-sitter/default.nix +++ b/pkgs/development/tools/parsing/tree-sitter/default.nix @@ -156,6 +156,7 @@ rustPlatform.buildRustPackage { meta = with lib; { homepage = "https://github.com/tree-sitter/tree-sitter"; description = "A parser generator tool and an incremental parsing library"; + mainProgram = "tree-sitter"; longDescription = '' Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited. diff --git a/pkgs/development/tools/patatt/default.nix b/pkgs/development/tools/patatt/default.nix index aed80b94ac6b..b50fae18ae49 100644 --- a/pkgs/development/tools/patatt/default.nix +++ b/pkgs/development/tools/patatt/default.nix @@ -17,6 +17,7 @@ python3Packages.buildPythonApplication rec { homepage = "https://git.kernel.org/pub/scm/utils/patatt/patatt.git/about/"; license = licenses.mit0; description = "Add cryptographic attestation to patches sent via email"; + mainProgram = "patatt"; longDescription = '' This utility allows an easy way to add end-to-end cryptographic attestation to patches sent via mail. It does so by adapting the diff --git a/pkgs/development/tools/patcher9x/default.nix b/pkgs/development/tools/patcher9x/default.nix index 33dad487b3f6..090f902c75b9 100644 --- a/pkgs/development/tools/patcher9x/default.nix +++ b/pkgs/development/tools/patcher9x/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation (finalAttr: { meta = with lib; { description = "Patch for Windows 95/98/98 SE/Me to fix CPU issues"; + mainProgram = "patcher9x"; homepage = "https://github.com/JHRobotics/patcher9x"; license = licenses.mit; maintainers = with maintainers; [ hughobrien ]; diff --git a/pkgs/development/tools/pet/default.nix b/pkgs/development/tools/pet/default.nix index 98d7a9c742bd..3250107cbf0e 100644 --- a/pkgs/development/tools/pet/default.nix +++ b/pkgs/development/tools/pet/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "Simple command-line snippet manager, written in Go"; + mainProgram = "pet"; homepage = "https://github.com/knqyf263/pet"; license = licenses.mit; maintainers = with maintainers; [ kalbasit ]; diff --git a/pkgs/development/tools/pew/default.nix b/pkgs/development/tools/pew/default.nix index f0c9d7d62b6e..adcfc0efd4c7 100644 --- a/pkgs/development/tools/pew/default.nix +++ b/pkgs/development/tools/pew/default.nix @@ -23,6 +23,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/berdario/pew"; description = "Tools to manage multiple virtualenvs written in pure python"; + mainProgram = "pew"; license = licenses.mit; platforms = platforms.all; maintainers = with maintainers; [ berdario ]; diff --git a/pkgs/development/tools/pgloader/default.nix b/pkgs/development/tools/pgloader/default.nix index dce892451c1c..59f3eeeaeaa9 100644 --- a/pkgs/development/tools/pgloader/default.nix +++ b/pkgs/development/tools/pgloader/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://pgloader.io/"; description = "Loads data into PostgreSQL and allows you to implement Continuous Migration from your current database to PostgreSQL"; + mainProgram = "pgloader"; maintainers = with maintainers; [ mguentner ]; license = licenses.postgresql; platforms = platforms.all; diff --git a/pkgs/development/tools/pgtop/default.nix b/pkgs/development/tools/pgtop/default.nix index 722f701892e4..4007bc5abec1 100644 --- a/pkgs/development/tools/pgtop/default.nix +++ b/pkgs/development/tools/pgtop/default.nix @@ -22,6 +22,7 @@ perlPackages.buildPerlPackage rec { meta = with lib; { description = "a PostgreSQL clone of `mytop', which in turn is a `top' clone for MySQL"; + mainProgram = "pgtop"; homepage = "https://github.com/cosimo/pgtop"; changelog = "https://github.com/cosimo/pgtop/releases/tag/v${version}"; maintainers = [ maintainers.hagl ]; diff --git a/pkgs/development/tools/picotool/default.nix b/pkgs/development/tools/picotool/default.nix index 03d3d440c297..a31f46808353 100644 --- a/pkgs/development/tools/picotool/default.nix +++ b/pkgs/development/tools/picotool/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/raspberrypi/picotool"; description = "Tool for interacting with a RP2040 device in BOOTSEL mode, or with a RP2040 binary"; + mainProgram = "picotool"; license = licenses.bsd3; maintainers = with maintainers; [ muscaln ]; platforms = platforms.unix; diff --git a/pkgs/development/tools/pifpaf/default.nix b/pkgs/development/tools/pifpaf/default.nix index e11baa783ba6..80d9c26f506c 100644 --- a/pkgs/development/tools/pifpaf/default.nix +++ b/pkgs/development/tools/pifpaf/default.nix @@ -36,6 +36,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Suite of tools and fixtures to manage daemons for testing"; + mainProgram = "pifpaf"; homepage = "https://github.com/jd/pifpaf"; license = licenses.asl20; maintainers = with maintainers; [ ]; diff --git a/pkgs/development/tools/pigeon/default.nix b/pkgs/development/tools/pigeon/default.nix index 74b2a69c4c7c..38fcd75f391d 100644 --- a/pkgs/development/tools/pigeon/default.nix +++ b/pkgs/development/tools/pigeon/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = { homepage = "https://github.com/mna/pigeon"; description = "A PEG parser generator for Go"; + mainProgram = "pigeon"; maintainers = with lib.maintainers; [ zimbatm ]; license = with lib.licenses; [ bsd3 ]; }; diff --git a/pkgs/development/tools/pip-audit/default.nix b/pkgs/development/tools/pip-audit/default.nix index 9ff8f51b672d..6adcf5529e56 100644 --- a/pkgs/development/tools/pip-audit/default.nix +++ b/pkgs/development/tools/pip-audit/default.nix @@ -60,6 +60,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool for scanning Python environments for known vulnerabilities"; + mainProgram = "pip-audit"; homepage = "https://github.com/trailofbits/pip-audit"; changelog = "https://github.com/pypa/pip-audit/releases/tag/v${version}"; license = with licenses; [ asl20 ]; diff --git a/pkgs/development/tools/pqrs/default.nix b/pkgs/development/tools/pqrs/default.nix index 56c99d30babc..730bc67fbbe8 100644 --- a/pkgs/development/tools/pqrs/default.nix +++ b/pkgs/development/tools/pqrs/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "CLI tool to inspect Parquet files"; + mainProgram = "pqrs"; homepage = "https://github.com/manojkarthick/pqrs"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = [ maintainers.manojkarthick ]; diff --git a/pkgs/development/tools/profiling/pprof/default.nix b/pkgs/development/tools/profiling/pprof/default.nix index 44f9d5030d1c..e81446d7f12e 100644 --- a/pkgs/development/tools/profiling/pprof/default.nix +++ b/pkgs/development/tools/profiling/pprof/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "A tool for visualization and analysis of profiling data"; + mainProgram = "pprof"; homepage = "https://github.com/google/pprof"; license = licenses.asl20; longDescription = '' diff --git a/pkgs/development/tools/protoc-gen-connect-go/default.nix b/pkgs/development/tools/protoc-gen-connect-go/default.nix index 60b7199fe19e..aae03af7cbf2 100644 --- a/pkgs/development/tools/protoc-gen-connect-go/default.nix +++ b/pkgs/development/tools/protoc-gen-connect-go/default.nix @@ -27,6 +27,7 @@ buildGoModule rec { meta = with lib; { description = "Simple, reliable, interoperable, better gRPC"; + mainProgram = "protoc-gen-connect-go"; homepage = "https://github.com/connectrpc/connect-go"; changelog = "https://github.com/connectrpc/connect-go/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/development/tools/protoc-gen-dart/default.nix b/pkgs/development/tools/protoc-gen-dart/default.nix index 82f1c0de125d..b09322e29701 100644 --- a/pkgs/development/tools/protoc-gen-dart/default.nix +++ b/pkgs/development/tools/protoc-gen-dart/default.nix @@ -19,6 +19,7 @@ buildDartApplication rec { meta = with lib; { description = "Protobuf plugin for generating Dart code"; + mainProgram = "protoc-gen-dart"; homepage = "https://pub.dev/packages/protoc_plugin"; license = licenses.bsd3; maintainers = with maintainers; [ lelgenio ]; diff --git a/pkgs/development/tools/protoc-gen-doc/default.nix b/pkgs/development/tools/protoc-gen-doc/default.nix index 31e86f85cd08..09eb0a057aee 100644 --- a/pkgs/development/tools/protoc-gen-doc/default.nix +++ b/pkgs/development/tools/protoc-gen-doc/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Documentation generator plugin for Google Protocol Buffers"; + mainProgram = "protoc-gen-doc"; longDescription = '' This is a documentation generator plugin for the Google Protocol Buffers compiler (protoc). The plugin can generate HTML, JSON, DocBook and diff --git a/pkgs/development/tools/protoc-gen-entgrpc/default.nix b/pkgs/development/tools/protoc-gen-entgrpc/default.nix index 2047974cf286..53d7d4338776 100644 --- a/pkgs/development/tools/protoc-gen-entgrpc/default.nix +++ b/pkgs/development/tools/protoc-gen-entgrpc/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "Generator of an implementation of the service interface for ent protobuff"; + mainProgram = "protoc-gen-entgrpc"; downloadPage = "https://github.com/ent/contrib/"; license = licenses.asl20; homepage = "https://entgo.io/"; diff --git a/pkgs/development/tools/protoc-gen-go-grpc/default.nix b/pkgs/development/tools/protoc-gen-go-grpc/default.nix index fab6bfec12f0..1cf06dd34e21 100644 --- a/pkgs/development/tools/protoc-gen-go-grpc/default.nix +++ b/pkgs/development/tools/protoc-gen-go-grpc/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "The Go language implementation of gRPC. HTTP/2 based RPC"; + mainProgram = "protoc-gen-go-grpc"; license = licenses.asl20; maintainers = [ maintainers.raboof ]; }; diff --git a/pkgs/development/tools/protoc-gen-go-vtproto/default.nix b/pkgs/development/tools/protoc-gen-go-vtproto/default.nix index e1e716eee13a..85816b725f34 100644 --- a/pkgs/development/tools/protoc-gen-go-vtproto/default.nix +++ b/pkgs/development/tools/protoc-gen-go-vtproto/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "A Protocol Buffers compiler that generates optimized marshaling & unmarshaling Go code for ProtoBuf APIv2"; + mainProgram = "protoc-gen-go-vtproto"; homepage = "https://github.com/planetscale/vtprotobuf"; license = licenses.bsd3; maintainers = [ maintainers.zane ]; diff --git a/pkgs/development/tools/protoc-gen-go/default.nix b/pkgs/development/tools/protoc-gen-go/default.nix index 55c0efc62a8a..626d80eef577 100644 --- a/pkgs/development/tools/protoc-gen-go/default.nix +++ b/pkgs/development/tools/protoc-gen-go/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Go support for Google's protocol buffers"; + mainProgram = "protoc-gen-go"; homepage = "https://google.golang.org/protobuf"; license = licenses.bsd3; maintainers = with maintainers; [ jojosch ]; diff --git a/pkgs/development/tools/protoc-gen-grpc-web/default.nix b/pkgs/development/tools/protoc-gen-grpc-web/default.nix index 7308414504ed..6c8d8c541760 100644 --- a/pkgs/development/tools/protoc-gen-grpc-web/default.nix +++ b/pkgs/development/tools/protoc-gen-grpc-web/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://github.com/grpc/grpc-web"; changelog = "https://github.com/grpc/grpc-web/blob/${finalAttrs.version}/CHANGELOG.md"; description = "gRPC web support for Google's protocol buffers"; + mainProgram = "protoc-gen-grpc-web"; license = licenses.asl20; maintainers = with maintainers; [ jk ]; platforms = platforms.unix; diff --git a/pkgs/development/tools/protoc-gen-prost-crate/default.nix b/pkgs/development/tools/protoc-gen-prost-crate/default.nix index 8503e9266944..1a2a1450a4bc 100644 --- a/pkgs/development/tools/protoc-gen-prost-crate/default.nix +++ b/pkgs/development/tools/protoc-gen-prost-crate/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A protoc plugin that generates Cargo crates and include files for `protoc-gen-prost`"; + mainProgram = "protoc-gen-prost-crate"; homepage = "https://github.com/neoeinstein/protoc-gen-prost"; changelog = "https://github.com/neoeinstein/protoc-gen-prost/blob/main/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/development/tools/protoc-gen-prost-serde/default.nix b/pkgs/development/tools/protoc-gen-prost-serde/default.nix index 843dc4fc684b..7ee87e622119 100644 --- a/pkgs/development/tools/protoc-gen-prost-serde/default.nix +++ b/pkgs/development/tools/protoc-gen-prost-serde/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A protoc plugin that generates serde serialization implementations for `protoc-gen-prost`"; + mainProgram = "protoc-gen-prost-serde"; homepage = "https://github.com/neoeinstein/protoc-gen-prost"; changelog = "https://github.com/neoeinstein/protoc-gen-prost/blob/main/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/development/tools/protoc-gen-prost/default.nix b/pkgs/development/tools/protoc-gen-prost/default.nix index 645ecdee3081..6012af0acf3c 100644 --- a/pkgs/development/tools/protoc-gen-prost/default.nix +++ b/pkgs/development/tools/protoc-gen-prost/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Protocol Buffers compiler plugin powered by Prost"; + mainProgram = "protoc-gen-prost"; homepage = "https://github.com/neoeinstein/protoc-gen-prost"; changelog = "https://github.com/neoeinstein/protoc-gen-prost/blob/main/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/development/tools/protoc-gen-rust/default.nix b/pkgs/development/tools/protoc-gen-rust/default.nix index 7a1dcb4b3e48..bba32dd81a4e 100644 --- a/pkgs/development/tools/protoc-gen-rust/default.nix +++ b/pkgs/development/tools/protoc-gen-rust/default.nix @@ -22,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Protobuf plugin for generating Rust code"; + mainProgram = "protoc-gen-rust"; homepage = "https://github.com/stepancheg/rust-protobuf"; license = licenses.mit; maintainers = with maintainers; [ lucperkins ]; diff --git a/pkgs/development/tools/protoc-gen-tonic/default.nix b/pkgs/development/tools/protoc-gen-tonic/default.nix index 7bc6fa52e54d..fc5e98b49b40 100644 --- a/pkgs/development/tools/protoc-gen-tonic/default.nix +++ b/pkgs/development/tools/protoc-gen-tonic/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A protoc plugin that generates Tonic gRPC server and client code using the Prost code generation engine"; + mainProgram = "protoc-gen-tonic"; homepage = "https://github.com/neoeinstein/protoc-gen-prost"; changelog = "https://github.com/neoeinstein/protoc-gen-prost/blob/main/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/development/tools/protoc-gen-twirp/default.nix b/pkgs/development/tools/protoc-gen-twirp/default.nix index 4b8ee1f35f65..76ce9a922cc9 100644 --- a/pkgs/development/tools/protoc-gen-twirp/default.nix +++ b/pkgs/development/tools/protoc-gen-twirp/default.nix @@ -21,6 +21,7 @@ buildGoPackage rec { meta = with lib; { description = "A simple RPC framework with protobuf service definitions"; + mainProgram = "protoc-gen-twirp"; homepage = "https://github.com/twitchtv/twirp"; license = licenses.asl20; maintainers = with maintainers; [ jojosch ]; diff --git a/pkgs/development/tools/protoc-gen-twirp_php/default.nix b/pkgs/development/tools/protoc-gen-twirp_php/default.nix index 30b2ff3ce78d..7fc04ae81ae3 100644 --- a/pkgs/development/tools/protoc-gen-twirp_php/default.nix +++ b/pkgs/development/tools/protoc-gen-twirp_php/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "PHP port of Twitch's Twirp RPC framework"; + mainProgram = "protoc-gen-twirp_php"; homepage = "https://github.com/twirphp/twirp"; license = licenses.mit; maintainers = with maintainers; [ jojosch ]; diff --git a/pkgs/development/tools/protoc-gen-twirp_swagger/default.nix b/pkgs/development/tools/protoc-gen-twirp_swagger/default.nix index 0b651a6ce0b4..1445f60f676f 100644 --- a/pkgs/development/tools/protoc-gen-twirp_swagger/default.nix +++ b/pkgs/development/tools/protoc-gen-twirp_swagger/default.nix @@ -17,6 +17,7 @@ buildGoModule { meta = with lib; { description = "Swagger generator for twirp"; + mainProgram = "protoc-gen-twirp_swagger"; homepage = "https://github.com/elliots/protoc-gen-twirp_swagger"; license = licenses.bsd3; maintainers = with maintainers; [ jojosch ]; diff --git a/pkgs/development/tools/protoc-gen-twirp_typescript/default.nix b/pkgs/development/tools/protoc-gen-twirp_typescript/default.nix index 259b2a8871a7..340b21784712 100644 --- a/pkgs/development/tools/protoc-gen-twirp_typescript/default.nix +++ b/pkgs/development/tools/protoc-gen-twirp_typescript/default.nix @@ -18,6 +18,7 @@ buildGoModule { meta = with lib; { description = "Protobuf Plugin for Generating a Twirp Typescript Client"; + mainProgram = "protoc-gen-twirp_typescript"; homepage = "https://github.com/larrymyers/protoc-gen-twirp_typescript"; license = licenses.mit; maintainers = with maintainers; [ jojosch dgollings ]; diff --git a/pkgs/development/tools/protoscope/default.nix b/pkgs/development/tools/protoscope/default.nix index 70eeab5f1575..98ebbc995617 100644 --- a/pkgs/development/tools/protoscope/default.nix +++ b/pkgs/development/tools/protoscope/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Simple, human-editable language for representing and emitting the Protobuf wire format"; + mainProgram = "protoscope"; homepage = "https://github.com/protocolbuffers/protoscope"; license = licenses.asl20; maintainers = with maintainers; [ aaronjheng ]; diff --git a/pkgs/development/tools/prototool/default.nix b/pkgs/development/tools/prototool/default.nix index 3e7c9b0b87db..d47676fd6fa2 100644 --- a/pkgs/development/tools/prototool/default.nix +++ b/pkgs/development/tools/prototool/default.nix @@ -28,6 +28,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/uber/prototool"; description = "Your Swiss Army Knife for Protocol Buffers"; + mainProgram = "prototool"; maintainers = [ maintainers.marsam ]; license = licenses.mit; }; diff --git a/pkgs/development/tools/pscale/default.nix b/pkgs/development/tools/pscale/default.nix index 06a152e8fcb1..ec8e0c644732 100644 --- a/pkgs/development/tools/pscale/default.nix +++ b/pkgs/development/tools/pscale/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { meta = with lib; { description = "The CLI for PlanetScale Database"; + mainProgram = "pscale"; changelog = "https://github.com/planetscale/cli/releases/tag/v${version}"; homepage = "https://www.planetscale.com/"; license = licenses.asl20; diff --git a/pkgs/development/tools/pulumictl/default.nix b/pkgs/development/tools/pulumictl/default.nix index 8a18b4424201..b96c87bdf32c 100644 --- a/pkgs/development/tools/pulumictl/default.nix +++ b/pkgs/development/tools/pulumictl/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Swiss Army Knife for Pulumi Development"; + mainProgram = "pulumictl"; homepage = "https://github.com/pulumi/pulumictl"; license = licenses.asl20; maintainers = with maintainers; [ vincentbernat ]; diff --git a/pkgs/development/tools/pup/default.nix b/pkgs/development/tools/pup/default.nix index d7ca815babd4..501d5613930c 100644 --- a/pkgs/development/tools/pup/default.nix +++ b/pkgs/development/tools/pup/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Parsing HTML at the command line"; + mainProgram = "pup"; homepage = "https://github.com/ericchiang/pup"; license = licenses.mit; maintainers = with maintainers; [ yana ]; diff --git a/pkgs/development/tools/pur/default.nix b/pkgs/development/tools/pur/default.nix index 9f8527b34765..6c33f5f0016e 100644 --- a/pkgs/development/tools/pur/default.nix +++ b/pkgs/development/tools/pur/default.nix @@ -29,6 +29,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Python library for update and track the requirements"; + mainProgram = "pur"; homepage = "https://github.com/alanhamlett/pip-update-requirements"; changelog = "https://github.com/alanhamlett/pip-update-requirements/blob/${version}/HISTORY.rst"; license = with licenses; [ bsd2 ]; diff --git a/pkgs/development/tools/pxview/default.nix b/pkgs/development/tools/pxview/default.nix index 84bf11c44830..53698261560e 100644 --- a/pkgs/development/tools/pxview/default.nix +++ b/pkgs/development/tools/pxview/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Program to convert Paradox databases"; + mainProgram = "pxview"; homepage = "https://pxlib.sourceforge.net/pxview/"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/development/tools/py-spy/default.nix b/pkgs/development/tools/py-spy/default.nix index 3b907c201089..8ac80ee1dade 100644 --- a/pkgs/development/tools/py-spy/default.nix +++ b/pkgs/development/tools/py-spy/default.nix @@ -50,6 +50,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Sampling profiler for Python programs"; + mainProgram = "py-spy"; homepage = "https://github.com/benfred/py-spy"; changelog = "https://github.com/benfred/py-spy/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/tools/pypi-mirror/default.nix b/pkgs/development/tools/pypi-mirror/default.nix index f2a629042fd6..9eafecca465d 100644 --- a/pkgs/development/tools/pypi-mirror/default.nix +++ b/pkgs/development/tools/pypi-mirror/default.nix @@ -17,6 +17,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "A script to create a partial PyPI mirror"; + mainProgram = "pypi-mirror"; homepage = "https://github.com/montag451/pypi-mirror"; license = licenses.mit; maintainers = with maintainers; [ kamadorueda ]; diff --git a/pkgs/development/tools/qc/default.nix b/pkgs/development/tools/qc/default.nix index 786ab73758a8..e02df42fa1cc 100644 --- a/pkgs/development/tools/qc/default.nix +++ b/pkgs/development/tools/qc/default.nix @@ -36,6 +36,7 @@ buildGoModule rec { meta = with lib; { description = "QOwnNotes command-line snippet manager"; + mainProgram = "qc"; homepage = "https://github.com/qownnotes/qc"; license = licenses.mit; maintainers = with maintainers; [ pbek totoroot ]; diff --git a/pkgs/development/tools/quick-lint-js/default.nix b/pkgs/development/tools/quick-lint-js/default.nix index 0227a00f9d0a..86b76bf99c07 100644 --- a/pkgs/development/tools/quick-lint-js/default.nix +++ b/pkgs/development/tools/quick-lint-js/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Find bugs in Javascript programs"; + mainProgram = "quick-lint-js"; homepage = "https://quick-lint-js.com"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ratsclub ]; diff --git a/pkgs/development/tools/rain/default.nix b/pkgs/development/tools/rain/default.nix index 2f263848e020..878d9827a12a 100644 --- a/pkgs/development/tools/rain/default.nix +++ b/pkgs/development/tools/rain/default.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "A development workflow tool for working with AWS CloudFormation"; + mainProgram = "rain"; homepage = "https://github.com/aws-cloudformation/rain"; license = licenses.asl20; maintainers = with maintainers; [ jiegec ]; diff --git a/pkgs/development/tools/rakkess/default.nix b/pkgs/development/tools/rakkess/default.nix index 83ee3c9ec115..6b101e0b890c 100644 --- a/pkgs/development/tools/rakkess/default.nix +++ b/pkgs/development/tools/rakkess/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { homepage = "https://github.com/corneliusweig/rakkess"; changelog = "https://github.com/corneliusweig/rakkess/releases/tag/v${version}"; description = "Review Access - kubectl plugin to show an access matrix for k8s server resources"; + mainProgram = "rakkess"; longDescription = '' Have you ever wondered what access rights you have on a provided kubernetes cluster? For single resources you can use diff --git a/pkgs/development/tools/rars/default.nix b/pkgs/development/tools/rars/default.nix index 8d51fc95cf4f..b1ce9eecde52 100644 --- a/pkgs/development/tools/rars/default.nix +++ b/pkgs/development/tools/rars/default.nix @@ -24,6 +24,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { description = "RISC-V Assembler and Runtime Simulator"; + mainProgram = "rars"; homepage = "https://github.com/TheThirdOne/rars"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.mit; diff --git a/pkgs/development/tools/rbspy/default.nix b/pkgs/development/tools/rbspy/default.nix index 309f8dbd9065..6ae0df232727 100644 --- a/pkgs/development/tools/rbspy/default.nix +++ b/pkgs/development/tools/rbspy/default.nix @@ -54,6 +54,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://rbspy.github.io/"; description = "A Sampling CPU Profiler for Ruby"; + mainProgram = "rbspy"; changelog = "https://github.com/rbspy/rbspy/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ viraptor ]; diff --git a/pkgs/development/tools/rcodesign/default.nix b/pkgs/development/tools/rcodesign/default.nix index 34227dfa705e..e3999ebff952 100644 --- a/pkgs/development/tools/rcodesign/default.nix +++ b/pkgs/development/tools/rcodesign/default.nix @@ -35,6 +35,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cross-platform CLI interface to interact with Apple code signing."; + mainProgram = "rcodesign"; longDescription = '' rcodesign provides various commands to interact with Apple signing, including signing and notarizing binaries, generating signing diff --git a/pkgs/development/tools/rdocker/default.nix b/pkgs/development/tools/rdocker/default.nix index 098d7a593148..fa823ec4d4c9 100644 --- a/pkgs/development/tools/rdocker/default.nix +++ b/pkgs/development/tools/rdocker/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Securely control a remote docker daemon CLI using ssh forwarding, no SSL setup needed"; + mainProgram = "rdocker"; homepage = "https://github.com/dvddarias/rdocker"; maintainers = [ lib.maintainers.pneumaticat ]; license = licenses.mit; diff --git a/pkgs/development/tools/react-native-debugger/default.nix b/pkgs/development/tools/react-native-debugger/default.nix index b3cece960186..b11e1da40b36 100644 --- a/pkgs/development/tools/react-native-debugger/default.nix +++ b/pkgs/development/tools/react-native-debugger/default.nix @@ -111,6 +111,7 @@ stdenv.mkDerivation rec { sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.mit; description = "The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools"; + mainProgram = "react-native-debugger"; maintainers = with maintainers; [ ]; }; } diff --git a/pkgs/development/tools/rebazel/default.nix b/pkgs/development/tools/rebazel/default.nix index c28701f96a21..6cc64e116981 100644 --- a/pkgs/development/tools/rebazel/default.nix +++ b/pkgs/development/tools/rebazel/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "tool for expediting bazel build workflows"; + mainProgram = "rebazel"; homepage = "https://github.com/meetup/rebazel"; license = licenses.mit; maintainers = with maintainers; [ zimbatm ]; diff --git a/pkgs/development/tools/refinery-cli/default.nix b/pkgs/development/tools/refinery-cli/default.nix index 140efe5bfd1b..7e3f7c0f4c8d 100644 --- a/pkgs/development/tools/refinery-cli/default.nix +++ b/pkgs/development/tools/refinery-cli/default.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Run migrations for the Refinery ORM for Rust via the CLI"; + mainProgram = "refinery"; homepage = "https://github.com/rust-db/refinery"; changelog = "https://github.com/rust-db/refinery/blob/${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/development/tools/reflex/default.nix b/pkgs/development/tools/reflex/default.nix index 406740e784f0..98cb6141003c 100644 --- a/pkgs/development/tools/reflex/default.nix +++ b/pkgs/development/tools/reflex/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "A small tool to watch a directory and rerun a command when certain files change"; + mainProgram = "reflex"; homepage = "https://github.com/cespare/reflex"; license = licenses.mit; maintainers = with maintainers; [ nicknovitski ]; diff --git a/pkgs/development/tools/refmt/default.nix b/pkgs/development/tools/refmt/default.nix index efcb03a49b8f..5946e75f3f20 100644 --- a/pkgs/development/tools/refmt/default.nix +++ b/pkgs/development/tools/refmt/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Reformat HCL <-> JSON <-> YAML"; + mainProgram = "refmt"; homepage = "https://github.com/rjeczalik/refmt"; license = licenses.agpl3Only; maintainers = with lib.maintainers; [ deemp ]; diff --git a/pkgs/development/tools/refurb/default.nix b/pkgs/development/tools/refurb/default.nix index 17c32d78d288..e9dd2ecbd942 100644 --- a/pkgs/development/tools/refurb/default.nix +++ b/pkgs/development/tools/refurb/default.nix @@ -56,6 +56,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A tool for refurbishing and modernizing Python codebases"; + mainProgram = "refurb"; homepage = "https://github.com/dosisod/refurb"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ knl ]; diff --git a/pkgs/development/tools/reindeer/default.nix b/pkgs/development/tools/reindeer/default.nix index c689ba110057..8b6925e860e2 100644 --- a/pkgs/development/tools/reindeer/default.nix +++ b/pkgs/development/tools/reindeer/default.nix @@ -36,6 +36,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Reindeer is a tool which takes Rust Cargo dependencies and generates Buck build rules"; + mainProgram = "reindeer"; homepage = "https://github.com/facebookincubator/reindeer"; license = with licenses; [ mit ]; maintainers = with maintainers; [ nickgerace ]; diff --git a/pkgs/development/tools/relic/default.nix b/pkgs/development/tools/relic/default.nix index 4029dfe028a7..2fa4fcb13571 100644 --- a/pkgs/development/tools/relic/default.nix +++ b/pkgs/development/tools/relic/default.nix @@ -34,6 +34,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/sassoftware/relic"; description = "A service and a tool for adding digital signatures to operating system packages for Linux and Windows"; + mainProgram = "relic"; license = licenses.asl20; maintainers = with maintainers; [ strager ]; }; diff --git a/pkgs/development/tools/remodel/default.nix b/pkgs/development/tools/remodel/default.nix index 75c5ff2df3da..c9374d3a8dec 100644 --- a/pkgs/development/tools/remodel/default.nix +++ b/pkgs/development/tools/remodel/default.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Roblox file manipulation tool"; + mainProgram = "remodel"; longDescription = '' Remodel is a command line tool for manipulating Roblox files and the instances contained within them. ''; diff --git a/pkgs/development/tools/renderizer/default.nix b/pkgs/development/tools/renderizer/default.nix index 7a1540f13800..61f06a3bf44f 100644 --- a/pkgs/development/tools/renderizer/default.nix +++ b/pkgs/development/tools/renderizer/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "CLI to render Go template text files"; + mainProgram = "renderizer"; inherit (src.meta) homepage; license = licenses.gpl3; maintainers = []; diff --git a/pkgs/development/tools/reno/default.nix b/pkgs/development/tools/reno/default.nix index c895deb4f34f..f687583888f2 100644 --- a/pkgs/development/tools/reno/default.nix +++ b/pkgs/development/tools/reno/default.nix @@ -52,6 +52,7 @@ with python3Packages; buildPythonApplication rec { meta = with lib; { description = "Release Notes Manager"; + mainProgram = "reno"; homepage = "https://docs.openstack.org/reno/latest"; license = licenses.asl20; maintainers = with maintainers; [ drewrisinger guillaumekoenig ]; diff --git a/pkgs/development/tools/rep/default.nix b/pkgs/development/tools/rep/default.nix index 0b1294abd1ef..78b9c2612e42 100644 --- a/pkgs/development/tools/rep/default.nix +++ b/pkgs/development/tools/rep/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Single-shot nREPL client"; + mainProgram = "rep"; homepage = "https://github.com/eraserhd/rep"; license = licenses.epl10; platforms = platforms.all; diff --git a/pkgs/development/tools/reshape/default.nix b/pkgs/development/tools/reshape/default.nix index d0bf9110c14e..82eeb6e7b0b6 100644 --- a/pkgs/development/tools/reshape/default.nix +++ b/pkgs/development/tools/reshape/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An easy-to-use, zero-downtime schema migration tool for Postgres"; + mainProgram = "reshape"; homepage = "https://github.com/fabianlindfors/reshape"; changelog = "https://github.com/fabianlindfors/reshape/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/tools/resolve-march-native/default.nix b/pkgs/development/tools/resolve-march-native/default.nix index ae15c490f186..a5db33e712ab 100644 --- a/pkgs/development/tools/resolve-march-native/default.nix +++ b/pkgs/development/tools/resolve-march-native/default.nix @@ -22,6 +22,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Tool to determine what GCC flags -march=native would resolve into"; + mainProgram = "resolve-march-native"; homepage = "https://github.com/hartwork/resolve-march-native"; license = licenses.gpl2Plus; maintainers = with maintainers; [ lovesegfault ]; diff --git a/pkgs/development/tools/revive/default.nix b/pkgs/development/tools/revive/default.nix index 5e410ec1dab1..099bc7476c91 100644 --- a/pkgs/development/tools/revive/default.nix +++ b/pkgs/development/tools/revive/default.nix @@ -46,6 +46,7 @@ buildGoModule rec { meta = with lib; { description = "Fast, configurable, extensible, flexible, and beautiful linter for Go"; + mainProgram = "revive"; homepage = "https://revive.run"; license = licenses.mit; maintainers = with maintainers; [ maaslalani ]; diff --git a/pkgs/development/tools/richgo/default.nix b/pkgs/development/tools/richgo/default.nix index cef70f62ab68..3435572580ac 100644 --- a/pkgs/development/tools/richgo/default.nix +++ b/pkgs/development/tools/richgo/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Enrich `go test` outputs with text decorations"; + mainProgram = "richgo"; homepage = "https://github.com/kyoh86/richgo"; license = licenses.mit; maintainers = with maintainers; [ rvolosatovs ]; diff --git a/pkgs/development/tools/riot-redis/default.nix b/pkgs/development/tools/riot-redis/default.nix index 55ac4e8399f8..755228361b1f 100644 --- a/pkgs/development/tools/riot-redis/default.nix +++ b/pkgs/development/tools/riot-redis/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/redis-developer/riot"; description = "Get data in and out of Redis"; + mainProgram = "riot-redis"; license = licenses.asl20; sourceProvenance = with sourceTypes; [ binaryBytecode ]; maintainers = with maintainers; [ wesnel ]; diff --git a/pkgs/development/tools/rojo/default.nix b/pkgs/development/tools/rojo/default.nix index 0ed91bd18e3e..746d269f76a2 100644 --- a/pkgs/development/tools/rojo/default.nix +++ b/pkgs/development/tools/rojo/default.nix @@ -43,6 +43,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Project management tool for Roblox"; + mainProgram = "rojo"; longDescription = '' Rojo is a tool designed to enable Roblox developers to use professional-grade software engineering tools. ''; diff --git a/pkgs/development/tools/ronn/default.nix b/pkgs/development/tools/ronn/default.nix index c3f0d2631848..3e0d49271177 100644 --- a/pkgs/development/tools/ronn/default.nix +++ b/pkgs/development/tools/ronn/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "markdown-based tool for building manpages"; + mainProgram = "ronn"; homepage = "https://github.com/apjanke/ronn-ng"; license = licenses.mit; maintainers = with maintainers; [ zimbatm nicknovitski ]; diff --git a/pkgs/development/tools/rover/default.nix b/pkgs/development/tools/rover/default.nix index 90b3d91413f7..244c61f46792 100644 --- a/pkgs/development/tools/rover/default.nix +++ b/pkgs/development/tools/rover/default.nix @@ -47,6 +47,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A CLI for interacting with ApolloGraphQL's developer tooling, including managing self-hosted and GraphOS graphs."; + mainProgram = "rover"; homepage = "https://www.apollographql.com/docs/rover"; license = licenses.mit; maintainers = [ maintainers.ivanbrennan maintainers.aaronarinder ]; diff --git a/pkgs/development/tools/rq/default.nix b/pkgs/development/tools/rq/default.nix index 17a85c0145e8..d8ec2c9db8c3 100644 --- a/pkgs/development/tools/rq/default.nix +++ b/pkgs/development/tools/rq/default.nix @@ -28,6 +28,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool for doing record analysis and transformation"; + mainProgram = "rq"; homepage = "https://github.com/dflemstr/rq"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ aristid Br1ght0ne figsoda ]; diff --git a/pkgs/development/tools/run/default.nix b/pkgs/development/tools/run/default.nix index ea7b8880636e..794fb32c5cfe 100644 --- a/pkgs/development/tools/run/default.nix +++ b/pkgs/development/tools/run/default.nix @@ -16,6 +16,7 @@ buildGoModule rec { meta = with lib; { description = "Easily manage and invoke small scripts and wrappers"; + mainProgram = "run"; homepage = "https://github.com/TekWizely/run"; license = licenses.mit; maintainers = with maintainers; [ rawkode Br1ght0ne ]; diff --git a/pkgs/development/tools/rund/default.nix b/pkgs/development/tools/rund/default.nix index 186e044318e0..e02e58fb893c 100644 --- a/pkgs/development/tools/rund/default.nix +++ b/pkgs/development/tools/rund/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A compiler-wrapper that runs and caches D programs"; + mainProgram = "rund"; homepage = "https://github.com/dragon-lang/rund"; license = lib.licenses.boost; maintainers = with maintainers; [ jonathanmarler ]; diff --git a/pkgs/development/tools/rust/cargo-apk/default.nix b/pkgs/development/tools/rust/cargo-apk/default.nix index 6bb05552e079..130894a72ade 100644 --- a/pkgs/development/tools/rust/cargo-apk/default.nix +++ b/pkgs/development/tools/rust/cargo-apk/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Tool for creating Android packages"; + mainProgram = "cargo-apk"; homepage = "https://github.com/rust-windowing/android-ndk-rs"; license = with licenses;[ mit asl20 ]; maintainers = with maintainers; [ nickcao ]; diff --git a/pkgs/development/tools/rust/cargo-audit/default.nix b/pkgs/development/tools/rust/cargo-audit/default.nix index c48b34e0d668..8660eff6f638 100644 --- a/pkgs/development/tools/rust/cargo-audit/default.nix +++ b/pkgs/development/tools/rust/cargo-audit/default.nix @@ -39,6 +39,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Audit Cargo.lock files for crates with security vulnerabilities"; + mainProgram = "cargo-audit"; homepage = "https://rustsec.org"; changelog = "https://github.com/rustsec/rustsec/blob/cargo-audit/v${version}/cargo-audit/CHANGELOG.md"; license = with licenses; [ mit /* or */ asl20 ]; diff --git a/pkgs/development/tools/rust/cargo-bazel/default.nix b/pkgs/development/tools/rust/cargo-bazel/default.nix index 26409d25002b..3cb68b11c62e 100644 --- a/pkgs/development/tools/rust/cargo-bazel/default.nix +++ b/pkgs/development/tools/rust/cargo-bazel/default.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Part of the `crate_universe` collection of tools which use Cargo to generate build targets for Bazel"; + mainProgram = "cargo-bazel"; homepage = "https://github.com/bazelbuild/rules_rust"; license = licenses.asl20; maintainers = with maintainers; [ rickvanprim ]; diff --git a/pkgs/development/tools/rust/cargo-benchcmp/default.nix b/pkgs/development/tools/rust/cargo-benchcmp/default.nix index d46a57355d73..c12d496e1315 100644 --- a/pkgs/development/tools/rust/cargo-benchcmp/default.nix +++ b/pkgs/development/tools/rust/cargo-benchcmp/default.nix @@ -33,6 +33,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A small utility to compare Rust micro-benchmarks"; + mainProgram = "cargo-benchcmp"; homepage = "https://github.com/BurntSushi/cargo-benchcmp"; license = with licenses; [ mit unlicense ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/rust/cargo-binstall/default.nix b/pkgs/development/tools/rust/cargo-binstall/default.nix index 8149550313fe..8f0ae1b22dd0 100644 --- a/pkgs/development/tools/rust/cargo-binstall/default.nix +++ b/pkgs/development/tools/rust/cargo-binstall/default.nix @@ -56,6 +56,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool for installing rust binaries as an alternative to building from source"; + mainProgram = "cargo-binstall"; homepage = "https://github.com/cargo-bins/cargo-binstall"; changelog = "https://github.com/cargo-bins/cargo-binstall/releases/tag/v${version}"; license = licenses.gpl3Only; diff --git a/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix b/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix index da57b85e083e..5c7d0d57fde0 100644 --- a/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix +++ b/pkgs/development/tools/rust/cargo-bisect-rustc/default.nix @@ -55,6 +55,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Bisects rustc, either nightlies or CI artifacts"; + mainProgram = "cargo-bisect-rustc"; homepage = "https://github.com/rust-lang/cargo-bisect-rustc"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ davidtwco ]; diff --git a/pkgs/development/tools/rust/cargo-bitbake/default.nix b/pkgs/development/tools/rust/cargo-bitbake/default.nix index 2d26cf97da4d..ed3f5a243cb3 100644 --- a/pkgs/development/tools/rust/cargo-bitbake/default.nix +++ b/pkgs/development/tools/rust/cargo-bitbake/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo extension that can generate BitBake recipes utilizing the classes from meta-rust"; + mainProgram = "cargo-bitbake"; homepage = "https://github.com/meta-rust/cargo-bitbake"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ rvarago ]; diff --git a/pkgs/development/tools/rust/cargo-bolero/default.nix b/pkgs/development/tools/rust/cargo-bolero/default.nix index 15a3a28183a0..c242732b237b 100644 --- a/pkgs/development/tools/rust/cargo-bolero/default.nix +++ b/pkgs/development/tools/rust/cargo-bolero/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Fuzzing and property testing front-end framework for Rust"; + mainProgram = "cargo-bolero"; homepage = "https://github.com/camshaft/bolero"; license = with licenses; [ mit ]; maintainers = with maintainers; [ ekleog ]; diff --git a/pkgs/development/tools/rust/cargo-bundle-licenses/default.nix b/pkgs/development/tools/rust/cargo-bundle-licenses/default.nix index 0274f80e01b8..1a6cc5ca0746 100644 --- a/pkgs/development/tools/rust/cargo-bundle-licenses/default.nix +++ b/pkgs/development/tools/rust/cargo-bundle-licenses/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Generate a THIRDPARTY file with all licenses in a cargo project"; + mainProgram = "cargo-bundle-licenses"; homepage = "https://github.com/sstadick/cargo-bundle-licenses"; changelog = "https://github.com/sstadick/cargo-bundle-licenses/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ mit asl20 ]; diff --git a/pkgs/development/tools/rust/cargo-bundle/default.nix b/pkgs/development/tools/rust/cargo-bundle/default.nix index 73924d1c599a..daf4bc230b8d 100644 --- a/pkgs/development/tools/rust/cargo-bundle/default.nix +++ b/pkgs/development/tools/rust/cargo-bundle/default.nix @@ -35,6 +35,7 @@ rustPlatform.buildRustPackage { meta = with lib; { description = "Wrap rust executables in OS-specific app bundles"; + mainProgram = "cargo-bundle"; homepage = "https://github.com/burtonageo/cargo-bundle"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/rust/cargo-cache/default.nix b/pkgs/development/tools/rust/cargo-cache/default.nix index 8e37c1489dfd..a1151c161ffd 100644 --- a/pkgs/development/tools/rust/cargo-cache/default.nix +++ b/pkgs/development/tools/rust/cargo-cache/default.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Manage cargo cache (\${CARGO_HOME}, ~/.cargo/), print sizes of dirs and remove dirs selectively"; + mainProgram = "cargo-cache"; homepage = "https://github.com/matthiaskrgr/cargo-cache"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ Br1ght0ne matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-careful/default.nix b/pkgs/development/tools/rust/cargo-careful/default.nix index 7d147241b46e..a4d5abfd0233 100644 --- a/pkgs/development/tools/rust/cargo-careful/default.nix +++ b/pkgs/development/tools/rust/cargo-careful/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to execute Rust code carefully, with extra checking along the way"; + mainProgram = "cargo-careful"; homepage = "https://github.com/RalfJung/cargo-careful"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ figsoda matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-chef/default.nix b/pkgs/development/tools/rust/cargo-chef/default.nix index 030450d454d3..27cc6e1042d7 100644 --- a/pkgs/development/tools/rust/cargo-chef/default.nix +++ b/pkgs/development/tools/rust/cargo-chef/default.nix @@ -13,6 +13,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cargo-subcommand to speed up Rust Docker builds using Docker layer caching"; + mainProgram = "cargo-chef"; homepage = "https://github.com/LukeMathWalker/cargo-chef"; license = licenses.mit; maintainers = with maintainers; [ kkharji ]; diff --git a/pkgs/development/tools/rust/cargo-clone/default.nix b/pkgs/development/tools/rust/cargo-clone/default.nix index 6a8f432ecab7..4ad07b579347 100644 --- a/pkgs/development/tools/rust/cargo-clone/default.nix +++ b/pkgs/development/tools/rust/cargo-clone/default.nix @@ -33,6 +33,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cargo subcommand to fetch the source code of a Rust crate"; + mainProgram = "cargo-clone"; homepage = "https://github.com/janlikar/cargo-clone"; changelog = "https://github.com/janlikar/cargo-clone/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 mit ]; diff --git a/pkgs/development/tools/rust/cargo-cranky/default.nix b/pkgs/development/tools/rust/cargo-cranky/default.nix index 1af60f183fdc..78acf1006508 100644 --- a/pkgs/development/tools/rust/cargo-cranky/default.nix +++ b/pkgs/development/tools/rust/cargo-cranky/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An easy to configure wrapper for Rust's clippy"; + mainProgram = "cargo-cranky"; homepage = "https://github.com/ericseppanen/cargo-cranky"; changelog = "https://github.com/ericseppanen/cargo-cranky/releases/tag/${src.rev}"; license = with licenses; [ asl20 mit ]; diff --git a/pkgs/development/tools/rust/cargo-crev/default.nix b/pkgs/development/tools/rust/cargo-crev/default.nix index 26606ecd5ee7..832d736a9771 100644 --- a/pkgs/development/tools/rust/cargo-crev/default.nix +++ b/pkgs/development/tools/rust/cargo-crev/default.nix @@ -39,6 +39,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cryptographically verifiable code review system for the cargo (Rust) package manager"; + mainProgram = "cargo-crev"; homepage = "https://github.com/crev-dev/cargo-crev"; license = with licenses; [ asl20 mit mpl20 ]; maintainers = with maintainers; [ b4dm4n matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-criterion/default.nix b/pkgs/development/tools/rust/cargo-criterion/default.nix index cc9f5ae255cc..986892a68b4d 100644 --- a/pkgs/development/tools/rust/cargo-criterion/default.nix +++ b/pkgs/development/tools/rust/cargo-criterion/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo extension for running Criterion.rs benchmarks"; + mainProgram = "cargo-criterion"; homepage = "https://github.com/bheisler/cargo-criterion"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ humancalico matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-cyclonedx/default.nix b/pkgs/development/tools/rust/cargo-cyclonedx/default.nix index c4290a6e9cfa..79f0b5d2eb3d 100644 --- a/pkgs/development/tools/rust/cargo-cyclonedx/default.nix +++ b/pkgs/development/tools/rust/cargo-cyclonedx/default.nix @@ -38,6 +38,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Creates CycloneDX Software Bill of Materials (SBOM) from Rust (Cargo) projects"; + mainProgram = "cargo-cyclonedx"; longDescription = '' The CycloneDX module for Rust (Cargo) creates a valid CycloneDX Software Bill-of-Material (SBOM) containing an aggregate of all project diff --git a/pkgs/development/tools/rust/cargo-deb/default.nix b/pkgs/development/tools/rust/cargo-deb/default.nix index 0d3af8268ece..b70f742772c0 100644 --- a/pkgs/development/tools/rust/cargo-deb/default.nix +++ b/pkgs/development/tools/rust/cargo-deb/default.nix @@ -35,6 +35,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cargo subcommand that generates Debian packages from information in Cargo.toml"; + mainProgram = "cargo-deb"; homepage = "https://github.com/kornelski/cargo-deb"; license = licenses.mit; maintainers = with maintainers; [ Br1ght0ne matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-deny/default.nix b/pkgs/development/tools/rust/cargo-deny/default.nix index 5fb6e1adac4b..558b8ae486c2 100644 --- a/pkgs/development/tools/rust/cargo-deny/default.nix +++ b/pkgs/development/tools/rust/cargo-deny/default.nix @@ -40,6 +40,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo plugin to generate list of all licenses for a crate"; + mainProgram = "cargo-deny"; homepage = "https://github.com/EmbarkStudios/cargo-deny"; changelog = "https://github.com/EmbarkStudios/cargo-deny/blob/${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/rust/cargo-depgraph/default.nix b/pkgs/development/tools/rust/cargo-depgraph/default.nix index 1e7c63574c99..1918501d1d92 100644 --- a/pkgs/development/tools/rust/cargo-depgraph/default.nix +++ b/pkgs/development/tools/rust/cargo-depgraph/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Create dependency graphs for cargo projects using `cargo metadata` and graphviz"; + mainProgram = "cargo-depgraph"; homepage = "https://sr.ht/~jplatte/cargo-depgraph"; changelog = "https://git.sr.ht/~jplatte/cargo-depgraph/tree/${src.rev}/item/CHANGELOG.md"; license = licenses.gpl3Plus; diff --git a/pkgs/development/tools/rust/cargo-dephell/default.nix b/pkgs/development/tools/rust/cargo-dephell/default.nix index b01a722e5ea1..fd1bd84836f6 100644 --- a/pkgs/development/tools/rust/cargo-dephell/default.nix +++ b/pkgs/development/tools/rust/cargo-dephell/default.nix @@ -49,6 +49,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to analyze the third-party dependencies imported by a rust crate or rust workspace"; + mainProgram = "cargo-dephell"; homepage = "https://github.com/mimoo/cargo-dephell"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ figsoda matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-deps/default.nix b/pkgs/development/tools/rust/cargo-deps/default.nix index 0cbba27cf15f..4265873a71ac 100644 --- a/pkgs/development/tools/rust/cargo-deps/default.nix +++ b/pkgs/development/tools/rust/cargo-deps/default.nix @@ -13,6 +13,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo subcommand for building dependency graphs of Rust projects"; + mainProgram = "cargo-deps"; homepage = "https://github.com/m-cat/cargo-deps"; license = licenses.mit; maintainers = with maintainers; [ arcnmx matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-diet/default.nix b/pkgs/development/tools/rust/cargo-diet/default.nix index 60aadca13d00..b7b4e2d11d1b 100644 --- a/pkgs/development/tools/rust/cargo-diet/default.nix +++ b/pkgs/development/tools/rust/cargo-diet/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Help computing optimal include directives for your Cargo.toml manifest"; + mainProgram = "cargo-diet"; homepage = "https://github.com/the-lean-crate/cargo-diet"; changelog = "https://github.com/the-lean-crate/cargo-diet/blob/v${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/development/tools/rust/cargo-dist/default.nix b/pkgs/development/tools/rust/cargo-dist/default.nix index df0ab6cabd67..87026163fb90 100644 --- a/pkgs/development/tools/rust/cargo-dist/default.nix +++ b/pkgs/development/tools/rust/cargo-dist/default.nix @@ -55,6 +55,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool for building final distributable artifacts and uploading them to an archive"; + mainProgram = "cargo-dist"; homepage = "https://github.com/axodotdev/cargo-dist"; changelog = "https://github.com/axodotdev/cargo-dist/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ asl20 mit ]; diff --git a/pkgs/development/tools/rust/cargo-docset/default.nix b/pkgs/development/tools/rust/cargo-docset/default.nix index 95fa48e4aba9..54328186e8b7 100644 --- a/pkgs/development/tools/rust/cargo-docset/default.nix +++ b/pkgs/development/tools/rust/cargo-docset/default.nix @@ -26,6 +26,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo subcommand to generate a Dash/Zeal docset for your Rust packages"; + mainProgram = "cargo-docset"; homepage = "https://github.com/Robzz/cargo-docset"; changelog = "https://github.com/Robzz/cargo-docset/blob/${version}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/development/tools/rust/cargo-duplicates/default.nix b/pkgs/development/tools/rust/cargo-duplicates/default.nix index 781764d3c313..d2f3b9c7a09d 100644 --- a/pkgs/development/tools/rust/cargo-duplicates/default.nix +++ b/pkgs/development/tools/rust/cargo-duplicates/default.nix @@ -39,6 +39,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cargo subcommand for displaying when different versions of a same dependency are pulled in"; + mainProgram = "cargo-duplicates"; homepage = "https://github.com/Keruspe/cargo-duplicates"; license = licenses.mit; maintainers = with maintainers; [ figsoda matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-expand/default.nix b/pkgs/development/tools/rust/cargo-expand/default.nix index a51b972921da..86c322f7116c 100644 --- a/pkgs/development/tools/rust/cargo-expand/default.nix +++ b/pkgs/development/tools/rust/cargo-expand/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A utility and Cargo subcommand designed to let people expand macros in their Rust source code"; + mainProgram = "cargo-expand"; homepage = "https://github.com/dtolnay/cargo-expand"; changelog = "https://github.com/dtolnay/cargo-expand/releases/tag/${version}"; license = with licenses; [ mit asl20 ]; diff --git a/pkgs/development/tools/rust/cargo-feature/default.nix b/pkgs/development/tools/rust/cargo-feature/default.nix index 855fb65fdfb7..c09447ebbc04 100644 --- a/pkgs/development/tools/rust/cargo-feature/default.nix +++ b/pkgs/development/tools/rust/cargo-feature/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo plugin to manage dependency features"; + mainProgram = "cargo-feature"; homepage = "https://github.com/Riey/cargo-feature"; license = licenses.mit; platforms = platforms.unix; diff --git a/pkgs/development/tools/rust/cargo-fund/default.nix b/pkgs/development/tools/rust/cargo-fund/default.nix index 54a04f29a012..42f703aaa240 100644 --- a/pkgs/development/tools/rust/cargo-fund/default.nix +++ b/pkgs/development/tools/rust/cargo-fund/default.nix @@ -22,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Discover funding links for your project's dependencies"; + mainProgram = "cargo-fund"; homepage = "https://github.com/acfoltzer/cargo-fund"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ johntitor ]; diff --git a/pkgs/development/tools/rust/cargo-fuzz/default.nix b/pkgs/development/tools/rust/cargo-fuzz/default.nix index b41bdbe32f68..fc60b761fe4e 100644 --- a/pkgs/development/tools/rust/cargo-fuzz/default.nix +++ b/pkgs/development/tools/rust/cargo-fuzz/default.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Command line helpers for fuzzing"; + mainProgram = "cargo-fuzz"; homepage = "https://github.com/rust-fuzz/cargo-fuzz"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ ekleog matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-geiger/default.nix b/pkgs/development/tools/rust/cargo-geiger/default.nix index 5c48aeeb3829..3fbf1af9ad46 100644 --- a/pkgs/development/tools/rust/cargo-geiger/default.nix +++ b/pkgs/development/tools/rust/cargo-geiger/default.nix @@ -47,6 +47,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/rust-secure-code/cargo-geiger"; changelog = "https://github.com/rust-secure-code/cargo-geiger/blob/${pname}-${version}/CHANGELOG.md"; description = "Detects usage of unsafe Rust in a Rust crate and its dependencies"; + mainProgram = "cargo-geiger"; longDescription = '' A cargo plugin that detects the usage of unsafe Rust in a Rust crate and its dependencies. It provides information to aid auditing and guide diff --git a/pkgs/development/tools/rust/cargo-generate/default.nix b/pkgs/development/tools/rust/cargo-generate/default.nix index 299bcd7ffad7..4cf34bbe6a3d 100644 --- a/pkgs/development/tools/rust/cargo-generate/default.nix +++ b/pkgs/development/tools/rust/cargo-generate/default.nix @@ -54,6 +54,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to generate a new Rust project by leveraging a pre-existing git repository as a template"; + mainProgram = "cargo-generate"; homepage = "https://github.com/cargo-generate/cargo-generate"; changelog = "https://github.com/cargo-generate/cargo-generate/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/rust/cargo-guppy/default.nix b/pkgs/development/tools/rust/cargo-guppy/default.nix index e62a0a9925fd..488c4284b175 100644 --- a/pkgs/development/tools/rust/cargo-guppy/default.nix +++ b/pkgs/development/tools/rust/cargo-guppy/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A command-line frontend for guppy"; + mainProgram = "cargo-guppy"; homepage = "https://github.com/guppy-rs/guppy/tree/main/cargo-guppy"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/rust/cargo-hack/default.nix b/pkgs/development/tools/rust/cargo-hack/default.nix index cf10116a7388..a24fa814fc02 100644 --- a/pkgs/development/tools/rust/cargo-hack/default.nix +++ b/pkgs/development/tools/rust/cargo-hack/default.nix @@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo subcommand to provide various options useful for testing and continuous integration"; + mainProgram = "cargo-hack"; homepage = "https://github.com/taiki-e/cargo-hack"; changelog = "https://github.com/taiki-e/cargo-hack/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/rust/cargo-hakari/default.nix b/pkgs/development/tools/rust/cargo-hakari/default.nix index e58bf32863a8..6cf225e8de60 100644 --- a/pkgs/development/tools/rust/cargo-hakari/default.nix +++ b/pkgs/development/tools/rust/cargo-hakari/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Manage workspace-hack packages to speed up builds in large workspaces."; + mainProgram = "cargo-hakari"; longDescription = '' cargo hakari is a command-line application to manage workspace-hack crates. Use it to speed up local cargo build and cargo check commands by 15-95%, diff --git a/pkgs/development/tools/rust/cargo-hf2/default.nix b/pkgs/development/tools/rust/cargo-hf2/default.nix index 92a0a5458175..b49f7904812f 100644 --- a/pkgs/development/tools/rust/cargo-hf2/default.nix +++ b/pkgs/development/tools/rust/cargo-hf2/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo Subcommand for Microsoft HID Flashing Library for UF2 Bootloaders "; + mainProgram = "cargo-hf2"; homepage = "https://lib.rs/crates/cargo-hf2"; license = with licenses; [ mit ]; maintainers = with maintainers; [ astrobeastie ]; diff --git a/pkgs/development/tools/rust/cargo-info/default.nix b/pkgs/development/tools/rust/cargo-info/default.nix index 9e05699e6c43..c2892ab70783 100644 --- a/pkgs/development/tools/rust/cargo-info/default.nix +++ b/pkgs/development/tools/rust/cargo-info/default.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo subcommand to show crates info from crates.io"; + mainProgram = "cargo-info"; homepage = "https://gitlab.com/imp/cargo-info"; changelog = "https://gitlab.com/imp/cargo-info/-/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ mit asl20 ]; diff --git a/pkgs/development/tools/rust/cargo-inspect/default.nix b/pkgs/development/tools/rust/cargo-inspect/default.nix index 4a9f642b700f..db646ec07c9e 100644 --- a/pkgs/development/tools/rust/cargo-inspect/default.nix +++ b/pkgs/development/tools/rust/cargo-inspect/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "See what Rust is doing behind the curtains"; + mainProgram = "cargo-inspect"; homepage = "https://github.com/mre/cargo-inspect"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ minijackson matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-insta/default.nix b/pkgs/development/tools/rust/cargo-insta/default.nix index 36f13c7fc890..50fc9abaac4d 100644 --- a/pkgs/development/tools/rust/cargo-insta/default.nix +++ b/pkgs/development/tools/rust/cargo-insta/default.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A Cargo subcommand for snapshot testing"; + mainProgram = "cargo-insta"; homepage = "https://github.com/mitsuhiko/insta"; changelog = "https://github.com/mitsuhiko/insta/blob/${version}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/development/tools/rust/cargo-kcov/default.nix b/pkgs/development/tools/rust/cargo-kcov/default.nix index 1b7c3b0eead9..68ed13d1ad01 100644 --- a/pkgs/development/tools/rust/cargo-kcov/default.nix +++ b/pkgs/development/tools/rust/cargo-kcov/default.nix @@ -28,6 +28,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo subcommand to run kcov to get coverage report on Linux"; + mainProgram = "cargo-kcov"; homepage = "https://github.com/kennytm/cargo-kcov"; license = with licenses; [ mit ]; maintainers = with maintainers; [ saschagrunert matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-lambda/default.nix b/pkgs/development/tools/rust/cargo-lambda/default.nix index c93679d63d05..ada381da6f08 100644 --- a/pkgs/development/tools/rust/cargo-lambda/default.nix +++ b/pkgs/development/tools/rust/cargo-lambda/default.nix @@ -69,6 +69,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A Cargo subcommand to help you work with AWS Lambda"; + mainProgram = "cargo-lambda"; homepage = "https://cargo-lambda.info"; license = licenses.mit; maintainers = with maintainers; [ taylor1791 calavera ]; diff --git a/pkgs/development/tools/rust/cargo-leptos/default.nix b/pkgs/development/tools/rust/cargo-leptos/default.nix index e853688fa63d..be3a4af0a48d 100644 --- a/pkgs/development/tools/rust/cargo-leptos/default.nix +++ b/pkgs/development/tools/rust/cargo-leptos/default.nix @@ -38,6 +38,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A build tool for the Leptos web framework"; + mainProgram = "cargo-leptos"; homepage = "https://github.com/leptos-rs/cargo-leptos"; changelog = "https://github.com/leptos-rs/cargo-leptos/releases/tag/v${version}"; license = with licenses; [ mit ]; diff --git a/pkgs/development/tools/rust/cargo-license/default.nix b/pkgs/development/tools/rust/cargo-license/default.nix index 27798f4ca85e..ee00c71c11da 100644 --- a/pkgs/development/tools/rust/cargo-license/default.nix +++ b/pkgs/development/tools/rust/cargo-license/default.nix @@ -13,6 +13,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo subcommand to see license of dependencies"; + mainProgram = "cargo-license"; homepage = "https://github.com/onur/cargo-license"; license = with licenses; [ mit ]; maintainers = with maintainers; [ basvandijk figsoda matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-llvm-cov/default.nix b/pkgs/development/tools/rust/cargo-llvm-cov/default.nix index a00376acb98c..ee945b4edc26 100644 --- a/pkgs/development/tools/rust/cargo-llvm-cov/default.nix +++ b/pkgs/development/tools/rust/cargo-llvm-cov/default.nix @@ -86,6 +86,7 @@ rustPlatform.buildRustPackage { inherit homepage; changelog = homepage + "/blob/v${version}/CHANGELOG.md"; description = "Cargo subcommand to easily use LLVM source-based code coverage"; + mainProgram = "cargo-llvm-cov"; longDescription = '' In order for this to work, you either need to run `rustup component add llvm- tools-preview` or install the `llvm-tools-preview` component using your Nix diff --git a/pkgs/development/tools/rust/cargo-llvm-lines/default.nix b/pkgs/development/tools/rust/cargo-llvm-lines/default.nix index 083494fb0b37..3a0edf3a54cb 100644 --- a/pkgs/development/tools/rust/cargo-llvm-lines/default.nix +++ b/pkgs/development/tools/rust/cargo-llvm-lines/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Count the number of lines of LLVM IR across all instantiations of a generic function"; + mainProgram = "cargo-llvm-lines"; homepage = "https://github.com/dtolnay/cargo-llvm-lines"; changelog = "https://github.com/dtolnay/cargo-llvm-lines/releases/tag/${src.rev}"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/rust/cargo-local-registry/default.nix b/pkgs/development/tools/rust/cargo-local-registry/default.nix index 6d7addf4117c..0b2f31d05a80 100644 --- a/pkgs/development/tools/rust/cargo-local-registry/default.nix +++ b/pkgs/development/tools/rust/cargo-local-registry/default.nix @@ -49,6 +49,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cargo subcommand to manage local registries"; + mainProgram = "cargo-local-registry"; homepage = "https://github.com/dhovart/cargo-local-registry"; changelog = "https://github.com/dhovart/cargo-local-registry/releases/tag/${src.rev}"; license = with licenses; [ asl20 mit ]; diff --git a/pkgs/development/tools/rust/cargo-lock/default.nix b/pkgs/development/tools/rust/cargo-lock/default.nix index af5f5eae1719..6c1f35b1244d 100644 --- a/pkgs/development/tools/rust/cargo-lock/default.nix +++ b/pkgs/development/tools/rust/cargo-lock/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Self-contained Cargo.lock parser with graph analysis"; + mainProgram = "cargo-lock"; homepage = "https://github.com/rustsec/rustsec/tree/main/cargo-lock"; changelog = "https://github.com/rustsec/rustsec/blob/cargo-lock/v${version}/cargo-lock/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/rust/cargo-machete/default.nix b/pkgs/development/tools/rust/cargo-machete/default.nix index b9bbafafb380..9bd05294bec7 100644 --- a/pkgs/development/tools/rust/cargo-machete/default.nix +++ b/pkgs/development/tools/rust/cargo-machete/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A Cargo tool that detects unused dependencies in Rust projects"; + mainProgram = "cargo-machete"; homepage = "https://github.com/bnjbvr/cargo-machete"; changelog = "https://github.com/bnjbvr/cargo-machete/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/development/tools/rust/cargo-modules/default.nix b/pkgs/development/tools/rust/cargo-modules/default.nix index 122bbe2a0e90..b237c64dc2af 100644 --- a/pkgs/development/tools/rust/cargo-modules/default.nix +++ b/pkgs/development/tools/rust/cargo-modules/default.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cargo plugin for showing a tree-like overview of a crate's modules"; + mainProgram = "cargo-modules"; homepage = "https://github.com/regexident/cargo-modules"; changelog = "https://github.com/regexident/cargo-modules/blob/${version}/CHANGELOG.md"; license = with licenses; [ mpl20 ]; diff --git a/pkgs/development/tools/rust/cargo-mommy/default.nix b/pkgs/development/tools/rust/cargo-mommy/default.nix index 22bfe3ac1f20..e62f87969d7c 100644 --- a/pkgs/development/tools/rust/cargo-mommy/default.nix +++ b/pkgs/development/tools/rust/cargo-mommy/default.nix @@ -13,6 +13,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo wrapper that encourages you after running commands"; + mainProgram = "cargo-mommy"; homepage = "https://github.com/Gankra/cargo-mommy"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ GoldsteinE ]; diff --git a/pkgs/development/tools/rust/cargo-msrv/default.nix b/pkgs/development/tools/rust/cargo-msrv/default.nix index f1b9e8eb0ec0..1492de85daa0 100644 --- a/pkgs/development/tools/rust/cargo-msrv/default.nix +++ b/pkgs/development/tools/rust/cargo-msrv/default.nix @@ -47,6 +47,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo subcommand \"msrv\": assists with finding your minimum supported Rust version (MSRV)"; + mainProgram = "cargo-msrv"; homepage = "https://github.com/foresterre/cargo-msrv"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ otavio matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-mutants/default.nix b/pkgs/development/tools/rust/cargo-mutants/default.nix index 874195aaf842..ba54eeb56bd7 100644 --- a/pkgs/development/tools/rust/cargo-mutants/default.nix +++ b/pkgs/development/tools/rust/cargo-mutants/default.nix @@ -27,6 +27,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A mutation testing tool for Rust"; + mainProgram = "cargo-mutants"; homepage = "https://github.com/sourcefrog/cargo-mutants"; changelog = "https://github.com/sourcefrog/cargo-mutants/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/development/tools/rust/cargo-ndk/default.nix b/pkgs/development/tools/rust/cargo-ndk/default.nix index 4b1bccb1596e..12b0b7bbdfbf 100644 --- a/pkgs/development/tools/rust/cargo-ndk/default.nix +++ b/pkgs/development/tools/rust/cargo-ndk/default.nix @@ -26,6 +26,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo extension for building Android NDK projects"; + mainProgram = "cargo-ndk"; homepage = "https://github.com/bbqsrc/cargo-ndk"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ mglolenstine ]; diff --git a/pkgs/development/tools/rust/cargo-nextest/default.nix b/pkgs/development/tools/rust/cargo-nextest/default.nix index 2826a3a7af06..8972fef8825a 100644 --- a/pkgs/development/tools/rust/cargo-nextest/default.nix +++ b/pkgs/development/tools/rust/cargo-nextest/default.nix @@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Next-generation test runner for Rust projects"; + mainProgram = "cargo-nextest"; homepage = "https://github.com/nextest-rs/nextest"; changelog = "https://nexte.st/CHANGELOG.html"; license = with licenses; [ mit asl20 ]; diff --git a/pkgs/development/tools/rust/cargo-outdated/default.nix b/pkgs/development/tools/rust/cargo-outdated/default.nix index 2f3c6ae76c79..178c668fcd90 100644 --- a/pkgs/development/tools/rust/cargo-outdated/default.nix +++ b/pkgs/development/tools/rust/cargo-outdated/default.nix @@ -34,6 +34,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cargo subcommand for displaying when Rust dependencies are out of date"; + mainProgram = "cargo-outdated"; homepage = "https://github.com/kbknapp/cargo-outdated"; changelog = "https://github.com/kbknapp/cargo-outdated/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/rust/cargo-pgrx/default.nix b/pkgs/development/tools/rust/cargo-pgrx/default.nix index a0d2657702a5..85fc916104ad 100644 --- a/pkgs/development/tools/rust/cargo-pgrx/default.nix +++ b/pkgs/development/tools/rust/cargo-pgrx/default.nix @@ -30,6 +30,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Build Postgres Extensions with Rust!"; + mainProgram = "cargo-pgrx"; homepage = "https://github.com/tcdi/pgrx"; changelog = "https://github.com/tcdi/pgrx/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/tools/rust/cargo-pgx/0_6_1.nix b/pkgs/development/tools/rust/cargo-pgx/0_6_1.nix index 004b6ed27543..8dbc22cdfd49 100644 --- a/pkgs/development/tools/rust/cargo-pgx/0_6_1.nix +++ b/pkgs/development/tools/rust/cargo-pgx/0_6_1.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo subcommand for ‘pgx’ to make Postgres extension development easy"; + mainProgram = "cargo-pgx"; homepage = "https://github.com/tcdi/pgx/tree/v${version}/cargo-pgx"; license = licenses.mit; maintainers = with maintainers; [ typetetris ]; diff --git a/pkgs/development/tools/rust/cargo-pgx/0_7_1.nix b/pkgs/development/tools/rust/cargo-pgx/0_7_1.nix index 408244f638be..6dd8a0661bed 100644 --- a/pkgs/development/tools/rust/cargo-pgx/0_7_1.nix +++ b/pkgs/development/tools/rust/cargo-pgx/0_7_1.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo subcommand for ‘pgx’ to make Postgres extension development easy"; + mainProgram = "cargo-pgx"; homepage = "https://github.com/tcdi/pgx/tree/v${version}/cargo-pgx"; license = licenses.mit; maintainers = with maintainers; [ typetetris ]; diff --git a/pkgs/development/tools/rust/cargo-pgx/0_7_4.nix b/pkgs/development/tools/rust/cargo-pgx/0_7_4.nix index e54a3c6a877e..0f2b3ef35c22 100644 --- a/pkgs/development/tools/rust/cargo-pgx/0_7_4.nix +++ b/pkgs/development/tools/rust/cargo-pgx/0_7_4.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo subcommand for ‘pgx’ to make Postgres extension development easy"; + mainProgram = "cargo-pgx"; homepage = "https://github.com/tcdi/pgx/tree/v${version}/cargo-pgx"; license = licenses.mit; maintainers = with maintainers; [ typetetris ]; diff --git a/pkgs/development/tools/rust/cargo-play/default.nix b/pkgs/development/tools/rust/cargo-play/default.nix index 441b906ab343..94520d0d5669 100644 --- a/pkgs/development/tools/rust/cargo-play/default.nix +++ b/pkgs/development/tools/rust/cargo-play/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Run your rust code without setting up cargo"; + mainProgram = "cargo-play"; homepage = "https://github.com/fanzeyi/cargo-play"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/rust/cargo-profiler/default.nix b/pkgs/development/tools/rust/cargo-profiler/default.nix index 88a04885a740..595bf6d8d032 100644 --- a/pkgs/development/tools/rust/cargo-profiler/default.nix +++ b/pkgs/development/tools/rust/cargo-profiler/default.nix @@ -26,6 +26,7 @@ in buildRustPackage rec { meta = with lib; { description = "Cargo subcommand for profiling Rust binaries"; + mainProgram = "cargo-profiler"; homepage = "https://github.com/svenstaro/cargo-profiler"; license = licenses.mit; maintainers = with maintainers; [ lucperkins ]; diff --git a/pkgs/development/tools/rust/cargo-public-api/default.nix b/pkgs/development/tools/rust/cargo-public-api/default.nix index 2b5a83f8d0c1..da51224ccc65 100644 --- a/pkgs/development/tools/rust/cargo-public-api/default.nix +++ b/pkgs/development/tools/rust/cargo-public-api/default.nix @@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "List and diff the public API of Rust library crates between releases and commits. Detect breaking API changes and semver violations"; + mainProgram = "cargo-public-api"; homepage = "https://github.com/Enselic/cargo-public-api"; changelog = "https://github.com/Enselic/cargo-public-api/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/tools/rust/cargo-readme/default.nix b/pkgs/development/tools/rust/cargo-readme/default.nix index 15c5ad514524..2b5fb7abc69b 100644 --- a/pkgs/development/tools/rust/cargo-readme/default.nix +++ b/pkgs/development/tools/rust/cargo-readme/default.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Generate README.md from docstrings"; + mainProgram = "cargo-readme"; homepage = "https://github.com/livioribeiro/cargo-readme"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ baloo matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-release/default.nix b/pkgs/development/tools/rust/cargo-release/default.nix index 8e9c84797d94..31e03dfeaa4e 100644 --- a/pkgs/development/tools/rust/cargo-release/default.nix +++ b/pkgs/development/tools/rust/cargo-release/default.nix @@ -49,6 +49,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = ''Cargo subcommand "release": everything about releasing a rust crate''; + mainProgram = "cargo-release"; homepage = "https://github.com/crate-ci/cargo-release"; changelog = "https://github.com/crate-ci/cargo-release/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/rust/cargo-risczero/default.nix b/pkgs/development/tools/rust/cargo-risczero/default.nix index 1bb68d7bbd98..51969c9fef96 100644 --- a/pkgs/development/tools/rust/cargo-risczero/default.nix +++ b/pkgs/development/tools/rust/cargo-risczero/default.nix @@ -33,6 +33,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo extension to help create, manage, and test RISC Zero projects."; + mainProgram = "cargo-risczero"; homepage = "https://risczero.com"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ cameronfyfe ]; diff --git a/pkgs/development/tools/rust/cargo-rr/default.nix b/pkgs/development/tools/rust/cargo-rr/default.nix index 84ec62adf87c..6c3780719f89 100644 --- a/pkgs/development/tools/rust/cargo-rr/default.nix +++ b/pkgs/development/tools/rust/cargo-rr/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Cargo subcommand \"rr\": a light wrapper around rr, the time-travelling debugger"; + mainProgram = "cargo-rr"; homepage = "https://github.com/danielzfranklin/cargo-rr"; license = with licenses; [ mit ]; maintainers = with maintainers; [ otavio matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-run-bin/default.nix b/pkgs/development/tools/rust/cargo-run-bin/default.nix index d19cf8e9333e..a12ebb8caf9b 100644 --- a/pkgs/development/tools/rust/cargo-run-bin/default.nix +++ b/pkgs/development/tools/rust/cargo-run-bin/default.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Build, cache, and run binaries scoped in Cargo.toml rather than installing globally. This acts similarly to npm run and gomodrun, and allows your teams to always be running the same tooling versions"; + mainProgram = "cargo-bin"; homepage = "https://github.com/dustinblackman/cargo-run-bin"; changelog = "https://github.com/dustinblackman/cargo-run-bin/blob/v${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/development/tools/rust/cargo-semver-checks/default.nix b/pkgs/development/tools/rust/cargo-semver-checks/default.nix index 77e46ececc5a..f1733aeca7e7 100644 --- a/pkgs/development/tools/rust/cargo-semver-checks/default.nix +++ b/pkgs/development/tools/rust/cargo-semver-checks/default.nix @@ -52,6 +52,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to scan your Rust crate for semver violations"; + mainProgram = "cargo-semver-checks"; homepage = "https://github.com/obi1kenobi/cargo-semver-checks"; changelog = "https://github.com/obi1kenobi/cargo-semver-checks/releases/tag/v${version}"; license = with licenses; [ mit /* or */ asl20 ]; diff --git a/pkgs/development/tools/rust/cargo-shuttle/default.nix b/pkgs/development/tools/rust/cargo-shuttle/default.nix index befba6ffac56..fcc7ff4756f9 100644 --- a/pkgs/development/tools/rust/cargo-shuttle/default.nix +++ b/pkgs/development/tools/rust/cargo-shuttle/default.nix @@ -49,6 +49,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cargo command for the shuttle platform"; + mainProgram = "cargo-shuttle"; homepage = "https://shuttle.rs"; changelog = "https://github.com/shuttle-hq/shuttle/releases/tag/${src.rev}"; license = licenses.asl20; diff --git a/pkgs/development/tools/rust/cargo-sort/default.nix b/pkgs/development/tools/rust/cargo-sort/default.nix index bb0d96bdd638..ab85a75d916e 100644 --- a/pkgs/development/tools/rust/cargo-sort/default.nix +++ b/pkgs/development/tools/rust/cargo-sort/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to check that your Cargo.toml dependencies are sorted alphabetically"; + mainProgram = "cargo-sort"; homepage = "https://github.com/devinr528/cargo-sort"; changelog = "https://github.com/devinr528/cargo-sort/blob/v${version}/changelog.md"; license = with licenses; [ mit /* or */ asl20 ]; diff --git a/pkgs/development/tools/rust/cargo-spellcheck/default.nix b/pkgs/development/tools/rust/cargo-spellcheck/default.nix index 374517aeef2d..23de1bc2a070 100644 --- a/pkgs/development/tools/rust/cargo-spellcheck/default.nix +++ b/pkgs/development/tools/rust/cargo-spellcheck/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Checks rust documentation for spelling and grammar mistakes"; + mainProgram = "cargo-spellcheck"; homepage = "https://github.com/drahnr/cargo-spellcheck"; changelog = "https://github.com/drahnr/cargo-spellcheck/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/rust/cargo-supply-chain/default.nix b/pkgs/development/tools/rust/cargo-supply-chain/default.nix index bedbc17a22a6..395a48498237 100644 --- a/pkgs/development/tools/rust/cargo-supply-chain/default.nix +++ b/pkgs/development/tools/rust/cargo-supply-chain/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Gather author, contributor and publisher data on crates in your dependency graph"; + mainProgram = "cargo-supply-chain"; homepage = "https://github.com/rust-secure-code/cargo-supply-chain"; changelog = "https://github.com/rust-secure-code/cargo-supply-chain/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ asl20 mit zlib ]; # any of three diff --git a/pkgs/development/tools/rust/cargo-sweep/default.nix b/pkgs/development/tools/rust/cargo-sweep/default.nix index 1c5564c72332..0fc6a01be099 100644 --- a/pkgs/development/tools/rust/cargo-sweep/default.nix +++ b/pkgs/development/tools/rust/cargo-sweep/default.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A Cargo subcommand for cleaning up unused build files generated by Cargo"; + mainProgram = "cargo-sweep"; homepage = "https://github.com/holmgr/cargo-sweep"; license = licenses.mit; maintainers = with maintainers; [ xrelkd matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-sync-readme/default.nix b/pkgs/development/tools/rust/cargo-sync-readme/default.nix index a761e42c1540..c4205fb1a660 100644 --- a/pkgs/development/tools/rust/cargo-sync-readme/default.nix +++ b/pkgs/development/tools/rust/cargo-sync-readme/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cargo plugin that generates a Markdown section in your README based on your Rust documentation"; + mainProgram = "cargo-sync-readme"; homepage = "https://github.com/phaazon/cargo-sync-readme"; changelog = "https://github.com/phaazon/cargo-sync-readme/blob/${version}/CHANGELOG.md"; license = licenses.bsd3; diff --git a/pkgs/development/tools/rust/cargo-tally/default.nix b/pkgs/development/tools/rust/cargo-tally/default.nix index 1dfcb5af500d..8e1bd746857a 100644 --- a/pkgs/development/tools/rust/cargo-tally/default.nix +++ b/pkgs/development/tools/rust/cargo-tally/default.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Graph the number of crates that depend on your crate over time"; + mainProgram = "cargo-tally"; homepage = "https://github.com/dtolnay/cargo-tally"; changelog = "https://github.com/dtolnay/cargo-tally/releases/tag/${version}"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/rust/cargo-tauri/default.nix b/pkgs/development/tools/rust/cargo-tauri/default.nix index 870285879d76..02a06edf5d23 100644 --- a/pkgs/development/tools/rust/cargo-tauri/default.nix +++ b/pkgs/development/tools/rust/cargo-tauri/default.nix @@ -38,6 +38,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Build smaller, faster, and more secure desktop applications with a web frontend"; + mainProgram = "cargo-tauri"; homepage = "https://tauri.app/"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ dit7ya happysalada ]; diff --git a/pkgs/development/tools/rust/cargo-temp/default.nix b/pkgs/development/tools/rust/cargo-temp/default.nix index 9df84462efa7..d5a0e2bba146 100644 --- a/pkgs/development/tools/rust/cargo-temp/default.nix +++ b/pkgs/development/tools/rust/cargo-temp/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A CLI tool that allow you to create a temporary new Rust project using cargo with already installed dependencies"; + mainProgram = "cargo-temp"; homepage = "https://github.com/yozhgoor/cargo-temp"; changelog = "https://github.com/yozhgoor/cargo-temp/releases/tag/${src.rev}"; license = with licenses; [ mit /* or */ asl20 ]; diff --git a/pkgs/development/tools/rust/cargo-toml-lint/default.nix b/pkgs/development/tools/rust/cargo-toml-lint/default.nix index 187dc636afbc..53595043342b 100644 --- a/pkgs/development/tools/rust/cargo-toml-lint/default.nix +++ b/pkgs/development/tools/rust/cargo-toml-lint/default.nix @@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple linter for Cargo.toml manifests"; + mainProgram = "cargo-toml-lint"; homepage = "https://github.com/fuellabs/cargo-toml-lint"; changelog = "https://github.com/fuellabs/cargo-toml-lint/releases/tag/v${version}"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/rust/cargo-ui/default.nix b/pkgs/development/tools/rust/cargo-ui/default.nix index 870b411afc9e..e58c34a03f4f 100644 --- a/pkgs/development/tools/rust/cargo-ui/default.nix +++ b/pkgs/development/tools/rust/cargo-ui/default.nix @@ -54,6 +54,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A GUI for Cargo"; + mainProgram = "cargo-ui"; homepage = "https://github.com/slint-ui/cargo-ui"; changelog = "https://github.com/slint-ui/cargo-ui/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit asl20 gpl3Only ]; diff --git a/pkgs/development/tools/rust/cargo-valgrind/default.nix b/pkgs/development/tools/rust/cargo-valgrind/default.nix index aa6b38bf398b..e084c528c9c2 100644 --- a/pkgs/development/tools/rust/cargo-valgrind/default.nix +++ b/pkgs/development/tools/rust/cargo-valgrind/default.nix @@ -36,6 +36,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = ''Cargo subcommand "valgrind": runs valgrind and collects its output in a helpful manner''; + mainProgram = "cargo-valgrind"; homepage = "https://github.com/jfrimmel/cargo-valgrind"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ otavio matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-vet/default.nix b/pkgs/development/tools/rust/cargo-vet/default.nix index 817307c55a59..a27e2f375ebd 100644 --- a/pkgs/development/tools/rust/cargo-vet/default.nix +++ b/pkgs/development/tools/rust/cargo-vet/default.nix @@ -22,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to help projects ensure that third-party Rust dependencies have been audited by a trusted source"; + mainProgram = "cargo-vet"; homepage = "https://mozilla.github.io/cargo-vet"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ figsoda jk ]; diff --git a/pkgs/development/tools/rust/cargo-wasi/default.nix b/pkgs/development/tools/rust/cargo-wasi/default.nix index 7fcdf761ad2f..bead01fed4ed 100644 --- a/pkgs/development/tools/rust/cargo-wasi/default.nix +++ b/pkgs/development/tools/rust/cargo-wasi/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A lightweight Cargo subcommand to build code for the wasm32-wasi target"; + mainProgram = "cargo-wasi"; homepage = "https://bytecodealliance.github.io/cargo-wasi"; license = licenses.asl20; maintainers = with maintainers; [ lucperkins ]; diff --git a/pkgs/development/tools/rust/cargo-watch/default.nix b/pkgs/development/tools/rust/cargo-watch/default.nix index fe748a7dbeb5..ff9d72db58d9 100644 --- a/pkgs/development/tools/rust/cargo-watch/default.nix +++ b/pkgs/development/tools/rust/cargo-watch/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A Cargo subcommand for watching over Cargo project's source"; + mainProgram = "cargo-watch"; homepage = "https://github.com/watchexec/cargo-watch"; license = licenses.cc0; maintainers = with maintainers; [ xrelkd ivan matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-web/default.nix b/pkgs/development/tools/rust/cargo-web/default.nix index 2c35e951cda1..462e98d6eaa6 100644 --- a/pkgs/development/tools/rust/cargo-web/default.nix +++ b/pkgs/development/tools/rust/cargo-web/default.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A Cargo subcommand for the client-side Web"; + mainProgram = "cargo-web"; homepage = "https://github.com/koute/cargo-web"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ kevincox ]; diff --git a/pkgs/development/tools/rust/cargo-whatfeatures/default.nix b/pkgs/development/tools/rust/cargo-whatfeatures/default.nix index 32189e0e03cb..fdae63bd50b4 100644 --- a/pkgs/development/tools/rust/cargo-whatfeatures/default.nix +++ b/pkgs/development/tools/rust/cargo-whatfeatures/default.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple cargo plugin to get a list of features for a specific crate"; + mainProgram = "cargo-whatfeatures"; homepage = "https://github.com/museun/cargo-whatfeatures"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ ivan-babrou matthiasbeyer ]; diff --git a/pkgs/development/tools/rust/cargo-wipe/default.nix b/pkgs/development/tools/rust/cargo-wipe/default.nix index c14f842a7398..86a2dc58050b 100644 --- a/pkgs/development/tools/rust/cargo-wipe/default.nix +++ b/pkgs/development/tools/rust/cargo-wipe/default.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = ''Cargo subcommand "wipe": recursively finds and optionally wipes all "target" or "node_modules" folders''; + mainProgram = "cargo-wipe"; homepage = "https://github.com/mihai-dinculescu/cargo-wipe"; license = with licenses; [ mit ]; maintainers = with maintainers; [ otavio ]; diff --git a/pkgs/development/tools/rust/cargo-zigbuild/default.nix b/pkgs/development/tools/rust/cargo-zigbuild/default.nix index adc845c67ea7..ab0c149a09d5 100644 --- a/pkgs/development/tools/rust/cargo-zigbuild/default.nix +++ b/pkgs/development/tools/rust/cargo-zigbuild/default.nix @@ -22,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to compile Cargo projects with zig as the linker"; + mainProgram = "cargo-zigbuild"; homepage = "https://github.com/messense/cargo-zigbuild"; changelog = "https://github.com/messense/cargo-zigbuild/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/tools/rust/cargo2junit/default.nix b/pkgs/development/tools/rust/cargo2junit/default.nix index dd65d2422a3c..6e10cc1fcb35 100644 --- a/pkgs/development/tools/rust/cargo2junit/default.nix +++ b/pkgs/development/tools/rust/cargo2junit/default.nix @@ -13,6 +13,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Converts cargo's json output (from stdin) to JUnit XML (to stdout)."; + mainProgram = "cargo2junit"; homepage = "https://github.com/johnterickson/cargo2junit"; license = licenses.mit; maintainers = with maintainers; [ alekseysidorov ]; diff --git a/pkgs/development/tools/rust/cauwugo/default.nix b/pkgs/development/tools/rust/cauwugo/default.nix index 119e0f59841d..a4a199a2c70c 100644 --- a/pkgs/development/tools/rust/cauwugo/default.nix +++ b/pkgs/development/tools/rust/cauwugo/default.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An alternative cargo frontend that implements dynamic shell completion for usual cargo commands"; + mainProgram = "cauwugo"; homepage = "https://github.com/pacak/bpaf/tree/master/bpaf_cauwugo"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/rust/cbindgen/default.nix b/pkgs/development/tools/rust/cbindgen/default.nix index 2d351adf5ad1..ed4841505bce 100644 --- a/pkgs/development/tools/rust/cbindgen/default.nix +++ b/pkgs/development/tools/rust/cbindgen/default.nix @@ -44,6 +44,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { changelog = "https://github.com/mozilla/cbindgen/blob/v${version}/CHANGES"; description = "A project for generating C bindings from Rust code"; + mainProgram = "cbindgen"; homepage = "https://github.com/mozilla/cbindgen"; license = licenses.mpl20; maintainers = with maintainers; [ hexa ]; diff --git a/pkgs/development/tools/rust/crate2nix/default.nix b/pkgs/development/tools/rust/crate2nix/default.nix index 62084be4b5a8..a19c47271c57 100644 --- a/pkgs/development/tools/rust/crate2nix/default.nix +++ b/pkgs/development/tools/rust/crate2nix/default.nix @@ -43,6 +43,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A Nix build file generator for Rust crates."; + mainProgram = "crate2nix"; longDescription = '' Crate2nix generates Nix files from Cargo.toml/lock files so that you can build every crate individually in a Nix sandbox. diff --git a/pkgs/development/tools/rust/critcmp/default.nix b/pkgs/development/tools/rust/critcmp/default.nix index dd735f1adc49..3035e6b97937 100644 --- a/pkgs/development/tools/rust/critcmp/default.nix +++ b/pkgs/development/tools/rust/critcmp/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A command line tool for comparing benchmarks run by Criterion"; + mainProgram = "critcmp"; homepage = "https://github.com/BurntSushi/critcmp"; license = with licenses; [ mit unlicense ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/rust/genemichaels/default.nix b/pkgs/development/tools/rust/genemichaels/default.nix index 673519aeabc4..aec8003bbd52 100644 --- a/pkgs/development/tools/rust/genemichaels/default.nix +++ b/pkgs/development/tools/rust/genemichaels/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { }; meta = { description = "Even formats macros"; + mainProgram = "genemichaels"; homepage = "https://github.com/andrewbaxter/genemichaels"; license = lib.licenses.isc; maintainers = [ lib.maintainers.anselmschueler ]; diff --git a/pkgs/development/tools/rust/gitlab-clippy/default.nix b/pkgs/development/tools/rust/gitlab-clippy/default.nix index 2269f812f424..62b3046f05d8 100644 --- a/pkgs/development/tools/rust/gitlab-clippy/default.nix +++ b/pkgs/development/tools/rust/gitlab-clippy/default.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage rec { meta = { homepage = "https://gitlab.com/dlalic/gitlab-clippy"; description = "Convert clippy warnings into GitLab Code Quality report"; + mainProgram = "gitlab-clippy"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ wucke13 ]; }; diff --git a/pkgs/development/tools/rust/humility/default.nix b/pkgs/development/tools/rust/humility/default.nix index 399d9dcf41b3..a8c157f9ac4d 100644 --- a/pkgs/development/tools/rust/humility/default.nix +++ b/pkgs/development/tools/rust/humility/default.nix @@ -45,6 +45,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Debugger for Hubris"; + mainProgram = "humility"; homepage = "https://github.com/oxidecomputer/humility"; license = with licenses; [ mpl20 ]; maintainers = with maintainers; [ therishidesai ]; diff --git a/pkgs/development/tools/rust/leptosfmt/default.nix b/pkgs/development/tools/rust/leptosfmt/default.nix index 2730453d2ae2..7c174c4249ef 100644 --- a/pkgs/development/tools/rust/leptosfmt/default.nix +++ b/pkgs/development/tools/rust/leptosfmt/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A formatter for the leptos view! macro"; + mainProgram = "leptosfmt"; homepage = "https://github.com/bram209/leptosfmt"; changelog = "https://github.com/bram209/leptosfmt/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ asl20 mit ]; diff --git a/pkgs/development/tools/rust/maturin/default.nix b/pkgs/development/tools/rust/maturin/default.nix index 95f010c123df..aa95fcf3dbec 100644 --- a/pkgs/development/tools/rust/maturin/default.nix +++ b/pkgs/development/tools/rust/maturin/default.nix @@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Build and publish Rust crates Python packages"; + mainProgram = "maturin"; longDescription = '' Build and publish Rust crates with PyO3, rust-cpython, and cffi bindings as well as Rust binaries as Python packages. diff --git a/pkgs/development/tools/rust/ograc/default.nix b/pkgs/development/tools/rust/ograc/default.nix index 4361a225498d..83938a505316 100644 --- a/pkgs/development/tools/rust/ograc/default.nix +++ b/pkgs/development/tools/rust/ograc/default.nix @@ -13,6 +13,7 @@ rustPlatform.buildRustPackage { meta = with lib; { description = "like cargo, but backwards"; + mainProgram = "ograc"; homepage = "https://crates.io/crates/ograc"; license = licenses.agpl3Plus; maintainers = with maintainers; [ sciencentistguy ]; diff --git a/pkgs/development/tools/rust/panamax/default.nix b/pkgs/development/tools/rust/panamax/default.nix index a86867eded08..4eb496376039 100644 --- a/pkgs/development/tools/rust/panamax/default.nix +++ b/pkgs/development/tools/rust/panamax/default.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Mirror rustup and crates.io repositories for offline Rust and cargo usage"; + mainProgram = "panamax"; homepage = "https://github.com/panamax-rs/panamax"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/rust/probe-run/default.nix b/pkgs/development/tools/rust/probe-run/default.nix index 30ca65f776b0..2081d41eb015 100644 --- a/pkgs/development/tools/rust/probe-run/default.nix +++ b/pkgs/development/tools/rust/probe-run/default.nix @@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Run embedded programs just like native ones"; + mainProgram = "probe-run"; homepage = "https://github.com/knurling-rs/probe-run"; changelog = "https://github.com/knurling-rs/probe-run/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/rust/ra-multiplex/default.nix b/pkgs/development/tools/rust/ra-multiplex/default.nix index ce579c76eeb0..4dd7d2cd063d 100644 --- a/pkgs/development/tools/rust/ra-multiplex/default.nix +++ b/pkgs/development/tools/rust/ra-multiplex/default.nix @@ -27,6 +27,7 @@ rustPlatform.buildRustPackage { meta = with lib; { description = "A multiplexer for rust-analyzer"; + mainProgram = "ra-multiplex"; homepage = "https://github.com/pr2502/ra-multiplex"; license = with licenses; [ mit ]; maintainers = with maintainers; [ norfair ]; diff --git a/pkgs/development/tools/rust/rhack/default.nix b/pkgs/development/tools/rust/rhack/default.nix index d141c43dd914..967a8a9216f7 100644 --- a/pkgs/development/tools/rust/rhack/default.nix +++ b/pkgs/development/tools/rust/rhack/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Temporary edit external crates that your project depends on"; + mainProgram = "rhack"; homepage = "https://github.com/nakabonne/rhack"; license = licenses.bsd3; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/rust/roogle/default.nix b/pkgs/development/tools/rust/roogle/default.nix index 7def38d19913..f95cad8588d4 100644 --- a/pkgs/development/tools/rust/roogle/default.nix +++ b/pkgs/development/tools/rust/roogle/default.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A Rust API search engine which allows you to search functions by names and type signatures"; + mainProgram = "roogle"; homepage = "https://github.com/hkmatsumoto/roogle"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/rust/rust-audit-info/default.nix b/pkgs/development/tools/rust/rust-audit-info/default.nix index fbfae0042d59..afd53df7e147 100644 --- a/pkgs/development/tools/rust/rust-audit-info/default.nix +++ b/pkgs/development/tools/rust/rust-audit-info/default.nix @@ -13,6 +13,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A command-line tool to extract the dependency trees embedded in binaries by cargo-auditable"; + mainProgram = "rust-audit-info"; homepage = "https://github.com/rust-secure-code/cargo-auditable/tree/master/rust-audit-info"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/rust/rust-script/default.nix b/pkgs/development/tools/rust/rust-script/default.nix index 417b173935f5..95f60f19011a 100644 --- a/pkgs/development/tools/rust/rust-script/default.nix +++ b/pkgs/development/tools/rust/rust-script/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Run Rust files and expressions as scripts without any setup or compilation step"; + mainProgram = "rust-script"; homepage = "https://rust-script.org"; changelog = "https://github.com/fornwall/rust-script/releases/tag/${version}"; license = with licenses; [ mit /* or */ asl20 ]; diff --git a/pkgs/development/tools/rust/rustup-toolchain-install-master/default.nix b/pkgs/development/tools/rust/rustup-toolchain-install-master/default.nix index 8289e56e81d4..d71b1e655d78 100644 --- a/pkgs/development/tools/rust/rustup-toolchain-install-master/default.nix +++ b/pkgs/development/tools/rust/rustup-toolchain-install-master/default.nix @@ -58,6 +58,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Install a rustc master toolchain usable from rustup"; + mainProgram = "rustup-toolchain-install-master"; homepage = "https://github.com/kennytm/rustup-toolchain-install-master"; license = licenses.mit; maintainers = with maintainers; [ davidtwco ]; diff --git a/pkgs/development/tools/rust/rusty-man/default.nix b/pkgs/development/tools/rust/rusty-man/default.nix index 879cec5ebe6d..34524106c988 100644 --- a/pkgs/development/tools/rust/rusty-man/default.nix +++ b/pkgs/development/tools/rust/rusty-man/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A command-line viewer for documentation generated by rustdoc"; + mainProgram = "rusty-man"; homepage = "https://git.sr.ht/~ireas/rusty-man"; changelog = "https://git.sr.ht/~ireas/rusty-man/tree/v${version}/item/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/development/tools/rust/rustycli/default.nix b/pkgs/development/tools/rust/rustycli/default.nix index 451ae2f95611..09bc2e44f748 100644 --- a/pkgs/development/tools/rust/rustycli/default.nix +++ b/pkgs/development/tools/rust/rustycli/default.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Access the rust playground right in terminal"; + mainProgram = "rustycli"; homepage = "https://github.com/pwnwriter/rustycli"; changelog = "https://github.com/pwnwriter/rustycli/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/tools/rust/specr-transpile/default.nix b/pkgs/development/tools/rust/specr-transpile/default.nix index 10a1acfac757..bb15e8c3fa3f 100644 --- a/pkgs/development/tools/rust/specr-transpile/default.nix +++ b/pkgs/development/tools/rust/specr-transpile/default.nix @@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Converts Specr lang code to Rust"; + mainProgram = "specr-transpile"; homepage = "https://github.com/RalfJung/minirust-tooling"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/rust/svd2rust/default.nix b/pkgs/development/tools/rust/svd2rust/default.nix index ad7c55489482..095018c4e862 100644 --- a/pkgs/development/tools/rust/svd2rust/default.nix +++ b/pkgs/development/tools/rust/svd2rust/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Generate Rust register maps (`struct`s) from SVD files"; + mainProgram = "svd2rust"; homepage = "https://github.com/rust-embedded/svd2rust"; changelog = "https://github.com/rust-embedded/svd2rust/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit asl20 ]; diff --git a/pkgs/development/tools/rust/typeshare/default.nix b/pkgs/development/tools/rust/typeshare/default.nix index 9d9c554daaee..85880dca6571 100644 --- a/pkgs/development/tools/rust/typeshare/default.nix +++ b/pkgs/development/tools/rust/typeshare/default.nix @@ -30,6 +30,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Command Line Tool for generating language files with typeshare"; + mainProgram = "typeshare"; homepage = "https://github.com/1password/typeshare"; changelog = "https://github.com/1password/typeshare/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/sca2d/default.nix b/pkgs/development/tools/sca2d/default.nix index eb745e5bd2c6..c23714bc872f 100644 --- a/pkgs/development/tools/sca2d/default.nix +++ b/pkgs/development/tools/sca2d/default.nix @@ -42,6 +42,7 @@ python.pkgs.buildPythonApplication rec { meta = with lib; { description = "An experimental static code analyser for OpenSCAD"; + mainProgram = "sca2d"; homepage = "https://gitlab.com/bath_open_instrumentation_group/sca2d"; changelog = "https://gitlab.com/bath_open_instrumentation_group/sca2d/-/blob/${src.rev}/CHANGELOG.md"; license = licenses.gpl3Only; diff --git a/pkgs/development/tools/scalafix/default.nix b/pkgs/development/tools/scalafix/default.nix index 3d57bdbd92c5..36e79c74365f 100644 --- a/pkgs/development/tools/scalafix/default.nix +++ b/pkgs/development/tools/scalafix/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Refactoring and linting tool for Scala"; + mainProgram = "scalafix"; homepage = "https://scalacenter.github.io/scalafix/"; license = licenses.bsd3; maintainers = [ maintainers.tomahna ]; diff --git a/pkgs/development/tools/scenebuilder/default.nix b/pkgs/development/tools/scenebuilder/default.nix index 44e81b20bc2b..e10ebf1e5519 100644 --- a/pkgs/development/tools/scenebuilder/default.nix +++ b/pkgs/development/tools/scenebuilder/default.nix @@ -66,6 +66,7 @@ maven'.buildMavenPackage rec { meta = with lib; { broken = stdenv.isDarwin; description = "A visual, drag'n'drop, layout tool for designing JavaFX application user interfaces."; + mainProgram = "scenebuilder"; homepage = "https://gluonhq.com/products/scene-builder/"; sourceProvenance = with sourceTypes; [ fromSource diff --git a/pkgs/development/tools/scenic-view/default.nix b/pkgs/development/tools/scenic-view/default.nix index 3d0c69d66cf7..ff09f0cb4707 100644 --- a/pkgs/development/tools/scenic-view/default.nix +++ b/pkgs/development/tools/scenic-view/default.nix @@ -105,6 +105,7 @@ in stdenv.mkDerivation rec { meta = with lib; { broken = stdenv.isDarwin; description = "JavaFx application to visualize and modify the scenegraph of running JavaFx applications."; + mainProgram = "scenic-view"; longDescription = '' A JavaFX application designed to make it simple to understand the current state of your application scenegraph and to also easily manipulate properties of the scenegraph without having to keep editing your code. diff --git a/pkgs/development/tools/schemacrawler/default.nix b/pkgs/development/tools/schemacrawler/default.nix index 29cb24f1faf2..0d4ffad56977 100644 --- a/pkgs/development/tools/schemacrawler/default.nix +++ b/pkgs/development/tools/schemacrawler/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Database schema discovery and comprehension tool"; + mainProgram = "schemacrawler"; homepage = "https://www.schemacrawler.com/"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = with licenses; [ epl10 gpl3Only lgpl3Only ]; diff --git a/pkgs/development/tools/sd-local/default.nix b/pkgs/development/tools/sd-local/default.nix index d31bd992f147..29c1c2de4575 100644 --- a/pkgs/development/tools/sd-local/default.nix +++ b/pkgs/development/tools/sd-local/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "screwdriver.cd local mode"; + mainProgram = "sd-local"; homepage = "https://github.com/screwdriver-cd/sd-local"; license = licenses.bsd3; maintainers = with maintainers; [ midchildan ]; diff --git a/pkgs/development/tools/selene/default.nix b/pkgs/development/tools/selene/default.nix index dbaeb264b358..b464bee86e06 100644 --- a/pkgs/development/tools/selene/default.nix +++ b/pkgs/development/tools/selene/default.nix @@ -35,6 +35,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A blazing-fast modern Lua linter written in Rust"; + mainProgram = "selene"; homepage = "https://github.com/kampfkarren/selene"; changelog = "https://github.com/kampfkarren/selene/blob/${version}/CHANGELOG.md"; license = licenses.mpl20; diff --git a/pkgs/development/tools/semantic-release/default.nix b/pkgs/development/tools/semantic-release/default.nix index bb99378b83db..51d692ecb693 100644 --- a/pkgs/development/tools/semantic-release/default.nix +++ b/pkgs/development/tools/semantic-release/default.nix @@ -34,6 +34,7 @@ buildNpmPackage rec { meta = { description = "Fully automated version management and package publishing"; + mainProgram = "semantic-release"; homepage = "https://semantic-release.gitbook.io/semantic-release/"; license = lib.licenses.mit; maintainers = [ lib.maintainers.sestrella ]; diff --git a/pkgs/development/tools/sentry-cli/default.nix b/pkgs/development/tools/sentry-cli/default.nix index c4c5437901d6..06b77135d484 100644 --- a/pkgs/development/tools/sentry-cli/default.nix +++ b/pkgs/development/tools/sentry-cli/default.nix @@ -40,6 +40,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://docs.sentry.io/cli/"; license = licenses.bsd3; description = "A command line utility to work with Sentry"; + mainProgram = "sentry-cli"; changelog = "https://github.com/getsentry/sentry-cli/raw/${version}/CHANGELOG.md"; maintainers = with maintainers; [ rizary loewenheim ]; }; diff --git a/pkgs/development/tools/shellharden/default.nix b/pkgs/development/tools/shellharden/default.nix index 5006c5fe9cba..dbf903e923bf 100644 --- a/pkgs/development/tools/shellharden/default.nix +++ b/pkgs/development/tools/shellharden/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "The corrective bash syntax highlighter"; + mainProgram = "shellharden"; longDescription = '' Shellharden is a syntax highlighter and a tool to semi-automate the rewriting of scripts to ShellCheck conformance, mainly focused on quoting. diff --git a/pkgs/development/tools/sigrok-cli/default.nix b/pkgs/development/tools/sigrok-cli/default.nix index 0e8d697ef36d..f239d03cb6a4 100644 --- a/pkgs/development/tools/sigrok-cli/default.nix +++ b/pkgs/development/tools/sigrok-cli/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Command-line frontend for the sigrok signal analysis software suite"; + mainProgram = "sigrok-cli"; homepage = "https://sigrok.org/"; license = licenses.gpl3Plus; platforms = platforms.linux ++ platforms.darwin; diff --git a/pkgs/development/tools/simavr/default.nix b/pkgs/development/tools/simavr/default.nix index db3f9e6664e1..3ce0a3cddf90 100644 --- a/pkgs/development/tools/simavr/default.nix +++ b/pkgs/development/tools/simavr/default.nix @@ -45,6 +45,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "A lean and mean Atmel AVR simulator"; + mainProgram = "simavr"; homepage = "https://github.com/buserror/simavr"; license = licenses.gpl3; platforms = platforms.unix; diff --git a/pkgs/development/tools/skaffold/default.nix b/pkgs/development/tools/skaffold/default.nix index 3d98bf472770..bac6c119e350 100644 --- a/pkgs/development/tools/skaffold/default.nix +++ b/pkgs/development/tools/skaffold/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { homepage = "https://skaffold.dev/"; changelog = "https://github.com/GoogleContainerTools/skaffold/releases/tag/v${version}"; description = "Easy and Repeatable Kubernetes Development"; + mainProgram = "skaffold"; longDescription = '' Skaffold is a command line tool that facilitates continuous development for Kubernetes applications. You can iterate on your application source code locally then deploy to local or remote Kubernetes clusters. diff --git a/pkgs/development/tools/skopeo/default.nix b/pkgs/development/tools/skopeo/default.nix index 85efeb925b50..b8f4ab5dc68d 100644 --- a/pkgs/development/tools/skopeo/default.nix +++ b/pkgs/development/tools/skopeo/default.nix @@ -71,6 +71,7 @@ buildGoModule rec { meta = with lib; { changelog = "https://github.com/containers/skopeo/releases/tag/${src.rev}"; description = "A command line utility for various operations on container images and image repositories"; + mainProgram = "skopeo"; homepage = "https://github.com/containers/skopeo"; maintainers = with maintainers; [ lewo developer-guy ] ++ teams.podman.members; license = licenses.asl20; diff --git a/pkgs/development/tools/slimerjs/default.nix b/pkgs/development/tools/slimerjs/default.nix index f800dedf615f..dd3c5fd6d09b 100644 --- a/pkgs/development/tools/slimerjs/default.nix +++ b/pkgs/development/tools/slimerjs/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Gecko-based programmatically-driven browser"; + mainProgram = "slimerjs"; license = licenses.mpl20; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; diff --git a/pkgs/development/tools/smlfmt/default.nix b/pkgs/development/tools/smlfmt/default.nix index 2094cde2ffcb..b0cf14e8a5dd 100644 --- a/pkgs/development/tools/smlfmt/default.nix +++ b/pkgs/development/tools/smlfmt/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = { description = "A custom parser/auto-formatter for Standard ML"; + mainProgram = "smlfmt"; longDescription = '' A custom parser and code formatter for Standard ML, with helpful error messages. diff --git a/pkgs/development/tools/snazy/default.nix b/pkgs/development/tools/snazy/default.nix index 7abe2fd98cfc..2b3a719d33d2 100644 --- a/pkgs/development/tools/snazy/default.nix +++ b/pkgs/development/tools/snazy/default.nix @@ -36,6 +36,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A snazzy json log viewer"; + mainProgram = "snazy"; longDescription = '' Snazy is a simple tool to parse json logs and output them in a nice format with nice colors. diff --git a/pkgs/development/tools/so/default.nix b/pkgs/development/tools/so/default.nix index 6d3e3fab0b7c..e057d5290561 100644 --- a/pkgs/development/tools/so/default.nix +++ b/pkgs/development/tools/so/default.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A TUI interface to the StackExchange network"; + mainProgram = "so"; homepage = "https://github.com/samtay/so"; license = licenses.mit; maintainers = with maintainers; [ mredaelli ]; diff --git a/pkgs/development/tools/solarus-quest-editor/default.nix b/pkgs/development/tools/solarus-quest-editor/default.nix index 3dc60021b757..e0743d13c1fc 100644 --- a/pkgs/development/tools/solarus-quest-editor/default.nix +++ b/pkgs/development/tools/solarus-quest-editor/default.nix @@ -28,6 +28,7 @@ mkDerivation rec { meta = with lib; { description = "The editor for the Zelda-like ARPG game engine, Solarus"; + mainProgram = "solarus-quest-editor"; longDescription = '' Solarus is a game engine for Zelda-like ARPG games written in lua. Many full-fledged games have been writen for the engine. diff --git a/pkgs/development/tools/spr/default.nix b/pkgs/development/tools/spr/default.nix index a9ed5c3c2128..f2689c4692b1 100644 --- a/pkgs/development/tools/spr/default.nix +++ b/pkgs/development/tools/spr/default.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Submit pull requests for individual, amendable, rebaseable commits to GitHub"; + mainProgram = "spr"; homepage = "https://github.com/getcord/spr"; license = licenses.mit; maintainers = with maintainers; [ sven-of-cord ]; diff --git a/pkgs/development/tools/sq/default.nix b/pkgs/development/tools/sq/default.nix index 16fd797cca82..97e31162b773 100644 --- a/pkgs/development/tools/sq/default.nix +++ b/pkgs/development/tools/sq/default.nix @@ -42,6 +42,7 @@ buildGoModule rec { meta = with lib; { description = "Swiss army knife for data"; + mainProgram = "sq"; homepage = "https://sq.io/"; license = licenses.mit; platforms = platforms.all; diff --git a/pkgs/development/tools/sqsh/default.nix b/pkgs/development/tools/sqsh/default.nix index ba4a681a594d..ec071f739efa 100644 --- a/pkgs/development/tools/sqsh/default.nix +++ b/pkgs/development/tools/sqsh/default.nix @@ -37,6 +37,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Command line tool for querying Sybase/MSSQL databases"; + mainProgram = "sqsh"; longDescription = '' Sqsh (pronounced skwish) is short for SQshelL (pronounced s-q-shell), it is intended as a replacement for the venerable 'isql' program supplied diff --git a/pkgs/development/tools/sslmate/default.nix b/pkgs/development/tools/sslmate/default.nix index 836b0bc1b08e..2dded22da82f 100644 --- a/pkgs/development/tools/sslmate/default.nix +++ b/pkgs/development/tools/sslmate/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { homepage = "https://sslmate.com"; maintainers = [ maintainers.domenkozar ]; description = "Easy to buy, deploy, and manage your SSL certs"; + mainProgram = "sslmate"; platforms = platforms.unix; license = licenses.mit; # X11 }; diff --git a/pkgs/development/tools/statik/default.nix b/pkgs/development/tools/statik/default.nix index e77cf8f3bb0b..8b4386860e0a 100644 --- a/pkgs/development/tools/statik/default.nix +++ b/pkgs/development/tools/statik/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/rakyll/statik"; description = "Embed files into a Go executable "; + mainProgram = "statik"; license = licenses.asl20; maintainers = with maintainers; [ Madouura ]; }; diff --git a/pkgs/development/tools/steamos-devkit/default.nix b/pkgs/development/tools/steamos-devkit/default.nix index 43c4af73f2a7..4b2cabac6396 100644 --- a/pkgs/development/tools/steamos-devkit/default.nix +++ b/pkgs/development/tools/steamos-devkit/default.nix @@ -128,6 +128,7 @@ python3.pkgs.buildPythonPackage rec { meta = with lib; { description = "SteamOS Devkit Client"; + mainProgram = "steamos-devkit"; homepage = "https://gitlab.steamos.cloud/devkit/steamos-devkit"; license = licenses.mit; maintainers = with maintainers; [ myaats ]; diff --git a/pkgs/development/tools/subxt/default.nix b/pkgs/development/tools/subxt/default.nix index fd557c96b04f..2090fe1aacac 100644 --- a/pkgs/development/tools/subxt/default.nix +++ b/pkgs/development/tools/subxt/default.nix @@ -35,6 +35,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/paritytech/subxt"; description = "Submit transactions to a substrate node via RPC."; + mainProgram = "subxt"; license = with licenses; [ gpl3Plus asl20 ]; maintainers = [ maintainers.FlorianFranzen ]; }; diff --git a/pkgs/development/tools/summon/default.nix b/pkgs/development/tools/summon/default.nix index 598e8fab6392..014655616b7b 100644 --- a/pkgs/development/tools/summon/default.nix +++ b/pkgs/development/tools/summon/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "CLI that provides on-demand secrets access for common DevOps tools"; + mainProgram = "summon"; homepage = "https://cyberark.github.io/summon"; license = lib.licenses.mit; maintainers = with maintainers; [ quentini ]; diff --git a/pkgs/development/tools/swc/default.nix b/pkgs/development/tools/swc/default.nix index afb4ad5d5899..7847c253e7e5 100644 --- a/pkgs/development/tools/swc/default.nix +++ b/pkgs/development/tools/swc/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Rust-based platform for the Web"; + mainProgram = "swc"; homepage = "https://github.com/swc-project/swc"; license = licenses.asl20; maintainers = with maintainers; [ dit7ya kashw2 ]; diff --git a/pkgs/development/tools/swiftpm2nix/default.nix b/pkgs/development/tools/swiftpm2nix/default.nix index 25d6b06ef98b..d9f50cb801d5 100644 --- a/pkgs/development/tools/swiftpm2nix/default.nix +++ b/pkgs/development/tools/swiftpm2nix/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation { meta = { description = "Generate a Nix expression to fetch swiftpm dependencies"; + mainProgram = "swiftpm2nix"; maintainers = with lib.maintainers; [ dtzWill trepetti dduan trundle stephank ]; platforms = lib.platforms.all; }; diff --git a/pkgs/development/tools/systemfd/default.nix b/pkgs/development/tools/systemfd/default.nix index a695cf83a295..001015af2d8b 100644 --- a/pkgs/development/tools/systemfd/default.nix +++ b/pkgs/development/tools/systemfd/default.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage { meta = { description = "A convenient helper for passing sockets into another process"; + mainProgram = "systemfd"; homepage = "https://github.com/mitsuhiko/systemfd"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.adisbladis ]; diff --git a/pkgs/development/tools/tapview/default.nix b/pkgs/development/tools/tapview/default.nix index 19c1113c5cd4..fa8b0d1a2774 100644 --- a/pkgs/development/tools/tapview/default.nix +++ b/pkgs/development/tools/tapview/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A minimalist pure consumer for TAP (Test Anything Protocol)"; + mainProgram = "tapview"; homepage = "https://gitlab.com/esr/tapview"; license = licenses.bsd2; platforms = platforms.all; diff --git a/pkgs/development/tools/tarmac/default.nix b/pkgs/development/tools/tarmac/default.nix index b8383fc5031d..34471106d73a 100644 --- a/pkgs/development/tools/tarmac/default.nix +++ b/pkgs/development/tools/tarmac/default.nix @@ -39,6 +39,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Resource compiler and asset manager for Roblox"; + mainProgram = "tarmac"; longDescription = '' Tarmac is a resource compiler and asset manager for Roblox projects. It helps enable hermetic place builds when used with tools like Rojo. diff --git a/pkgs/development/tools/teller/default.nix b/pkgs/development/tools/teller/default.nix index a906e6c1f5e5..a918e6759bfe 100644 --- a/pkgs/development/tools/teller/default.nix +++ b/pkgs/development/tools/teller/default.nix @@ -63,6 +63,7 @@ buildGoModule { meta = with lib; { homepage = "https://github.com/tellerops/teller/"; description = "Cloud native secrets management for developers"; + mainProgram = "teller"; license = licenses.asl20; maintainers = with maintainers; [ wahtique ]; }; diff --git a/pkgs/development/tools/textql/default.nix b/pkgs/development/tools/textql/default.nix index 74953d0e3fab..1523a30d18f8 100644 --- a/pkgs/development/tools/textql/default.nix +++ b/pkgs/development/tools/textql/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "Execute SQL against structured text like CSV or TSV"; + mainProgram = "textql"; homepage = "https://github.com/dinedal/textql"; license = licenses.mit; maintainers = with maintainers; [ vrthra ]; diff --git a/pkgs/development/tools/tf2pulumi/default.nix b/pkgs/development/tools/tf2pulumi/default.nix index c108515ee6ad..bc5c92a98f22 100644 --- a/pkgs/development/tools/tf2pulumi/default.nix +++ b/pkgs/development/tools/tf2pulumi/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Convert Terraform projects to Pulumi TypeScript programs"; + mainProgram = "tf2pulumi"; homepage = "https://www.pulumi.com/tf2pulumi/"; license = licenses.asl20; maintainers = with maintainers; [ mausch ]; diff --git a/pkgs/development/tools/the-way/default.nix b/pkgs/development/tools/the-way/default.nix index 9418afb6cfa6..6b43e603a6e7 100644 --- a/pkgs/development/tools/the-way/default.nix +++ b/pkgs/development/tools/the-way/default.nix @@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Terminal code snippets manager"; + mainProgram = "the-way"; homepage = "https://github.com/out-of-cheese-error/the-way"; changelog = "https://github.com/out-of-cheese-error/the-way/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit ]; diff --git a/pkgs/development/tools/thrust/default.nix b/pkgs/development/tools/thrust/default.nix index 5e7b90641704..889d3bc3af36 100644 --- a/pkgs/development/tools/thrust/default.nix +++ b/pkgs/development/tools/thrust/default.nix @@ -38,6 +38,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Chromium-based cross-platform / cross-language application framework"; + mainProgram = "thrust_shell"; homepage = "https://github.com/breach/thrust"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.mit; diff --git a/pkgs/development/tools/time-ghc-modules/default.nix b/pkgs/development/tools/time-ghc-modules/default.nix index 7b0026b0692b..bbe0e4152fc0 100644 --- a/pkgs/development/tools/time-ghc-modules/default.nix +++ b/pkgs/development/tools/time-ghc-modules/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Analyze GHC .dump-timings files"; + mainProgram = "time-ghc-modules"; homepage = "https://github.com/codedownio/time-ghc-modules"; license = licenses.mit; maintainers = [ maintainers.thomasjm ]; diff --git a/pkgs/development/tools/toast/default.nix b/pkgs/development/tools/toast/default.nix index c4b486b96527..a7fa40f035b1 100644 --- a/pkgs/development/tools/toast/default.nix +++ b/pkgs/development/tools/toast/default.nix @@ -20,6 +20,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Containerize your development and continuous integration environments"; + mainProgram = "toast"; homepage = "https://github.com/stepchowfun/toast"; license = licenses.mit; maintainers = with maintainers; [ dit7ya ]; diff --git a/pkgs/development/tools/toml2json/default.nix b/pkgs/development/tools/toml2json/default.nix index b2abf4eb7211..4d7fed800e21 100644 --- a/pkgs/development/tools/toml2json/default.nix +++ b/pkgs/development/tools/toml2json/default.nix @@ -13,6 +13,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A very small CLI for converting TOML to JSON"; + mainProgram = "toml2json"; homepage = "https://github.com/woodruffw/toml2json"; license = with licenses; [ mit ]; maintainers = with maintainers; [ rvarago ]; diff --git a/pkgs/development/tools/toml2nix/default.nix b/pkgs/development/tools/toml2nix/default.nix index 6987619dbcb5..60eb3901318f 100644 --- a/pkgs/development/tools/toml2nix/default.nix +++ b/pkgs/development/tools/toml2nix/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to convert TOML files to Nix expressions"; + mainProgram = "toml2nix"; homepage = "https://crates.io/crates/toml2nix"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/development/tools/tora/default.nix b/pkgs/development/tools/tora/default.nix index bb85babe7c46..512d5adc0a7f 100644 --- a/pkgs/development/tools/tora/default.nix +++ b/pkgs/development/tools/tora/default.nix @@ -48,6 +48,7 @@ mkDerivation { meta = with lib; { description = "Tora SQL tool"; + mainProgram = "tora"; maintainers = with maintainers; [ peterhoeg ]; platforms = platforms.linux; license = licenses.asl20; diff --git a/pkgs/development/tools/tradcpp/default.nix b/pkgs/development/tools/tradcpp/default.nix index 7d2606eba84e..73d0cf5e81a4 100644 --- a/pkgs/development/tools/tradcpp/default.nix +++ b/pkgs/development/tools/tradcpp/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A traditional (K&R-style) C macro preprocessor"; + mainProgram = "tradcpp"; platforms = platforms.all; license = licenses.bsd2; }; diff --git a/pkgs/development/tools/trunk/default.nix b/pkgs/development/tools/trunk/default.nix index 3df95747a3a1..13352f11c5c9 100644 --- a/pkgs/development/tools/trunk/default.nix +++ b/pkgs/development/tools/trunk/default.nix @@ -54,6 +54,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://github.com/trunk-rs/trunk"; description = "Build, bundle & ship your Rust WASM application to the web"; + mainProgram = "trunk"; maintainers = with maintainers; [ freezeboy ]; license = with licenses; [ asl20 ]; }; diff --git a/pkgs/development/tools/ttfb/default.nix b/pkgs/development/tools/ttfb/default.nix index f024280c0870..e8a86c21bc5d 100644 --- a/pkgs/development/tools/ttfb/default.nix +++ b/pkgs/development/tools/ttfb/default.nix @@ -26,6 +26,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "CLI-Tool to measure the TTFB (time to first byte) of HTTP(S) requests"; + mainProgram = "ttfb"; longDescription = '' ttfb measure the TTFB (time to first byte) of HTTP(S) requests. This includes data of intermediate steps, such as the relative and absolute timings of DNS lookup, TCP diff --git a/pkgs/development/tools/twiggy/default.nix b/pkgs/development/tools/twiggy/default.nix index f1ee4c68fb19..25d8ab244d9e 100644 --- a/pkgs/development/tools/twiggy/default.nix +++ b/pkgs/development/tools/twiggy/default.nix @@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://rustwasm.github.io/twiggy/"; description = "A code size profiler for Wasm"; + mainProgram = "twiggy"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ lucperkins ]; }; diff --git a/pkgs/development/tools/twitch-cli/default.nix b/pkgs/development/tools/twitch-cli/default.nix index cc145b08ed58..8417bf10a5d2 100644 --- a/pkgs/development/tools/twitch-cli/default.nix +++ b/pkgs/development/tools/twitch-cli/default.nix @@ -42,6 +42,7 @@ buildGoModule rec { meta = with lib; { description = "The official Twitch CLI to make developing on Twitch easier"; + mainProgram = "twitch-cli"; homepage = "https://github.com/twitchdev/twitch-cli"; license = licenses.asl20; maintainers = with maintainers; [ benediktbroich ]; diff --git a/pkgs/development/tools/txtpbfmt/default.nix b/pkgs/development/tools/txtpbfmt/default.nix index 384320bb3b95..af69078fe18c 100644 --- a/pkgs/development/tools/txtpbfmt/default.nix +++ b/pkgs/development/tools/txtpbfmt/default.nix @@ -17,6 +17,7 @@ buildGoModule { meta = with lib; { description = "Formatter for text proto files"; + mainProgram = "txtpbfmt"; homepage = "https://github.com/protocolbuffers/txtpbfmt"; license = licenses.asl20; maintainers = with maintainers; [ aaronjheng ]; diff --git a/pkgs/development/tools/typos/default.nix b/pkgs/development/tools/typos/default.nix index 6aa8e5558dcc..cb33025cf183 100644 --- a/pkgs/development/tools/typos/default.nix +++ b/pkgs/development/tools/typos/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Source code spell checker"; + mainProgram = "typos"; homepage = "https://github.com/crate-ci/typos"; changelog = "https://github.com/crate-ci/typos/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/development/tools/uftrace/default.nix b/pkgs/development/tools/uftrace/default.nix index 26bb1cf60e00..17be739ea02b 100644 --- a/pkgs/development/tools/uftrace/default.nix +++ b/pkgs/development/tools/uftrace/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = { description = "Function (graph) tracer for user-space"; + mainProgram = "uftrace"; homepage = "https://github.com/namhyung/uftrace"; license = lib.licenses.gpl2; platforms = lib.platforms.linux; diff --git a/pkgs/development/tools/unconvert/default.nix b/pkgs/development/tools/unconvert/default.nix index ac49ad1f9696..21c0d08ab5ac 100644 --- a/pkgs/development/tools/unconvert/default.nix +++ b/pkgs/development/tools/unconvert/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Remove unnecessary type conversions from Go source"; + mainProgram = "unconvert"; homepage = "https://github.com/mdempsky/unconvert"; license = licenses.bsd3; maintainers = with maintainers; [ kalbasit ]; diff --git a/pkgs/development/tools/vendir/default.nix b/pkgs/development/tools/vendir/default.nix index 0420ef5e73a6..d7be7022a9d8 100644 --- a/pkgs/development/tools/vendir/default.nix +++ b/pkgs/development/tools/vendir/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "CLI tool to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively"; + mainProgram = "vendir"; homepage = "https://carvel.dev/vendir/"; license = licenses.asl20; maintainers = with maintainers; [ russell ]; diff --git a/pkgs/development/tools/viceroy/default.nix b/pkgs/development/tools/viceroy/default.nix index 9f195aee427f..46b4240bfaf8 100644 --- a/pkgs/development/tools/viceroy/default.nix +++ b/pkgs/development/tools/viceroy/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Viceroy provides local testing for developers working with Compute@Edge"; + mainProgram = "viceroy"; homepage = "https://github.com/fastly/Viceroy"; license = licenses.asl20; maintainers = with maintainers; [ ereslibre shyim ]; diff --git a/pkgs/development/tools/vndr/default.nix b/pkgs/development/tools/vndr/default.nix index d4e665adc414..29668e3097e7 100644 --- a/pkgs/development/tools/vndr/default.nix +++ b/pkgs/development/tools/vndr/default.nix @@ -17,6 +17,7 @@ buildGoPackage rec { meta = { description = "Stupid golang vendoring tool, inspired by docker vendor script"; + mainProgram = "vndr"; homepage = "https://github.com/LK4D4/vndr"; maintainers = with lib.maintainers; [ vdemeester rvolosatovs ]; license = lib.licenses.asl20; diff --git a/pkgs/development/tools/vultr/default.nix b/pkgs/development/tools/vultr/default.nix index 71a048455787..e7f600b9765f 100644 --- a/pkgs/development/tools/vultr/default.nix +++ b/pkgs/development/tools/vultr/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Vultr CLI and API client library"; + mainProgram = "vultr"; homepage = "https://jamesclonk.github.io/vultr"; changelog = "https://github.com/JamesClonk/vultr/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/development/tools/wails/default.nix b/pkgs/development/tools/wails/default.nix index c94139f7feda..34c4ae6aa371 100644 --- a/pkgs/development/tools/wails/default.nix +++ b/pkgs/development/tools/wails/default.nix @@ -66,6 +66,7 @@ buildGoModule rec { meta = with lib; { description = "Build applications using Go + HTML + CSS + JS"; + mainProgram = "wails"; homepage = "https://wails.io"; license = licenses.mit; maintainers = with maintainers; [ ianmjones ]; diff --git a/pkgs/development/tools/wally-cli/default.nix b/pkgs/development/tools/wally-cli/default.nix index 547f68bf8f33..b0f3375984b4 100644 --- a/pkgs/development/tools/wally-cli/default.nix +++ b/pkgs/development/tools/wally-cli/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "A tool to flash firmware to mechanical keyboards"; + mainProgram = "wally-cli"; homepage = "https://ergodox-ez.com/pages/wally-planck"; platforms = with platforms; linux ++ darwin; license = licenses.mit; diff --git a/pkgs/development/tools/wambo/default.nix b/pkgs/development/tools/wambo/default.nix index f5e277d415ef..fe79c186259b 100644 --- a/pkgs/development/tools/wambo/default.nix +++ b/pkgs/development/tools/wambo/default.nix @@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "All-in-one tool to convert decimal/bin/oct/hex and interpret bits as integers"; + mainProgram = "wambo"; longDescription = '' wambo is a binary that can easily shows you a numeric value in all important numeral systems (bin, hex, dec) + interprets the input as both signed and unsigned values (from i8 to i64, diff --git a/pkgs/development/tools/wasm-pack/default.nix b/pkgs/development/tools/wasm-pack/default.nix index d805b529d678..4354019aa0be 100644 --- a/pkgs/development/tools/wasm-pack/default.nix +++ b/pkgs/development/tools/wasm-pack/default.nix @@ -26,6 +26,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A utility that builds rust-generated WebAssembly package"; + mainProgram = "wasm-pack"; homepage = "https://github.com/rustwasm/wasm-pack"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = [ maintainers.dhkl ]; diff --git a/pkgs/development/tools/wasmserve/default.nix b/pkgs/development/tools/wasmserve/default.nix index 3248082e2a4c..1372534d05e5 100644 --- a/pkgs/development/tools/wasmserve/default.nix +++ b/pkgs/development/tools/wasmserve/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "An HTTP server for testing Wasm"; + mainProgram = "wasmserve"; homepage = "https://github.com/hajimehoshi/wasmserve"; license = licenses.asl20; maintainers = with maintainers; [ kirillrdy ]; diff --git a/pkgs/development/tools/wgo/default.nix b/pkgs/development/tools/wgo/default.nix index 3ed1fc89bf4e..9733cfd07343 100644 --- a/pkgs/development/tools/wgo/default.nix +++ b/pkgs/development/tools/wgo/default.nix @@ -31,6 +31,7 @@ buildGoModule { meta = with lib; { description = "Live reload for Go apps"; + mainProgram = "wgo"; homepage = "https://github.com/bokwoon95/wgo"; license = licenses.mit; maintainers = with maintainers; [ ]; diff --git a/pkgs/development/tools/wiggle/default.nix b/pkgs/development/tools/wiggle/default.nix index 2da789fdc603..bb2ea2665749 100644 --- a/pkgs/development/tools/wiggle/default.nix +++ b/pkgs/development/tools/wiggle/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://blog.neil.brown.name/category/wiggle/"; description = "Tool for applying patches with conflicts"; + mainProgram = "wiggle"; longDescription = '' Wiggle applies patches to a file in a similar manner to the patch(1) program. The distinctive difference is, however, that wiggle will diff --git a/pkgs/development/tools/wiiload/default.nix b/pkgs/development/tools/wiiload/default.nix index 3d7f1b798633..f2ff285cb745 100644 --- a/pkgs/development/tools/wiiload/default.nix +++ b/pkgs/development/tools/wiiload/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Load homebrew apps over network/usbgecko to your Wii"; + mainProgram = "wiiload"; homepage = "https://wiibrew.org/wiki/Wiiload"; license = licenses.gpl2; maintainers = with maintainers; [ tomsmeets ]; diff --git a/pkgs/development/tools/winhelpcgi/default.nix b/pkgs/development/tools/winhelpcgi/default.nix index 608ab00f50b6..c2d4dd31bf1c 100644 --- a/pkgs/development/tools/winhelpcgi/default.nix +++ b/pkgs/development/tools/winhelpcgi/default.nix @@ -14,6 +14,7 @@ meta = { description = "CGI module for Linux, Solaris, MacOS X and AIX to read Windows Help Files"; + mainProgram = "winhelpcgi.cgi"; homepage = "http://www.herdsoft.com/linux/produkte/winhelpcgi.html"; license = lib.licenses.gpl2Only; maintainers = [ lib.maintainers.shlevy ]; diff --git a/pkgs/development/tools/wire/default.nix b/pkgs/development/tools/wire/default.nix index 601c7fa8df7c..540f5c6a845e 100644 --- a/pkgs/development/tools/wire/default.nix +++ b/pkgs/development/tools/wire/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/google/wire"; description = "A code generation tool that automates connecting components using dependency injection"; + mainProgram = "wire"; license = licenses.asl20; maintainers = with maintainers; [ svrana ]; }; diff --git a/pkgs/development/tools/wizer/default.nix b/pkgs/development/tools/wizer/default.nix index d78059968af4..0f8e25e54bd6 100644 --- a/pkgs/development/tools/wizer/default.nix +++ b/pkgs/development/tools/wizer/default.nix @@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "The WebAssembly pre-initializer"; + mainProgram = "wizer"; homepage = "https://github.com/bytecodealliance/wizer"; license = licenses.asl20; maintainers = with maintainers; [ lucperkins amesgen ]; diff --git a/pkgs/development/tools/worker-build/default.nix b/pkgs/development/tools/worker-build/default.nix index 620fd87142ff..8f78048e8e19 100644 --- a/pkgs/development/tools/worker-build/default.nix +++ b/pkgs/development/tools/worker-build/default.nix @@ -27,6 +27,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "This is a tool to be used as a custom build command for a Cloudflare Workers `workers-rs` project."; + mainProgram = "worker-build"; homepage = "https://github.com/cloudflare/workers-rs"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ happysalada ]; diff --git a/pkgs/development/tools/wp4nix/default.nix b/pkgs/development/tools/wp4nix/default.nix index 08a202784ce0..6a829b4ae267 100644 --- a/pkgs/development/tools/wp4nix/default.nix +++ b/pkgs/development/tools/wp4nix/default.nix @@ -31,6 +31,7 @@ buildGoModule rec { meta = with lib; { description = "Packaging helper for Wordpress themes and plugins"; + mainProgram = "wp4nix"; homepage = "https://git.helsinki.tools/helsinki-systems/wp4nix"; license = licenses.mit; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/development/tools/wrangler_1/default.nix b/pkgs/development/tools/wrangler_1/default.nix index 44bd00cf69aa..0302e40492aa 100644 --- a/pkgs/development/tools/wrangler_1/default.nix +++ b/pkgs/development/tools/wrangler_1/default.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A CLI tool designed for folks who are interested in using Cloudflare Workers"; + mainProgram = "wrangler"; homepage = "https://github.com/cloudflare/wrangler"; license = with licenses; [ asl20 /* or */ mit ]; maintainers = with maintainers; [ Br1ght0ne ]; diff --git a/pkgs/development/tools/xc/default.nix b/pkgs/development/tools/xc/default.nix index 0e09b77e453e..9acf27ca3c33 100644 --- a/pkgs/development/tools/xc/default.nix +++ b/pkgs/development/tools/xc/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Markdown defined task runner"; + mainProgram = "xc"; homepage = "https://xcfile.dev/"; changelog = "https://github.com/joerdav/xc/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/development/tools/xqilla/default.nix b/pkgs/development/tools/xqilla/default.nix index 342ca426801d..352f41f47bb4 100644 --- a/pkgs/development/tools/xqilla/default.nix +++ b/pkgs/development/tools/xqilla/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An XQuery and XPath 2 library and command line utility written in C++, implemented on top of the Xerces-C library"; + mainProgram = "xqilla"; license = licenses.asl20 ; maintainers = with maintainers; [ obadz ]; platforms = platforms.all; diff --git a/pkgs/development/tools/yaml2json/default.nix b/pkgs/development/tools/yaml2json/default.nix index 444b0b0017e1..908d650e16c7 100644 --- a/pkgs/development/tools/yaml2json/default.nix +++ b/pkgs/development/tools/yaml2json/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/bronze1man/yaml2json"; description = "Convert yaml to json"; + mainProgram = "yaml2json"; license = with licenses; [ mit ]; maintainers = [ ]; }; diff --git a/pkgs/development/tools/ytt/default.nix b/pkgs/development/tools/ytt/default.nix index 0520871d698c..ea1cd39a6ccf 100644 --- a/pkgs/development/tools/ytt/default.nix +++ b/pkgs/development/tools/ytt/default.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "YAML templating tool that allows configuration of complex software via reusable templates with user-provided values"; + mainProgram = "ytt"; homepage = "https://get-ytt.io"; license = licenses.asl20; maintainers = with maintainers; [ brodes techknowlogick ]; diff --git a/pkgs/development/tools/yuicompressor/default.nix b/pkgs/development/tools/yuicompressor/default.nix index fdde9941bd5e..281aaee522c2 100644 --- a/pkgs/development/tools/yuicompressor/default.nix +++ b/pkgs/development/tools/yuicompressor/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A JavaScript and CSS minifier"; + mainProgram = "yuicompressor"; homepage = "http://yui.github.io/yuicompressor/"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.bsd3; diff --git a/pkgs/development/tools/zsv/default.nix b/pkgs/development/tools/zsv/default.nix index d9575d92bb38..c311a4de9df4 100644 --- a/pkgs/development/tools/zsv/default.nix +++ b/pkgs/development/tools/zsv/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "World's fastest (simd) CSV parser, with an extensible CLI"; + mainProgram = "zsv"; homepage = "https://github.com/liquidaty/zsv"; changelog = "https://github.com/liquidaty/zsv/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/development/web/boa/default.nix b/pkgs/development/web/boa/default.nix index 003e98290298..93755932b33b 100644 --- a/pkgs/development/web/boa/default.nix +++ b/pkgs/development/web/boa/default.nix @@ -47,6 +47,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An embeddable and experimental Javascript engine written in Rust"; + mainProgram = "boa"; homepage = "https://github.com/boa-dev/boa"; changelog = "https://github.com/boa-dev/boa/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ mit /* or */ unlicense ]; diff --git a/pkgs/development/web/edge-runtime/default.nix b/pkgs/development/web/edge-runtime/default.nix index a84e232bbb4c..a8e9dbe824a4 100644 --- a/pkgs/development/web/edge-runtime/default.nix +++ b/pkgs/development/web/edge-runtime/default.nix @@ -65,6 +65,7 @@ rustPlatform.buildRustPackage { meta = with lib; { description = "A server based on Deno runtime, capable of running JavaScript, TypeScript, and WASM services"; + mainProgram = "edge-runtime"; homepage = "https://github.com/supabase/edge-runtime"; license = licenses.mit; maintainers = with maintainers; [ happysalada ]; diff --git a/pkgs/development/web/function-runner/default.nix b/pkgs/development/web/function-runner/default.nix index a3526a0c5584..ba1be2863f81 100644 --- a/pkgs/development/web/function-runner/default.nix +++ b/pkgs/development/web/function-runner/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A CLI tool which allows you to run Wasm Functions intended for the Shopify Functions infrastructure"; + mainProgram = "function-runner"; homepage = "https://github.com/Shopify/function-runner"; license = licenses.asl20; maintainers = with maintainers; [ nintron ]; diff --git a/pkgs/development/web/grails/default.nix b/pkgs/development/web/grails/default.nix index 95660e2f3d60..3daeaa7d41b4 100644 --- a/pkgs/development/web/grails/default.nix +++ b/pkgs/development/web/grails/default.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Full stack, web application framework for the JVM"; + mainProgram = "grails"; longDescription = '' Grails is an Open Source, full stack, web application framework for the JVM. It takes advantage of the Groovy programming language and convention diff --git a/pkgs/development/web/ihp-new/default.nix b/pkgs/development/web/ihp-new/default.nix index a11203238441..63cd36581078 100644 --- a/pkgs/development/web/ihp-new/default.nix +++ b/pkgs/development/web/ihp-new/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Project generator for the IHP (Integrated Haskell Platform) web framework"; + mainProgram = "ihp-new"; homepage = "https://ihp.digitallyinduced.com"; license = licenses.mit; maintainers = [ maintainers.mpscholten ]; diff --git a/pkgs/development/web/insomnia/default.nix b/pkgs/development/web/insomnia/default.nix index 597ff71a6fc8..422c6b737889 100644 --- a/pkgs/development/web/insomnia/default.nix +++ b/pkgs/development/web/insomnia/default.nix @@ -90,6 +90,7 @@ in stdenv.mkDerivation rec { meta = with lib; { homepage = "https://insomnia.rest/"; description = "The most intuitive cross-platform REST API Client"; + mainProgram = "insomnia"; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; license = licenses.mit; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/development/web/newman/default.nix b/pkgs/development/web/newman/default.nix index 020db1ac5b03..d06331b6badb 100644 --- a/pkgs/development/web/newman/default.nix +++ b/pkgs/development/web/newman/default.nix @@ -21,6 +21,7 @@ buildNpmPackage rec { meta = with lib; { homepage = "https://www.getpostman.com"; description = "A command-line collection runner for Postman"; + mainProgram = "newman"; changelog = "https://github.com/postmanlabs/newman/releases/tag/v${version}"; maintainers = with maintainers; [ freezeboy ]; license = licenses.asl20; diff --git a/pkgs/development/web/playwright/driver.nix b/pkgs/development/web/playwright/driver.nix index 7f755eda21ce..3e6f3f233965 100644 --- a/pkgs/development/web/playwright/driver.nix +++ b/pkgs/development/web/playwright/driver.nix @@ -79,6 +79,7 @@ let }.${system} or throwSystem; browsers-chromium = browsers-linux {}; }; + meta.mainProgram = "playwright"; }); browsers-mac = stdenv.mkDerivation { diff --git a/pkgs/development/web/pnpm-lock-export/default.nix b/pkgs/development/web/pnpm-lock-export/default.nix index 4c39eab90fef..e965befb5700 100644 --- a/pkgs/development/web/pnpm-lock-export/default.nix +++ b/pkgs/development/web/pnpm-lock-export/default.nix @@ -24,6 +24,7 @@ buildNpmPackage rec { meta = with lib; { description = "A utility for converting pnpm-lock.yaml to other lockfile formats"; + mainProgram = "pnpm-lock-export"; homepage = "https://github.com/cvent/pnpm-lock-export"; license = licenses.mit; maintainers = with maintainers; [ ambroisie ]; diff --git a/pkgs/development/web/publii/default.nix b/pkgs/development/web/publii/default.nix index 22aa123a8f40..e09e21f174a7 100644 --- a/pkgs/development/web/publii/default.nix +++ b/pkgs/development/web/publii/default.nix @@ -88,6 +88,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Static Site CMS with GUI to build privacy-focused SEO-friendly website."; + mainProgram = "Publii"; longDescription = '' Creating a website doesn't have to be complicated or expensive. With Publii, the most intuitive static site CMS, you can create a beautiful, safe, and privacy-friendly website diff --git a/pkgs/development/web/shopify-themekit/default.nix b/pkgs/development/web/shopify-themekit/default.nix index 5d20a9102475..7b50c3e37aa3 100644 --- a/pkgs/development/web/shopify-themekit/default.nix +++ b/pkgs/development/web/shopify-themekit/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "A command line tool for shopify themes"; + mainProgram = "theme"; homepage = "https://shopify.github.io/themekit/"; license = licenses.mit; maintainers = with maintainers; [ _1000101 ]; diff --git a/pkgs/development/web/xmlindent/default.nix b/pkgs/development/web/xmlindent/default.nix index 0edbf41e2af2..a860c102a219 100644 --- a/pkgs/development/web/xmlindent/default.nix +++ b/pkgs/development/web/xmlindent/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = { description = "XML stream reformatter"; + mainProgram = "xmlindent"; homepage = "https://xmlindent.sourceforge.net/"; license = lib.licenses.gpl3; platforms = lib.platforms.linux; diff --git a/pkgs/games/2048-in-terminal/default.nix b/pkgs/games/2048-in-terminal/default.nix index 2ffefb601125..e7347c8fe880 100644 --- a/pkgs/games/2048-in-terminal/default.nix +++ b/pkgs/games/2048-in-terminal/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { inherit (src.meta) homepage; description = "Animated console version of the 2048 game"; + mainProgram = "2048-in-terminal"; license = licenses.mit; platforms = platforms.unix; }; diff --git a/pkgs/games/20kly/default.nix b/pkgs/games/20kly/default.nix index 0cc61367e28e..c2ab35019516 100644 --- a/pkgs/games/20kly/default.nix +++ b/pkgs/games/20kly/default.nix @@ -39,6 +39,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A steampunk-themed strategy game where you have to manage a steam supply network"; + mainProgram = "lightyears"; homepage = "http://jwhitham.org.uk/20kly/"; license = licenses.gpl2Only; maintainers = with maintainers; [ fgaz ]; diff --git a/pkgs/games/90secondportraits/default.nix b/pkgs/games/90secondportraits/default.nix index fd6bb9239938..4e8cd387a0e1 100644 --- a/pkgs/games/90secondportraits/default.nix +++ b/pkgs/games/90secondportraits/default.nix @@ -43,6 +43,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "A silly speed painting game"; + mainProgram = "90secondportraits"; maintainers = with maintainers; [ leenaars ]; platforms = platforms.linux; license = licenses.free; diff --git a/pkgs/games/BeatSaberModManager/default.nix b/pkgs/games/BeatSaberModManager/default.nix index a4b53810244d..5c0f73d329f2 100644 --- a/pkgs/games/BeatSaberModManager/default.nix +++ b/pkgs/games/BeatSaberModManager/default.nix @@ -56,6 +56,7 @@ buildDotnetModule rec { meta = with lib; { description = "Yet another mod installer for Beat Saber, heavily inspired by ModAssistant"; + mainProgram = "BeatSaberModManager"; homepage = "https://github.com/affederaffe/BeatSaberModManager"; longDescription = '' BeatSaberModManager is yet another mod installer for Beat Saber, heavily inspired by ModAssistant diff --git a/pkgs/games/abbaye-des-morts/default.nix b/pkgs/games/abbaye-des-morts/default.nix index 3cf03ed22119..1461c45a0b79 100644 --- a/pkgs/games/abbaye-des-morts/default.nix +++ b/pkgs/games/abbaye-des-morts/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://locomalito.com/abbaye_des_morts.php"; description = "A retro arcade video game"; + mainProgram = "abbayev2"; license = licenses.gpl3; maintainers = [ maintainers.marius851000 ]; }; diff --git a/pkgs/games/airshipper/default.nix b/pkgs/games/airshipper/default.nix index a785d6035e41..0791aa8dfa27 100644 --- a/pkgs/games/airshipper/default.nix +++ b/pkgs/games/airshipper/default.nix @@ -114,6 +114,7 @@ rustPlatform.buildRustPackage { meta = with lib; { description = "Provides automatic updates for the voxel RPG Veloren"; + mainProgram = "airshipper"; homepage = "https://www.veloren.net"; license = licenses.gpl3; maintainers = with maintainers; [ yusdacra ]; diff --git a/pkgs/games/airstrike/default.nix b/pkgs/games/airstrike/default.nix index 8441ac7a2fee..63b2686e97c9 100644 --- a/pkgs/games/airstrike/default.nix +++ b/pkgs/games/airstrike/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A 2d dogfighting game"; + mainProgram = "airstrike"; homepage = "https://icculus.org/airstrike/"; license = licenses.gpl2; maintainers = with maintainers; [ pSub ]; diff --git a/pkgs/games/among-sus/default.nix b/pkgs/games/among-sus/default.nix index be9ecc7adf57..d53d98f5e7af 100644 --- a/pkgs/games/among-sus/default.nix +++ b/pkgs/games/among-sus/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://git.sr.ht/~martijnbraam/among-sus"; description = "Among us, but it's a text adventure"; + mainProgram = "among-sus"; license = licenses.agpl3Plus; maintainers = [ maintainers.eyjhb ]; platforms = platforms.unix; diff --git a/pkgs/games/angband/default.nix b/pkgs/games/angband/default.nix index 24348460d3b5..1d3ac929d337 100644 --- a/pkgs/games/angband/default.nix +++ b/pkgs/games/angband/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://angband.github.io/angband"; description = "A single-player roguelike dungeon exploration game"; + mainProgram = "angband"; maintainers = [ maintainers.kenran ]; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/games/animatch/default.nix b/pkgs/games/animatch/default.nix index b6bf5473807c..261612374ace 100644 --- a/pkgs/games/animatch/default.nix +++ b/pkgs/games/animatch/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://gitlab.com/HolyPangolin/animatch/"; description = "A cute match three game for the Librem 5 smartphone"; + mainProgram = "animatch"; license = with lib.licenses; [ gpl3Plus ]; maintainers = with lib.maintainers; [ colinsane ]; }; diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index 3cd623c4d6ef..eca62c640bcf 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -277,6 +277,7 @@ python3.pkgs.buildPythonApplication { meta = with lib; { description = "Spaced repetition flashcard program"; + mainProgram = "anki"; longDescription = '' Anki is a program which makes remembering things easy. Because it is a lot more efficient than traditional study methods, you can either greatly diff --git a/pkgs/games/antsimulator/default.nix b/pkgs/games/antsimulator/default.nix index bac481c88f35..f6b360831458 100644 --- a/pkgs/games/antsimulator/default.nix +++ b/pkgs/games/antsimulator/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/johnBuffer/AntSimulator"; description = "Simple Ants simulator"; + mainProgram = "antsimulator"; license = licenses.free; maintainers = with maintainers; [ ivar ]; platforms = platforms.unix; diff --git a/pkgs/games/armagetronad/default.nix b/pkgs/games/armagetronad/default.nix index 6bcc30ac011f..20f253dcfc2f 100644 --- a/pkgs/games/armagetronad/default.nix +++ b/pkgs/games/armagetronad/default.nix @@ -176,6 +176,7 @@ let meta = with lib; { homepage = "http://armagetronad.org"; description = "A multiplayer networked arcade racing game in 3D similar to Tron"; + mainProgram = "armagetronad-dedicated"; maintainers = with maintainers; [ numinit ]; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/games/atanks/default.nix b/pkgs/games/atanks/default.nix index 197cadfea29c..8a77be6f16eb 100644 --- a/pkgs/games/atanks/default.nix +++ b/pkgs/games/atanks/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Atomic Tanks ballistics game"; + mainProgram = "atanks"; homepage = "http://atanks.sourceforge.net/"; maintainers = [ maintainers.raskin ]; platforms = platforms.linux; diff --git a/pkgs/games/augustus/default.nix b/pkgs/games/augustus/default.nix index 5aec0186cfc4..1ccbd14f5f33 100644 --- a/pkgs/games/augustus/default.nix +++ b/pkgs/games/augustus/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An open source re-implementation of Caesar III. Fork of Julius incorporating gameplay changes"; + mainProgram = "augustus"; homepage = "https://github.com/Keriew/augustus"; license = licenses.agpl3Only; platforms = platforms.all; diff --git a/pkgs/games/azimuth/default.nix b/pkgs/games/azimuth/default.nix index ed03c2afd71c..84d50211dc37 100644 --- a/pkgs/games/azimuth/default.nix +++ b/pkgs/games/azimuth/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = { description = "A metroidvania game using only vectorial graphic"; + mainProgram = "azimuth"; longDescription = '' Azimuth is a metroidvania game, and something of an homage to the previous greats of the genre (Super Metroid in particular). You will need to pilot diff --git a/pkgs/games/ballerburg/default.nix b/pkgs/games/ballerburg/default.nix index b15abdbc4703..c8d5fb793832 100644 --- a/pkgs/games/ballerburg/default.nix +++ b/pkgs/games/ballerburg/default.nix @@ -44,6 +44,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Classic cannon combat game"; + mainProgram = "ballerburg"; longDescription = '' Two castles, separated by a mountain, try to defeat each other with their cannonballs, either by killing the opponent's king or by weakening the opponent enough so that the king capitulates.''; diff --git a/pkgs/games/banner/default.nix b/pkgs/games/banner/default.nix index b98ade9dbff9..af54f59999c8 100644 --- a/pkgs/games/banner/default.nix +++ b/pkgs/games/banner/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/pronovic/banner"; description = "Print large banners to ASCII terminals"; + mainProgram = "banner"; license = licenses.gpl2Only; longDescription = '' diff --git a/pkgs/games/bastet/default.nix b/pkgs/games/bastet/default.nix index 0b9f41507303..5fde8064d755 100644 --- a/pkgs/games/bastet/default.nix +++ b/pkgs/games/bastet/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tetris clone with 'bastard' block-choosing AI"; + mainProgram = "bastet"; homepage = "http://fph.altervista.org/prog/bastet.html"; license = licenses.gpl3; maintainers = [ maintainers.dezgeg ]; diff --git a/pkgs/games/black-hole-solver/default.nix b/pkgs/games/black-hole-solver/default.nix index 0d5f2eab9786..1950403e10c6 100644 --- a/pkgs/games/black-hole-solver/default.nix +++ b/pkgs/games/black-hole-solver/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A solver for Solitaire variants Golf, Black Hole, and All in a Row"; + mainProgram = "black-hole-solve"; homepage = "https://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/"; license = licenses.mit; }; diff --git a/pkgs/games/blightmud/default.nix b/pkgs/games/blightmud/default.nix index 3267c36a370e..e62ab2437082 100644 --- a/pkgs/games/blightmud/default.nix +++ b/pkgs/games/blightmud/default.nix @@ -51,6 +51,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A terminal MUD client written in Rust"; + mainProgram = "blightmud"; longDescription = '' Blightmud is a terminal client for connecting to Multi User Dungeon (MUD) games. It is written in Rust and supports TLS, GMCP, MSDP, MCCP2, tab diff --git a/pkgs/games/blobwars/default.nix b/pkgs/games/blobwars/default.nix index dd94fc109696..6c01e8d5a604 100644 --- a/pkgs/games/blobwars/default.nix +++ b/pkgs/games/blobwars/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Platform action game featuring a blob with lots of weapons"; + mainProgram = "blobwars"; homepage = "https://www.parallelrealities.co.uk/games/metalBlobSolid/"; license = with licenses; [ gpl2Plus free ]; maintainers = with maintainers; [ iblech ]; diff --git a/pkgs/games/blockattack/default.nix b/pkgs/games/blockattack/default.nix index 6deba7987ada..d59b93ae600c 100644 --- a/pkgs/games/blockattack/default.nix +++ b/pkgs/games/blockattack/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://blockattack.net/"; description = "An open source clone of Panel de Pon (aka Tetris Attack)"; + mainProgram = "blockattack"; license = licenses.gpl2Plus; maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.unix; diff --git a/pkgs/games/boohu/default.nix b/pkgs/games/boohu/default.nix index 708d8d7510bc..6d90106521ad 100644 --- a/pkgs/games/boohu/default.nix +++ b/pkgs/games/boohu/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "A new coffee-break roguelike game"; + mainProgram = "boohu"; longDescription = '' Break Out Of Hareka's Underground (Boohu) is a roguelike game mainly inspired from DCSS and its tavern, with some ideas from Brogue, but diff --git a/pkgs/games/braincurses/default.nix b/pkgs/games/braincurses/default.nix index f3f862b97ef9..bbbc35b412a2 100644 --- a/pkgs/games/braincurses/default.nix +++ b/pkgs/games/braincurses/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/bderrly/braincurses"; description = "A version of the classic game Mastermind"; + mainProgram = "braincurses"; license = licenses.gpl2; maintainers = with maintainers; [ dotlambda ]; platforms = platforms.linux; diff --git a/pkgs/games/brogue-ce/default.nix b/pkgs/games/brogue-ce/default.nix index 32ca328492bc..1f454b53b6f1 100644 --- a/pkgs/games/brogue-ce/default.nix +++ b/pkgs/games/brogue-ce/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A community-lead fork of the minimalist roguelike game Brogue"; + mainProgram = "brogue-ce"; homepage = "https://github.com/tmewett/BrogueCE"; license = licenses.agpl3; maintainers = with maintainers; [ AndersonTorres fgaz ]; diff --git a/pkgs/games/brogue/default.nix b/pkgs/games/brogue/default.nix index 770ff3622923..326a04c8c840 100644 --- a/pkgs/games/brogue/default.nix +++ b/pkgs/games/brogue/default.nix @@ -51,6 +51,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A roguelike game"; + mainProgram = "brogue"; homepage = "https://sites.google.com/site/broguegame/"; license = licenses.agpl3; maintainers = with maintainers; [ AndersonTorres fgaz ]; diff --git a/pkgs/games/brutalmaze/default.nix b/pkgs/games/brutalmaze/default.nix index 8f8930ce0c63..124134eafc14 100644 --- a/pkgs/games/brutalmaze/default.nix +++ b/pkgs/games/brutalmaze/default.nix @@ -27,6 +27,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Minimalist thrilling shoot 'em up game"; + mainProgram = "brutalmaze"; homepage = "https://brutalmaze.rtfd.io"; license = licenses.agpl3Plus; maintainers = [ maintainers.McSinyx ]; diff --git a/pkgs/games/cataclysm-dda/common.nix b/pkgs/games/cataclysm-dda/common.nix index fb54efee1dd5..b2aa2878080b 100644 --- a/pkgs/games/cataclysm-dda/common.nix +++ b/pkgs/games/cataclysm-dda/common.nix @@ -72,6 +72,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A free, post apocalyptic, zombie infested rogue-like"; + mainProgram = "cataclysm-tiles"; longDescription = '' Cataclysm: Dark Days Ahead is a roguelike set in a post-apocalyptic world. Surviving is difficult: you have been thrown, ill-equipped, into a diff --git a/pkgs/games/cbonsai/default.nix b/pkgs/games/cbonsai/default.nix index 2dc131aba6db..3898a42e476f 100644 --- a/pkgs/games/cbonsai/default.nix +++ b/pkgs/games/cbonsai/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Grow bonsai trees in your terminal"; + mainProgram = "cbonsai"; homepage = "https://gitlab.com/jallbrit/cbonsai"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ manveru ]; diff --git a/pkgs/games/cgoban/default.nix b/pkgs/games/cgoban/default.nix index 3d202985f1b0..ce0cd1e5ffcc 100644 --- a/pkgs/games/cgoban/default.nix +++ b/pkgs/games/cgoban/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Client for the KGS Go Server"; + mainProgram = "cgoban"; homepage = "https://www.gokgs.com/"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.free; diff --git a/pkgs/games/chromium-bsu/default.nix b/pkgs/games/chromium-bsu/default.nix index 1ab2fb8722b0..cd403c704e58 100644 --- a/pkgs/games/chromium-bsu/default.nix +++ b/pkgs/games/chromium-bsu/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://chromium-bsu.sourceforge.net/"; description = "A fast paced, arcade-style, top-scrolling space shooter"; + mainProgram = "chromium-bsu"; license = licenses.artistic1; maintainers = with maintainers; [ AndersonTorres ]; platforms = platforms.unix; diff --git a/pkgs/games/ckan/default.nix b/pkgs/games/ckan/default.nix index c19b1e20812d..ed025ecee5d6 100644 --- a/pkgs/games/ckan/default.nix +++ b/pkgs/games/ckan/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Mod manager for Kerbal Space Program"; + mainProgram = "ckan"; homepage = "https://github.com/KSP-CKAN/CKAN"; license = licenses.mit; maintainers = with maintainers; [ Baughn ymarkus ]; diff --git a/pkgs/games/construo/default.nix b/pkgs/games/construo/default.nix index 2565d8599a53..4c9419a54c65 100644 --- a/pkgs/games/construo/default.nix +++ b/pkgs/games/construo/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = { description = "Masses and springs simulation game"; + mainProgram = "construo.x11"; homepage = "http://fs.fsf.org/construo/"; license = lib.licenses.gpl3; }; diff --git a/pkgs/games/corsix-th/default.nix b/pkgs/games/corsix-th/default.nix index fed831146385..04cfd263c9ee 100644 --- a/pkgs/games/corsix-th/default.nix +++ b/pkgs/games/corsix-th/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A reimplementation of the 1997 Bullfrog business sim Theme Hospital"; + mainProgram = "corsix-th"; homepage = "https://corsixth.com/"; license = licenses.mit; maintainers = with maintainers; [ hughobrien ]; diff --git a/pkgs/games/crack-attack/default.nix b/pkgs/games/crack-attack/default.nix index 69395e1c44aa..71e15f562d45 100644 --- a/pkgs/games/crack-attack/default.nix +++ b/pkgs/games/crack-attack/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = { description = "A fast-paced puzzle game inspired by the classic Super NES title Tetris Attack!"; + mainProgram = "crack-attack"; homepage = "https://www.nongnu.org/crack-attack/"; license = lib.licenses.gpl2; platforms = lib.platforms.linux; diff --git a/pkgs/games/crossfire/crossfire-client.nix b/pkgs/games/crossfire/crossfire-client.nix index 0d335b4f529a..bc3a6bbf8b06 100644 --- a/pkgs/games/crossfire/crossfire-client.nix +++ b/pkgs/games/crossfire/crossfire-client.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GTKv2 client for the Crossfire free MMORPG"; + mainProgram = "crossfire-client-gtk2"; homepage = "http://crossfire.real-time.com/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/games/crrcsim/default.nix b/pkgs/games/crrcsim/default.nix index 741f402870a8..447b1e75d6f7 100644 --- a/pkgs/games/crrcsim/default.nix +++ b/pkgs/games/crrcsim/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = { description = "A model-airplane flight simulator"; + mainProgram = "crrcsim"; maintainers = with lib.maintainers; [ raskin ]; platforms = [ "i686-linux" "x86_64-linux" ]; license = lib.licenses.gpl2; diff --git a/pkgs/games/cutemaze/default.nix b/pkgs/games/cutemaze/default.nix index bf3c0eae6385..658511b02dad 100644 --- a/pkgs/games/cutemaze/default.nix +++ b/pkgs/games/cutemaze/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { changelog = "https://github.com/gottcode/cutemaze/blob/v${version}/ChangeLog"; description = "Simple, top-down game in which mazes are randomly generated"; + mainProgram = "cutemaze"; homepage = "https://gottcode.org/cutemaze/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dotlambda ]; diff --git a/pkgs/games/cuyo/default.nix b/pkgs/games/cuyo/default.nix index 871812e097a9..6132b33a3b89 100644 --- a/pkgs/games/cuyo/default.nix +++ b/pkgs/games/cuyo/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation { meta = { homepage = "http://karimmi.de/cuyo"; description = "Stacking blocks game, with different rules for each level"; + mainProgram = "cuyo"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; }; diff --git a/pkgs/games/devilutionx/default.nix b/pkgs/games/devilutionx/default.nix index 94838596a129..7f98cbccff3a 100644 --- a/pkgs/games/devilutionx/default.nix +++ b/pkgs/games/devilutionx/default.nix @@ -121,6 +121,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/diasurgical/devilutionX"; description = "Diablo build for modern operating systems"; + mainProgram = "devilutionx"; longDescription = "In order to play this game a copy of diabdat.mpq is required. Place a copy of diabdat.mpq in ~/.local/share/diasurgical/devilution before executing the game."; license = licenses.unlicense; maintainers = with maintainers; [ karolchmist aanderse ]; diff --git a/pkgs/games/doom-ports/dhewm3/default.nix b/pkgs/games/doom-ports/dhewm3/default.nix index 20e9f986f0c9..7740d00b5fb2 100644 --- a/pkgs/games/doom-ports/dhewm3/default.nix +++ b/pkgs/games/doom-ports/dhewm3/default.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/dhewm/dhewm3"; description = "Doom 3 port to SDL"; + mainProgram = "dhewm3"; license = lib.licenses.gpl3; maintainers = with maintainers; [ MP2E ]; platforms = with platforms; linux; diff --git a/pkgs/games/doom-ports/doomretro/default.nix b/pkgs/games/doom-ports/doomretro/default.nix index f2bfd656ff2c..127220603bdf 100644 --- a/pkgs/games/doom-ports/doomretro/default.nix +++ b/pkgs/games/doom-ports/doomretro/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://www.doomretro.com/"; description = "A classic, refined DOOM source port"; + mainProgram = "doomretro"; longDescription = '' DOOM Retro is the classic, refined DOOM source port for Windows PC. It represents how I like my DOOM to be today, in all its dark and gritty, diff --git a/pkgs/games/doom-ports/doomrunner/default.nix b/pkgs/games/doom-ports/doomrunner/default.nix index 3c1e574ca5b1..72b6ad15517d 100644 --- a/pkgs/games/doom-ports/doomrunner/default.nix +++ b/pkgs/games/doom-ports/doomrunner/default.nix @@ -51,6 +51,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Graphical launcher of ZDoom and derivatives"; + mainProgram = "DoomRunner"; homepage = "https://github.com/Youda008/DoomRunner/"; changelog = "https://github.com/Youda008/DoomRunner/blob/${finalAttrs.src.rev}/changelog.txt"; license = licenses.gpl3Only; diff --git a/pkgs/games/doom-ports/doomseeker/default.nix b/pkgs/games/doom-ports/doomseeker/default.nix index 48ea1a0296cf..fb8fb1308491 100644 --- a/pkgs/games/doom-ports/doomseeker/default.nix +++ b/pkgs/games/doom-ports/doomseeker/default.nix @@ -21,6 +21,7 @@ mkDerivation { meta = with lib; { homepage = "http://doomseeker.drdteam.org/"; description = "Multiplayer server browser for many Doom source ports"; + mainProgram = "doomseeker"; license = licenses.gpl2; platforms = platforms.unix; maintainers = [ maintainers.MP2E ]; diff --git a/pkgs/games/doom-ports/enyo-launcher/default.nix b/pkgs/games/doom-ports/enyo-launcher/default.nix index 8bc782bb36a8..857e2a543e63 100644 --- a/pkgs/games/doom-ports/enyo-launcher/default.nix +++ b/pkgs/games/doom-ports/enyo-launcher/default.nix @@ -18,6 +18,7 @@ mkDerivation rec { meta = { homepage = "https://gitlab.com/sdcofer70/enyo-launcher"; description = "Frontend for Doom engines"; + mainProgram = "enyo-launcher"; license = lib.licenses.gpl3Plus; platforms = lib.platforms.unix; maintainers = [ lib.maintainers.usrfriendly ]; diff --git a/pkgs/games/doom-ports/eternity-engine/default.nix b/pkgs/games/doom-ports/eternity-engine/default.nix index cdff7fab1e12..7afef923e08b 100644 --- a/pkgs/games/doom-ports/eternity-engine/default.nix +++ b/pkgs/games/doom-ports/eternity-engine/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://doomworld.com/eternity"; description = "New school Doom port by James Haley"; + mainProgram = "eternity"; license = lib.licenses.gpl3; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ MP2E ]; diff --git a/pkgs/games/doom-ports/eureka-editor/default.nix b/pkgs/games/doom-ports/eureka-editor/default.nix index 6beae458d293..2d547f959048 100644 --- a/pkgs/games/doom-ports/eureka-editor/default.nix +++ b/pkgs/games/doom-ports/eureka-editor/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://eureka-editor.sourceforge.net"; description = "A map editor for the classic DOOM games, and a few related games such as Heretic and Hexen"; + mainProgram = "eureka"; license = licenses.gpl2Plus; platforms = platforms.all; badPlatforms = platforms.darwin; diff --git a/pkgs/games/doom-ports/gzdoom/default.nix b/pkgs/games/doom-ports/gzdoom/default.nix index 768a4936d821..d063393210c4 100644 --- a/pkgs/games/doom-ports/gzdoom/default.nix +++ b/pkgs/games/doom-ports/gzdoom/default.nix @@ -103,6 +103,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/ZDoom/gzdoom"; description = "Modder-friendly OpenGL and Vulkan source port based on the DOOM engine"; + mainProgram = "gzdoom"; longDescription = '' GZDoom is a feature centric port for all DOOM engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities. diff --git a/pkgs/games/doom-ports/rbdoom-3-bfg/default.nix b/pkgs/games/doom-ports/rbdoom-3-bfg/default.nix index 7ec57b715138..07f809662d6b 100644 --- a/pkgs/games/doom-ports/rbdoom-3-bfg/default.nix +++ b/pkgs/games/doom-ports/rbdoom-3-bfg/default.nix @@ -81,6 +81,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/RobertBeckebans/RBDOOM-3-BFG"; description = "Doom 3 BFG Edition with modern engine features"; + mainProgram = "RBDoom3BFG"; license = licenses.gpl3Plus; maintainers = with maintainers; [ Zaechus ]; platforms = platforms.unix; diff --git a/pkgs/games/doom-ports/zandronum/default.nix b/pkgs/games/doom-ports/zandronum/default.nix index 0006ea3c7ce5..c8e1927aafed 100644 --- a/pkgs/games/doom-ports/zandronum/default.nix +++ b/pkgs/games/doom-ports/zandronum/default.nix @@ -96,6 +96,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://zandronum.com/"; description = "Multiplayer oriented port, based off Skulltag, for Doom and Doom II by id Software"; + mainProgram = "zandronum-server"; maintainers = with maintainers; [ lassulus MP2E ]; license = licenses.sleepycat; platforms = platforms.linux; diff --git a/pkgs/games/doom-ports/zdoom/bcc-git.nix b/pkgs/games/doom-ports/zdoom/bcc-git.nix index aa3fdeca183a..5263ef9bac32 100644 --- a/pkgs/games/doom-ports/zdoom/bcc-git.nix +++ b/pkgs/games/doom-ports/zdoom/bcc-git.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Compiler for Doom/Hexen scripts (ACS, BCS)"; + mainProgram = "bcc"; homepage = "https://github.com/wormt/bcc"; license = licenses.mit; maintainers = with maintainers; [ertes]; diff --git a/pkgs/games/doom-ports/zdoom/zdbsp.nix b/pkgs/games/doom-ports/zdoom/zdbsp.nix index d18eb144292f..8949febdefea 100644 --- a/pkgs/games/doom-ports/zdoom/zdbsp.nix +++ b/pkgs/games/doom-ports/zdoom/zdbsp.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://zdoom.org/wiki/ZDBSP"; description = "ZDoom's internal node builder for DOOM maps"; + mainProgram = "zdbsp"; license = licenses.gpl2Plus; maintainers = with maintainers; [ lassulus siraben ]; platforms = platforms.unix; diff --git a/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix b/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix index 42dd74a766b2..55de9ffdf45e 100644 --- a/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix +++ b/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tool to manage dwarves in a running game of Dwarf Fortress"; + mainProgram = "dwarftherapist"; maintainers = with maintainers; [ abbradar bendlas numinit jonringer ]; license = licenses.mit; platforms = platforms.x86; diff --git a/pkgs/games/ecwolf/default.nix b/pkgs/games/ecwolf/default.nix index 542b414d8a45..08b24deee0d4 100644 --- a/pkgs/games/ecwolf/default.nix +++ b/pkgs/games/ecwolf/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Enhanched SDL-based port of Wolfenstein 3D for various platforms"; + mainProgram = "ecwolf"; homepage = "https://maniacsvault.net/ecwolf/"; license = licenses.gpl2Plus; maintainers = with maintainers; [ jayman2000 sander ]; diff --git a/pkgs/games/eidolon/default.nix b/pkgs/games/eidolon/default.nix index 34bfd4151894..fbb5d86deb91 100644 --- a/pkgs/games/eidolon/default.nix +++ b/pkgs/games/eidolon/default.nix @@ -30,6 +30,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A single TUI-based registry for drm-free, wine and steam games on linux, accessed through a rofi launch menu"; + mainProgram = "eidolon"; homepage = "https://github.com/nicohman/eidolon"; license = licenses.gpl3Only; maintainers = with maintainers; [ _0x4A6F ]; diff --git a/pkgs/games/empty-epsilon/default.nix b/pkgs/games/empty-epsilon/default.nix index ba41431eb5ca..20f4f5855a35 100644 --- a/pkgs/games/empty-epsilon/default.nix +++ b/pkgs/games/empty-epsilon/default.nix @@ -77,6 +77,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Open source bridge simulator based on Artemis"; + mainProgram = "EmptyEpsilon"; homepage = "https://daid.github.io/EmptyEpsilon/"; license = licenses.gpl2Plus; maintainers = with maintainers; [ fpletz lheckemann ma27 ]; diff --git a/pkgs/games/endless-sky/default.nix b/pkgs/games/endless-sky/default.nix index ffb71f393ca2..7648bbd9b771 100644 --- a/pkgs/games/endless-sky/default.nix +++ b/pkgs/games/endless-sky/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A sandbox-style space exploration game similar to Elite, Escape Velocity, or Star Control"; + mainProgram = "endless-sky"; homepage = "https://endless-sky.github.io/"; license = with licenses; [ gpl3Plus diff --git a/pkgs/games/enigma/default.nix b/pkgs/games/enigma/default.nix index e2e9ca1338c2..8deac27e579f 100644 --- a/pkgs/games/enigma/default.nix +++ b/pkgs/games/enigma/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Puzzle game inspired by Oxyd on the Atari ST and Rock'n'Roll on the Amiga"; + mainProgram = "enigma"; license = with licenses; [ gpl2 free ]; # source + bundles libs + art platforms = platforms.unix; broken = stdenv.hostPlatform.isDarwin; diff --git a/pkgs/games/ezquake/default.nix b/pkgs/games/ezquake/default.nix index a562b9353ebe..46efa6c7b982 100644 --- a/pkgs/games/ezquake/default.nix +++ b/pkgs/games/ezquake/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://ezquake.com/"; description = "A modern QuakeWorld client focused on competitive online play"; + mainProgram = "ezquake"; license = licenses.gpl2; platforms = platforms.linux; maintainers = with maintainers; [ edwtjo ]; diff --git a/pkgs/games/fairymax/default.nix b/pkgs/games/fairymax/default.nix index b493f4dcfa27..79468b320811 100644 --- a/pkgs/games/fairymax/default.nix +++ b/pkgs/games/fairymax/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://home.hccnet.nl/h.g.muller/dwnldpage.html"; description = "A small chess engine supporting fairy pieces"; + mainProgram = "fairymax"; longDescription = '' A version of micro-Max that reads the piece description from a file fmax.ini, so that arbitrary fairy pieces can be implemented. This version diff --git a/pkgs/games/ferium/default.nix b/pkgs/games/ferium/default.nix index 903dd70222f6..2f98970c7065 100644 --- a/pkgs/games/ferium/default.nix +++ b/pkgs/games/ferium/default.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Fast and multi-source CLI program for managing Minecraft mods and modpacks from Modrinth, CurseForge, and GitHub Releases"; + mainProgram = "ferium"; homepage = "https://github.com/gorilla-devs/ferium"; license = licenses.mpl20; maintainers = with maintainers; [ leo60228 soupglasses ]; diff --git a/pkgs/games/fheroes2/default.nix b/pkgs/games/fheroes2/default.nix index a2e6943a00d3..fa6c4b4d8a23 100644 --- a/pkgs/games/fheroes2/default.nix +++ b/pkgs/games/fheroes2/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/ihhub/fheroes2"; description = "Free implementation of Heroes of Might and Magic II game engine"; + mainProgram = "fheroes2"; longDescription = '' In order to play this game, an original game data is required. Please refer to README of the project for instructions. diff --git a/pkgs/games/fish-fillets-ng/default.nix b/pkgs/games/fish-fillets-ng/default.nix index 787795828f4f..3b83f732df74 100644 --- a/pkgs/games/fish-fillets-ng/default.nix +++ b/pkgs/games/fish-fillets-ng/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A puzzle game"; + mainProgram = "fillets"; license = licenses.gpl2Plus; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; diff --git a/pkgs/games/flare/default.nix b/pkgs/games/flare/default.nix index 45e1ee765426..0e1b4571e5ce 100644 --- a/pkgs/games/flare/default.nix +++ b/pkgs/games/flare/default.nix @@ -16,6 +16,7 @@ buildEnv { meta = with lib; { description = "Fantasy action RPG using the FLARE engine"; + mainProgram = "flare"; homepage = "https://flarerpg.org/"; maintainers = with maintainers; [ aanderse McSinyx ]; license = [ licenses.gpl3 licenses.cc-by-sa-30 ]; diff --git a/pkgs/games/freedroid/default.nix b/pkgs/games/freedroid/default.nix index 38eb60e7e045..ab7c36ba5d5a 100644 --- a/pkgs/games/freedroid/default.nix +++ b/pkgs/games/freedroid/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A clone of the classic game 'Paradroid' on Commodore 64"; + mainProgram = "freedroid"; homepage = "https://github.com/ReinhardPrix/FreedroidClassic"; license = licenses.gpl2Only; maintainers = with maintainers; [ iblech ]; diff --git a/pkgs/games/freedroidrpg/default.nix b/pkgs/games/freedroidrpg/default.nix index 254d9b2ce6a6..1f31c20c7e48 100644 --- a/pkgs/games/freedroidrpg/default.nix +++ b/pkgs/games/freedroidrpg/default.nix @@ -31,6 +31,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "Isometric 3D RPG similar to game Diablo"; + mainProgram = "freedroidRPG"; longDescription = '' diff --git a/pkgs/games/freesweep/default.nix b/pkgs/games/freesweep/default.nix index feba049a5cf0..8add760f930b 100644 --- a/pkgs/games/freesweep/default.nix +++ b/pkgs/games/freesweep/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A console minesweeper-style game written in C for Unix-like systems"; + mainProgram = "freesweep"; homepage = "https://github.com/rwestlund/freesweep"; license = licenses.gpl2; maintainers = with maintainers; [ kierdavis ]; diff --git a/pkgs/games/frotz/default.nix b/pkgs/games/frotz/default.nix index 9bc7ae5ae512..af9efd96318f 100644 --- a/pkgs/games/frotz/default.nix +++ b/pkgs/games/frotz/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { homepage = "https://davidgriffith.gitlab.io/frotz/"; changelog = "https://gitlab.com/DavidGriffith/frotz/-/raw/${version}/NEWS"; description = "A z-machine interpreter for Infocom games and other interactive fiction"; + mainProgram = "frotz"; platforms = platforms.unix; maintainers = with maintainers; [ nicknovitski ddelabru ]; license = licenses.gpl2; diff --git a/pkgs/games/fsg/default.nix b/pkgs/games/fsg/default.nix index 282030023f74..d5680669df9e 100644 --- a/pkgs/games/fsg/default.nix +++ b/pkgs/games/fsg/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = { description = "Cellular automata engine tuned towards the likes of Falling Sand"; + mainProgram = "fsg"; maintainers = [ lib.maintainers.raskin ]; platforms = lib.platforms.linux; }; diff --git a/pkgs/games/gambit/default.nix b/pkgs/games/gambit/default.nix index 4bcd329171cc..90e23e9820c6 100644 --- a/pkgs/games/gambit/default.nix +++ b/pkgs/games/gambit/default.nix @@ -46,6 +46,7 @@ buildGoModule rec { meta = with lib; { description = "Play chess in your terminal"; + mainProgram = "gambit"; homepage = "https://github.com/maaslalani/gambit"; changelog = "https://github.com/maaslalani/gambit/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/games/garden-of-coloured-lights/default.nix b/pkgs/games/garden-of-coloured-lights/default.nix index 7012449f6afc..27b0255eba09 100644 --- a/pkgs/games/garden-of-coloured-lights/default.nix +++ b/pkgs/games/garden-of-coloured-lights/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Old-school vertical shoot-em-up / bullet hell"; + mainProgram = "garden"; homepage = "https://garden.sourceforge.net/drupal/"; maintainers = with maintainers; [ ]; license = licenses.gpl3; diff --git a/pkgs/games/gargoyle/default.nix b/pkgs/games/gargoyle/default.nix index 9be95457b41c..35b8dc733031 100644 --- a/pkgs/games/gargoyle/default.nix +++ b/pkgs/games/gargoyle/default.nix @@ -69,6 +69,7 @@ stdenv.mkDerivation rec { homepage = "http://ccxvii.net/gargoyle/"; license = licenses.gpl2Plus; description = "Interactive fiction interpreter GUI"; + mainProgram = "gargoyle"; platforms = platforms.unix; maintainers = with maintainers; [ orivej ]; }; diff --git a/pkgs/games/gav/default.nix b/pkgs/games/gav/default.nix index dc2868ba21b5..23f1fe7854b4 100644 --- a/pkgs/games/gav/default.nix +++ b/pkgs/games/gav/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = { description = "Remake of AV Arcade Volleyball"; + mainProgram = "gav"; homepage = "https://gav.sourceforge.net/"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; diff --git a/pkgs/games/gl-117/default.nix b/pkgs/games/gl-117/default.nix index f135c93ff04f..493ca986d9c2 100644 --- a/pkgs/games/gl-117/default.nix +++ b/pkgs/games/gl-117/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An air combat simulator"; + mainProgram = "gl-117"; homepage = "https://sourceforge.net/projects/gl-117"; maintainers = with maintainers; [ raskin ]; license = licenses.gpl2; diff --git a/pkgs/games/gl-gsync-demo/default.nix b/pkgs/games/gl-gsync-demo/default.nix index 968d4d5e4a3d..2027b9d3b27e 100644 --- a/pkgs/games/gl-gsync-demo/default.nix +++ b/pkgs/games/gl-gsync-demo/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { platforms = platforms.linux; maintainers = with maintainers; [ atemu ]; description = "A very basic OpenGL demo for testing NVIDIA's G-SYNC technology on Linux"; + mainProgram = "gl-gsync-demo"; longDescription = '' The demo simply draws a vertical bar moving across the screen at constant speed, but deliberately rendered at a variable frame rate. diff --git a/pkgs/games/globulation/default.nix b/pkgs/games/globulation/default.nix index 039098f87da5..a444f18335fc 100644 --- a/pkgs/games/globulation/default.nix +++ b/pkgs/games/globulation/default.nix @@ -61,6 +61,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "RTS without micromanagement"; + mainProgram = "glob2"; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; license = licenses.gpl3; diff --git a/pkgs/games/gltron/default.nix b/pkgs/games/gltron/default.nix index 540170c49b21..cbc8510775b9 100644 --- a/pkgs/games/gltron/default.nix +++ b/pkgs/games/gltron/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://www.gltron.org/"; description = "Game based on the movie Tron"; + mainProgram = "gltron"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [viric]; platforms = with lib.platforms; linux; diff --git a/pkgs/games/gnome-hexgl/default.nix b/pkgs/games/gnome-hexgl/default.nix index 54d74ffa5fa0..1c7627582d61 100644 --- a/pkgs/games/gnome-hexgl/default.nix +++ b/pkgs/games/gnome-hexgl/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Gthree port of HexGL"; + mainProgram = "gnome-hexgl"; homepage = "https://github.com/alexlarsson/gnome-hexgl"; license = licenses.mit; maintainers = with maintainers; [ ]; diff --git a/pkgs/games/gnonograms/default.nix b/pkgs/games/gnonograms/default.nix index c021ca46f57a..69d45e32fe26 100644 --- a/pkgs/games/gnonograms/default.nix +++ b/pkgs/games/gnonograms/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Nonograms puzzle game"; + mainProgram = "com.github.jeremypw.gnonograms"; longDescription = '' An implementation of the Japanese logic puzzle "Nonograms" written in Vala, allowing the user to: diff --git a/pkgs/games/gnugo/default.nix b/pkgs/games/gnugo/default.nix index 3b8449ab4c7f..82848ab00805 100644 --- a/pkgs/games/gnugo/default.nix +++ b/pkgs/games/gnugo/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = { description = "GNU Go - A computer go player"; + mainProgram = "gnugo"; homepage = "https://www.gnu.org/software/gnugo/"; license = lib.licenses.gpl3; platforms = lib.platforms.unix; diff --git a/pkgs/games/gnujump/default.nix b/pkgs/games/gnujump/default.nix index 0fdffcf6fadb..10750f84da68 100644 --- a/pkgs/games/gnujump/default.nix +++ b/pkgs/games/gnujump/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://jump.gnu.sinusoid.es/index.php?title=Main_Page"; description = "A clone of the simple yet addictive game Xjump"; + mainProgram = "gnujump"; longDescription = '' The goal in this game is to jump to the next floor trying not to fall down. As you go upper in the Falling Tower the floors will fall faster. diff --git a/pkgs/games/gnushogi/default.nix b/pkgs/games/gnushogi/default.nix index 2557b0571ea9..38f76de1e7a0 100644 --- a/pkgs/games/gnushogi/default.nix +++ b/pkgs/games/gnushogi/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GNU implementation of Shogi, also known as Japanese Chess"; + mainProgram = "gnushogi"; homepage = "https://www.gnu.org/software/gnushogi/"; license = licenses.gpl3; maintainers = [ maintainers.ciil ]; diff --git a/pkgs/games/gogdl/default.nix b/pkgs/games/gogdl/default.nix index 83bf90147b5f..91cfe972d9c6 100644 --- a/pkgs/games/gogdl/default.nix +++ b/pkgs/games/gogdl/default.nix @@ -32,6 +32,7 @@ buildPythonApplication rec { meta = with lib; { description = "GOG Downloading module for Heroic Games Launcher"; + mainProgram = "gogdl"; homepage = "https://github.com/Heroic-Games-Launcher/heroic-gogdl"; license = with licenses; [ gpl3 ]; maintainers = with maintainers; [ aidalgol ]; diff --git a/pkgs/games/gotypist/default.nix b/pkgs/games/gotypist/default.nix index 24afb9317c5b..12489a27e6a6 100644 --- a/pkgs/games/gotypist/default.nix +++ b/pkgs/games/gotypist/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "A touch-typing tutor"; + mainProgram = "gotypist"; longDescription = '' A simple touch-typing tutor that follows Steve Yegge's methodology of going in fast, slow, and medium cycles. diff --git a/pkgs/games/gshogi/default.nix b/pkgs/games/gshogi/default.nix index 77eab7918b91..350ab86aa22b 100644 --- a/pkgs/games/gshogi/default.nix +++ b/pkgs/games/gshogi/default.nix @@ -33,6 +33,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "http://johncheetham.com/projects/gshogi/"; description = "A graphical implementation of the Shogi board game, also known as Japanese Chess"; + mainProgram = "gshogi"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = [ maintainers.ciil ]; diff --git a/pkgs/games/gtetrinet/default.nix b/pkgs/games/gtetrinet/default.nix index af16d5e9f748..58ac8b2d77cc 100644 --- a/pkgs/games/gtetrinet/default.nix +++ b/pkgs/games/gtetrinet/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation { meta = { description = "Client for Tetrinet, a multiplayer online Tetris game"; + mainProgram = "gtetrinet"; longDescription = '' GTetrinet is a client program for Tetrinet, a multiplayer tetris game that is played over the internet. diff --git a/pkgs/games/gweled/default.nix b/pkgs/games/gweled/default.nix index fc187afbe806..484543ad8659 100644 --- a/pkgs/games/gweled/default.nix +++ b/pkgs/games/gweled/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Bejeweled clone game"; + mainProgram = "gweled"; homepage = "https://gweled.org"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/games/harmonist/default.nix b/pkgs/games/harmonist/default.nix index cbb556cbc948..57e9a06ec9a5 100644 --- a/pkgs/games/harmonist/default.nix +++ b/pkgs/games/harmonist/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "A stealth coffee-break roguelike game"; + mainProgram = "harmonist"; longDescription = '' Harmonist is a stealth coffee-break roguelike game. The game has a heavy focus on tactical positioning, light and noise mechanisms, making use of diff --git a/pkgs/games/hase/default.nix b/pkgs/games/hase/default.nix index f807572455af..1e1ef23367fa 100644 --- a/pkgs/games/hase/default.nix +++ b/pkgs/games/hase/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation { meta = { description = "An open-source artillery shooter"; + mainProgram = "hase"; longDescription = '' Hase is an open source gravity based artillery shooter. It is similar to Worms, Hedgewars or artillery, but the gravity force and direction diff --git a/pkgs/games/hex-a-hop/default.nix b/pkgs/games/hex-a-hop/default.nix index c6eaed57a9ca..32a395195b5e 100644 --- a/pkgs/games/hex-a-hop/default.nix +++ b/pkgs/games/hex-a-hop/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = { description = "A puzzle game based on hexagonal tiles"; + mainProgram = "hex-a-hop"; homepage = "http://hexahop.sourceforge.net"; license = with lib.licenses; [ gpl2Plus # Main code diff --git a/pkgs/games/hexgui/default.nix b/pkgs/games/hexgui/default.nix index 49dae4217551..6fc66b870439 100644 --- a/pkgs/games/hexgui/default.nix +++ b/pkgs/games/hexgui/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation { meta = { description = "GUI for the board game Hex"; + mainProgram = "hexgui"; homepage = "https://github.com/selinger/hexgui"; license = lib.licenses.gpl3; maintainers = [ lib.maintainers.ursi ]; diff --git a/pkgs/games/hmcl/default.nix b/pkgs/games/hmcl/default.nix index fcaa01ea2d95..95a40f0a8d80 100644 --- a/pkgs/games/hmcl/default.nix +++ b/pkgs/games/hmcl/default.nix @@ -89,6 +89,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://hmcl.huangyuhui.net"; description = "A Minecraft Launcher which is multi-functional, cross-platform and popular"; + mainProgram = "hmcl"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.gpl3Only; maintainers = with maintainers; [ ]; diff --git a/pkgs/games/hyperrogue/default.nix b/pkgs/games/hyperrogue/default.nix index ddbe41df430e..1177ad59413a 100644 --- a/pkgs/games/hyperrogue/default.nix +++ b/pkgs/games/hyperrogue/default.nix @@ -62,6 +62,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.roguetemple.com/z/hyper/"; description = "A roguelike game set in hyperbolic geometry"; + mainProgram = "hyperrogue"; maintainers = with maintainers; [ rardiol ]; license = licenses.gpl2; platforms = platforms.all; diff --git a/pkgs/games/icbm3d/default.nix b/pkgs/games/icbm3d/default.nix index a166b4f83f2b..6f531f424228 100644 --- a/pkgs/games/icbm3d/default.nix +++ b/pkgs/games/icbm3d/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://www.newbreedsoftware.com/icbm3d/"; description = "3D vector-based clone of the atari game Missile Command"; + mainProgram = "icbm3d"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; }; diff --git a/pkgs/games/infra-arcana/default.nix b/pkgs/games/infra-arcana/default.nix index 6eb1f44aa8cc..c5c960d7deff 100644 --- a/pkgs/games/infra-arcana/default.nix +++ b/pkgs/games/infra-arcana/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://sites.google.com/site/infraarcana"; description = "A Lovecraftian single-player roguelike game"; + mainProgram = "infra-arcana"; longDescription = '' Infra Arcana is a Roguelike set in the early 20th century. The goal is to explore the lair of a dreaded cult called The Church of Starry Wisdom. diff --git a/pkgs/games/instawow/default.nix b/pkgs/games/instawow/default.nix index 7534f5f892a7..d1ed292f377c 100644 --- a/pkgs/games/instawow/default.nix +++ b/pkgs/games/instawow/default.nix @@ -42,6 +42,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/layday/instawow"; description = "World of Warcraft add-on manager CLI and GUI"; + mainProgram = "instawow"; license = licenses.gpl3; maintainers = with maintainers; [ seirl ]; }; diff --git a/pkgs/games/julius/default.nix b/pkgs/games/julius/default.nix index df1ff2bd1a06..9661113adea5 100644 --- a/pkgs/games/julius/default.nix +++ b/pkgs/games/julius/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/bvschaik/julius"; description = "An open source re-implementation of Caesar III"; + mainProgram = "julius"; license = licenses.agpl3; maintainers = with maintainers; [ Thra11 ]; platforms = platforms.all; diff --git a/pkgs/games/jumpy/default.nix b/pkgs/games/jumpy/default.nix index d4f8a8fcbdbc..29110d42ff82 100644 --- a/pkgs/games/jumpy/default.nix +++ b/pkgs/games/jumpy/default.nix @@ -77,6 +77,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tactical 2D shooter played by up to 4 players online or on a shared screen"; + mainProgram = "jumpy"; homepage = "https://fishfight.org/"; changelog = "https://github.com/fishfolk/jumpy/releases/tag/v${version}"; license = with licenses; [ mit /* or */ asl20 ]; diff --git a/pkgs/games/kabeljau/default.nix b/pkgs/games/kabeljau/default.nix index 0b5b1167ead3..b518121b6390 100644 --- a/pkgs/games/kabeljau/default.nix +++ b/pkgs/games/kabeljau/default.nix @@ -33,6 +33,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { description = "Survive as a stray cat in an ncurses game"; + mainProgram = "kabeljau"; homepage = "https://codeberg.org/annaaurora/kabeljau"; license = licenses.lgpl3Only; maintainers = with maintainers; [ annaaurora ]; diff --git a/pkgs/games/katago/default.nix b/pkgs/games/katago/default.nix index 834ec0774d7a..e9ba507a3c95 100644 --- a/pkgs/games/katago/default.nix +++ b/pkgs/games/katago/default.nix @@ -98,6 +98,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Go engine modeled after AlphaGo Zero"; + mainProgram = "katago"; homepage = "https://github.com/lightvector/katago"; license = licenses.mit; maintainers = [ maintainers.omnipotententity ]; diff --git a/pkgs/games/keeperrl/default.nix b/pkgs/games/keeperrl/default.nix index c66ffdee920d..0cbcfd036702 100644 --- a/pkgs/games/keeperrl/default.nix +++ b/pkgs/games/keeperrl/default.nix @@ -82,6 +82,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A dungeon management rogue-like"; + mainProgram = "keeper"; homepage = "https://keeperrl.com/"; license = licenses.gpl2; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/games/klavaro/default.nix b/pkgs/games/klavaro/default.nix index b99969bf6a81..58dda8d23a63 100644 --- a/pkgs/games/klavaro/default.nix +++ b/pkgs/games/klavaro/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Free touch typing tutor program"; + mainProgram = "klavaro"; homepage = "http://klavaro.sourceforge.net/"; changelog = "https://sourceforge.net/p/klavaro/code/HEAD/tree/trunk/ChangeLog"; license = licenses.gpl3Plus; diff --git a/pkgs/games/kobodeluxe/default.nix b/pkgs/games/kobodeluxe/default.nix index 9dea90824204..9a2d16c14bff 100644 --- a/pkgs/games/kobodeluxe/default.nix +++ b/pkgs/games/kobodeluxe/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://olofson.net/kobodl/"; description = "Enhanced version of Akira Higuchi's game XKobo for Un*x systems with X11"; + mainProgram = "kobodl"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; }; diff --git a/pkgs/games/koboredux/default.nix b/pkgs/games/koboredux/default.nix index 91981fc85fba..46db8b1da57a 100644 --- a/pkgs/games/koboredux/default.nix +++ b/pkgs/games/koboredux/default.nix @@ -75,6 +75,7 @@ stdenv.mkDerivation rec { meta = { description = "A frantic 80's style 2D shooter, similar to XKobo and Kobo Deluxe" + optionalString (!useProprietaryAssets) " (built without proprietary assets)"; + mainProgram = "kobord"; longDescription = '' Kobo Redux is a frantic 80's style 2D shooter, inspired by the look and feel of 90's arcade cabinets. The gameplay is fast and unforgiving, diff --git a/pkgs/games/koules/default.nix b/pkgs/games/koules/default.nix index 360415dc2e1d..a59199e949c8 100644 --- a/pkgs/games/koules/default.nix +++ b/pkgs/games/koules/default.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.ucw.cz/~hubicka/koules/English/"; description = "Fast arcade game based on the fundamental law of body attraction"; + mainProgram = "xkoules"; license = licenses.gpl2Plus; maintainers = [ maintainers.iblech ]; platforms = platforms.linux; diff --git a/pkgs/games/lgogdownloader/default.nix b/pkgs/games/lgogdownloader/default.nix index a28ccea53ca1..a03a05bcb356 100644 --- a/pkgs/games/lgogdownloader/default.nix +++ b/pkgs/games/lgogdownloader/default.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Unofficial downloader to GOG.com for Linux users. It uses the same API as the official GOGDownloader"; + mainProgram = "lgogdownloader"; homepage = "https://github.com/Sude-/lgogdownloader"; license = licenses.wtfpl; maintainers = with maintainers; [ _0x4A6F ]; diff --git a/pkgs/games/liberation-circuit/default.nix b/pkgs/games/liberation-circuit/default.nix index 365fbb2983eb..533391082034 100644 --- a/pkgs/games/liberation-circuit/default.nix +++ b/pkgs/games/liberation-circuit/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Real-time strategy game with programmable units"; + mainProgram = "liberation-circuit"; longDescription = '' Escape from a hostile computer system! Harvest data to create an armada of battle-processes to aid your escape! Take command directly and play the game as an RTS, or use the game's built-in editor and compiler to write your own unit AI in a simplified version of C. ''; diff --git a/pkgs/games/libremines/default.nix b/pkgs/games/libremines/default.nix index fddc2ba92001..9177e337593e 100644 --- a/pkgs/games/libremines/default.nix +++ b/pkgs/games/libremines/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Qt based Minesweeper game"; + mainProgram = "libremines"; longDescription = '' A Free/Libre and Open Source Software Qt based Minesweeper game available for GNU/Linux, FreeBSD and Windows systems. ''; diff --git a/pkgs/games/lincity/default.nix b/pkgs/games/lincity/default.nix index 50b48f0a1582..e03dda491c4c 100644 --- a/pkgs/games/lincity/default.nix +++ b/pkgs/games/lincity/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "City simulation game"; + mainProgram = "xlincity"; license = licenses.gpl2Plus; homepage = "https://sourceforge.net/projects/lincity"; maintainers = with maintainers; [ ]; diff --git a/pkgs/games/lincity/ng.nix b/pkgs/games/lincity/ng.nix index 9901255be4dc..2bf4e9c6f8f8 100644 --- a/pkgs/games/lincity/ng.nix +++ b/pkgs/games/lincity/ng.nix @@ -77,6 +77,7 @@ stdenv.mkDerivation { meta = with lib; { description = "City building game"; + mainProgram = "lincity-ng"; license = licenses.gpl2; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; diff --git a/pkgs/games/linthesia/default.nix b/pkgs/games/linthesia/default.nix index 0fd252e7ba5d..1200afa4f2f7 100644 --- a/pkgs/games/linthesia/default.nix +++ b/pkgs/games/linthesia/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A game of playing music using a MIDI keyboard following a MIDI file"; + mainProgram = "linthesia"; inherit (src.meta) homepage; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/games/lugaru/default.nix b/pkgs/games/lugaru/default.nix index 9d10691fe49c..b989195bd5a3 100644 --- a/pkgs/games/lugaru/default.nix +++ b/pkgs/games/lugaru/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = { description = "Third person ninja rabbit fighting game"; + mainProgram = "lugaru"; homepage = "https://osslugaru.gitlab.io"; maintainers = [ ]; platforms = platforms.linux; diff --git a/pkgs/games/lzwolf/default.nix b/pkgs/games/lzwolf/default.nix index 3f1e37c258a3..7e3e932ba5cf 100644 --- a/pkgs/games/lzwolf/default.nix +++ b/pkgs/games/lzwolf/default.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://bitbucket.org/linuxwolf6/lzwolf"; description = "Enhanced fork of ECWolf, a Wolfenstein 3D source port"; + mainProgram = "lzwolf"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = with maintainers; [ tgunnoe ]; diff --git a/pkgs/games/macopix/default.nix b/pkgs/games/macopix/default.nix index 277752dc91c3..ca9870727b2c 100644 --- a/pkgs/games/macopix/default.nix +++ b/pkgs/games/macopix/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = { description = "Mascot Constructive Pilot for X"; + mainProgram = "macopix"; homepage = "http://rosegray.sakura.ne.jp/macopix/index-e.html"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; diff --git a/pkgs/games/maelstrom/default.nix b/pkgs/games/maelstrom/default.nix index 065784d605ef..9c408b2643cf 100644 --- a/pkgs/games/maelstrom/default.nix +++ b/pkgs/games/maelstrom/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An arcade-style game resembling Asteroids"; + mainProgram = "maelstrom"; license = licenses.gpl2Plus; platforms = platforms.all; maintainers = with maintainers; [ tmountain ]; diff --git a/pkgs/games/maptool/default.nix b/pkgs/games/maptool/default.nix index ed505b32eda3..6eb9c76db487 100644 --- a/pkgs/games/maptool/default.nix +++ b/pkgs/games/maptool/default.nix @@ -21,6 +21,7 @@ let meta = with lib; { description = "Virtual Tabletop for playing roleplaying games with remote players or face to face"; + mainProgram = "maptool"; homepage = "https://www.rptools.net/toolbox/maptool/"; sourceProvenance = with sourceTypes; [ binaryBytecode diff --git a/pkgs/games/mar1d/default.nix b/pkgs/games/mar1d/default.nix index 6b3fe5feb2de..f8feb291a0e1 100644 --- a/pkgs/games/mar1d/default.nix +++ b/pkgs/games/mar1d/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "First person Super Mario Bros"; + mainProgram = "MAR1D"; longDescription = '' The original Super Mario Bros as you've never seen it. Step into Mario's shoes in this first person clone of the classic Mario game. True to the diff --git a/pkgs/games/marble-marcher-ce/default.nix b/pkgs/games/marble-marcher-ce/default.nix index 8bf7da44cadc..ee1422abc5b8 100644 --- a/pkgs/games/marble-marcher-ce/default.nix +++ b/pkgs/games/marble-marcher-ce/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A community-developed version of the original Marble Marcher - a fractal physics game"; + mainProgram = "marble-marcher-ce"; homepage = "https://michaelmoroz.itch.io/mmce"; license = with licenses; [ gpl2Plus # Code diff --git a/pkgs/games/mari0/default.nix b/pkgs/games/mari0/default.nix index 6e644245c4fb..f75fbedebd7d 100644 --- a/pkgs/games/mari0/default.nix +++ b/pkgs/games/mari0/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Crossover between Super Mario Bros. and Portal"; + mainProgram = "mari0"; platforms = platforms.linux; license = licenses.mit; downloadPage = "https://stabyourself.net/mari0/"; diff --git a/pkgs/games/methane/default.nix b/pkgs/games/methane/default.nix index 071e1a64b545..5ab8843b33bf 100644 --- a/pkgs/games/methane/default.nix +++ b/pkgs/games/methane/default.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/rombust/methane"; description = "A clone of Taito's Bubble Bobble arcade game released for Amiga in 1993 by Apache Software"; + mainProgram = "methane"; license = licenses.gpl2Only; maintainers = with maintainers; [ nixinator ]; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/games/mnemosyne/default.nix b/pkgs/games/mnemosyne/default.nix index 388aefe567b9..938e6aa53aca 100644 --- a/pkgs/games/mnemosyne/default.nix +++ b/pkgs/games/mnemosyne/default.nix @@ -53,6 +53,7 @@ python.pkgs.buildPythonApplication rec { meta = { homepage = "https://mnemosyne-proj.org/"; description = "Spaced-repetition software"; + mainProgram = "mnemosyne"; longDescription = '' The Mnemosyne Project has two aspects: diff --git a/pkgs/games/moon-buggy/default.nix b/pkgs/games/moon-buggy/default.nix index 87e089eb9571..e0235e70a92d 100644 --- a/pkgs/games/moon-buggy/default.nix +++ b/pkgs/games/moon-buggy/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = { description = "A simple character graphics game where you drive some kind of car across the moon's surface"; + mainProgram = "moon-buggy"; license = lib.licenses.gpl2; maintainers = [ lib.maintainers.rybern ]; platforms = lib.platforms.linux ++ lib.platforms.darwin; diff --git a/pkgs/games/mrrescue/default.nix b/pkgs/games/mrrescue/default.nix index a020a6b34f1b..17e24d3af1a3 100644 --- a/pkgs/games/mrrescue/default.nix +++ b/pkgs/games/mrrescue/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Arcade-style fire fighting game"; + mainProgram = "mrrescue"; maintainers = with maintainers; [ ]; platforms = platforms.linux; license = licenses.zlib; diff --git a/pkgs/games/n2048/default.nix b/pkgs/games/n2048/default.nix index ec3a4e2bbeec..2ae937ee6be2 100644 --- a/pkgs/games/n2048/default.nix +++ b/pkgs/games/n2048/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { description = "Console implementation of 2048 game"; + mainProgram = "n2048"; license = licenses.bsd2; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; diff --git a/pkgs/games/naev/default.nix b/pkgs/games/naev/default.nix index d6785ca4d817..962497bb73c0 100644 --- a/pkgs/games/naev/default.nix +++ b/pkgs/games/naev/default.nix @@ -75,6 +75,7 @@ stdenv.mkDerivation rec { meta = { description = "2D action/rpg space game"; + mainProgram = "naev"; homepage = "http://www.naev.org"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ ralismark ]; diff --git a/pkgs/games/netris/default.nix b/pkgs/games/netris/default.nix index ff898128ca06..620f21f02902 100644 --- a/pkgs/games/netris/default.nix +++ b/pkgs/games/netris/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A free networked version of T*tris"; + mainProgram = "netris"; license = licenses.gpl2; maintainers = with maintainers; [ patryk27 ]; platforms = platforms.linux; diff --git a/pkgs/games/newtonwars/default.nix b/pkgs/games/newtonwars/default.nix index 0be3d9bf7a0e..5541d9ade7d1 100644 --- a/pkgs/games/newtonwars/default.nix +++ b/pkgs/games/newtonwars/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A space battle game with gravity as the main theme"; + mainProgram = "nw"; maintainers = with maintainers; [ pSub ]; platforms = platforms.linux; license = licenses.mit; diff --git a/pkgs/games/nile/default.nix b/pkgs/games/nile/default.nix index f1117f2fba89..b83eda87f934 100644 --- a/pkgs/games/nile/default.nix +++ b/pkgs/games/nile/default.nix @@ -50,6 +50,7 @@ buildPythonApplication rec { meta = with lib; { description = "Unofficial Amazon Games client"; + mainProgram = "nile"; homepage = "https://github.com/imLinguin/nile"; license = with licenses; [ gpl3 ]; maintainers = with maintainers; [ aidalgol ]; diff --git a/pkgs/games/ninvaders/default.nix b/pkgs/games/ninvaders/default.nix index c3f455b71b07..5fe9eb81be61 100644 --- a/pkgs/games/ninvaders/default.nix +++ b/pkgs/games/ninvaders/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Space Invaders clone based on ncurses"; + mainProgram = "ninvaders"; homepage = "https://ninvaders.sourceforge.net/"; license = licenses.gpl2; maintainers = with maintainers; [ _1000101 ]; diff --git a/pkgs/games/njam/default.nix b/pkgs/games/njam/default.nix index 971cd1d0726c..8fce2a1ca8cd 100644 --- a/pkgs/games/njam/default.nix +++ b/pkgs/games/njam/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://trackballs.sourceforge.net/"; description = "Cross-platform pacman-like game"; + mainProgram = "njam"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; }; diff --git a/pkgs/games/npush/default.nix b/pkgs/games/npush/default.nix index 7f4afb7b89f3..9fc465da38a8 100644 --- a/pkgs/games/npush/default.nix +++ b/pkgs/games/npush/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { broken = stdenv.isDarwin; homepage = "https://npush.sourceforge.net/"; description = "A Sokoban-like game"; + mainProgram = "npush"; license = licenses.gpl2Plus; maintainers = with maintainers; [ AndersonTorres ]; platforms = with platforms; unix; diff --git a/pkgs/games/nsnake/default.nix b/pkgs/games/nsnake/default.nix index aa3f568ec009..a4ac391690ec 100644 --- a/pkgs/games/nsnake/default.nix +++ b/pkgs/games/nsnake/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = { description = "ncurses based snake game for the terminal"; + mainProgram = "nsnake"; homepage = "https://github.com/alexdantas/nSnake"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ clerie ]; diff --git a/pkgs/games/nudoku/default.nix b/pkgs/games/nudoku/default.nix index d3e3d039d986..11e6fc0d8f28 100644 --- a/pkgs/games/nudoku/default.nix +++ b/pkgs/games/nudoku/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An ncurses based sudoku game"; + mainProgram = "nudoku"; homepage = "http://jubalh.github.io/nudoku/"; license = licenses.gpl3; platforms = platforms.all; diff --git a/pkgs/games/oh-my-git/default.nix b/pkgs/games/oh-my-git/default.nix index f2ac8b4289c6..9fe0fb9ac420 100644 --- a/pkgs/games/oh-my-git/default.nix +++ b/pkgs/games/oh-my-git/default.nix @@ -127,6 +127,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://ohmygit.org/"; description = "An interactive Git learning game"; + mainProgram = "oh-my-git"; license = with licenses; [ blueOak100 ]; platforms = [ "x86_64-linux" ]; maintainers = with maintainers; [ jojosch ]; diff --git a/pkgs/games/onscripter-en/default.nix b/pkgs/games/onscripter-en/default.nix index aaa14e6b2bd0..edc9e20235ff 100644 --- a/pkgs/games/onscripter-en/default.nix +++ b/pkgs/games/onscripter-en/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation { meta = with lib; { broken = stdenv.isDarwin; description = "Japanese visual novel scripting engine"; + mainProgram = "onscripter-en"; homepage = "http://unclemion.com/onscripter/"; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/games/opendune/default.nix b/pkgs/games/opendune/default.nix index 32e1ef4fca93..6df2a5b7a206 100644 --- a/pkgs/games/opendune/default.nix +++ b/pkgs/games/opendune/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Dune, Reinvented"; + mainProgram = "opendune"; homepage = "https://github.com/OpenDUNE/OpenDUNE"; license = licenses.gpl2; maintainers = with maintainers; [ ]; diff --git a/pkgs/games/opendungeons/default.nix b/pkgs/games/opendungeons/default.nix index 10bcf19a53e7..8755a07169bf 100644 --- a/pkgs/games/opendungeons/default.nix +++ b/pkgs/games/opendungeons/default.nix @@ -64,6 +64,7 @@ stdenv.mkDerivation { meta = with lib; { description = "An open source, real time strategy game sharing game elements with the Dungeon Keeper series and Evil Genius"; + mainProgram = "opendungeons"; homepage = "https://opendungeons.github.io"; license = with licenses; [ gpl3Plus zlib mit cc-by-sa-30 cc0 ofl cc-by-30 ]; platforms = platforms.linux; diff --git a/pkgs/games/openspades/default.nix b/pkgs/games/openspades/default.nix index b72f3877a461..0f9060d235d7 100644 --- a/pkgs/games/openspades/default.nix +++ b/pkgs/games/openspades/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A compatible client of Ace of Spades 0.75"; + mainProgram = "openspades"; homepage = "https://github.com/yvt/openspades/"; license = licenses.gpl3; platforms = platforms.all; diff --git a/pkgs/games/openttd/default.nix b/pkgs/games/openttd/default.nix index 6122b586770e..69a2c75fa463 100644 --- a/pkgs/games/openttd/default.nix +++ b/pkgs/games/openttd/default.nix @@ -80,6 +80,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = ''Open source clone of the Microprose game "Transport Tycoon Deluxe"''; + mainProgram = "openttd"; longDescription = '' OpenTTD is a transportation economics simulator. In single player mode, players control a transportation business, and use rail, road, sea, and air diff --git a/pkgs/games/openttd/nml.nix b/pkgs/games/openttd/nml.nix index 8ec8adf5f22b..65dddce236e3 100644 --- a/pkgs/games/openttd/nml.nix +++ b/pkgs/games/openttd/nml.nix @@ -23,6 +23,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "http://openttdcoop.org/"; description = "Compiler for OpenTTD NML files"; + mainProgram = "nmlc"; license = licenses.gpl2; maintainers = with maintainers; [ ToxicFrog ]; }; diff --git a/pkgs/games/opentyrian/default.nix b/pkgs/games/opentyrian/default.nix index f01874ce9435..1f0e9ae18a64 100644 --- a/pkgs/games/opentyrian/default.nix +++ b/pkgs/games/opentyrian/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { meta = { description = ''Open source port of the game "Tyrian"''; + mainProgram = "opentyrian"; homepage = "https://github.com/opentyrian/opentyrian"; # This does not account of Tyrian data. # license = lib.licenses.gpl2; diff --git a/pkgs/games/openxcom/default.nix b/pkgs/games/openxcom/default.nix index c09bd5c28f2f..3ae8e23605da 100644 --- a/pkgs/games/openxcom/default.nix +++ b/pkgs/games/openxcom/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation { meta = { description = "Open source clone of UFO: Enemy Unknown"; + mainProgram = "openxcom"; homepage = "https://openxcom.org"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ cpages ]; diff --git a/pkgs/games/orthorobot/default.nix b/pkgs/games/orthorobot/default.nix index 10bf3f9268e6..bd491ce5c913 100644 --- a/pkgs/games/orthorobot/default.nix +++ b/pkgs/games/orthorobot/default.nix @@ -68,6 +68,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Recharge the robot"; + mainProgram = "orthorobot"; maintainers = with maintainers; [ leenaars ]; platforms = platforms.linux; license = licenses.free; diff --git a/pkgs/games/pacvim/default.nix b/pkgs/games/pacvim/default.nix index a4347550c1d2..a4458b0d085f 100644 --- a/pkgs/games/pacvim/default.nix +++ b/pkgs/games/pacvim/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/jmoon018/PacVim"; description = "A game that teaches you vim commands"; + mainProgram = "pacvim"; maintainers = with maintainers; [ infinisil ]; license = licenses.lgpl3; platforms = platforms.unix; diff --git a/pkgs/games/pegasus-frontend/default.nix b/pkgs/games/pegasus-frontend/default.nix index 051c8ccbe542..a6459943a98b 100644 --- a/pkgs/games/pegasus-frontend/default.nix +++ b/pkgs/games/pegasus-frontend/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A cross platform, customizable graphical frontend for launching emulators and managing your game collection"; + mainProgram = "pegasus-fe"; homepage = "https://pegasus-frontend.org/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ tengkuizdihar ]; diff --git a/pkgs/games/performous/default.nix b/pkgs/games/performous/default.nix index 1305d8409f97..20a40922544e 100644 --- a/pkgs/games/performous/default.nix +++ b/pkgs/games/performous/default.nix @@ -78,6 +78,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Karaoke, band and dancing game"; + mainProgram = "performous"; homepage = "https://performous.org/"; license = licenses.gpl2Plus; maintainers = with maintainers; [ wegank ]; diff --git a/pkgs/games/pingus/default.nix b/pkgs/games/pingus/default.nix index 9dd219500390..adf393de9ed5 100644 --- a/pkgs/games/pingus/default.nix +++ b/pkgs/games/pingus/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = { description = "A puzzle game with mechanics similar to Lemmings"; + mainProgram = "pingus"; platforms = lib.platforms.linux; maintainers = [lib.maintainers.raskin]; license = lib.licenses.gpl3; diff --git a/pkgs/games/pokerth/default.nix b/pkgs/games/pokerth/default.nix index 021fe4100eae..642cd7ad8cb0 100644 --- a/pkgs/games/pokerth/default.nix +++ b/pkgs/games/pokerth/default.nix @@ -67,6 +67,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://www.pokerth.net"; description = "Poker game ${target}"; + mainProgram = "pokerth"; license = licenses.gpl3; maintainers = with maintainers; [ obadz yana ]; platforms = platforms.all; diff --git a/pkgs/games/pokete/default.nix b/pkgs/games/pokete/default.nix index 73ff661e9d09..3a4d9a3c2031 100644 --- a/pkgs/games/pokete/default.nix +++ b/pkgs/games/pokete/default.nix @@ -49,6 +49,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "A terminal based Pokemon like game"; + mainProgram = "pokete"; homepage = "https://lxgr-linux.github.io/pokete"; license = licenses.gpl3Only; maintainers = with maintainers; [ fgaz ]; diff --git a/pkgs/games/powermanga/default.nix b/pkgs/games/powermanga/default.nix index 5f82eaebb8eb..0b0d27a0bead 100644 --- a/pkgs/games/powermanga/default.nix +++ b/pkgs/games/powermanga/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://linux.tlk.fr/games/Powermanga/"; downloadPage = "https://linux.tlk.fr/games/Powermanga/download/"; description = "An arcade 2D shoot-em-up game"; + mainProgram = "powermanga"; longDescription = '' Powermanga is an arcade 2D shoot-em-up game with 41 levels and more than 200 sprites. It runs in 320x200 or 640x400 pixels, with Window mode or diff --git a/pkgs/games/principia/default.nix b/pkgs/games/principia/default.nix index 5074b3582c3e..e97fc509c5b0 100644 --- a/pkgs/games/principia/default.nix +++ b/pkgs/games/principia/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { changelog = "https://principia-web.se/wiki/Changelog#${lib.replaceStrings ["."] ["-"] finalAttrs.version}"; description = "Physics-based sandbox game"; + mainProgram = "principia"; homepage = "https://principia-web.se/"; downloadPage = "https://principia-web.se/download"; license = licenses.bsd3; diff --git a/pkgs/games/prismlauncher/default.nix b/pkgs/games/prismlauncher/default.nix index c4571ceaa71b..058516cdc9c6 100644 --- a/pkgs/games/prismlauncher/default.nix +++ b/pkgs/games/prismlauncher/default.nix @@ -1,7 +1,7 @@ { lib , stdenv , fetchFromGitHub -, canonicalize-jars-hook +, stripJavaArchivesHook , cmake , cmark , Cocoa @@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-4VsoxZzi/EfEsnDvvwzg2xhj7j5B+k3gvaSqwJFDweE="; }; - nativeBuildInputs = [ extra-cmake-modules cmake jdk17 ninja canonicalize-jars-hook ]; + nativeBuildInputs = [ extra-cmake-modules cmake jdk17 ninja stripJavaArchivesHook ]; buildInputs = [ qtbase diff --git a/pkgs/games/pro-office-calculator/default.nix b/pkgs/games/pro-office-calculator/default.nix index 381a6e8742b0..d49bb69cec0c 100644 --- a/pkgs/games/pro-office-calculator/default.nix +++ b/pkgs/games/pro-office-calculator/default.nix @@ -16,6 +16,7 @@ mkDerivation rec { meta = with lib; { description = "A completely normal office calculator"; + mainProgram = "procalc"; homepage = "https://proofficecalculator.com/"; maintainers = [ maintainers.pmiddend ]; platforms = platforms.linux; diff --git a/pkgs/games/pysolfc/default.nix b/pkgs/games/pysolfc/default.nix index 7315d5e2724f..fc0f95f6d831 100644 --- a/pkgs/games/pysolfc/default.nix +++ b/pkgs/games/pysolfc/default.nix @@ -60,6 +60,7 @@ buildPythonApplication rec { meta = with lib; { description = "A collection of more than 1000 solitaire card games"; + mainProgram = "pysol.py"; homepage = "https://pysolfc.sourceforge.io"; license = licenses.gpl3; maintainers = with maintainers; [ kierdavis ]; diff --git a/pkgs/games/qgo/default.nix b/pkgs/games/qgo/default.nix index ec7986c6a36b..6493dff2d3c1 100644 --- a/pkgs/games/qgo/default.nix +++ b/pkgs/games/qgo/default.nix @@ -13,6 +13,7 @@ mkDerivation { meta = with lib; { description = "A Go client based on Qt5"; + mainProgram = "qgo"; longDescription = '' qGo is a Go Client based on Qt 5. It supports playing online at IGS-compatible servers (including some special tweaks for WING and LGS, diff --git a/pkgs/games/qqwing/default.nix b/pkgs/games/qqwing/default.nix index 81a10b9ea2af..95764a767aa7 100644 --- a/pkgs/games/qqwing/default.nix +++ b/pkgs/games/qqwing/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://qqwing.com"; description = "Sudoku generating and solving software"; + mainProgram = "qqwing"; license = licenses.gpl2; platforms = platforms.unix; maintainers = with maintainers; [ ]; diff --git a/pkgs/games/qtads/default.nix b/pkgs/games/qtads/default.nix index 79a548a7134e..aef921900ae7 100644 --- a/pkgs/games/qtads/default.nix +++ b/pkgs/games/qtads/default.nix @@ -20,6 +20,7 @@ mkDerivation rec { meta = with lib; { homepage = "https://realnc.github.io/qtads/"; description = "Multimedia interpreter for TADS games"; + mainProgram = "qtads"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ orivej ]; diff --git a/pkgs/games/quakespasm/vulkan.nix b/pkgs/games/quakespasm/vulkan.nix index e9786a001e3a..81c49e5a017c 100644 --- a/pkgs/games/quakespasm/vulkan.nix +++ b/pkgs/games/quakespasm/vulkan.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Vulkan Quake port based on QuakeSpasm"; + mainProgram = "vkquake"; homepage = src.meta.homepage; longDescription = '' vkQuake is a Quake 1 port using Vulkan instead of OpenGL for rendering. diff --git a/pkgs/games/quantumminigolf/default.nix b/pkgs/games/quantumminigolf/default.nix index 7ecafa5eab65..803529b7f638 100644 --- a/pkgs/games/quantumminigolf/default.nix +++ b/pkgs/games/quantumminigolf/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Quantum mechanics-based minigolf-like game"; + mainProgram = "quantumminigolf"; license = licenses.gpl2; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; diff --git a/pkgs/games/racer/default.nix b/pkgs/games/racer/default.nix index bdb56c85dbff..c6d9f654a480 100644 --- a/pkgs/games/racer/default.nix +++ b/pkgs/games/racer/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = { description = "Car racing game"; + mainProgram = "racer"; homepage = "http://hippo.nipax.cz/download.en.php"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; diff --git a/pkgs/games/randtype/default.nix b/pkgs/games/randtype/default.nix index 97993a5ffdac..f7e6ee06ceac 100644 --- a/pkgs/games/randtype/default.nix +++ b/pkgs/games/randtype/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "semi-random text typer"; + mainProgram = "randtype"; homepage = "https://benkibbey.wordpress.com/randtype/"; maintainers = with maintainers; [ dandellion ]; license = licenses.gpl2Only; diff --git a/pkgs/games/riko4/default.nix b/pkgs/games/riko4/default.nix index 7014bf9ca21b..e5e0738d8b0e 100644 --- a/pkgs/games/riko4/default.nix +++ b/pkgs/games/riko4/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/incinirate/Riko4"; description = "Fantasy console for pixel art game development"; + mainProgram = "riko4"; license = licenses.mit; maintainers = with maintainers; [ CrazedProgrammer ]; }; diff --git a/pkgs/games/rocksndiamonds/default.nix b/pkgs/games/rocksndiamonds/default.nix index feef993207ea..6b1d51ab290b 100644 --- a/pkgs/games/rocksndiamonds/default.nix +++ b/pkgs/games/rocksndiamonds/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Scrolling tile-based arcade style puzzle game"; + mainProgram = "rocksndiamonds"; homepage = "https://www.artsoft.org/rocksndiamonds/"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/games/rogue/default.nix b/pkgs/games/rogue/default.nix index 4865b85bbe38..a30b856eed9c 100644 --- a/pkgs/games/rogue/default.nix +++ b/pkgs/games/rogue/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://rogue.rogueforge.net/rogue-5-4/"; description = "The final version of the original Rogue game developed for the UNIX operating system"; + mainProgram = "rogue"; platforms = platforms.all; license = licenses.bsd3; maintainers = [ maintainers.eelco ]; diff --git a/pkgs/games/rott/default.nix b/pkgs/games/rott/default.nix index 591275631fa9..534f14bcb289 100644 --- a/pkgs/games/rott/default.nix +++ b/pkgs/games/rott/default.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "SDL port of Rise of the Triad"; + mainProgram = "rott"; homepage = "https://icculus.org/rott/"; license = licenses.gpl2Plus; maintainers = with maintainers; [ sander ]; diff --git a/pkgs/games/rpg-cli/default.nix b/pkgs/games/rpg-cli/default.nix index cad3b539d9ad..b72a4f78008e 100644 --- a/pkgs/games/rpg-cli/default.nix +++ b/pkgs/games/rpg-cli/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Your filesystem as a dungeon"; + mainProgram = "rpg-cli"; homepage = "https://github.com/facundoolano/rpg-cli"; license = licenses.mit; maintainers = with maintainers; [ lom ]; diff --git a/pkgs/games/rrootage/default.nix b/pkgs/games/rrootage/default.nix index a5b656a4044a..f1ad7b7e978d 100644 --- a/pkgs/games/rrootage/default.nix +++ b/pkgs/games/rrootage/default.nix @@ -74,6 +74,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "Abstract shooter created by Kenta Cho"; + mainProgram = "rrootage"; homepage = "https://rrootage.sourceforge.net/"; license = licenses.bsd2; maintainers = with maintainers; [ fgaz ]; diff --git a/pkgs/games/scummvm/default.nix b/pkgs/games/scummvm/default.nix index 4d40dcc7686b..bc92c3abbda3 100644 --- a/pkgs/games/scummvm/default.nix +++ b/pkgs/games/scummvm/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Program to run certain classic graphical point-and-click adventure games (such as Monkey Island)"; + mainProgram = "scummvm"; homepage = "https://www.scummvm.org/"; license = licenses.gpl2; maintainers = [ maintainers.peterhoeg ]; diff --git a/pkgs/games/sfrotz/default.nix b/pkgs/games/sfrotz/default.nix index e90f1639e170..1282e4d7258e 100644 --- a/pkgs/games/sfrotz/default.nix +++ b/pkgs/games/sfrotz/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Interpreter for Infocom and other Z-Machine games (SDL interface)"; + mainProgram = "sfrotz"; longDescription = '' Frotz is a Z-Machine interpreter. The Z-machine is a virtual machine designed by Infocom to run all of their text adventures. It went through diff --git a/pkgs/games/shticker-book-unwritten/default.nix b/pkgs/games/shticker-book-unwritten/default.nix index f19fe258f70b..9edefc940346 100644 --- a/pkgs/games/shticker-book-unwritten/default.nix +++ b/pkgs/games/shticker-book-unwritten/default.nix @@ -18,6 +18,7 @@ in buildFHSEnv { meta = with lib; { description = "Minimal CLI launcher for the Toontown Rewritten MMORPG"; + mainProgram = "shticker_book_unwritten"; homepage = "https://github.com/JonathanHelianthicusDoe/shticker_book_unwritten"; license = licenses.gpl3Plus; maintainers = [ maintainers.reedrw ]; diff --git a/pkgs/games/sienna/default.nix b/pkgs/games/sienna/default.nix index c6f8db0ea9e7..bee862ba2a08 100644 --- a/pkgs/games/sienna/default.nix +++ b/pkgs/games/sienna/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fast-paced one button platformer"; + mainProgram = "sienna"; homepage = "https://tangramgames.dk/games/sienna"; maintainers = with maintainers; [ leenaars ]; platforms = platforms.linux; diff --git a/pkgs/games/sil-q/default.nix b/pkgs/games/sil-q/default.nix index 9127d4e9afc0..e029d77a02db 100644 --- a/pkgs/games/sil-q/default.nix +++ b/pkgs/games/sil-q/default.nix @@ -56,6 +56,7 @@ in stdenv.mkDerivation rec { meta = { description = "A roguelike game set in the First Age of Middle-earth"; + mainProgram = "sil-q"; longDescription = '' A game of adventure set in the First Age of Middle-earth, when the world still rang with Elven song and gleamed with Dwarven mail. diff --git a/pkgs/games/simutrans/default.nix b/pkgs/games/simutrans/default.nix index cc8b864c1f3e..c89cdf7c8588 100644 --- a/pkgs/games/simutrans/default.nix +++ b/pkgs/games/simutrans/default.nix @@ -154,6 +154,7 @@ let meta = with lib; { description = "A simulation game in which the player strives to run a successful transport system"; + mainProgram = "simutrans"; longDescription = '' Simutrans is a cross-platform simulation game in which the player strives to run a successful transport system by diff --git a/pkgs/games/snipes/default.nix b/pkgs/games/snipes/default.nix index 01b24ee434c3..17a848402a51 100644 --- a/pkgs/games/snipes/default.nix +++ b/pkgs/games/snipes/default.nix @@ -40,6 +40,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "Modern port of the classic 1982 text-mode game Snipes"; + mainProgram = "snipes"; homepage = "https://www.vogons.org/viewtopic.php?f=7&t=49073"; license = licenses.free; # This reverse-engineered source code is released with the original authors' permission. maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/games/soi/default.nix b/pkgs/games/soi/default.nix index eb214752df84..e0526ff44235 100644 --- a/pkgs/games/soi/default.nix +++ b/pkgs/games/soi/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A physics-based puzzle game"; + mainProgram = "soi"; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; license = licenses.free; diff --git a/pkgs/games/solicurses/default.nix b/pkgs/games/solicurses/default.nix index 3b0a60cb1e81..afa49bbd5ce1 100644 --- a/pkgs/games/solicurses/default.nix +++ b/pkgs/games/solicurses/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A version of Solitaire written in C++ using the ncurses library"; + mainProgram = "solicurses"; homepage = "https://github.com/KaylaPP/SoliCurses"; maintainers = with maintainers; [ laalsaas ]; license = licenses.gpl3Only; diff --git a/pkgs/games/space-orbit/default.nix b/pkgs/games/space-orbit/default.nix index 7e51d7a4b290..7762bde4cfa5 100644 --- a/pkgs/games/space-orbit/default.nix +++ b/pkgs/games/space-orbit/default.nix @@ -40,6 +40,7 @@ EOF meta = with lib; { broken = stdenv.isDarwin; description = "A space combat simulator"; + mainProgram = "space-orbit"; license = licenses.gpl2; platforms = platforms.all; }; diff --git a/pkgs/games/stardust/default.nix b/pkgs/games/stardust/default.nix index 2555950506ab..df9b2ca190c2 100644 --- a/pkgs/games/stardust/default.nix +++ b/pkgs/games/stardust/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Space flight simulator"; + mainProgram = "stardust"; maintainers = [ maintainers.raskin ]; platforms = platforms.linux; license = licenses.gpl2Plus; diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix index 4a1cdb93fc06..936a3510b31d 100644 --- a/pkgs/games/steam/fhsenv.nix +++ b/pkgs/games/steam/fhsenv.nix @@ -304,6 +304,7 @@ in buildFHSEnv rec { then steam.meta // lib.optionalAttrs (!withGameSpecificLibraries) { description = steam.meta.description + " (without game specific libraries)"; + mainProgram = "steam"; } else { description = "Steam dependencies (dummy package, do not use)"; diff --git a/pkgs/games/stockfish/default.nix b/pkgs/games/stockfish/default.nix index 21e3151b5844..74eff702add1 100644 --- a/pkgs/games/stockfish/default.nix +++ b/pkgs/games/stockfish/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://stockfishchess.org/"; description = "Strong open source chess engine"; + mainProgram = "stockfish"; longDescription = '' Stockfish is one of the strongest chess engines in the world. It is also much stronger than the best human chess grandmasters. diff --git a/pkgs/games/super-tux-kart/default.nix b/pkgs/games/super-tux-kart/default.nix index 3077d5b9443c..1d55465d0092 100644 --- a/pkgs/games/super-tux-kart/default.nix +++ b/pkgs/games/super-tux-kart/default.nix @@ -145,6 +145,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Free 3D kart racing game"; + mainProgram = "supertuxkart"; longDescription = '' SuperTuxKart is a Free 3D kart racing game, with many tracks, characters and items for you to try, similar in spirit to Mario diff --git a/pkgs/games/system-syzygy/default.nix b/pkgs/games/system-syzygy/default.nix index c6591749a69b..dee96f392c54 100644 --- a/pkgs/games/system-syzygy/default.nix +++ b/pkgs/games/system-syzygy/default.nix @@ -45,6 +45,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { broken = stdenv.isDarwin; description = "A story and a puzzle game, where you solve a variety of puzzle"; + mainProgram = "syzygy"; homepage = "https://mdsteele.games/syzygy"; license = licenses.gpl3Plus; maintainers = [ maintainers.marius851000 ]; diff --git a/pkgs/games/taisei/default.nix b/pkgs/games/taisei/default.nix index 886768786c10..148329d32052 100644 --- a/pkgs/games/taisei/default.nix +++ b/pkgs/games/taisei/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { broken = stdenv.isDarwin; description = "A free and open-source Touhou Project clone and fangame"; + mainProgram = "taisei"; longDescription = '' Taisei is an open clone of the Tōhō Project series. Tōhō is a one-man project of shoot-em-up games set in an isolated world full of Japanese diff --git a/pkgs/games/tecnoballz/default.nix b/pkgs/games/tecnoballz/default.nix index f65383a37a89..b51cc1afed91 100644 --- a/pkgs/games/tecnoballz/default.nix +++ b/pkgs/games/tecnoballz/default.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://linux.tlk.fr/games/TecnoballZ/"; downloadPage = "https://linux.tlk.fr/games/TecnoballZ/download/"; description = "A brick breaker game with a sophisticated system of weapons and bonuses"; + mainProgram = "tecnoballz"; longDescription = '' A exciting Brick Breaker with 50 levels of game and 11 special levels, distributed on the 2 modes of game to give the player a sophisticated diff --git a/pkgs/games/teeworlds/default.nix b/pkgs/games/teeworlds/default.nix index 30e4833d0666..505c61588e3e 100644 --- a/pkgs/games/teeworlds/default.nix +++ b/pkgs/games/teeworlds/default.nix @@ -95,6 +95,7 @@ stdenv.mkDerivation rec { meta = { description = "Retro multiplayer shooter game"; + mainProgram = "teeworlds_srv"; longDescription = '' Teeworlds is a free online multiplayer game, available for all diff --git a/pkgs/games/tennix/default.nix b/pkgs/games/tennix/default.nix index e5b2b358f329..bcf30f947e23 100644 --- a/pkgs/games/tennix/default.nix +++ b/pkgs/games/tennix/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://icculus.org/tennix/"; description = "Classic Championship Tour 2011"; + mainProgram = "tennix"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = with maintainers; [ pSub ]; diff --git a/pkgs/games/tes3cmd/default.nix b/pkgs/games/tes3cmd/default.nix index 3778aadda9c5..b394c2323c21 100644 --- a/pkgs/games/tes3cmd/default.nix +++ b/pkgs/games/tes3cmd/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A command line tool for examining and modifying plugins for the Elder Scrolls game Morrowind by Bethesda Softworks"; + mainProgram = "tes3cmd"; homepage = "https://github.com/john-moonsugar/tes3cmd"; license = licenses.mit; maintainers = [ maintainers.marius851000 ]; diff --git a/pkgs/games/the-butterfly-effect/default.nix b/pkgs/games/the-butterfly-effect/default.nix index 021dedc17bd9..1d77be3c5a8a 100644 --- a/pkgs/games/the-butterfly-effect/default.nix +++ b/pkgs/games/the-butterfly-effect/default.nix @@ -31,6 +31,7 @@ mkDerivation rec { meta = with lib; { description = "A physics-based game vaguely similar to Incredible Machine"; + mainProgram = "tbe"; homepage = "http://the-butterfly-effect.org/"; maintainers = [ maintainers.raskin ]; platforms = platforms.linux; diff --git a/pkgs/games/theforceengine/default.nix b/pkgs/games/theforceengine/default.nix index d2a843da42bc..8695045d3528 100644 --- a/pkgs/games/theforceengine/default.nix +++ b/pkgs/games/theforceengine/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Modern \"Jedi Engine\" replacement supporting Dark Forces, mods, and in the future, Outlaws"; + mainProgram = "theforceengine"; homepage = "https://theforceengine.github.io"; license = licenses.gpl2Only; maintainers = with maintainers; [ devusb ]; diff --git a/pkgs/games/tinyfugue/default.nix b/pkgs/games/tinyfugue/default.nix index a787d0b25bff..d6b9647fcc02 100644 --- a/pkgs/games/tinyfugue/default.nix +++ b/pkgs/games/tinyfugue/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://tinyfugue.sourceforge.net/"; description = "A terminal UI, screen-oriented MUD client"; + mainProgram = "tf"; longDescription = '' TinyFugue, aka "tf", is a flexible, screen-oriented MUD client, for use with any type of text MUD. diff --git a/pkgs/games/titanion/default.nix b/pkgs/games/titanion/default.nix index 94e04a053c4e..6b74eb351dd4 100644 --- a/pkgs/games/titanion/default.nix +++ b/pkgs/games/titanion/default.nix @@ -84,6 +84,7 @@ in stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "http://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn_e.html"; description = "Strike down super high-velocity swooping insects"; + mainProgram = "titanion"; license = licenses.bsd2; maintainers = with maintainers; [ fgaz ]; platforms = platforms.all; diff --git a/pkgs/games/tome4/default.nix b/pkgs/games/tome4/default.nix index c05fd006aaac..ffb52b01e291 100644 --- a/pkgs/games/tome4/default.nix +++ b/pkgs/games/tome4/default.nix @@ -68,6 +68,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tales of Maj'eyal (rogue-like game)"; + mainProgram = "tome4"; homepage = "https://te4.org/"; license = licenses.gpl3; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/games/torus-trooper/default.nix b/pkgs/games/torus-trooper/default.nix index 6e39aac63ff6..5715be413b84 100644 --- a/pkgs/games/torus-trooper/default.nix +++ b/pkgs/games/torus-trooper/default.nix @@ -97,6 +97,7 @@ in stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "http://www.asahi-net.or.jp/~cs8k-cyu/windows/tt_e.html"; description = "Fast-paced abstract scrolling shooter game"; + mainProgram = "torus-trooper"; license = licenses.bsd2; maintainers = with maintainers; [ fgaz ]; platforms = platforms.all; diff --git a/pkgs/games/tr-patcher/default.nix b/pkgs/games/tr-patcher/default.nix index 0336ed1ac02f..77788e8f27f2 100644 --- a/pkgs/games/tr-patcher/default.nix +++ b/pkgs/games/tr-patcher/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Allow to update dependancies of the Tamriel-Data mod for morrowind"; + mainProgram = "tr-patcher"; homepage = "https://gitlab.com/bmwinger/tr-patcher"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.gpl3; diff --git a/pkgs/games/trackballs/default.nix b/pkgs/games/trackballs/default.nix index 9ce9ad3ffc5e..3c3d50eafdb1 100644 --- a/pkgs/games/trackballs/default.nix +++ b/pkgs/games/trackballs/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://trackballs.github.io/"; description = "3D Marble Madness clone"; + mainProgram = "trackballs"; platforms = platforms.linux; # Music is licensed under Ethymonics Free Music License. license = licenses.gpl2Plus; diff --git a/pkgs/games/trigger/default.nix b/pkgs/games/trigger/default.nix index 57bc75d53820..218266717351 100644 --- a/pkgs/games/trigger/default.nix +++ b/pkgs/games/trigger/default.nix @@ -62,6 +62,7 @@ stdenv.mkDerivation rec { meta = { description = "A fast-paced single-player racing game"; + mainProgram = "trigger-rally"; homepage = "http://trigger-rally.sourceforge.net/"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [viric]; diff --git a/pkgs/games/tumiki-fighters/default.nix b/pkgs/games/tumiki-fighters/default.nix index 344d062e08c3..0049412b0e6c 100644 --- a/pkgs/games/tumiki-fighters/default.nix +++ b/pkgs/games/tumiki-fighters/default.nix @@ -90,6 +90,7 @@ in stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "http://www.asahi-net.or.jp/~cs8k-cyu/windows/tf_e.html"; description = "Sticky 2D shooter"; + mainProgram = "tumiki-fighters"; license = licenses.bsd2; maintainers = with maintainers; [ fgaz ]; platforms = platforms.all; diff --git a/pkgs/games/tuxtype/default.nix b/pkgs/games/tuxtype/default.nix index 0e32ebfbab97..822dac9808dc 100644 --- a/pkgs/games/tuxtype/default.nix +++ b/pkgs/games/tuxtype/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An Educational Typing Tutor Game Starring Tux, the Linux Penguin"; + mainProgram = "tuxtype"; homepage = "https://github.com/tux4kids/tuxtype"; license = licenses.gpl3Plus; maintainers = [ maintainers.aanderse ]; diff --git a/pkgs/games/typespeed/default.nix b/pkgs/games/typespeed/default.nix index 92d8768e4ffd..483f631fcea9 100644 --- a/pkgs/games/typespeed/default.nix +++ b/pkgs/games/typespeed/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A curses based typing game"; + mainProgram = "typespeed"; homepage = "https://typespeed.sourceforge.net/"; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/games/uchess/default.nix b/pkgs/games/uchess/default.nix index 2d8c2efd4b76..fd0884bf6b18 100644 --- a/pkgs/games/uchess/default.nix +++ b/pkgs/games/uchess/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { description = "Play chess against UCI engines in your terminal"; + mainProgram = "uchess"; homepage = "https://tmountain.github.io/uchess/"; maintainers = with maintainers; [ tmountain ]; license = licenses.mit; diff --git a/pkgs/games/ultrastardx/default.nix b/pkgs/games/ultrastardx/default.nix index fc80dec99378..e7401ac9dfbe 100644 --- a/pkgs/games/ultrastardx/default.nix +++ b/pkgs/games/ultrastardx/default.nix @@ -80,6 +80,7 @@ in stdenv.mkDerivation rec { meta = with lib; { homepage = "https://usdx.eu/"; description = "Free and open source karaoke game"; + mainProgram = "ultrastardx"; license = licenses.gpl2Plus; maintainers = with maintainers; [ Profpatsch ]; platforms = platforms.linux; diff --git a/pkgs/games/umoria/default.nix b/pkgs/games/umoria/default.nix index 13ec037afba7..91097ca54276 100644 --- a/pkgs/games/umoria/default.nix +++ b/pkgs/games/umoria/default.nix @@ -64,6 +64,7 @@ gcc9Stdenv.mkDerivation rec { meta = with lib; { homepage = "https://umoria.org/"; description = "The Dungeons of Moria - the original roguelike"; + mainProgram = "umoria"; longDescription = '' The Dungeons of Moria is a single player dungeon simulation originally written by Robert Alan Koeneke, with its first public release in 1983. diff --git a/pkgs/games/unnethack/default.nix b/pkgs/games/unnethack/default.nix index f328b8c01eed..15c5b1a81ebc 100644 --- a/pkgs/games/unnethack/default.nix +++ b/pkgs/games/unnethack/default.nix @@ -69,6 +69,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fork of NetHack"; + mainProgram = "unnethack"; homepage = "https://unnethack.wordpress.com/"; license = "nethack"; platforms = platforms.all; diff --git a/pkgs/games/uqm/default.nix b/pkgs/games/uqm/default.nix index 7da4c1e597b5..f81a48af2a67 100644 --- a/pkgs/games/uqm/default.nix +++ b/pkgs/games/uqm/default.nix @@ -93,6 +93,7 @@ in stdenv.mkDerivation rec { meta = { description = "Remake of Star Control II"; + mainProgram = "uqm"; longDescription = '' The goals for the The Ur-Quan Masters project are: - to bring Star Control II to modern platforms, thereby making a lot of diff --git a/pkgs/games/vdrift/default.nix b/pkgs/games/vdrift/default.nix index 50fb4af1416a..a88adbdf19de 100644 --- a/pkgs/games/vdrift/default.nix +++ b/pkgs/games/vdrift/default.nix @@ -49,6 +49,7 @@ let meta = { description = "Car racing game"; + mainProgram = "vdrift"; homepage = "http://vdrift.net/"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ viric ]; diff --git a/pkgs/games/vectoroids/default.nix b/pkgs/games/vectoroids/default.nix index 82c157104439..c3e383a84b64 100644 --- a/pkgs/games/vectoroids/default.nix +++ b/pkgs/games/vectoroids/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://www.newbreedsoftware.com/vectoroids/"; description = "Clone of the classic arcade game Asteroids by Atari"; + mainProgram = "vectoroids"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; }; diff --git a/pkgs/games/vms-empire/default.nix b/pkgs/games/vms-empire/default.nix index b3e89617ef33..9da37789f7cd 100644 --- a/pkgs/games/vms-empire/default.nix +++ b/pkgs/games/vms-empire/default.nix @@ -46,6 +46,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://catb.org/~esr/vms-empire/"; description = "The ancestor of all expand/explore/exploit/exterminate games"; + mainProgram = "vms-empire"; longDescription = '' Empire is a simulation of a full-scale war between two emperors, the computer and you. Naturally, there is only room for one, so the object of diff --git a/pkgs/games/warzone2100/default.nix b/pkgs/games/warzone2100/default.nix index 7e6b8986109e..a39b7915b187 100644 --- a/pkgs/games/warzone2100/default.nix +++ b/pkgs/games/warzone2100/default.nix @@ -123,6 +123,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A free RTS game, originally developed by Pumpkin Studios"; + mainProgram = "warzone2100"; longDescription = '' Warzone 2100 is an open source real-time strategy and real-time tactics hybrid computer game, originally developed by Pumpkin Studios and diff --git a/pkgs/games/wireworld/default.nix b/pkgs/games/wireworld/default.nix index 828d313d2a87..14a7310e7a97 100644 --- a/pkgs/games/wireworld/default.nix +++ b/pkgs/games/wireworld/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fascinating electronics logic puzzles, game where you'll learn how to build clocks, diodes, and logic gates"; + mainProgram = "Wireworld"; license = with licenses; [ mit ofl diff --git a/pkgs/games/wolfstoneextract/default.nix b/pkgs/games/wolfstoneextract/default.nix index 159e6ae3f15c..b2d76e41d57c 100644 --- a/pkgs/games/wolfstoneextract/default.nix +++ b/pkgs/games/wolfstoneextract/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Utility to extract Wolfstone data from Wolfenstein II"; + mainProgram = "wolfstoneextract"; homepage = "https://bitbucket.org/ecwolf/wolfstoneextract/src/master/"; platforms = [ "x86_64-linux" ]; license = with licenses; [ gpl3Only bsd3 ]; diff --git a/pkgs/games/wyvern/default.nix b/pkgs/games/wyvern/default.nix index 6eae1a4e71b2..705d6a33db5f 100644 --- a/pkgs/games/wyvern/default.nix +++ b/pkgs/games/wyvern/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple CLI client for installing and maintaining linux GOG games"; + mainProgram = "wyvern"; homepage = "https://git.sr.ht/~nicohman/wyvern"; license = licenses.gpl3; maintainers = with maintainers; [ _0x4A6F ]; diff --git a/pkgs/games/xboard/default.nix b/pkgs/games/xboard/default.nix index af75ec79e730..ac8ae684f1df 100644 --- a/pkgs/games/xboard/default.nix +++ b/pkgs/games/xboard/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GUI for chess engines"; + mainProgram = "xboard"; homepage = "https://www.gnu.org/software/xboard/"; maintainers = with maintainers; [ raskin ]; platforms = platforms.unix; diff --git a/pkgs/games/xbomb/default.nix b/pkgs/games/xbomb/default.nix index 093f822a7e31..92227ec1ebd1 100644 --- a/pkgs/games/xbomb/default.nix +++ b/pkgs/games/xbomb/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://www.gedanken.org.uk/software/xbomb/"; description = "Minesweeper for X11 with various grid sizes and shapes"; + mainProgram = "xbomb"; license = licenses.gpl2Plus; platforms = platforms.linux; }; diff --git a/pkgs/games/xgalaga++/default.nix b/pkgs/games/xgalaga++/default.nix index daccc84e681e..9b2bd5a9af73 100644 --- a/pkgs/games/xgalaga++/default.nix +++ b/pkgs/games/xgalaga++/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://marc.mongenet.ch/OSS/XGalaga/"; description = "XGalaga++ is a classic single screen vertical shoot ’em up. It is inspired by XGalaga and reuses most of its sprites"; + mainProgram = "xgalaga++"; license = licenses.gpl2Plus; platforms = platforms.linux; }; diff --git a/pkgs/games/xjump/default.nix b/pkgs/games/xjump/default.nix index 2c56e0bba4f6..2113ffbda116 100644 --- a/pkgs/games/xjump/default.nix +++ b/pkgs/games/xjump/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation { meta = with lib; { description = "The falling tower game"; + mainProgram = "xjump"; license = licenses.gpl2; maintainers = with maintainers; [ pmeunier ]; }; diff --git a/pkgs/games/xmage/default.nix b/pkgs/games/xmage/default.nix index 59752e72e50d..656eee3ce617 100644 --- a/pkgs/games/xmage/default.nix +++ b/pkgs/games/xmage/default.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Magic Another Game Engine"; + mainProgram = "xmage"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.mit; maintainers = with maintainers; [ matthiasbeyer abueide ]; diff --git a/pkgs/games/xmoto/default.nix b/pkgs/games/xmoto/default.nix index 5909c3f20ee4..23ed54e6b8e4 100644 --- a/pkgs/games/xmoto/default.nix +++ b/pkgs/games/xmoto/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A challenging 2D motocross platform game, where physics play an important role"; + mainProgram = "xmoto"; longDescription = '' X-Moto is a challenging 2D motocross platform game, where physics plays an all important role in the gameplay. You need to control your bike to its limits, if you want to have a chance to finish the most difficult challenges. diff --git a/pkgs/games/xpilot/bloodspilot-client.nix b/pkgs/games/xpilot/bloodspilot-client.nix index 8e603ef53f78..58eb7e815164 100644 --- a/pkgs/games/xpilot/bloodspilot-client.nix +++ b/pkgs/games/xpilot/bloodspilot-client.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = { description = "A multiplayer space combat game (client part)"; + mainProgram = "bloodspilot-client-sdl"; homepage = "http://bloodspilot.sf.net/"; license = lib.licenses.gpl2Plus ; maintainers = [lib.maintainers.raskin]; diff --git a/pkgs/games/xpilot/bloodspilot-server.nix b/pkgs/games/xpilot/bloodspilot-server.nix index a860c4e1d5ff..495412c0eab4 100644 --- a/pkgs/games/xpilot/bloodspilot-server.nix +++ b/pkgs/games/xpilot/bloodspilot-server.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A multiplayer X11 space combat game (server part)"; + mainProgram = "xpilots"; homepage = "http://bloodspilot.sf.net/"; license = licenses.gpl2Plus ; maintainers = [ maintainers.raskin ]; diff --git a/pkgs/games/xskat/default.nix b/pkgs/games/xskat/default.nix index 0d9fc5fe312f..6f28a6846ea7 100644 --- a/pkgs/games/xskat/default.nix +++ b/pkgs/games/xskat/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Famous german card game"; + mainProgram = "xskat"; platforms = platforms.unix; license = licenses.xskat; longDescription = "Play the german card game Skat against the AI or over IRC."; diff --git a/pkgs/games/xsnow/default.nix b/pkgs/games/xsnow/default.nix index ff34bfe729ba..fe744375d79b 100644 --- a/pkgs/games/xsnow/default.nix +++ b/pkgs/games/xsnow/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An X-windows application that will let it snow on the root, in between and on windows"; + mainProgram = "xsnow"; homepage = "https://ratrabbit.nl/ratrabbit/xsnow/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ robberer ]; diff --git a/pkgs/games/xsok/default.nix b/pkgs/games/xsok/default.nix index 53254ba98f91..51ca06a9091c 100644 --- a/pkgs/games/xsok/default.nix +++ b/pkgs/games/xsok/default.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { meta = { description = "A generic Sokoban game for X11"; + mainProgram = "xsok"; license = lib.licenses.gpl2Plus; maintainers = [lib.maintainers.raskin]; platforms = lib.platforms.unix; diff --git a/pkgs/games/xsokoban/default.nix b/pkgs/games/xsokoban/default.nix index 4d8a6fa05056..51de995af4bc 100644 --- a/pkgs/games/xsokoban/default.nix +++ b/pkgs/games/xsokoban/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "X sokoban"; + mainProgram = "xsokoban"; license = licenses.publicDomain; maintainers = [ maintainers.raskin ]; platforms = platforms.linux; diff --git a/pkgs/kde/frameworks/kcmutils/default.nix b/pkgs/kde/frameworks/kcmutils/default.nix index bb6ecb110ee0..617fb5978d11 100644 --- a/pkgs/kde/frameworks/kcmutils/default.nix +++ b/pkgs/kde/frameworks/kcmutils/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kcmutils"; extraPropagatedBuildInputs = [qtdeclarative]; + meta.mainProgram = "kcmshell6"; } diff --git a/pkgs/kde/frameworks/kdbusaddons/default.nix b/pkgs/kde/frameworks/kdbusaddons/default.nix index f7d80a5746f3..6803331b1e36 100644 --- a/pkgs/kde/frameworks/kdbusaddons/default.nix +++ b/pkgs/kde/frameworks/kdbusaddons/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kdbusaddons"; extraNativeBuildInputs = [qttools]; + meta.mainProgram = "kquitapp6"; } diff --git a/pkgs/kde/frameworks/kded/default.nix b/pkgs/kde/frameworks/kded/default.nix index dc6fa84d5347..aa2ec5fc5ac2 100644 --- a/pkgs/kde/frameworks/kded/default.nix +++ b/pkgs/kde/frameworks/kded/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kded"; + meta.mainProgram = "kded6"; } diff --git a/pkgs/kde/frameworks/kguiaddons/default.nix b/pkgs/kde/frameworks/kguiaddons/default.nix index 899786eefbda..3c1fb8034a0a 100644 --- a/pkgs/kde/frameworks/kguiaddons/default.nix +++ b/pkgs/kde/frameworks/kguiaddons/default.nix @@ -9,4 +9,5 @@ mkKdeDerivation { extraNativeBuildInputs = [pkg-config]; extraBuildInputs = [qtwayland wayland]; + meta.mainProgram = "kde-geo-uri-handler"; } diff --git a/pkgs/kde/frameworks/kiconthemes/default.nix b/pkgs/kde/frameworks/kiconthemes/default.nix index 378a3f7f87b7..de93cd9d8360 100644 --- a/pkgs/kde/frameworks/kiconthemes/default.nix +++ b/pkgs/kde/frameworks/kiconthemes/default.nix @@ -12,4 +12,5 @@ mkKdeDerivation { qtsvg qttools ]; + meta.mainProgram = "kiconfinder6"; } diff --git a/pkgs/kde/frameworks/knewstuff/default.nix b/pkgs/kde/frameworks/knewstuff/default.nix index 934167daf055..26e3207764e7 100644 --- a/pkgs/kde/frameworks/knewstuff/default.nix +++ b/pkgs/kde/frameworks/knewstuff/default.nix @@ -13,4 +13,5 @@ mkKdeDerivation { extraBuildInputs = [qtdeclarative qttools]; extraPropagatedBuildInputs = [kcmutils]; + meta.mainProgram = "knewstuff-dialog6"; } diff --git a/pkgs/kde/frameworks/kpackage/default.nix b/pkgs/kde/frameworks/kpackage/default.nix index 8f99e10047c0..19e4d7932a56 100644 --- a/pkgs/kde/frameworks/kpackage/default.nix +++ b/pkgs/kde/frameworks/kpackage/default.nix @@ -5,4 +5,5 @@ mkKdeDerivation { # Follow symlinks when resolving packages # FIXME(later): upstream patches = [./follow-symlinks.patch]; + meta.mainProgram = "kpackagetool6"; } diff --git a/pkgs/kde/frameworks/kservice/default.nix b/pkgs/kde/frameworks/kservice/default.nix index 3da4fd1fdd75..7451647081e5 100644 --- a/pkgs/kde/frameworks/kservice/default.nix +++ b/pkgs/kde/frameworks/kservice/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { # FIXME(later): upstream ./qdiriterator-follow-symlinks.patch ]; + meta.mainProgram = "kbuildsycoca6"; } diff --git a/pkgs/kde/frameworks/solid/default.nix b/pkgs/kde/frameworks/solid/default.nix index 941422848058..08419f4b9784 100644 --- a/pkgs/kde/frameworks/solid/default.nix +++ b/pkgs/kde/frameworks/solid/default.nix @@ -13,4 +13,5 @@ mkKdeDerivation { extraNativeBuildInputs = [qttools bison flex]; extraBuildInputs = [libimobiledevice]; + meta.mainProgram = "solid-hardware6"; } diff --git a/pkgs/kde/frameworks/sonnet/default.nix b/pkgs/kde/frameworks/sonnet/default.nix index d0775de9bb18..b5b82f6e675c 100644 --- a/pkgs/kde/frameworks/sonnet/default.nix +++ b/pkgs/kde/frameworks/sonnet/default.nix @@ -11,4 +11,5 @@ mkKdeDerivation { extraNativeBuildInputs = [qttools pkg-config]; extraBuildInputs = [qtdeclarative aspell hunspell]; + meta.mainProgram = "parsetrigrams6"; } diff --git a/pkgs/kde/frameworks/syntax-highlighting/default.nix b/pkgs/kde/frameworks/syntax-highlighting/default.nix index 4ce448e937d5..1a5430901f2e 100644 --- a/pkgs/kde/frameworks/syntax-highlighting/default.nix +++ b/pkgs/kde/frameworks/syntax-highlighting/default.nix @@ -9,4 +9,5 @@ mkKdeDerivation { extraBuildInputs = [qtdeclarative]; extraNativeBuildInputs = [qttools perl]; + meta.mainProgram = "ksyntaxhighlighter6"; } diff --git a/pkgs/kde/gear/akonadi-calendar/default.nix b/pkgs/kde/gear/akonadi-calendar/default.nix index ffa28766a4e1..66c615e53b18 100644 --- a/pkgs/kde/gear/akonadi-calendar/default.nix +++ b/pkgs/kde/gear/akonadi-calendar/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "akonadi-calendar"; + meta.mainProgram = "kalendarac"; } diff --git a/pkgs/kde/gear/akonadi-import-wizard/default.nix b/pkgs/kde/gear/akonadi-import-wizard/default.nix index 191944a9e90d..9037457ee8b0 100644 --- a/pkgs/kde/gear/akonadi-import-wizard/default.nix +++ b/pkgs/kde/gear/akonadi-import-wizard/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "akonadi-import-wizard"; + meta.mainProgram = "akonadiimportwizard"; } diff --git a/pkgs/kde/gear/akonadiconsole/default.nix b/pkgs/kde/gear/akonadiconsole/default.nix index 4820faea5705..ca116910011c 100644 --- a/pkgs/kde/gear/akonadiconsole/default.nix +++ b/pkgs/kde/gear/akonadiconsole/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "akonadiconsole"; extraBuildInputs = [xapian]; + meta.mainProgram = "akonadiconsole"; } diff --git a/pkgs/kde/gear/alligator/default.nix b/pkgs/kde/gear/alligator/default.nix index bf3a4fb53b9d..c2f7a14734e2 100644 --- a/pkgs/kde/gear/alligator/default.nix +++ b/pkgs/kde/gear/alligator/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "alligator"; + meta.mainProgram = "alligator"; } diff --git a/pkgs/kde/gear/arianna/default.nix b/pkgs/kde/gear/arianna/default.nix index d3a63bc19455..9e56cfda9efe 100644 --- a/pkgs/kde/gear/arianna/default.nix +++ b/pkgs/kde/gear/arianna/default.nix @@ -18,4 +18,5 @@ mkKdeDerivation { kitemmodels kquickcharts ]; + meta.mainProgram = "arianna"; } diff --git a/pkgs/kde/gear/ark/default.nix b/pkgs/kde/gear/ark/default.nix index ae443c21cf84..fb9c3d8e596f 100644 --- a/pkgs/kde/gear/ark/default.nix +++ b/pkgs/kde/gear/ark/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "ark"; extraBuildInputs = [libarchive libzip]; + meta.mainProgram = "ark"; } diff --git a/pkgs/kde/gear/audiotube/default.nix b/pkgs/kde/gear/audiotube/default.nix index 60e646cd71c1..c9ae14f3be9b 100644 --- a/pkgs/kde/gear/audiotube/default.nix +++ b/pkgs/kde/gear/audiotube/default.nix @@ -50,4 +50,5 @@ in qtWrapperArgs = [ "--prefix PYTHONPATH : ${ps.makePythonPath pythonDeps}" ]; + meta.mainProgram = "audiotube"; } diff --git a/pkgs/kde/gear/baloo-widgets/default.nix b/pkgs/kde/gear/baloo-widgets/default.nix index ca638bef6074..7e576348f060 100644 --- a/pkgs/kde/gear/baloo-widgets/default.nix +++ b/pkgs/kde/gear/baloo-widgets/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "baloo-widgets"; + meta.mainProgram = "baloo_filemetadata_temp_extractor"; } diff --git a/pkgs/kde/gear/blinken/default.nix b/pkgs/kde/gear/blinken/default.nix index ac5f4273ebd5..8b6fbc68066a 100644 --- a/pkgs/kde/gear/blinken/default.nix +++ b/pkgs/kde/gear/blinken/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "blinken"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "blinken"; } diff --git a/pkgs/kde/gear/bomber/default.nix b/pkgs/kde/gear/bomber/default.nix index a0e2ea97428c..611edb5d2c7a 100644 --- a/pkgs/kde/gear/bomber/default.nix +++ b/pkgs/kde/gear/bomber/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "bomber"; extraNativeBuildInputs = [_7zz]; + meta.mainProgram = "bomber"; } diff --git a/pkgs/kde/gear/bovo/default.nix b/pkgs/kde/gear/bovo/default.nix index bc48853616ef..9e8ae9b05153 100644 --- a/pkgs/kde/gear/bovo/default.nix +++ b/pkgs/kde/gear/bovo/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "bovo"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "bovo"; } diff --git a/pkgs/kde/gear/colord-kde/default.nix b/pkgs/kde/gear/colord-kde/default.nix index adacf19ba9a3..9e2aa630d688 100644 --- a/pkgs/kde/gear/colord-kde/default.nix +++ b/pkgs/kde/gear/colord-kde/default.nix @@ -9,4 +9,5 @@ mkKdeDerivation { extraNativeBuildInputs = [pkg-config]; extraBuildInputs = [lcms2 xorg.libXrandr]; + meta.mainProgram = "colord-kde-icc-importer"; } diff --git a/pkgs/kde/gear/dragon/default.nix b/pkgs/kde/gear/dragon/default.nix index 0b1900203c05..3b49b3372ce6 100644 --- a/pkgs/kde/gear/dragon/default.nix +++ b/pkgs/kde/gear/dragon/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "dragon"; + meta.mainProgram = "dragon"; } diff --git a/pkgs/kde/gear/elisa/default.nix b/pkgs/kde/gear/elisa/default.nix index 4f4437a5794c..74331ebdace9 100644 --- a/pkgs/kde/gear/elisa/default.nix +++ b/pkgs/kde/gear/elisa/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "elisa"; extraBuildInputs = [qtmultimedia vlc]; + meta.mainProgram = "elisa"; } diff --git a/pkgs/kde/gear/falkon/default.nix b/pkgs/kde/gear/falkon/default.nix index 3fb5a9e16dbb..bc8125b99ec8 100644 --- a/pkgs/kde/gear/falkon/default.nix +++ b/pkgs/kde/gear/falkon/default.nix @@ -11,4 +11,5 @@ mkKdeDerivation { extraNativeBuildInputs = [qttools qtwebchannel qtwebengine]; extraBuildInputs = [extra-cmake-modules qtwebchannel qtwebengine python3Packages.pyside6]; + meta.mainProgram = "falkon"; } diff --git a/pkgs/kde/gear/filelight/default.nix b/pkgs/kde/gear/filelight/default.nix index 1136a3b68844..fa80c1ea2ab3 100644 --- a/pkgs/kde/gear/filelight/default.nix +++ b/pkgs/kde/gear/filelight/default.nix @@ -12,4 +12,5 @@ mkKdeDerivation { kquickcharts qqc2-desktop-style ]; + meta.mainProgram = "filelight"; } diff --git a/pkgs/kde/gear/ghostwriter/default.nix b/pkgs/kde/gear/ghostwriter/default.nix index b3620992ee40..f4b4a3cee21e 100644 --- a/pkgs/kde/gear/ghostwriter/default.nix +++ b/pkgs/kde/gear/ghostwriter/default.nix @@ -14,4 +14,5 @@ mkKdeDerivation { extraNativeBuildInputs = [pkg-config kdoctools]; extraBuildInputs = [qtsvg qttools qtwebchannel qtwebengine qt5compat hunspell]; + meta.mainProgram = "ghostwriter"; } diff --git a/pkgs/kde/gear/granatier/default.nix b/pkgs/kde/gear/granatier/default.nix index 66a763a962fe..1c8593258ca3 100644 --- a/pkgs/kde/gear/granatier/default.nix +++ b/pkgs/kde/gear/granatier/default.nix @@ -8,4 +8,5 @@ mkKdeDerivation { extraNativeBuildInputs = [_7zz]; extraBuildInputs = [qtsvg]; + meta.mainProgram = "granatier"; } diff --git a/pkgs/kde/gear/isoimagewriter/default.nix b/pkgs/kde/gear/isoimagewriter/default.nix index daad31ea436b..e9b41bcb84e9 100644 --- a/pkgs/kde/gear/isoimagewriter/default.nix +++ b/pkgs/kde/gear/isoimagewriter/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "isoimagewriter"; extraBuildInputs = [qgpgme]; + meta.mainProgram = "isoimagewriter"; } diff --git a/pkgs/kde/gear/itinerary/default.nix b/pkgs/kde/gear/itinerary/default.nix index 29c129132071..ca1872662f32 100644 --- a/pkgs/kde/gear/itinerary/default.nix +++ b/pkgs/kde/gear/itinerary/default.nix @@ -14,4 +14,5 @@ mkKdeDerivation { extraNativeBuildInputs = [pkg-config shared-mime-info]; extraBuildInputs = [qtlocation qtpositioning libical]; + meta.mainProgram = "itinerary"; } diff --git a/pkgs/kde/gear/juk/default.nix b/pkgs/kde/gear/juk/default.nix index dec454d2385b..53eff6a9cc18 100644 --- a/pkgs/kde/gear/juk/default.nix +++ b/pkgs/kde/gear/juk/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "juk"; extraBuildInputs = [qtsvg taglib]; + meta.mainProgram = "juk"; } diff --git a/pkgs/kde/gear/k3b/default.nix b/pkgs/kde/gear/k3b/default.nix index ab6b39a2f5e4..9eba27da8639 100644 --- a/pkgs/kde/gear/k3b/default.nix +++ b/pkgs/kde/gear/k3b/default.nix @@ -50,4 +50,5 @@ mkKdeDerivation { flac ]}" ]; + meta.mainProgram = "k3b"; } diff --git a/pkgs/kde/gear/kaddressbook/default.nix b/pkgs/kde/gear/kaddressbook/default.nix index d4e2c5820038..a5ef9c659f4e 100644 --- a/pkgs/kde/gear/kaddressbook/default.nix +++ b/pkgs/kde/gear/kaddressbook/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kaddressbook"; + meta.mainProgram = "kaddressbook"; } diff --git a/pkgs/kde/gear/kalk/default.nix b/pkgs/kde/gear/kalk/default.nix index b2cce371346e..bc2afd2425bf 100644 --- a/pkgs/kde/gear/kalk/default.nix +++ b/pkgs/kde/gear/kalk/default.nix @@ -22,4 +22,5 @@ mkKdeDerivation { mpfr libqalculate ]; + meta.mainProgram = "kalk"; } diff --git a/pkgs/kde/gear/kalzium/default.nix b/pkgs/kde/gear/kalzium/default.nix index 7e46128dc967..1c45498294d0 100644 --- a/pkgs/kde/gear/kalzium/default.nix +++ b/pkgs/kde/gear/kalzium/default.nix @@ -13,4 +13,5 @@ mkKdeDerivation { # FIXME: look into how to make it find libfacile extraNativeBuildInputs = [pkg-config ocaml]; extraBuildInputs = [eigen openbabel qtsvg qtscxml]; + meta.mainProgram = "kalzium"; } diff --git a/pkgs/kde/gear/kanagram/default.nix b/pkgs/kde/gear/kanagram/default.nix index 4a12b6153e15..e7d3d7b443ed 100644 --- a/pkgs/kde/gear/kanagram/default.nix +++ b/pkgs/kde/gear/kanagram/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kanagram"; extraBuildInputs = [qtspeech]; + meta.mainProgram = "kanagram"; } diff --git a/pkgs/kde/gear/kapman/default.nix b/pkgs/kde/gear/kapman/default.nix index 2b3599ccd3f3..61cfb1fdf3fa 100644 --- a/pkgs/kde/gear/kapman/default.nix +++ b/pkgs/kde/gear/kapman/default.nix @@ -8,4 +8,5 @@ mkKdeDerivation { extraNativeBuildInputs = [_7zz]; extraBuildInputs = [qtsvg]; + meta.mainProgram = "kapman"; } diff --git a/pkgs/kde/gear/kapptemplate/default.nix b/pkgs/kde/gear/kapptemplate/default.nix index 0559bc33e522..9b4f350b1b65 100644 --- a/pkgs/kde/gear/kapptemplate/default.nix +++ b/pkgs/kde/gear/kapptemplate/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kapptemplate"; + meta.mainProgram = "kapptemplate"; } diff --git a/pkgs/kde/gear/kasts/default.nix b/pkgs/kde/gear/kasts/default.nix index 94fa949a78d7..860af4a1f081 100644 --- a/pkgs/kde/gear/kasts/default.nix +++ b/pkgs/kde/gear/kasts/default.nix @@ -18,4 +18,5 @@ mkKdeDerivation { taglib libvlc ]; + meta.mainProgram = "kasts"; } diff --git a/pkgs/kde/gear/katomic/default.nix b/pkgs/kde/gear/katomic/default.nix index 22ce4c19c216..9a0f9b743d9e 100644 --- a/pkgs/kde/gear/katomic/default.nix +++ b/pkgs/kde/gear/katomic/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "katomic"; + meta.mainProgram = "katomic"; } diff --git a/pkgs/kde/gear/kbackup/default.nix b/pkgs/kde/gear/kbackup/default.nix index aca459e19264..49e43996b932 100644 --- a/pkgs/kde/gear/kbackup/default.nix +++ b/pkgs/kde/gear/kbackup/default.nix @@ -9,4 +9,5 @@ mkKdeDerivation { extraNativeBuildInputs = [shared-mime-info]; extraBuildInputs = [qt5compat libarchive]; + meta.mainProgram = "kbackup"; } diff --git a/pkgs/kde/gear/kblackbox/default.nix b/pkgs/kde/gear/kblackbox/default.nix index 2aba074ac562..3f8995ce537e 100644 --- a/pkgs/kde/gear/kblackbox/default.nix +++ b/pkgs/kde/gear/kblackbox/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kblackbox"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "kblackbox"; } diff --git a/pkgs/kde/gear/kblocks/default.nix b/pkgs/kde/gear/kblocks/default.nix index e184971a9491..1e4628b03037 100644 --- a/pkgs/kde/gear/kblocks/default.nix +++ b/pkgs/kde/gear/kblocks/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kblocks"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "kblocks"; } diff --git a/pkgs/kde/gear/kbounce/default.nix b/pkgs/kde/gear/kbounce/default.nix index d94cd2cbf351..8ddeef47bfb6 100644 --- a/pkgs/kde/gear/kbounce/default.nix +++ b/pkgs/kde/gear/kbounce/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kbounce"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "kbounce"; } diff --git a/pkgs/kde/gear/kbreakout/default.nix b/pkgs/kde/gear/kbreakout/default.nix index 34e9e8435779..541ae0789ed4 100644 --- a/pkgs/kde/gear/kbreakout/default.nix +++ b/pkgs/kde/gear/kbreakout/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kbreakout"; extraNativeBuildInputs = [_7zz]; + meta.mainProgram = "kbreakout"; } diff --git a/pkgs/kde/gear/kbruch/default.nix b/pkgs/kde/gear/kbruch/default.nix index ea034aa275b9..9533db2c30e5 100644 --- a/pkgs/kde/gear/kbruch/default.nix +++ b/pkgs/kde/gear/kbruch/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kbruch"; + meta.mainProgram = "kbruch"; } diff --git a/pkgs/kde/gear/kcalc/default.nix b/pkgs/kde/gear/kcalc/default.nix index 66bffedbb3c0..fdc55b353278 100644 --- a/pkgs/kde/gear/kcalc/default.nix +++ b/pkgs/kde/gear/kcalc/default.nix @@ -10,4 +10,5 @@ mkKdeDerivation { extraNativeBuildInputs = [kdoctools]; extraBuildInputs = [qt5compat gmp mpfr]; + meta.mainProgram = "kcalc"; } diff --git a/pkgs/kde/gear/kcharselect/default.nix b/pkgs/kde/gear/kcharselect/default.nix index 1fffb87d32cd..9ee054d9339a 100644 --- a/pkgs/kde/gear/kcharselect/default.nix +++ b/pkgs/kde/gear/kcharselect/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kcharselect"; + meta.mainProgram = "kcharselect"; } diff --git a/pkgs/kde/gear/kcolorchooser/default.nix b/pkgs/kde/gear/kcolorchooser/default.nix index 5e82c5c2c36f..f4c5132800e3 100644 --- a/pkgs/kde/gear/kcolorchooser/default.nix +++ b/pkgs/kde/gear/kcolorchooser/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kcolorchooser"; + meta.mainProgram = "kcolorchooser"; } diff --git a/pkgs/kde/gear/kde-inotify-survey/default.nix b/pkgs/kde/gear/kde-inotify-survey/default.nix index 810fa3984093..6e319b60c81d 100644 --- a/pkgs/kde/gear/kde-inotify-survey/default.nix +++ b/pkgs/kde/gear/kde-inotify-survey/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kde-inotify-survey"; + meta.mainProgram = "kde-inotify-survey"; } diff --git a/pkgs/kde/gear/kdebugsettings/default.nix b/pkgs/kde/gear/kdebugsettings/default.nix index 47431c60aa2d..21477c665694 100644 --- a/pkgs/kde/gear/kdebugsettings/default.nix +++ b/pkgs/kde/gear/kdebugsettings/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kdebugsettings"; + meta.mainProgram = "kdebugsettings"; } diff --git a/pkgs/kde/gear/kdiamond/default.nix b/pkgs/kde/gear/kdiamond/default.nix index a45a3c6f1093..1636a80fd727 100644 --- a/pkgs/kde/gear/kdiamond/default.nix +++ b/pkgs/kde/gear/kdiamond/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kdiamond"; extraNativeBuildInputs = [_7zz]; + meta.mainProgram = "kdiamond"; } diff --git a/pkgs/kde/gear/keysmith/default.nix b/pkgs/kde/gear/keysmith/default.nix index a468409ff182..4d96f630a661 100644 --- a/pkgs/kde/gear/keysmith/default.nix +++ b/pkgs/kde/gear/keysmith/default.nix @@ -9,4 +9,5 @@ mkKdeDerivation { extraNativeBuildInputs = [pkg-config]; extraBuildInputs = [qtsvg libsodium]; + meta.mainProgram = "keysmith"; } diff --git a/pkgs/kde/gear/kfind/default.nix b/pkgs/kde/gear/kfind/default.nix index c0216e301575..b652b790eb7f 100644 --- a/pkgs/kde/gear/kfind/default.nix +++ b/pkgs/kde/gear/kfind/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kfind"; extraBuildInputs = [qt5compat]; + meta.mainProgram = "kfind"; } diff --git a/pkgs/kde/gear/kgeography/default.nix b/pkgs/kde/gear/kgeography/default.nix index aa9f878bbb9b..560faec8e010 100644 --- a/pkgs/kde/gear/kgeography/default.nix +++ b/pkgs/kde/gear/kgeography/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kgeography"; + meta.mainProgram = "kgeography"; } diff --git a/pkgs/kde/gear/kget/default.nix b/pkgs/kde/gear/kget/default.nix index d6a4fadfd5d6..e88cd601bb0e 100644 --- a/pkgs/kde/gear/kget/default.nix +++ b/pkgs/kde/gear/kget/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "kget"; extraBuildInputs = [qgpgme libmms]; + meta.mainProgram = "kget"; } diff --git a/pkgs/kde/gear/kgoldrunner/default.nix b/pkgs/kde/gear/kgoldrunner/default.nix index 8d303e07cac7..ba82b55cccad 100644 --- a/pkgs/kde/gear/kgoldrunner/default.nix +++ b/pkgs/kde/gear/kgoldrunner/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kgoldrunner"; extraNativeBuildInputs = [_7zz]; + meta.mainProgram = "kgoldrunner"; } diff --git a/pkgs/kde/gear/kgpg/default.nix b/pkgs/kde/gear/kgpg/default.nix index 65f9a55221b5..2b974de5123c 100644 --- a/pkgs/kde/gear/kgpg/default.nix +++ b/pkgs/kde/gear/kgpg/default.nix @@ -8,4 +8,5 @@ mkKdeDerivation { extraNativeBuildInputs = [pkg-config]; extraBuildInputs = [gpgme]; + meta.mainProgram = "kgpg"; } diff --git a/pkgs/kde/gear/khangman/default.nix b/pkgs/kde/gear/khangman/default.nix index 27da76e397e3..e3f95b7a6a5a 100644 --- a/pkgs/kde/gear/khangman/default.nix +++ b/pkgs/kde/gear/khangman/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "khangman"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "khangman"; } diff --git a/pkgs/kde/gear/khelpcenter/default.nix b/pkgs/kde/gear/khelpcenter/default.nix index d60e16e3c163..231d1036b0b1 100644 --- a/pkgs/kde/gear/khelpcenter/default.nix +++ b/pkgs/kde/gear/khelpcenter/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "khelpcenter"; extraBuildInputs = [qtwebengine xapian]; + meta.mainProgram = "khelpcenter"; } diff --git a/pkgs/kde/gear/kigo/default.nix b/pkgs/kde/gear/kigo/default.nix index 819fb69b0c0f..4fd00e721f81 100644 --- a/pkgs/kde/gear/kigo/default.nix +++ b/pkgs/kde/gear/kigo/default.nix @@ -8,4 +8,5 @@ mkKdeDerivation { extraNativeBuildInputs = [_7zz]; extraBuildInputs = [qtsvg]; + meta.mainProgram = "kigo"; } diff --git a/pkgs/kde/gear/killbots/default.nix b/pkgs/kde/gear/killbots/default.nix index 03dcdb0d31fe..592cb97ba681 100644 --- a/pkgs/kde/gear/killbots/default.nix +++ b/pkgs/kde/gear/killbots/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "killbots"; extraNativeBuildInputs = [_7zz]; + meta.mainProgram = "killbots"; } diff --git a/pkgs/kde/gear/kimagemapeditor/default.nix b/pkgs/kde/gear/kimagemapeditor/default.nix index fa19f24cd34b..71efc86fd2ae 100644 --- a/pkgs/kde/gear/kimagemapeditor/default.nix +++ b/pkgs/kde/gear/kimagemapeditor/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kimagemapeditor"; extraBuildInputs = [qtwebengine]; + meta.mainProgram = "kimagemapeditor"; } diff --git a/pkgs/kde/gear/kiriki/default.nix b/pkgs/kde/gear/kiriki/default.nix index a8344ef973cb..50d04e49e939 100644 --- a/pkgs/kde/gear/kiriki/default.nix +++ b/pkgs/kde/gear/kiriki/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kiriki"; + meta.mainProgram = "kiriki"; } diff --git a/pkgs/kde/gear/kjournald/default.nix b/pkgs/kde/gear/kjournald/default.nix index d03e8b815ae4..879e698db4d1 100644 --- a/pkgs/kde/gear/kjournald/default.nix +++ b/pkgs/kde/gear/kjournald/default.nix @@ -9,4 +9,5 @@ mkKdeDerivation { extraNativeBuildInputs = [pkg-config]; extraBuildInputs = [qtdeclarative systemd]; + meta.mainProgram = "kjournaldbrowser"; } diff --git a/pkgs/kde/gear/kjumpingcube/default.nix b/pkgs/kde/gear/kjumpingcube/default.nix index c13ece29da89..1f1daf12d234 100644 --- a/pkgs/kde/gear/kjumpingcube/default.nix +++ b/pkgs/kde/gear/kjumpingcube/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kjumpingcube"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "kjumpingcube"; } diff --git a/pkgs/kde/gear/klettres/default.nix b/pkgs/kde/gear/klettres/default.nix index ecf58d98fc37..ef6305d0f121 100644 --- a/pkgs/kde/gear/klettres/default.nix +++ b/pkgs/kde/gear/klettres/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "klettres"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "klettres"; } diff --git a/pkgs/kde/gear/klickety/default.nix b/pkgs/kde/gear/klickety/default.nix index 0df68937124b..574bddccf00b 100644 --- a/pkgs/kde/gear/klickety/default.nix +++ b/pkgs/kde/gear/klickety/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "klickety"; + meta.mainProgram = "klickety"; } diff --git a/pkgs/kde/gear/klines/default.nix b/pkgs/kde/gear/klines/default.nix index 5399962382b0..58a8f6f8c465 100644 --- a/pkgs/kde/gear/klines/default.nix +++ b/pkgs/kde/gear/klines/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "klines"; + meta.mainProgram = "klines"; } diff --git a/pkgs/kde/gear/kmag/default.nix b/pkgs/kde/gear/kmag/default.nix index 24e6643b3b59..3d8046715dca 100644 --- a/pkgs/kde/gear/kmag/default.nix +++ b/pkgs/kde/gear/kmag/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kmag"; + meta.mainProgram = "kmag"; } diff --git a/pkgs/kde/gear/kmahjongg/default.nix b/pkgs/kde/gear/kmahjongg/default.nix index 9ad776f3c6f4..9d01f435be00 100644 --- a/pkgs/kde/gear/kmahjongg/default.nix +++ b/pkgs/kde/gear/kmahjongg/default.nix @@ -10,4 +10,5 @@ mkKdeDerivation { extraBuildInputs = [qtdeclarative qtsvg]; qtWrapperArgs = ["--prefix XDG_DATA_DIRS : ${libkmahjongg}/share"]; + meta.mainProgram = "kmahjongg"; } diff --git a/pkgs/kde/gear/kmail-account-wizard/default.nix b/pkgs/kde/gear/kmail-account-wizard/default.nix index d030eabcce01..acd23f72d683 100644 --- a/pkgs/kde/gear/kmail-account-wizard/default.nix +++ b/pkgs/kde/gear/kmail-account-wizard/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kmail-account-wizard"; + meta.mainProgram = "accountwizard"; } diff --git a/pkgs/kde/gear/kmines/default.nix b/pkgs/kde/gear/kmines/default.nix index 32a8c179f0ec..5c333ae11da5 100644 --- a/pkgs/kde/gear/kmines/default.nix +++ b/pkgs/kde/gear/kmines/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kmines"; + meta.mainProgram = "kmines"; } diff --git a/pkgs/kde/gear/kmousetool/default.nix b/pkgs/kde/gear/kmousetool/default.nix index 8ba8615cbbe6..78a73e45768b 100644 --- a/pkgs/kde/gear/kmousetool/default.nix +++ b/pkgs/kde/gear/kmousetool/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "kmousetool"; extraBuildInputs = [qtmultimedia xorg.libXt]; + meta.mainProgram = "kmousetool"; } diff --git a/pkgs/kde/gear/kmouth/default.nix b/pkgs/kde/gear/kmouth/default.nix index 75d044b1c686..9abffa1d2da6 100644 --- a/pkgs/kde/gear/kmouth/default.nix +++ b/pkgs/kde/gear/kmouth/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kmouth"; extraBuildInputs = [qtspeech]; + meta.mainProgram = "kmouth"; } diff --git a/pkgs/kde/gear/kmplot/default.nix b/pkgs/kde/gear/kmplot/default.nix index 55f4a21d0e6a..b38941765747 100644 --- a/pkgs/kde/gear/kmplot/default.nix +++ b/pkgs/kde/gear/kmplot/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kmplot"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "kmplot"; } diff --git a/pkgs/kde/gear/knavalbattle/default.nix b/pkgs/kde/gear/knavalbattle/default.nix index 6a98a2826d1f..3168f2b5729c 100644 --- a/pkgs/kde/gear/knavalbattle/default.nix +++ b/pkgs/kde/gear/knavalbattle/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "knavalbattle"; + meta.mainProgram = "knavalbattle"; } diff --git a/pkgs/kde/gear/knetwalk/default.nix b/pkgs/kde/gear/knetwalk/default.nix index c77a714e5949..265e6d32f542 100644 --- a/pkgs/kde/gear/knetwalk/default.nix +++ b/pkgs/kde/gear/knetwalk/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "knetwalk"; extraNativeBuildInputs = [_7zz]; + meta.mainProgram = "knetwalk"; } diff --git a/pkgs/kde/gear/knights/default.nix b/pkgs/kde/gear/knights/default.nix index 1fa6519fe16e..4deca218d095 100644 --- a/pkgs/kde/gear/knights/default.nix +++ b/pkgs/kde/gear/knights/default.nix @@ -9,4 +9,5 @@ mkKdeDerivation { extraNativeBuildInputs = [_7zz]; extraBuildInputs = [qtsvg qtspeech]; + meta.mainProgram = "knights"; } diff --git a/pkgs/kde/gear/koko/default.nix b/pkgs/kde/gear/koko/default.nix index c2b42bc693e7..faec24560b6c 100644 --- a/pkgs/kde/gear/koko/default.nix +++ b/pkgs/kde/gear/koko/default.nix @@ -43,4 +43,5 @@ in kirigami-addons kquickimageeditor ]; + meta.mainProgram = "koko"; } diff --git a/pkgs/kde/gear/kolf/default.nix b/pkgs/kde/gear/kolf/default.nix index 94e170ae6d33..51a31e5e753a 100644 --- a/pkgs/kde/gear/kolf/default.nix +++ b/pkgs/kde/gear/kolf/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kolf"; + meta.mainProgram = "kolf"; } diff --git a/pkgs/kde/gear/kollision/default.nix b/pkgs/kde/gear/kollision/default.nix index 325510cdf2ee..f8e816437bb4 100644 --- a/pkgs/kde/gear/kollision/default.nix +++ b/pkgs/kde/gear/kollision/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kollision"; + meta.mainProgram = "kollision"; } diff --git a/pkgs/kde/gear/kolourpaint/default.nix b/pkgs/kde/gear/kolourpaint/default.nix index d5dbacca3843..7cf5583345d2 100644 --- a/pkgs/kde/gear/kolourpaint/default.nix +++ b/pkgs/kde/gear/kolourpaint/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kolourpaint"; + meta.mainProgram = "kolourpaint"; } diff --git a/pkgs/kde/gear/kompare/default.nix b/pkgs/kde/gear/kompare/default.nix index 93580fc90dbf..32bcaf2401d9 100644 --- a/pkgs/kde/gear/kompare/default.nix +++ b/pkgs/kde/gear/kompare/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kompare"; + meta.mainProgram = "kompare"; } diff --git a/pkgs/kde/gear/konquest/default.nix b/pkgs/kde/gear/konquest/default.nix index 54bd2f6048dd..538428d84c72 100644 --- a/pkgs/kde/gear/konquest/default.nix +++ b/pkgs/kde/gear/konquest/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "konquest"; extraBuildInputs = [qtscxml qtsvg]; + meta.mainProgram = "konquest"; } diff --git a/pkgs/kde/gear/kontact/default.nix b/pkgs/kde/gear/kontact/default.nix index fe258eea446b..7d6dc5cbb2ba 100644 --- a/pkgs/kde/gear/kontact/default.nix +++ b/pkgs/kde/gear/kontact/default.nix @@ -20,4 +20,5 @@ mkKdeDerivation { korganizer zanshin ]; + meta.mainProgram = "kontact"; } diff --git a/pkgs/kde/gear/kontrast/default.nix b/pkgs/kde/gear/kontrast/default.nix index 60bf03534ba1..1ad85ad64802 100644 --- a/pkgs/kde/gear/kontrast/default.nix +++ b/pkgs/kde/gear/kontrast/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "kontrast"; extraBuildInputs = [qtsvg qcoro]; + meta.mainProgram = "kontrast"; } diff --git a/pkgs/kde/gear/konversation/default.nix b/pkgs/kde/gear/konversation/default.nix index d7d5d3c2fb89..952b98fff649 100644 --- a/pkgs/kde/gear/konversation/default.nix +++ b/pkgs/kde/gear/konversation/default.nix @@ -8,4 +8,5 @@ mkKdeDerivation { pname = "konversation"; extraBuildInputs = [qtmultimedia qt5compat qttools]; + meta.mainProgram = "konversation"; } diff --git a/pkgs/kde/gear/korganizer/default.nix b/pkgs/kde/gear/korganizer/default.nix index dfea744563e3..c20e6625e1bd 100644 --- a/pkgs/kde/gear/korganizer/default.nix +++ b/pkgs/kde/gear/korganizer/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "korganizer"; extraBuildInputs = [qttools]; + meta.mainProgram = "korganizer"; } diff --git a/pkgs/kde/gear/kpat/default.nix b/pkgs/kde/gear/kpat/default.nix index 23b99dddb9f4..e770f5935705 100644 --- a/pkgs/kde/gear/kpat/default.nix +++ b/pkgs/kde/gear/kpat/default.nix @@ -18,4 +18,5 @@ mkKdeDerivation { ]; qtWrapperArgs = ["--prefix XDG_DATA_DIRS : ${libkdegames}/share"]; + meta.mainProgram = "kpat"; } diff --git a/pkgs/kde/gear/krdc/default.nix b/pkgs/kde/gear/krdc/default.nix index 75806e233b63..3707c0abc794 100644 --- a/pkgs/kde/gear/krdc/default.nix +++ b/pkgs/kde/gear/krdc/default.nix @@ -8,4 +8,5 @@ mkKdeDerivation { pname = "krdc"; extraBuildInputs = [libssh libvncserver freerdp]; + meta.mainProgram = "krdc"; } diff --git a/pkgs/kde/gear/krecorder/default.nix b/pkgs/kde/gear/krecorder/default.nix index d6553f4d1fcb..a975f1b95684 100644 --- a/pkgs/kde/gear/krecorder/default.nix +++ b/pkgs/kde/gear/krecorder/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "krecorder"; extraBuildInputs = [qtmultimedia]; + meta.mainProgram = "krecorder"; } diff --git a/pkgs/kde/gear/kreversi/default.nix b/pkgs/kde/gear/kreversi/default.nix index 8ad4233e1f1a..facc50b28b15 100644 --- a/pkgs/kde/gear/kreversi/default.nix +++ b/pkgs/kde/gear/kreversi/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kreversi"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "kreversi"; } diff --git a/pkgs/kde/gear/kruler/default.nix b/pkgs/kde/gear/kruler/default.nix index 311dcc3bd840..9eb9a917fc17 100644 --- a/pkgs/kde/gear/kruler/default.nix +++ b/pkgs/kde/gear/kruler/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kruler"; + meta.mainProgram = "kruler"; } diff --git a/pkgs/kde/gear/kshisen/default.nix b/pkgs/kde/gear/kshisen/default.nix index efa2b024d716..3859610e0f1d 100644 --- a/pkgs/kde/gear/kshisen/default.nix +++ b/pkgs/kde/gear/kshisen/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kshisen"; + meta.mainProgram = "kshisen"; } diff --git a/pkgs/kde/gear/ksnakeduel/default.nix b/pkgs/kde/gear/ksnakeduel/default.nix index b741df477f33..3f07eaa0e48f 100644 --- a/pkgs/kde/gear/ksnakeduel/default.nix +++ b/pkgs/kde/gear/ksnakeduel/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "ksnakeduel"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "ksnakeduel"; } diff --git a/pkgs/kde/gear/kspaceduel/default.nix b/pkgs/kde/gear/kspaceduel/default.nix index 1f4272b5cac9..34194d2322cf 100644 --- a/pkgs/kde/gear/kspaceduel/default.nix +++ b/pkgs/kde/gear/kspaceduel/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kspaceduel"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "kspaceduel"; } diff --git a/pkgs/kde/gear/ksquares/default.nix b/pkgs/kde/gear/ksquares/default.nix index 683a64a5bf59..8dfbcf00244d 100644 --- a/pkgs/kde/gear/ksquares/default.nix +++ b/pkgs/kde/gear/ksquares/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "ksquares"; + meta.mainProgram = "ksquares"; } diff --git a/pkgs/kde/gear/ksudoku/default.nix b/pkgs/kde/gear/ksudoku/default.nix index 6f293bd26e1e..b11d44f488f9 100644 --- a/pkgs/kde/gear/ksudoku/default.nix +++ b/pkgs/kde/gear/ksudoku/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "ksudoku"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "ksudoku"; } diff --git a/pkgs/kde/gear/ksystemlog/default.nix b/pkgs/kde/gear/ksystemlog/default.nix index 604a52cc560b..772a4f54b077 100644 --- a/pkgs/kde/gear/ksystemlog/default.nix +++ b/pkgs/kde/gear/ksystemlog/default.nix @@ -9,4 +9,5 @@ mkKdeDerivation { extraNativeBuildInputs = [pkg-config]; extraBuildInputs = [qt5compat audit]; + meta.mainProgram = "ksystemlog"; } diff --git a/pkgs/kde/gear/kteatime/default.nix b/pkgs/kde/gear/kteatime/default.nix index 81d20ec270be..408bc14883cf 100644 --- a/pkgs/kde/gear/kteatime/default.nix +++ b/pkgs/kde/gear/kteatime/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kteatime"; + meta.mainProgram = "kteatime"; } diff --git a/pkgs/kde/gear/ktimer/default.nix b/pkgs/kde/gear/ktimer/default.nix index 898b4a802e13..1b46f8b72c72 100644 --- a/pkgs/kde/gear/ktimer/default.nix +++ b/pkgs/kde/gear/ktimer/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "ktimer"; extraBuildInputs = [qt5compat]; + meta.mainProgram = "ktimer"; } diff --git a/pkgs/kde/gear/ktrip/default.nix b/pkgs/kde/gear/ktrip/default.nix index 87351e5e5490..0f8b001c7d6b 100644 --- a/pkgs/kde/gear/ktrip/default.nix +++ b/pkgs/kde/gear/ktrip/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "ktrip"; + meta.mainProgram = "ktrip"; } diff --git a/pkgs/kde/gear/ktuberling/default.nix b/pkgs/kde/gear/ktuberling/default.nix index 5602ac870479..100301670bf3 100644 --- a/pkgs/kde/gear/ktuberling/default.nix +++ b/pkgs/kde/gear/ktuberling/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "ktuberling"; extraBuildInputs = [qtmultimedia]; + meta.mainProgram = "ktuberling"; } diff --git a/pkgs/kde/gear/kturtle/default.nix b/pkgs/kde/gear/kturtle/default.nix index f55f7e92a03a..8997c051b189 100644 --- a/pkgs/kde/gear/kturtle/default.nix +++ b/pkgs/kde/gear/kturtle/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "kturtle"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "kturtle"; } diff --git a/pkgs/kde/gear/kubrick/default.nix b/pkgs/kde/gear/kubrick/default.nix index c8bedf44c2de..d5ca09e42887 100644 --- a/pkgs/kde/gear/kubrick/default.nix +++ b/pkgs/kde/gear/kubrick/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "kubrick"; extraBuildInputs = [qtsvg libGLU]; + meta.mainProgram = "kubrick"; } diff --git a/pkgs/kde/gear/kwalletmanager/default.nix b/pkgs/kde/gear/kwalletmanager/default.nix index 72ebd76ffa3a..4ce00339a259 100644 --- a/pkgs/kde/gear/kwalletmanager/default.nix +++ b/pkgs/kde/gear/kwalletmanager/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kwalletmanager"; + meta.mainProgram = "kwalletmanager5"; } diff --git a/pkgs/kde/gear/kweather/default.nix b/pkgs/kde/gear/kweather/default.nix index 51d17a0a1e59..561a646f0261 100644 --- a/pkgs/kde/gear/kweather/default.nix +++ b/pkgs/kde/gear/kweather/default.nix @@ -9,4 +9,5 @@ mkKdeDerivation { pname = "kweather"; extraBuildInputs = [qtsvg qtcharts qqc2-desktop-style kholidays]; + meta.mainProgram = "kweather"; } diff --git a/pkgs/kde/gear/kwordquiz/default.nix b/pkgs/kde/gear/kwordquiz/default.nix index 82989919f6e0..010fd80cacca 100644 --- a/pkgs/kde/gear/kwordquiz/default.nix +++ b/pkgs/kde/gear/kwordquiz/default.nix @@ -12,4 +12,5 @@ mkKdeDerivation { qtmultimedia qqc2-desktop-style ]; + meta.mainProgram = "kwordquiz"; } diff --git a/pkgs/kde/gear/lskat/default.nix b/pkgs/kde/gear/lskat/default.nix index e1b83925feb8..131cb34c0365 100644 --- a/pkgs/kde/gear/lskat/default.nix +++ b/pkgs/kde/gear/lskat/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "lskat"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "lskat"; } diff --git a/pkgs/kde/gear/mbox-importer/default.nix b/pkgs/kde/gear/mbox-importer/default.nix index 7d1a6730e84d..44092f401a43 100644 --- a/pkgs/kde/gear/mbox-importer/default.nix +++ b/pkgs/kde/gear/mbox-importer/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "mbox-importer"; + meta.mainProgram = "mboximporter"; } diff --git a/pkgs/kde/gear/minuet/default.nix b/pkgs/kde/gear/minuet/default.nix index bbfe47b2796f..05e80a590128 100644 --- a/pkgs/kde/gear/minuet/default.nix +++ b/pkgs/kde/gear/minuet/default.nix @@ -8,4 +8,5 @@ mkKdeDerivation { pname = "minuet"; extraBuildInputs = [qtdeclarative qtsvg fluidsynth]; + meta.mainProgram = "minuet"; } diff --git a/pkgs/kde/gear/neochat/default.nix b/pkgs/kde/gear/neochat/default.nix index ac50d06db8c9..a45aa2c328fc 100644 --- a/pkgs/kde/gear/neochat/default.nix +++ b/pkgs/kde/gear/neochat/default.nix @@ -8,4 +8,5 @@ mkKdeDerivation { pname = "neochat"; extraBuildInputs = [qtlocation qtwebview kunifiedpush]; + meta.mainProgram = "neochat"; } diff --git a/pkgs/kde/gear/okular/default.nix b/pkgs/kde/gear/okular/default.nix index 4f2ad1f8e3b0..e500709a28b8 100644 --- a/pkgs/kde/gear/okular/default.nix +++ b/pkgs/kde/gear/okular/default.nix @@ -27,4 +27,5 @@ mkKdeDerivation { ebook_tools discount ]; + meta.mainProgram = "okular"; } diff --git a/pkgs/kde/gear/palapeli/default.nix b/pkgs/kde/gear/palapeli/default.nix index 01cc8774d06d..144ef589e51c 100644 --- a/pkgs/kde/gear/palapeli/default.nix +++ b/pkgs/kde/gear/palapeli/default.nix @@ -8,4 +8,5 @@ mkKdeDerivation { extraNativeBuildInputs = [shared-mime-info]; extraBuildInputs = [qtsvg]; + meta.mainProgram = "palapeli"; } diff --git a/pkgs/kde/gear/parley/default.nix b/pkgs/kde/gear/parley/default.nix index 75f01c94e9d5..35342dd958cb 100644 --- a/pkgs/kde/gear/parley/default.nix +++ b/pkgs/kde/gear/parley/default.nix @@ -8,4 +8,5 @@ mkKdeDerivation { pname = "parley"; extraBuildInputs = [qtsvg qtmultimedia qtwebengine]; + meta.mainProgram = "parley"; } diff --git a/pkgs/kde/gear/partitionmanager/default.nix b/pkgs/kde/gear/partitionmanager/default.nix index 1b3b06f8d68b..3d0215cb5e64 100644 --- a/pkgs/kde/gear/partitionmanager/default.nix +++ b/pkgs/kde/gear/partitionmanager/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "partitionmanager"; propagatedUserEnvPkgs = [kpmcore]; + meta.mainProgram = "partitionmanager"; } diff --git a/pkgs/kde/gear/picmi/default.nix b/pkgs/kde/gear/picmi/default.nix index a5dd853fba52..8838b657bc47 100644 --- a/pkgs/kde/gear/picmi/default.nix +++ b/pkgs/kde/gear/picmi/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "picmi"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "picmi"; } diff --git a/pkgs/kde/gear/pim-sieve-editor/default.nix b/pkgs/kde/gear/pim-sieve-editor/default.nix index 66df72016321..5cc193d0d7ee 100644 --- a/pkgs/kde/gear/pim-sieve-editor/default.nix +++ b/pkgs/kde/gear/pim-sieve-editor/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "pim-sieve-editor"; + meta.mainProgram = "sieveeditor"; } diff --git a/pkgs/kde/gear/plasmatube/default.nix b/pkgs/kde/gear/plasmatube/default.nix index 8d4f950842e3..05285f6b6c1d 100644 --- a/pkgs/kde/gear/plasmatube/default.nix +++ b/pkgs/kde/gear/plasmatube/default.nix @@ -17,4 +17,5 @@ mkKdeDerivation { extraPropagatedBuildInputs = [purpose]; qtWrapperArgs = ["--prefix" "PATH" ":" (lib.makeBinPath [ yt-dlp ])]; + meta.mainProgram = "plasmatube"; } diff --git a/pkgs/kde/gear/qmlkonsole/default.nix b/pkgs/kde/gear/qmlkonsole/default.nix index c48dbad18204..9be6552020f6 100644 --- a/pkgs/kde/gear/qmlkonsole/default.nix +++ b/pkgs/kde/gear/qmlkonsole/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "qmlkonsole"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "qmlkonsole"; } diff --git a/pkgs/kde/gear/skanlite/default.nix b/pkgs/kde/gear/skanlite/default.nix index c64594d3fd09..4a9c26e41588 100644 --- a/pkgs/kde/gear/skanlite/default.nix +++ b/pkgs/kde/gear/skanlite/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "skanlite"; extraBuildInputs = [qt5compat]; + meta.mainProgram = "skanlite"; } diff --git a/pkgs/kde/gear/skanpage/default.nix b/pkgs/kde/gear/skanpage/default.nix index a7352da8466c..b6db869472cf 100644 --- a/pkgs/kde/gear/skanpage/default.nix +++ b/pkgs/kde/gear/skanpage/default.nix @@ -11,4 +11,5 @@ mkKdeDerivation { (tesseract5.override {enableLanguages = tesseractLanguages;}) leptonica ]; + meta.mainProgram = "skanpage"; } diff --git a/pkgs/kde/gear/spectacle/default.nix b/pkgs/kde/gear/spectacle/default.nix index 1b5539230cbd..3232b6402bd0 100644 --- a/pkgs/kde/gear/spectacle/default.nix +++ b/pkgs/kde/gear/spectacle/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "spectacle"; extraBuildInputs = [qtwayland qtmultimedia]; + meta.mainProgram = "spectacle"; } diff --git a/pkgs/kde/gear/step/default.nix b/pkgs/kde/gear/step/default.nix index 7e403a24d902..f921df199128 100644 --- a/pkgs/kde/gear/step/default.nix +++ b/pkgs/kde/gear/step/default.nix @@ -13,4 +13,5 @@ mkKdeDerivation { extraNativeBuildInputs = [qttools qtsvg pkg-config shared-mime-info]; extraBuildInputs = [eigen gsl libqalculate]; + meta.mainProgram = "step"; } diff --git a/pkgs/kde/gear/sweeper/default.nix b/pkgs/kde/gear/sweeper/default.nix index f914ce9574be..e2b7fd934436 100644 --- a/pkgs/kde/gear/sweeper/default.nix +++ b/pkgs/kde/gear/sweeper/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "sweeper"; extraBuildInputs = [plasma-activities-stats]; + meta.mainProgram = "sweeper"; } diff --git a/pkgs/kde/gear/telly-skout/default.nix b/pkgs/kde/gear/telly-skout/default.nix index c19ecf6b42d7..9bcae06c9049 100644 --- a/pkgs/kde/gear/telly-skout/default.nix +++ b/pkgs/kde/gear/telly-skout/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "telly-skout"; + meta.mainProgram = "telly-skout"; } diff --git a/pkgs/kde/gear/tokodon/default.nix b/pkgs/kde/gear/tokodon/default.nix index 464f354f41ed..1e12163eb98b 100644 --- a/pkgs/kde/gear/tokodon/default.nix +++ b/pkgs/kde/gear/tokodon/default.nix @@ -14,4 +14,5 @@ mkKdeDerivation { extraNativeBuildInputs = [pkg-config]; extraBuildInputs = [qtmultimedia qtsvg qtwebsockets qtwebview mpv kitemmodels sonnet]; + meta.mainProgram = "tokodon"; } diff --git a/pkgs/kde/gear/yakuake/default.nix b/pkgs/kde/gear/yakuake/default.nix index 420ec08f670b..a5955e5c2e18 100644 --- a/pkgs/kde/gear/yakuake/default.nix +++ b/pkgs/kde/gear/yakuake/default.nix @@ -6,4 +6,5 @@ mkKdeDerivation { pname = "yakuake"; extraBuildInputs = [qtsvg]; + meta.mainProgram = "yakuake"; } diff --git a/pkgs/kde/misc/alpaka/default.nix b/pkgs/kde/misc/alpaka/default.nix index 6e4154c495d8..3b3c1828a8e1 100644 --- a/pkgs/kde/misc/alpaka/default.nix +++ b/pkgs/kde/misc/alpaka/default.nix @@ -22,4 +22,5 @@ mkKdeDerivation { gpl2Plus gpl3Only ]; + meta.mainProgram = "alpaka"; } diff --git a/pkgs/kde/misc/kunifiedpush/default.nix b/pkgs/kde/misc/kunifiedpush/default.nix index 54f902913901..9e7cb57ba3ad 100644 --- a/pkgs/kde/misc/kunifiedpush/default.nix +++ b/pkgs/kde/misc/kunifiedpush/default.nix @@ -21,4 +21,5 @@ mkKdeDerivation { extraBuildInputs = [qtwebsockets kdeclarative kpackage]; meta.license = with lib.licenses; [bsd2 bsd3 cc0 lgpl2Plus]; + meta.mainProgram = "kunifiedpush-distributor"; } diff --git a/pkgs/kde/misc/phonon/default.nix b/pkgs/kde/misc/phonon/default.nix index 4706dd159ea5..ed0aad052746 100644 --- a/pkgs/kde/misc/phonon/default.nix +++ b/pkgs/kde/misc/phonon/default.nix @@ -33,4 +33,5 @@ mkKdeDerivation rec { cmakeFlags = ["-DPHONON_BUILD_QT5=0" "-DPHONON_BUILD_QT6=1"]; meta.license = with lib.licenses; [lgpl21Plus gpl2Plus]; + meta.mainProgram = "phononsettings"; } diff --git a/pkgs/kde/plasma/breeze/default.nix b/pkgs/kde/plasma/breeze/default.nix index 72dcbcae91f4..3b6fed6221fd 100644 --- a/pkgs/kde/plasma/breeze/default.nix +++ b/pkgs/kde/plasma/breeze/default.nix @@ -41,4 +41,5 @@ mkKdeDerivation { mkdir -p $qt5/${libsForQt5.qtbase.qtPluginPrefix}/styles mv $out/${qtbase.qtPluginPrefix}/styles/breeze5.so $qt5/${libsForQt5.qtbase.qtPluginPrefix}/styles ''; + meta.mainProgram = "breeze-settings6"; } diff --git a/pkgs/kde/plasma/kinfocenter/default.nix b/pkgs/kde/plasma/kinfocenter/default.nix index cc216dd22a7b..e48424305c1c 100644 --- a/pkgs/kde/plasma/kinfocenter/default.nix +++ b/pkgs/kde/plasma/kinfocenter/default.nix @@ -26,4 +26,5 @@ mkKdeDerivation { ''; extraBuildInputs = [libusb1]; + meta.mainProgram = "kinfocenter"; } diff --git a/pkgs/kde/plasma/kmenuedit/default.nix b/pkgs/kde/plasma/kmenuedit/default.nix index 2cfd932af1bf..4f88e8013173 100644 --- a/pkgs/kde/plasma/kmenuedit/default.nix +++ b/pkgs/kde/plasma/kmenuedit/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kmenuedit"; + meta.mainProgram = "kmenuedit"; } diff --git a/pkgs/kde/plasma/kscreen/default.nix b/pkgs/kde/plasma/kscreen/default.nix index 480912fe7fcb..3ceedb860de0 100644 --- a/pkgs/kde/plasma/kscreen/default.nix +++ b/pkgs/kde/plasma/kscreen/default.nix @@ -12,4 +12,5 @@ mkKdeDerivation { substituteInPlace $out/share/kglobalaccel/org.kde.kscreen.desktop \ --replace-fail dbus-send ${dbus}/bin/dbus-send ''; + meta.mainProgram = "kscreen-console"; } diff --git a/pkgs/kde/plasma/ksshaskpass/default.nix b/pkgs/kde/plasma/ksshaskpass/default.nix index 86834f8fa7c2..dee8ae1e2ce8 100644 --- a/pkgs/kde/plasma/ksshaskpass/default.nix +++ b/pkgs/kde/plasma/ksshaskpass/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "ksshaskpass"; + meta.mainProgram = "ksshaskpass"; } diff --git a/pkgs/kde/plasma/kwrited/default.nix b/pkgs/kde/plasma/kwrited/default.nix index 262f3b7c6493..c9bb0ff6e6ca 100644 --- a/pkgs/kde/plasma/kwrited/default.nix +++ b/pkgs/kde/plasma/kwrited/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "kwrited"; + meta.mainProgram = "kwrited"; } diff --git a/pkgs/kde/plasma/libkscreen/default.nix b/pkgs/kde/plasma/libkscreen/default.nix index d6fdd87c7e9b..7f7e5d488d9f 100644 --- a/pkgs/kde/plasma/libkscreen/default.nix +++ b/pkgs/kde/plasma/libkscreen/default.nix @@ -9,4 +9,5 @@ mkKdeDerivation { extraNativeBuildInputs = [qttools qtwayland jq]; extraBuildInputs = [qtwayland]; + meta.mainProgram = "kscreen-doctor"; } diff --git a/pkgs/kde/plasma/plasma-activities/default.nix b/pkgs/kde/plasma/plasma-activities/default.nix index 9ddd163e9fbb..c9fdd0821181 100644 --- a/pkgs/kde/plasma/plasma-activities/default.nix +++ b/pkgs/kde/plasma/plasma-activities/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "plasma-activities"; extraBuildInputs = [qtdeclarative boost]; + meta.mainProgram = "plasma-activities-cli6"; } diff --git a/pkgs/kde/plasma/plasma-browser-integration/default.nix b/pkgs/kde/plasma/plasma-browser-integration/default.nix index 6277071f9a76..e069d067f294 100644 --- a/pkgs/kde/plasma/plasma-browser-integration/default.nix +++ b/pkgs/kde/plasma/plasma-browser-integration/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "plasma-browser-integration"; + meta.mainProgram = "plasma-browser-integration-host"; } diff --git a/pkgs/kde/plasma/plasma-systemmonitor/default.nix b/pkgs/kde/plasma/plasma-systemmonitor/default.nix index 8a8bff96ecff..a8e20716ed56 100644 --- a/pkgs/kde/plasma/plasma-systemmonitor/default.nix +++ b/pkgs/kde/plasma/plasma-systemmonitor/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "plasma-systemmonitor"; + meta.mainProgram = "plasma-systemmonitor"; } diff --git a/pkgs/kde/plasma/plasma-welcome/default.nix b/pkgs/kde/plasma/plasma-welcome/default.nix index 976a788a16e9..89f06a817b34 100644 --- a/pkgs/kde/plasma/plasma-welcome/default.nix +++ b/pkgs/kde/plasma/plasma-welcome/default.nix @@ -7,4 +7,5 @@ mkKdeDerivation { pname = "plasma-welcome"; extraBuildInputs = [qtsvg kuserfeedback]; + meta.mainProgram = "plasma-welcome"; } diff --git a/pkgs/kde/plasma/plymouth-kcm/default.nix b/pkgs/kde/plasma/plymouth-kcm/default.nix index dcf339dd9b2e..ccb117f11a53 100644 --- a/pkgs/kde/plasma/plymouth-kcm/default.nix +++ b/pkgs/kde/plasma/plymouth-kcm/default.nix @@ -8,4 +8,5 @@ mkKdeDerivation { extraNativeBuildInputs = [pkg-config]; extraBuildInputs = [plymouth]; + meta.mainProgram = "kplymouththemeinstaller"; } diff --git a/pkgs/kde/plasma/sddm-kcm/default.nix b/pkgs/kde/plasma/sddm-kcm/default.nix index d60c5e4e6ff7..d21ea6ac58f2 100644 --- a/pkgs/kde/plasma/sddm-kcm/default.nix +++ b/pkgs/kde/plasma/sddm-kcm/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "sddm-kcm"; + meta.mainProgram = "sddmthemeinstaller"; } diff --git a/pkgs/kde/plasma/systemsettings/default.nix b/pkgs/kde/plasma/systemsettings/default.nix index 2dd529b9380e..10feafc859c3 100644 --- a/pkgs/kde/plasma/systemsettings/default.nix +++ b/pkgs/kde/plasma/systemsettings/default.nix @@ -1,4 +1,5 @@ {mkKdeDerivation}: mkKdeDerivation { pname = "systemsettings"; + meta.mainProgram = "systemsettings"; } diff --git a/pkgs/kde/plasma/wacomtablet/default.nix b/pkgs/kde/plasma/wacomtablet/default.nix index c24e8739f746..58b80fa9575f 100644 --- a/pkgs/kde/plasma/wacomtablet/default.nix +++ b/pkgs/kde/plasma/wacomtablet/default.nix @@ -9,4 +9,5 @@ mkKdeDerivation { extraNativeBuildInputs = [pkg-config]; extraBuildInputs = [libwacom xf86_input_wacom]; + meta.mainProgram = "kde_wacom_tabletfinder"; } diff --git a/pkgs/misc/calaos/installer/default.nix b/pkgs/misc/calaos/installer/default.nix index 7b24ddb94d9d..fc312b1d519c 100644 --- a/pkgs/misc/calaos/installer/default.nix +++ b/pkgs/misc/calaos/installer/default.nix @@ -26,6 +26,7 @@ mkDerivation rec { meta = with lib; { description = "Calaos Installer, a tool to create calaos configuration"; + mainProgram = "calaos_installer"; homepage = "https://www.calaos.fr/"; license = licenses.gpl3Plus; platforms = platforms.all; diff --git a/pkgs/misc/cups/drivers/cups-drv-rastertosag-gdi/default.nix b/pkgs/misc/cups/drivers/cups-drv-rastertosag-gdi/default.nix index 4f1ad6c9911e..162910827f89 100644 --- a/pkgs/misc/cups/drivers/cups-drv-rastertosag-gdi/default.nix +++ b/pkgs/misc/cups/drivers/cups-drv-rastertosag-gdi/default.nix @@ -42,6 +42,7 @@ python3Packages.buildPythonApplication rec { ''; meta = { description = "CUPS driver for Ricoh Aficio SP 1000S and SP 1100S printers"; + mainProgram = "rastertosag-gdi"; downloadPage = "https://www.openprinting.org/download/printing/rastertosag-gdi/"; homepage = "https://www.openprinting.org/driver/rastertosag-gdi/"; license = lib.licenses.free; # just "GPL", according to README diff --git a/pkgs/misc/drivers/epsonscan2/default.nix b/pkgs/misc/drivers/epsonscan2/default.nix index 69c4c03b95e6..01d8e5c8f83b 100644 --- a/pkgs/misc/drivers/epsonscan2/default.nix +++ b/pkgs/misc/drivers/epsonscan2/default.nix @@ -136,6 +136,7 @@ stdenv.mkDerivation { meta = { inherit description; + mainProgram = "epsonscan2"; longDescription = '' Epson Scan 2 scanner driver including optional non-free plugins such as OCR and network scanning. diff --git a/pkgs/misc/drivers/foomatic-filters/default.nix b/pkgs/misc/drivers/foomatic-filters/default.nix index c9a7d10bd8b0..600ab615d89c 100644 --- a/pkgs/misc/drivers/foomatic-filters/default.nix +++ b/pkgs/misc/drivers/foomatic-filters/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = { description = "Foomatic printing filters"; + mainProgram = "foomatic-rip"; maintainers = [ lib.maintainers.raskin ]; platforms = lib.platforms.linux; license = lib.licenses.gpl2Plus; diff --git a/pkgs/misc/drivers/m33-linux/default.nix b/pkgs/misc/drivers/m33-linux/default.nix index 188013d0c644..7d9f8a406290 100644 --- a/pkgs/misc/drivers/m33-linux/default.nix +++ b/pkgs/misc/drivers/m33-linux/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/donovan6000/M3D-Linux"; description = "A Linux program that can communicate with the Micro 3D printer"; + mainProgram = "m33-linux"; license = licenses.gpl2; platforms = platforms.linux; maintainers = with maintainers; [ abbradar ]; diff --git a/pkgs/misc/drivers/moltengamepad/default.nix b/pkgs/misc/drivers/moltengamepad/default.nix index 747866b9cfc9..65259d73f2c7 100644 --- a/pkgs/misc/drivers/moltengamepad/default.nix +++ b/pkgs/misc/drivers/moltengamepad/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/jgeumlek/MoltenGamepad"; description = "Flexible Linux input device translator, geared for gamepads"; + mainProgram = "moltengamepad"; license = licenses.mit; maintainers = [ maintainers.ebzzry ]; platforms = platforms.linux; diff --git a/pkgs/misc/drivers/utsushi/default.nix b/pkgs/misc/drivers/utsushi/default.nix index e270a21f5d5f..d4e6c6ed4a96 100644 --- a/pkgs/misc/drivers/utsushi/default.nix +++ b/pkgs/misc/drivers/utsushi/default.nix @@ -106,6 +106,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "SANE utsushi backend for some Epson scanners"; + mainProgram = "utsushi"; longDescription = '' ImageScanV3 (aka utsushi) scanner driver. Non-free plugins are not included, so no network support. To use the SANE backend, in diff --git a/pkgs/misc/drivers/xwiimote/default.nix b/pkgs/misc/drivers/xwiimote/default.nix index 69ffcdd78865..14f22c9463ed 100644 --- a/pkgs/misc/drivers/xwiimote/default.nix +++ b/pkgs/misc/drivers/xwiimote/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://dvdhrm.github.io/xwiimote"; description = "Userspace utilities to control connected Nintendo Wii Remotes"; + mainProgram = "xwiishow"; platforms = lib.platforms.linux; license = lib.licenses.mit; }; diff --git a/pkgs/misc/screensavers/alock/default.nix b/pkgs/misc/screensavers/alock/default.nix index 46af4b303dd6..65a04839096f 100644 --- a/pkgs/misc/screensavers/alock/default.nix +++ b/pkgs/misc/screensavers/alock/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/Arkq/alock"; description = "Simple screen lock application for X server"; + mainProgram = "alock"; longDescription = '' alock locks the X server until the user enters a password via the keyboard. If the authentication was successful diff --git a/pkgs/misc/screensavers/i3lock-pixeled/default.nix b/pkgs/misc/screensavers/i3lock-pixeled/default.nix index cb7a2fd1e184..ce7eab2b1dae 100644 --- a/pkgs/misc/screensavers/i3lock-pixeled/default.nix +++ b/pkgs/misc/screensavers/i3lock-pixeled/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple i3lock helper which pixels a screenshot by scaling it down and up to get a pixeled version of the screen when the lock is active"; + mainProgram = "i3lock-pixeled"; homepage = "https://gitlab.com/Ma27/i3lock-pixeled"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/misc/screensavers/multilockscreen/default.nix b/pkgs/misc/screensavers/multilockscreen/default.nix index b0c157c778ad..ad8045e70528 100644 --- a/pkgs/misc/screensavers/multilockscreen/default.nix +++ b/pkgs/misc/screensavers/multilockscreen/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Wrapper script for i3lock-color"; + mainProgram = "multilockscreen"; longDescription = '' multilockscreen is a wrapper script for i3lock-color. It allows you to cache background images for i3lock-color with a variety of different effects and adds a stylish indicator. diff --git a/pkgs/misc/screensavers/physlock/default.nix b/pkgs/misc/screensavers/physlock/default.nix index b5e9ba8d2b6a..dbe5e724835c 100644 --- a/pkgs/misc/screensavers/physlock/default.nix +++ b/pkgs/misc/screensavers/physlock/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A secure suspend/hibernate-friendly alternative to `vlock -an`"; + mainProgram = "physlock"; license = licenses.gpl2; platforms = platforms.linux; }; diff --git a/pkgs/misc/screensavers/pipes-rs/default.nix b/pkgs/misc/screensavers/pipes-rs/default.nix index f0e4eca9fa54..858b63473945 100644 --- a/pkgs/misc/screensavers/pipes-rs/default.nix +++ b/pkgs/misc/screensavers/pipes-rs/default.nix @@ -26,6 +26,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An over-engineered rewrite of pipes.sh in Rust"; + mainProgram = "pipes-rs"; homepage = "https://github.com/lhvy/pipes-rs"; license = licenses.blueOak100; maintainers = [ maintainers.vanilla ]; diff --git a/pkgs/misc/screensavers/slock/default.nix b/pkgs/misc/screensavers/slock/default.nix index 09fccd11d9e9..782557625338 100644 --- a/pkgs/misc/screensavers/slock/default.nix +++ b/pkgs/misc/screensavers/slock/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://tools.suckless.org/slock"; description = "Simple X display locker"; + mainProgram = "slock"; longDescription = '' Simple X display locker. This is the simplest X screen locker. ''; diff --git a/pkgs/misc/screensavers/xssproxy/default.nix b/pkgs/misc/screensavers/xssproxy/default.nix index 6f28a9ce132e..2ec28be87649 100644 --- a/pkgs/misc/screensavers/xssproxy/default.nix +++ b/pkgs/misc/screensavers/xssproxy/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = { description = "Forward freedesktop.org Idle Inhibition Service calls to Xss"; + mainProgram = "xssproxy"; homepage = "https://github.com/vincentbernat/xssproxy"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ benley ]; diff --git a/pkgs/misc/stabber/default.nix b/pkgs/misc/stabber/default.nix index 7ec9a8985e1d..c0b34982303d 100644 --- a/pkgs/misc/stabber/default.nix +++ b/pkgs/misc/stabber/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation { meta = { description = "Stubbed XMPP Server"; + mainProgram = "stabber"; homepage = "https://github.com/profanity-im/stabber"; license = licenses.gpl3; platforms = platforms.unix; diff --git a/pkgs/os-specific/darwin/libtapi/default.nix b/pkgs/os-specific/darwin/libtapi/default.nix index 7a710f32644d..cb6b3cf4b739 100644 --- a/pkgs/os-specific/darwin/libtapi/default.nix +++ b/pkgs/os-specific/darwin/libtapi/default.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Replaces the Mach-O Dynamic Library Stub files in Apple's SDKs to reduce the size"; + mainProgram = "tapi"; homepage = "https://github.com/tpoechtrager/apple-libtapi"; license = licenses.ncsa; maintainers = with maintainers; [ matthewbauer ]; diff --git a/pkgs/os-specific/darwin/print-reexports/default.nix b/pkgs/os-specific/darwin/print-reexports/default.nix index 740bcb48ef59..992cf1bff8ea 100644 --- a/pkgs/os-specific/darwin/print-reexports/default.nix +++ b/pkgs/os-specific/darwin/print-reexports/default.nix @@ -14,4 +14,5 @@ stdenv.mkDerivation { mkdir -p $out/bin mv print-reexports $out/bin ''; + meta.mainProgram = "print-reexports"; } diff --git a/pkgs/os-specific/darwin/rewrite-tbd/default.nix b/pkgs/os-specific/darwin/rewrite-tbd/default.nix index 7a5467dc92a4..527cca8e87c1 100644 --- a/pkgs/os-specific/darwin/rewrite-tbd/default.nix +++ b/pkgs/os-specific/darwin/rewrite-tbd/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/thefloweringash/rewrite-tbd/"; description = "Rewrite filepath in .tbd to Nix applicable format"; + mainProgram = "rewrite-tbd"; platforms = platforms.unix; license = licenses.mit; }; diff --git a/pkgs/os-specific/linux/915resolution/default.nix b/pkgs/os-specific/linux/915resolution/default.nix index b67d737034e4..6966a76cfa97 100644 --- a/pkgs/os-specific/linux/915resolution/default.nix +++ b/pkgs/os-specific/linux/915resolution/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://915resolution.mango-lang.org/"; description = "A tool to modify Intel 800/900 video BIOS"; + mainProgram = "915resolution"; platforms = [ "i686-linux" "x86_64-linux" ]; license = licenses.publicDomain; }; diff --git a/pkgs/os-specific/linux/acpi-call/default.nix b/pkgs/os-specific/linux/acpi-call/default.nix index b84ecd21293a..0da824b169e6 100644 --- a/pkgs/os-specific/linux/acpi-call/default.nix +++ b/pkgs/os-specific/linux/acpi-call/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/nix-community/acpi_call"; platforms = platforms.linux; description = "A module allowing arbitrary ACPI calls; use case: hybrid video"; + mainProgram = "test_discrete_video_off.sh"; license = licenses.gpl3Plus; }; } diff --git a/pkgs/os-specific/linux/acpi/default.nix b/pkgs/os-specific/linux/acpi/default.nix index d257553299cf..2b661e57c4cd 100644 --- a/pkgs/os-specific/linux/acpi/default.nix +++ b/pkgs/os-specific/linux/acpi/default.nix @@ -11,6 +11,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Show battery status and other ACPI information"; + mainProgram = "acpi"; longDescription = '' Linux ACPI client is a small command-line program that attempts to replicate the functionality of diff --git a/pkgs/os-specific/linux/acpitool/default.nix b/pkgs/os-specific/linux/acpitool/default.nix index d494e95e3db6..317ca54b7cde 100644 --- a/pkgs/os-specific/linux/acpitool/default.nix +++ b/pkgs/os-specific/linux/acpitool/default.nix @@ -44,6 +44,7 @@ in stdenv.mkDerivation rec { meta = { description = "A small, convenient command-line ACPI client with a lot of features"; + mainProgram = "acpitool"; homepage = "https://sourceforge.net/projects/acpitool/"; license = lib.licenses.gpl2Plus; maintainers = [ lib.maintainers.guibert ]; diff --git a/pkgs/os-specific/linux/adcli/default.nix b/pkgs/os-specific/linux/adcli/default.nix index 66e017437f9d..5f94da21f207 100644 --- a/pkgs/os-specific/linux/adcli/default.nix +++ b/pkgs/os-specific/linux/adcli/default.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.freedesktop.org/software/realmd/adcli/adcli.html"; description = "A helper library and tools for Active Directory client operations."; + mainProgram = "adcli"; license = licenses.lgpl21Only; maintainers = with maintainers; [ SohamG anthonyroussel ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/amdctl/default.nix b/pkgs/os-specific/linux/amdctl/default.nix index d0a15578857c..abc26aabf784 100644 --- a/pkgs/os-specific/linux/amdctl/default.nix +++ b/pkgs/os-specific/linux/amdctl/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Set P-State voltages and clock speeds on recent AMD CPUs on Linux."; + mainProgram = "amdctl"; homepage = "https://github.com/kevinlekiller/amdctl"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ]; diff --git a/pkgs/os-specific/linux/aseq2json/default.nix b/pkgs/os-specific/linux/aseq2json/default.nix index ac1a8220d564..d828c808037a 100644 --- a/pkgs/os-specific/linux/aseq2json/default.nix +++ b/pkgs/os-specific/linux/aseq2json/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Listens for MIDI events on the Alsa sequencer and outputs as JSON to stdout"; + mainProgram = "aseq2json"; homepage = "https://github.com/google/midi-dump-tools"; license = licenses.asl20; maintainers = [ maintainers.queezle ]; diff --git a/pkgs/os-specific/linux/autofs/default.nix b/pkgs/os-specific/linux/autofs/default.nix index 48d12abcf2f5..db0e7b48383f 100644 --- a/pkgs/os-specific/linux/autofs/default.nix +++ b/pkgs/os-specific/linux/autofs/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = { description = "Kernel-based automounter"; + mainProgram = "automount"; homepage = "https://www.kernel.org/pub/linux/daemons/autofs/"; license = lib.licenses.gpl2Plus; executables = [ "automount" ]; diff --git a/pkgs/os-specific/linux/batman-adv/batctl.nix b/pkgs/os-specific/linux/batman-adv/batctl.nix index b01f48a242a6..bb44ac5e99f5 100644 --- a/pkgs/os-specific/linux/batman-adv/batctl.nix +++ b/pkgs/os-specific/linux/batman-adv/batctl.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki"; description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, control tool"; + mainProgram = "batctl"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [ fpletz ]; platforms = with lib.platforms; linux; diff --git a/pkgs/os-specific/linux/beefi/default.nix b/pkgs/os-specific/linux/beefi/default.nix index 959a43faea91..39300b948976 100644 --- a/pkgs/os-specific/linux/beefi/default.nix +++ b/pkgs/os-specific/linux/beefi/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A small script to create bootable EFISTUB kernel images"; + mainProgram = "beefi"; license = licenses.gpl3; platforms = platforms.linux; maintainers = with maintainers; [ tu-maurice ]; diff --git a/pkgs/os-specific/linux/bolt/default.nix b/pkgs/os-specific/linux/bolt/default.nix index f81173095814..11973ba5a570 100644 --- a/pkgs/os-specific/linux/bolt/default.nix +++ b/pkgs/os-specific/linux/bolt/default.nix @@ -93,6 +93,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Thunderbolt 3 device management daemon"; + mainProgram = "boltctl"; homepage = "https://gitlab.freedesktop.org/bolt/bolt"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ callahad ]; diff --git a/pkgs/os-specific/linux/bpfmon/default.nix b/pkgs/os-specific/linux/bpfmon/default.nix index f0815376c2a0..ca59dbde6bb8 100644 --- a/pkgs/os-specific/linux/bpfmon/default.nix +++ b/pkgs/os-specific/linux/bpfmon/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "BPF based visual packet rate monitor"; + mainProgram = "bpfmon"; homepage = "https://github.com/bbonev/bpfmon"; changelog = "https://github.com/bbonev/bpfmon/releases/tag/v${version}"; maintainers = with maintainers; [ arezvov ]; diff --git a/pkgs/os-specific/linux/bpftune/default.nix b/pkgs/os-specific/linux/bpftune/default.nix index 86c706ac2702..517cd04a455d 100644 --- a/pkgs/os-specific/linux/bpftune/default.nix +++ b/pkgs/os-specific/linux/bpftune/default.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "BPF-based auto-tuning of Linux system parameters"; + mainProgram = "bpftune"; homepage = "https://github.com/oracle-samples/bpftune"; license = licenses.gpl2Only; maintainers = with maintainers; [ nickcao ]; diff --git a/pkgs/os-specific/linux/bridge-utils/default.nix b/pkgs/os-specific/linux/bridge-utils/default.nix index a03cb12727ce..1753be599380 100644 --- a/pkgs/os-specific/linux/bridge-utils/default.nix +++ b/pkgs/os-specific/linux/bridge-utils/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = { description = "An userspace tool to configure linux bridges (deprecated in favour or iproute2)."; + mainProgram = "brctl"; homepage = "https://wiki.linuxfoundation.org/networking/bridge"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.linux; diff --git a/pkgs/os-specific/linux/cachefilesd/default.nix b/pkgs/os-specific/linux/cachefilesd/default.nix index 6c52eb4a7f60..12b9e1cf9919 100644 --- a/pkgs/os-specific/linux/cachefilesd/default.nix +++ b/pkgs/os-specific/linux/cachefilesd/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Local network file caching management daemon"; + mainProgram = "cachefilesd"; homepage = "https://people.redhat.com/dhowells/fscache/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/cannelloni/default.nix b/pkgs/os-specific/linux/cannelloni/default.nix index 0a27c53eefc8..86107d4f7aa0 100644 --- a/pkgs/os-specific/linux/cannelloni/default.nix +++ b/pkgs/os-specific/linux/cannelloni/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A SocketCAN over Ethernet tunnel"; + mainProgram = "cannelloni"; homepage = "https://github.com/mguentner/cannelloni"; platforms = platforms.linux; license = licenses.gpl2Only; diff --git a/pkgs/os-specific/linux/catfs/default.nix b/pkgs/os-specific/linux/catfs/default.nix index fb4d21820755..107dce2123db 100644 --- a/pkgs/os-specific/linux/catfs/default.nix +++ b/pkgs/os-specific/linux/catfs/default.nix @@ -41,6 +41,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Caching filesystem written in Rust"; + mainProgram = "catfs"; homepage = "https://github.com/kahing/catfs"; license = licenses.asl20; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/checksec/default.nix b/pkgs/os-specific/linux/checksec/default.nix index 07574722cd20..488bfdff1a6a 100644 --- a/pkgs/os-specific/linux/checksec/default.nix +++ b/pkgs/os-specific/linux/checksec/default.nix @@ -97,6 +97,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tool for checking security bits on executables"; + mainProgram = "checksec"; homepage = "https://www.trapkit.de/tools/checksec/"; license = licenses.bsd3; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/compsize/default.nix b/pkgs/os-specific/linux/compsize/default.nix index 9d0dbeffaee3..441108b0e54f 100644 --- a/pkgs/os-specific/linux/compsize/default.nix +++ b/pkgs/os-specific/linux/compsize/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "btrfs: Find compression type/ratio on a file or set of files"; + mainProgram = "compsize"; homepage = "https://github.com/kilobyte/compsize"; license = licenses.gpl2Plus; maintainers = with maintainers; [ CrazedProgrammer ]; diff --git a/pkgs/os-specific/linux/conky/default.nix b/pkgs/os-specific/linux/conky/default.nix index 32eef7f9e26a..0818850f7549 100644 --- a/pkgs/os-specific/linux/conky/default.nix +++ b/pkgs/os-specific/linux/conky/default.nix @@ -148,6 +148,7 @@ stdenv.mkDerivation rec { homepage = "https://conky.cc"; changelog = "https://github.com/brndnmtthws/conky/releases/tag/v${version}"; description = "Advanced, highly configurable system monitor based on torsmo"; + mainProgram = "conky"; maintainers = [ maintainers.guibert ]; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/conspy/default.nix b/pkgs/os-specific/linux/conspy/default.nix index 00e97855e261..19b1565e435d 100644 --- a/pkgs/os-specific/linux/conspy/default.nix +++ b/pkgs/os-specific/linux/conspy/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Linux text console viewer"; + mainProgram = "conspy"; license = licenses.epl10; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/cpupower-gui/default.nix b/pkgs/os-specific/linux/cpupower-gui/default.nix index 1f57bc9428f0..02a781d1f0cf 100644 --- a/pkgs/os-specific/linux/cpupower-gui/default.nix +++ b/pkgs/os-specific/linux/cpupower-gui/default.nix @@ -96,6 +96,7 @@ buildPythonApplication rec { meta = with lib; { description = "Change the frequency limits of your cpu and its governor"; + mainProgram = "cpupower-gui"; homepage = "https://github.com/vagnum08/cpupower-gui/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ unode ]; diff --git a/pkgs/os-specific/linux/cpustat/default.nix b/pkgs/os-specific/linux/cpustat/default.nix index e5bbd388081e..3fb0e8e123a9 100644 --- a/pkgs/os-specific/linux/cpustat/default.nix +++ b/pkgs/os-specific/linux/cpustat/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "CPU usage monitoring tool"; + mainProgram = "cpustat"; homepage = "https://github.com/ColinIanKing/cpustat"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/cramfsswap/default.nix b/pkgs/os-specific/linux/cramfsswap/default.nix index f79921186388..c696df6f0084 100644 --- a/pkgs/os-specific/linux/cramfsswap/default.nix +++ b/pkgs/os-specific/linux/cramfsswap/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Swap endianess of a cram filesystem (cramfs)"; + mainProgram = "cramfsswap"; homepage = "https://packages.debian.org/sid/utils/cramfsswap"; license = licenses.gpl2Only; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/cshatag/default.nix b/pkgs/os-specific/linux/cshatag/default.nix index 84de0c5dd11d..70fd5ccbb695 100644 --- a/pkgs/os-specific/linux/cshatag/default.nix +++ b/pkgs/os-specific/linux/cshatag/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "A tool to detect silent data corruption"; + mainProgram = "cshatag"; homepage = "https://github.com/rfjakob/cshatag"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/devmem2/default.nix b/pkgs/os-specific/linux/devmem2/default.nix index fbf47204b3e6..88a3877c37f2 100644 --- a/pkgs/os-specific/linux/devmem2/default.nix +++ b/pkgs/os-specific/linux/devmem2/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Simple program to read/write from/to any location in memory"; + mainProgram = "devmem2"; homepage = "http://lartmaker.nl/lartware/port/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/disk-indicator/default.nix b/pkgs/os-specific/linux/disk-indicator/default.nix index f5c7f3bc774e..e0e238fd3560 100644 --- a/pkgs/os-specific/linux/disk-indicator/default.nix +++ b/pkgs/os-specific/linux/disk-indicator/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation { meta = { homepage = "https://github.com/MeanEYE/Disk-Indicator"; description = "A program that will turn a LED into a hard disk indicator"; + mainProgram = "disk_indicator"; longDescription = '' Small program for Linux that will turn your Scroll, Caps or Num Lock LED or LED on your ThinkPad laptop into a hard disk activity indicator. diff --git a/pkgs/os-specific/linux/dstat/default.nix b/pkgs/os-specific/linux/dstat/default.nix index d79f9f4c61bf..75b613075e78 100644 --- a/pkgs/os-specific/linux/dstat/default.nix +++ b/pkgs/os-specific/linux/dstat/default.nix @@ -34,6 +34,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "http://dag.wieers.com/home-made/dstat/"; description = "Versatile resource statistics tool"; + mainProgram = "dstat"; license = licenses.gpl2; platforms = platforms.linux; maintainers = with maintainers; [ ]; diff --git a/pkgs/os-specific/linux/earlyoom/default.nix b/pkgs/os-specific/linux/earlyoom/default.nix index ad7468bac0f5..d1d95b4d3f95 100644 --- a/pkgs/os-specific/linux/earlyoom/default.nix +++ b/pkgs/os-specific/linux/earlyoom/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Early OOM Daemon for Linux"; + mainProgram = "earlyoom"; homepage = "https://github.com/rfjakob/earlyoom"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/ethq/default.nix b/pkgs/os-specific/linux/ethq/default.nix index d103604294a4..5936447ac935 100644 --- a/pkgs/os-specific/linux/ethq/default.nix +++ b/pkgs/os-specific/linux/ethq/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Ethernet NIC Queue stats viewer"; + mainProgram = "ethq"; homepage = "https://github.com/isc-projects/ethq"; license = licenses.mpl20; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/eventstat/default.nix b/pkgs/os-specific/linux/eventstat/default.nix index 0de1ded83543..3c551939c7cf 100644 --- a/pkgs/os-specific/linux/eventstat/default.nix +++ b/pkgs/os-specific/linux/eventstat/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple monitoring of system events"; + mainProgram = "eventstat"; homepage = "https://github.com/ColinIanKing/eventstat"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/fan2go/default.nix b/pkgs/os-specific/linux/fan2go/default.nix index c7176183018a..cb8ff5a84b74 100644 --- a/pkgs/os-specific/linux/fan2go/default.nix +++ b/pkgs/os-specific/linux/fan2go/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "A simple daemon providing dynamic fan speed control based on temperature sensors"; + mainProgram = "fan2go"; homepage = "https://github.com/markusressel/fan2go"; license = licenses.agpl3Plus; maintainers = with maintainers; [ mtoohey ]; diff --git a/pkgs/os-specific/linux/fanctl/default.nix b/pkgs/os-specific/linux/fanctl/default.nix index d8769b0f04de..f55779bd9165 100644 --- a/pkgs/os-specific/linux/fanctl/default.nix +++ b/pkgs/os-specific/linux/fanctl/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Replacement for fancontrol with more fine-grained control interface in its config file"; + mainProgram = "fanctl"; homepage = "https://gitlab.com/mcoffin/fanctl"; license = licenses.gpl3Only; maintainers = with maintainers; [ icewind1991 ]; diff --git a/pkgs/os-specific/linux/fbterm/default.nix b/pkgs/os-specific/linux/fbterm/default.nix index f762eca36beb..8704c72a21ba 100644 --- a/pkgs/os-specific/linux/fbterm/default.nix +++ b/pkgs/os-specific/linux/fbterm/default.nix @@ -96,6 +96,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Framebuffer terminal emulator"; + mainProgram = "fbterm"; homepage = "https://salsa.debian.org/debian/fbterm"; maintainers = with maintainers; [ lovesegfault raskin ]; license = licenses.gpl2; diff --git a/pkgs/os-specific/linux/firmware/b43-firmware-cutter/default.nix b/pkgs/os-specific/linux/firmware/b43-firmware-cutter/default.nix index fe7a3e9ae406..1e46068b2124 100644 --- a/pkgs/os-specific/linux/firmware/b43-firmware-cutter/default.nix +++ b/pkgs/os-specific/linux/firmware/b43-firmware-cutter/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = { description = "Firmware extractor for cards supported by the b43 kernel module"; + mainProgram = "b43-fwcutter"; homepage = "http://wireless.kernel.org/en/users/Drivers/b43"; license = lib.licenses.free; platforms = lib.platforms.linux; diff --git a/pkgs/os-specific/linux/firmware/bt-fw-converter/default.nix b/pkgs/os-specific/linux/firmware/bt-fw-converter/default.nix index a28189a9e474..988aabd85779 100644 --- a/pkgs/os-specific/linux/firmware/bt-fw-converter/default.nix +++ b/pkgs/os-specific/linux/firmware/bt-fw-converter/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/winterheart/broadcom-bt-firmware/"; description = "A tool that converts hex to hcd based on inf file"; + mainProgram = "bt-fw-converter"; license = licenses.mit; platforms = platforms.linux; maintainers = with maintainers; [ zraexy ]; diff --git a/pkgs/os-specific/linux/firmware/firmware-updater/default.nix b/pkgs/os-specific/linux/firmware/firmware-updater/default.nix index 2b280c72b1ca..98b9ff5d3388 100644 --- a/pkgs/os-specific/linux/firmware/firmware-updater/default.nix +++ b/pkgs/os-specific/linux/firmware/firmware-updater/default.nix @@ -36,6 +36,7 @@ flutter.buildFlutterApplication rec { meta = with lib; { description = "Firmware Updater for Linux"; + mainProgram = "firmware-updater"; homepage = "https://github.com/canonical/firmware-updater"; license = licenses.gpl3Only; maintainers = with maintainers; [ mkg20001 ]; diff --git a/pkgs/os-specific/linux/fnotifystat/default.nix b/pkgs/os-specific/linux/fnotifystat/default.nix index c943ce26f91e..18afaaa6d29b 100644 --- a/pkgs/os-specific/linux/fnotifystat/default.nix +++ b/pkgs/os-specific/linux/fnotifystat/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "File activity monitoring tool"; + mainProgram = "fnotifystat"; homepage = "https://github.com/ColinIanKing/fnotifystat"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/forkstat/default.nix b/pkgs/os-specific/linux/forkstat/default.nix index c87c69c07708..75ca64833a59 100644 --- a/pkgs/os-specific/linux/forkstat/default.nix +++ b/pkgs/os-specific/linux/forkstat/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Process fork/exec/exit monitoring tool"; + mainProgram = "forkstat"; homepage = "https://github.com/ColinIanKing/forkstat"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/freefall/default.nix b/pkgs/os-specific/linux/freefall/default.nix index 683b599e5beb..bad4849ca0bf 100644 --- a/pkgs/os-specific/linux/freefall/default.nix +++ b/pkgs/os-specific/linux/freefall/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation { inherit (kernel.meta) homepage license; description = "Free-fall protection for spinning HP/Dell laptop hard drives"; + mainProgram = "freefall"; longDescription = '' Provides a shock protection facility in modern laptops with spinning hard drives, by stopping all input/output operations on the internal hard drive diff --git a/pkgs/os-specific/linux/fscrypt/default.nix b/pkgs/os-specific/linux/fscrypt/default.nix index fd925ab654fa..8b54a1f9a745 100644 --- a/pkgs/os-specific/linux/fscrypt/default.nix +++ b/pkgs/os-specific/linux/fscrypt/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { meta = with lib; { description = "A high-level tool for the management of Linux filesystem encryption"; + mainProgram = "fscrypt"; longDescription = '' This tool manages metadata, key generation, key wrapping, PAM integration, and provides a uniform interface for creating and modifying encrypted diff --git a/pkgs/os-specific/linux/fscryptctl/default.nix b/pkgs/os-specific/linux/fscryptctl/default.nix index 2a2a9b41c9c2..4b38913b7122 100644 --- a/pkgs/os-specific/linux/fscryptctl/default.nix +++ b/pkgs/os-specific/linux/fscryptctl/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Small C tool for Linux filesystem encryption"; + mainProgram = "fscryptctl"; longDescription = '' fscryptctl is a low-level tool written in C that handles raw keys and manages policies for Linux filesystem encryption, specifically the diff --git a/pkgs/os-specific/linux/fsverity-utils/default.nix b/pkgs/os-specific/linux/fsverity-utils/default.nix index b0b6286c8cfa..232fc1470465 100644 --- a/pkgs/os-specific/linux/fsverity-utils/default.nix +++ b/pkgs/os-specific/linux/fsverity-utils/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { homepage = "https://www.kernel.org/doc/html/latest/filesystems/fsverity.html#userspace-utility"; changelog = "https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git/tree/NEWS.md"; description = "A set of userspace utilities for fs-verity"; + mainProgram = "fsverity"; license = licenses.mit; maintainers = with maintainers; [ jk ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/fswebcam/default.nix b/pkgs/os-specific/linux/fswebcam/default.nix index 678e0d428419..1f45d7955da4 100644 --- a/pkgs/os-specific/linux/fswebcam/default.nix +++ b/pkgs/os-specific/linux/fswebcam/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { meta = { description = "Neat and simple webcam app"; + mainProgram = "fswebcam"; homepage = "http://www.sanslogic.co.uk/fswebcam"; platforms = lib.platforms.linux; license = lib.licenses.gpl2; diff --git a/pkgs/os-specific/linux/ftop/default.nix b/pkgs/os-specific/linux/ftop/default.nix index abd6d7884619..b199c84b9fb5 100644 --- a/pkgs/os-specific/linux/ftop/default.nix +++ b/pkgs/os-specific/linux/ftop/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Show progress of open files and file systems"; + mainProgram = "ftop"; homepage = "https://code.google.com/archive/p/ftop/"; license = licenses.gpl3Plus; longDescription = '' diff --git a/pkgs/os-specific/linux/fxload/default.nix b/pkgs/os-specific/linux/fxload/default.nix index e8b9d0648bd8..a4b204b571d4 100644 --- a/pkgs/os-specific/linux/fxload/default.nix +++ b/pkgs/os-specific/linux/fxload/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/libusb/libusb"; description = "Tool to upload firmware to into an21, fx, fx2, fx2lp and fx3 ez-usb devices"; + mainProgram = "fxload"; license = licenses.gpl2Only; platforms = platforms.linux; maintainers = with maintainers; [ realsnick ]; diff --git a/pkgs/os-specific/linux/g15daemon/default.nix b/pkgs/os-specific/linux/g15daemon/default.nix index 823f523db242..90a818be4947 100644 --- a/pkgs/os-specific/linux/g15daemon/default.nix +++ b/pkgs/os-specific/linux/g15daemon/default.nix @@ -88,6 +88,7 @@ stdenv.mkDerivation rec { meta = { description = "A daemon that makes it possible to use the Logitech keyboard G-Buttons and draw on various Logitech LCDs"; + mainProgram = "g15daemon"; inherit license maintainers; }; } diff --git a/pkgs/os-specific/linux/gfxtablet/default.nix b/pkgs/os-specific/linux/gfxtablet/default.nix index 608ca8e58cc5..3ee35844f999 100644 --- a/pkgs/os-specific/linux/gfxtablet/default.nix +++ b/pkgs/os-specific/linux/gfxtablet/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = { description = "Uinput driver for Android GfxTablet tablet-as-input-device app"; + mainProgram = "networktablet"; license = lib.licenses.mit ; maintainers = [lib.maintainers.raskin]; platforms = lib.platforms.linux; diff --git a/pkgs/os-specific/linux/google-authenticator/default.nix b/pkgs/os-specific/linux/google-authenticator/default.nix index fcf75ac7821a..02ca3d30d238 100644 --- a/pkgs/os-specific/linux/google-authenticator/default.nix +++ b/pkgs/os-specific/linux/google-authenticator/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/google/google-authenticator-libpam"; description = "Two-step verification, with pam module"; + mainProgram = "google-authenticator"; license = licenses.asl20; maintainers = with maintainers; [ aneeshusa ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/gpu-switch/default.nix b/pkgs/os-specific/linux/gpu-switch/default.nix index 17452a5e2446..d6f749aa8f1e 100644 --- a/pkgs/os-specific/linux/gpu-switch/default.nix +++ b/pkgs/os-specific/linux/gpu-switch/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation { ''; meta = with lib; { description = "Application that allows to switch between the graphic cards of dual-GPU MacBook Pro models"; + mainProgram = "gpu-switch"; homepage = "https://github.com/0xbb/gpu-switch"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/gt/default.nix b/pkgs/os-specific/linux/gt/default.nix index 85897b72585e..9d35556358b5 100644 --- a/pkgs/os-specific/linux/gt/default.nix +++ b/pkgs/os-specific/linux/gt/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Linux command line tool for setting up USB gadgets using configfs"; + mainProgram = "gt"; license = with lib.licenses; [ asl20 ]; maintainers = with lib.maintainers; [ lheckemann ]; platforms = lib.platforms.linux; diff --git a/pkgs/os-specific/linux/guvcview/default.nix b/pkgs/os-specific/linux/guvcview/default.nix index 6e073662c4e6..e08203873011 100644 --- a/pkgs/os-specific/linux/guvcview/default.nix +++ b/pkgs/os-specific/linux/guvcview/default.nix @@ -70,6 +70,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple interface for devices supported by the linux UVC driver"; + mainProgram = "guvcview"; homepage = "https://guvcview.sourceforge.net"; maintainers = [ maintainers.coconnor ]; license = licenses.gpl3; diff --git a/pkgs/os-specific/linux/hd-idle/default.nix b/pkgs/os-specific/linux/hd-idle/default.nix index 13cb397b1798..7c2ac2894a55 100644 --- a/pkgs/os-specific/linux/hd-idle/default.nix +++ b/pkgs/os-specific/linux/hd-idle/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Spins down external disks after a period of idle time"; + mainProgram = "hd-idle"; homepage = "https://github.com/adelolmo/hd-idle"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/hdapsd/default.nix b/pkgs/os-specific/linux/hdapsd/default.nix index 959fa9ac6e8a..e9dca6fd8927 100644 --- a/pkgs/os-specific/linux/hdapsd/default.nix +++ b/pkgs/os-specific/linux/hdapsd/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Hard Drive Active Protection System Daemon"; + mainProgram = "hdapsd"; homepage = "http://hdaps.sf.net/"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/health-check/default.nix b/pkgs/os-specific/linux/health-check/default.nix index b8737eb15302..e63b7ca7fe25 100644 --- a/pkgs/os-specific/linux/health-check/default.nix +++ b/pkgs/os-specific/linux/health-check/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Process monitoring tool"; + mainProgram = "health-check"; homepage = "https://github.com/ColinIanKing/health-check"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/hibernate/default.nix b/pkgs/os-specific/linux/hibernate/default.nix index 1a7dd01e9771..71a93e4a154e 100644 --- a/pkgs/os-specific/linux/hibernate/default.nix +++ b/pkgs/os-specific/linux/hibernate/default.nix @@ -33,6 +33,7 @@ in meta = { description = "The `hibernate' script for swsusp and Tux-on-Ice"; + mainProgram = "hibernate"; longDescription = '' This package provides the `hibernate' script, a command-line utility that saves the computer's state to disk and switches it off, turning diff --git a/pkgs/os-specific/linux/hyperv-daemons/default.nix b/pkgs/os-specific/linux/hyperv-daemons/default.nix index 12033063c165..619318d7e04c 100644 --- a/pkgs/os-specific/linux/hyperv-daemons/default.nix +++ b/pkgs/os-specific/linux/hyperv-daemons/default.nix @@ -97,6 +97,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "Integration Services for running NixOS under HyperV"; + mainProgram = "lsvmbus"; longDescription = '' This packages contains the daemons that are used by the Hyper-V hypervisor on the host. diff --git a/pkgs/os-specific/linux/i7z/default.nix b/pkgs/os-specific/linux/i7z/default.nix index 9af2aba3d806..9bd5ca302da3 100644 --- a/pkgs/os-specific/linux/i7z/default.nix +++ b/pkgs/os-specific/linux/i7z/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A better i7 (and now i3, i5) reporting tool for Linux"; + mainProgram = "i7z"; homepage = "https://github.com/DimitryAndric/i7z"; license = licenses.gpl2; maintainers = with maintainers; [ bluescreen303 ]; diff --git a/pkgs/os-specific/linux/ifenslave/default.nix b/pkgs/os-specific/linux/ifenslave/default.nix index d23fc101bcc0..cc132c69faf7 100644 --- a/pkgs/os-specific/linux/ifenslave/default.nix +++ b/pkgs/os-specific/linux/ifenslave/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = { description = "Utility for enslaving networking interfaces under a bond"; + mainProgram = "ifenslave"; license = lib.licenses.gpl2; platforms = lib.platforms.linux; }; diff --git a/pkgs/os-specific/linux/iio-sensor-proxy/default.nix b/pkgs/os-specific/linux/iio-sensor-proxy/default.nix index 3da9396d618e..38c30dc43687 100644 --- a/pkgs/os-specific/linux/iio-sensor-proxy/default.nix +++ b/pkgs/os-specific/linux/iio-sensor-proxy/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Proxy for sending IIO sensor data to D-Bus"; + mainProgram = "monitor-sensor"; homepage = "https://gitlab.freedesktop.org/hadess/iio-sensor-proxy"; license = licenses.gpl3; maintainers = with maintainers; [ _999eagle ]; diff --git a/pkgs/os-specific/linux/ima-evm-utils/default.nix b/pkgs/os-specific/linux/ima-evm-utils/default.nix index 34889783034c..fa90ceecdb2b 100644 --- a/pkgs/os-specific/linux/ima-evm-utils/default.nix +++ b/pkgs/os-specific/linux/ima-evm-utils/default.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { meta = { description = "evmctl utility to manage digital signatures of the Linux kernel integrity subsystem (IMA/EVM)"; + mainProgram = "evmctl"; homepage = "https://sourceforge.net/projects/linux-ima/"; license = lib.licenses.gpl2; platforms = lib.platforms.linux; diff --git a/pkgs/os-specific/linux/intel-compute-runtime/default.nix b/pkgs/os-specific/linux/intel-compute-runtime/default.nix index 073714bd57a0..c175916b9008 100644 --- a/pkgs/os-specific/linux/intel-compute-runtime/default.nix +++ b/pkgs/os-specific/linux/intel-compute-runtime/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Intel Graphics Compute Runtime for OpenCL. Replaces Beignet for Gen8 (Broadwell) and beyond"; + mainProgram = "ocloc"; homepage = "https://github.com/intel/compute-runtime"; changelog = "https://github.com/intel/compute-runtime/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/os-specific/linux/intel-speed-select/default.nix b/pkgs/os-specific/linux/intel-speed-select/default.nix index 2caad335d57c..9d9c9b134c64 100644 --- a/pkgs/os-specific/linux/intel-speed-select/default.nix +++ b/pkgs/os-specific/linux/intel-speed-select/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Tool to enumerate and control the Intel Speed Select Technology features"; + mainProgram = "intel-speed-select"; homepage = "https://www.kernel.org/"; license = licenses.gpl2; platforms = [ "i686-linux" "x86_64-linux" ]; # x86-specific diff --git a/pkgs/os-specific/linux/ipp-usb/default.nix b/pkgs/os-specific/linux/ipp-usb/default.nix index decdea12ee3d..d02018f570c4 100644 --- a/pkgs/os-specific/linux/ipp-usb/default.nix +++ b/pkgs/os-specific/linux/ipp-usb/default.nix @@ -34,6 +34,7 @@ buildGoModule rec { meta = { description = "Daemon to use the IPP everywhere protocol with USB printers"; + mainProgram = "ipp-usb"; homepage = "https://github.com/OpenPrinting/ipp-usb"; maintainers = [ lib.maintainers.symphorien ]; platforms = lib.platforms.linux; diff --git a/pkgs/os-specific/linux/iptstate/default.nix b/pkgs/os-specific/linux/iptstate/default.nix index 4e3693aba6f1..d1e193f831ca 100644 --- a/pkgs/os-specific/linux/iptstate/default.nix +++ b/pkgs/os-specific/linux/iptstate/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Conntrack top like tool"; + mainProgram = "iptstate"; homepage = "https://github.com/jaymzh/iptstate"; platforms = platforms.linux; maintainers = with maintainers; [ trevorj ]; diff --git a/pkgs/os-specific/linux/iw/default.nix b/pkgs/os-specific/linux/iw/default.nix index bf7cb025bc1c..4c1d94f02e6b 100644 --- a/pkgs/os-specific/linux/iw/default.nix +++ b/pkgs/os-specific/linux/iw/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = { description = "Tool to use nl80211"; + mainProgram = "iw"; longDescription = '' iw is a new nl80211 based CLI configuration utility for wireless devices. It supports all new drivers that have been added to the kernel recently. diff --git a/pkgs/os-specific/linux/joycond/default.nix b/pkgs/os-specific/linux/joycond/default.nix index e60e661f0c44..5edc227732f8 100644 --- a/pkgs/os-specific/linux/joycond/default.nix +++ b/pkgs/os-specific/linux/joycond/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/DanielOgorchock/joycond"; description = "Userspace daemon to combine joy-cons from the hid-nintendo kernel driver"; + mainProgram = "joycond"; license = licenses.gpl3Only; maintainers = [ maintainers.ivar ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/kbdlight/default.nix b/pkgs/os-specific/linux/kbdlight/default.nix index 0ed575b82546..b41e4cd4da1c 100644 --- a/pkgs/os-specific/linux/kbdlight/default.nix +++ b/pkgs/os-specific/linux/kbdlight/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/hobarrera/kbdlight"; description = "A very simple application that changes MacBooks' keyboard backlight level"; + mainProgram = "kbdlight"; license = licenses.isc; maintainers = [ maintainers.womfoo ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/kernel/perf/default.nix b/pkgs/os-specific/linux/kernel/perf/default.nix index 172965f2a78f..02f0407425d1 100644 --- a/pkgs/os-specific/linux/kernel/perf/default.nix +++ b/pkgs/os-specific/linux/kernel/perf/default.nix @@ -164,6 +164,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://perf.wiki.kernel.org/"; description = "Linux tools to profile with performance counters"; + mainProgram = "perf"; maintainers = with maintainers; [ viric ]; platforms = platforms.linux; broken = kernel.kernelOlder "5"; diff --git a/pkgs/os-specific/linux/klibc/default.nix b/pkgs/os-specific/linux/klibc/default.nix index 3a044cf9d84d..2b010e5c8bce 100644 --- a/pkgs/os-specific/linux/klibc/default.nix +++ b/pkgs/os-specific/linux/klibc/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = { description = "Minimalistic libc subset for initramfs usage"; + mainProgram = "klcc"; homepage = "https://kernel.org/pub/linux/libs/klibc/"; maintainers = with lib.maintainers; [ fpletz ]; license = lib.licenses.bsd3; diff --git a/pkgs/os-specific/linux/kmscon/default.nix b/pkgs/os-specific/linux/kmscon/default.nix index 2a60864ea6bf..18ac0370b855 100644 --- a/pkgs/os-specific/linux/kmscon/default.nix +++ b/pkgs/os-specific/linux/kmscon/default.nix @@ -79,6 +79,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "KMS/DRM based System Console"; + mainProgram = "kmscon"; homepage = "https://www.freedesktop.org/wiki/Software/kmscon/"; license = licenses.mit; maintainers = with maintainers; [ omasanori ]; diff --git a/pkgs/os-specific/linux/latencytop/default.nix b/pkgs/os-specific/linux/latencytop/default.nix index a48abf85831f..023140e1f482 100644 --- a/pkgs/os-specific/linux/latencytop/default.nix +++ b/pkgs/os-specific/linux/latencytop/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://latencytop.org"; description = "Tool to show kernel reports on latencies (LATENCYTOP option)"; + mainProgram = "latencytop"; license = lib.licenses.gpl2; maintainers = [ lib.maintainers.viric ]; platforms = lib.platforms.linux; diff --git a/pkgs/os-specific/linux/ldm/default.nix b/pkgs/os-specific/linux/ldm/default.nix index f8a519de847e..0dea0ce4e8b0 100644 --- a/pkgs/os-specific/linux/ldm/default.nix +++ b/pkgs/os-specific/linux/ldm/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = { description = "A lightweight device mounter, with libudev as only dependency"; + mainProgram = "ldm"; license = lib.licenses.mit; platforms = lib.platforms.linux; }; diff --git a/pkgs/os-specific/linux/libtracefs/default.nix b/pkgs/os-specific/linux/libtracefs/default.nix index 2432a28e0c7b..3d99466c8f34 100644 --- a/pkgs/os-specific/linux/libtracefs/default.nix +++ b/pkgs/os-specific/linux/libtracefs/default.nix @@ -54,6 +54,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Linux kernel trace file system library"; + mainProgram = "sqlhist"; homepage = "https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/"; license = licenses.lgpl21Only; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/libzbd/default.nix b/pkgs/os-specific/linux/libzbd/default.nix index 0c77f73cf2fc..4675a1383758 100644 --- a/pkgs/os-specific/linux/libzbd/default.nix +++ b/pkgs/os-specific/linux/libzbd/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Zoned block device manipulation library and tools"; + mainProgram = "zbd"; homepage = "https://github.com/westerndigitalcorporation/libzbd"; maintainers = [ maintainers.fogti ]; license = with licenses; [ lgpl3Plus gpl3Plus ]; diff --git a/pkgs/os-specific/linux/lightum/default.nix b/pkgs/os-specific/linux/lightum/default.nix index e9925b95bcd6..46dd76e0d277 100644 --- a/pkgs/os-specific/linux/lightum/default.nix +++ b/pkgs/os-specific/linux/lightum/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation { meta = { description = "MacBook automatic light sensor daemon"; + mainProgram = "lightum"; homepage = "https://github.com/poliva/lightum"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [ puffnfresh ]; diff --git a/pkgs/os-specific/linux/lockdep/default.nix b/pkgs/os-specific/linux/lockdep/default.nix index 1ea2de63560b..be3967f0a858 100644 --- a/pkgs/os-specific/linux/lockdep/default.nix +++ b/pkgs/os-specific/linux/lockdep/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = { description = "Userspace locking validation tool built on the Linux kernel"; + mainProgram = "lockdep"; homepage = "https://kernel.org/"; license = lib.licenses.gpl2; platforms = lib.platforms.linux; diff --git a/pkgs/os-specific/linux/lsb-release/default.nix b/pkgs/os-specific/linux/lsb-release/default.nix index 7ab10bfac124..f79c6527539a 100644 --- a/pkgs/os-specific/linux/lsb-release/default.nix +++ b/pkgs/os-specific/linux/lsb-release/default.nix @@ -14,6 +14,7 @@ substituteAll { meta = with lib; { description = "Prints certain LSB (Linux Standard Base) and Distribution information"; + mainProgram = "lsb_release"; license = [ licenses.mit ]; maintainers = with maintainers; [ primeos ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/lxcfs/default.nix b/pkgs/os-specific/linux/lxcfs/default.nix index 1388b5360f12..00c7f6f5edbd 100644 --- a/pkgs/os-specific/linux/lxcfs/default.nix +++ b/pkgs/os-specific/linux/lxcfs/default.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation rec { meta = { description = "FUSE filesystem for LXC"; + mainProgram = "lxcfs"; homepage = "https://linuxcontainers.org/lxcfs"; changelog = "https://linuxcontainers.org/lxcfs/news/"; license = lib.licenses.asl20; diff --git a/pkgs/os-specific/linux/mbpfan/default.nix b/pkgs/os-specific/linux/mbpfan/default.nix index 50fc74d7fa0a..4992fdbf1d46 100644 --- a/pkgs/os-specific/linux/mbpfan/default.nix +++ b/pkgs/os-specific/linux/mbpfan/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { ''; meta = with lib; { description = "Daemon that uses input from coretemp module and sets the fan speed using the applesmc module"; + mainProgram = "mbpfan"; homepage = "https://github.com/dgraziotin/mbpfan"; license = licenses.gpl3; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/mceinject/default.nix b/pkgs/os-specific/linux/mceinject/default.nix index 524225763742..f7cd199a5e8b 100644 --- a/pkgs/os-specific/linux/mceinject/default.nix +++ b/pkgs/os-specific/linux/mceinject/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A tool to inject machine checks into x86 kernel for testing"; + mainProgram = "mce-inject"; longDescription = '' mce-inject allows to inject machine check errors on the software level into a running Linux kernel. This is intended for validation of the diff --git a/pkgs/os-specific/linux/mcelog/default.nix b/pkgs/os-specific/linux/mcelog/default.nix index 916c79a4298d..2a6727027f48 100644 --- a/pkgs/os-specific/linux/mcelog/default.nix +++ b/pkgs/os-specific/linux/mcelog/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Log x86 machine checks: memory, IO, and CPU hardware errors"; + mainProgram = "mcelog"; longDescription = '' The mcelog daemon accounts memory and some other errors in various ways on modern x86 Linux systems. The daemon can be queried and/or execute diff --git a/pkgs/os-specific/linux/metastore/default.nix b/pkgs/os-specific/linux/metastore/default.nix index c9875297186e..76e4ae893287 100644 --- a/pkgs/os-specific/linux/metastore/default.nix +++ b/pkgs/os-specific/linux/metastore/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Store and restore metadata from a filesystem"; + mainProgram = "metastore"; homepage = "https://software.przemoc.net/#metastore"; license = licenses.gpl2; maintainers = with maintainers; [ sstef ]; diff --git a/pkgs/os-specific/linux/microcode/iucode-tool.nix b/pkgs/os-specific/linux/microcode/iucode-tool.nix index d27e3ca6987b..316aaa22932d 100644 --- a/pkgs/os-specific/linux/microcode/iucode-tool.nix +++ b/pkgs/os-specific/linux/microcode/iucode-tool.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Intel® 64 and IA-32 processor microcode tool"; + mainProgram = "iucode_tool"; homepage = "https://gitlab.com/iucode-tool/iucode-tool"; license = licenses.gpl2; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/os-specific/linux/mmc-utils/default.nix b/pkgs/os-specific/linux/mmc-utils/default.nix index 5817a4b6a2d5..76b7d3ae1af1 100644 --- a/pkgs/os-specific/linux/mmc-utils/default.nix +++ b/pkgs/os-specific/linux/mmc-utils/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Configure MMC storage devices from userspace"; + mainProgram = "mmc"; homepage = "https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/"; license = licenses.gpl2Only; maintainers = [ maintainers.dezgeg ]; diff --git a/pkgs/os-specific/linux/msr/default.nix b/pkgs/os-specific/linux/msr/default.nix index 0ffc46012096..630fc983690d 100644 --- a/pkgs/os-specific/linux/msr/default.nix +++ b/pkgs/os-specific/linux/msr/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://www.etallen.com/msr.html"; description = "Linux tool to display or modify x86 model-specific registers (MSRs)"; + mainProgram = "msr"; license = licenses.bsd0; maintainers = with maintainers; [ AndersonTorres ]; platforms = [ "i686-linux" "x86_64-linux" ]; diff --git a/pkgs/os-specific/linux/netatop/default.nix b/pkgs/os-specific/linux/netatop/default.nix index d7d04e8368db..68386173ed50 100644 --- a/pkgs/os-specific/linux/netatop/default.nix +++ b/pkgs/os-specific/linux/netatop/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation { meta = { description = "Network monitoring module for atop"; + mainProgram = "netatopd"; homepage = "https://www.atoptool.nl/downloadnetatop.php"; license = lib.licenses.gpl2; platforms = lib.platforms.linux; diff --git a/pkgs/os-specific/linux/nmon/default.nix b/pkgs/os-specific/linux/nmon/default.nix index 30285f9c5b25..9e3a6667d705 100644 --- a/pkgs/os-specific/linux/nmon/default.nix +++ b/pkgs/os-specific/linux/nmon/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "AIX & Linux Performance Monitoring tool"; + mainProgram = "nmon"; homepage = "https://nmon.sourceforge.net"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/nsncd/default.nix b/pkgs/os-specific/linux/nsncd/default.nix index 01cb6695b330..0ad11ee8b79f 100644 --- a/pkgs/os-specific/linux/nsncd/default.nix +++ b/pkgs/os-specific/linux/nsncd/default.nix @@ -26,6 +26,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "the name service non-caching daemon"; + mainProgram = "nsncd"; longDescription = '' nsncd is a nscd-compatible daemon that proxies lookups, without caching. ''; diff --git a/pkgs/os-specific/linux/numad/default.nix b/pkgs/os-specific/linux/numad/default.nix index 24fc9e188741..2eabbc95fa13 100644 --- a/pkgs/os-specific/linux/numad/default.nix +++ b/pkgs/os-specific/linux/numad/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A user-level daemon that monitors NUMA topology and processes resource consumption to facilitate good NUMA resource access"; + mainProgram = "numad"; homepage = "https://fedoraproject.org/wiki/Features/numad"; license = licenses.lgpl21; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/numatop/default.nix b/pkgs/os-specific/linux/numatop/default.nix index f4995264b09e..159afa467dc3 100644 --- a/pkgs/os-specific/linux/numatop/default.nix +++ b/pkgs/os-specific/linux/numatop/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tool for runtime memory locality characterization and analysis of processes and threads on a NUMA system"; + mainProgram = "numatop"; homepage = "https://01.org/numatop"; license = licenses.bsd3; maintainers = with maintainers; [ dtzWill ]; diff --git a/pkgs/os-specific/linux/nvmet-cli/default.nix b/pkgs/os-specific/linux/nvmet-cli/default.nix index 4196efeae672..eafa8501cdb7 100644 --- a/pkgs/os-specific/linux/nvmet-cli/default.nix +++ b/pkgs/os-specific/linux/nvmet-cli/default.nix @@ -18,6 +18,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "NVMe target CLI"; + mainProgram = "nvmetcli"; license = licenses.asl20; platforms = platforms.linux; maintainers = with maintainers; [ hoverbear ]; diff --git a/pkgs/os-specific/linux/oci-seccomp-bpf-hook/default.nix b/pkgs/os-specific/linux/oci-seccomp-bpf-hook/default.nix index 61a27bd51f02..4f499197fbfd 100644 --- a/pkgs/os-specific/linux/oci-seccomp-bpf-hook/default.nix +++ b/pkgs/os-specific/linux/oci-seccomp-bpf-hook/default.nix @@ -53,6 +53,7 @@ buildGoModule rec { description = '' OCI hook to trace syscalls and generate a seccomp profile ''; + mainProgram = "oci-seccomp-bpf-hook"; license = licenses.asl20; maintainers = with maintainers; [ saschagrunert ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/openrazer/driver.nix b/pkgs/os-specific/linux/openrazer/driver.nix index f98fe5cfc743..a2116797824c 100644 --- a/pkgs/os-specific/linux/openrazer/driver.nix +++ b/pkgs/os-specific/linux/openrazer/driver.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation (common // { meta = common.meta // { description = "An entirely open source Linux driver that allows you to manage your Razer peripherals on GNU/Linux"; + mainProgram = "razer_mount"; broken = kernel.kernelOlder "4.19"; }; }) diff --git a/pkgs/os-specific/linux/otpw/default.nix b/pkgs/os-specific/linux/otpw/default.nix index c379c149a358..45d0b77906d3 100644 --- a/pkgs/os-specific/linux/otpw/default.nix +++ b/pkgs/os-specific/linux/otpw/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A one-time password login package"; + mainProgram = "otpw-gen"; homepage = "http://www.cl.cam.ac.uk/~mgk25/otpw.html"; license = licenses.gpl2Plus; maintainers = with maintainers; [ ]; diff --git a/pkgs/os-specific/linux/pagemon/default.nix b/pkgs/os-specific/linux/pagemon/default.nix index 2ce723913578..c05bd6183fc4 100644 --- a/pkgs/os-specific/linux/pagemon/default.nix +++ b/pkgs/os-specific/linux/pagemon/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { inherit (src.meta) homepage; description = "Interactive memory/page monitor for Linux"; + mainProgram = "pagemon"; longDescription = '' pagemon is an ncurses based interactive memory/page monitoring tool allowing one to browse the memory map of an active running process diff --git a/pkgs/os-specific/linux/pam_ccreds/default.nix b/pkgs/os-specific/linux/pam_ccreds/default.nix index 4b2cc7a3822b..359636e74281 100644 --- a/pkgs/os-specific/linux/pam_ccreds/default.nix +++ b/pkgs/os-specific/linux/pam_ccreds/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.padl.com/OSS/pam_ccreds.html"; description = "PAM module to locally authenticate using an enterprise identity when the network is unavailable"; + mainProgram = "ccreds_chkpwd"; license = licenses.gpl2; platforms = platforms.linux; }; diff --git a/pkgs/os-specific/linux/pam_tmpdir/default.nix b/pkgs/os-specific/linux/pam_tmpdir/default.nix index 859ebedc3340..2eee7c92f5c3 100644 --- a/pkgs/os-specific/linux/pam_tmpdir/default.nix +++ b/pkgs/os-specific/linux/pam_tmpdir/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://tracker.debian.org/pkg/pam-tmpdir"; description = "PAM module for creating safe per-user temporary directories"; + mainProgram = "pam-tmpdir-helper"; license = licenses.gpl2Only; maintainers = with maintainers; [ peterhoeg ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/paxctl/default.nix b/pkgs/os-specific/linux/paxctl/default.nix index da9928a66e3b..fbb0e00ebe91 100644 --- a/pkgs/os-specific/linux/paxctl/default.nix +++ b/pkgs/os-specific/linux/paxctl/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A tool for controlling PaX flags on a per binary basis"; + mainProgram = "paxctl"; homepage = "https://pax.grsecurity.net"; license = licenses.gpl2; platforms = platforms.all; diff --git a/pkgs/os-specific/linux/paxtest/default.nix b/pkgs/os-specific/linux/paxtest/default.nix index aae8c1296c63..acea7cbe49f7 100644 --- a/pkgs/os-specific/linux/paxtest/default.nix +++ b/pkgs/os-specific/linux/paxtest/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Test various memory protection measures"; + mainProgram = "paxtest"; license = licenses.gpl2; platforms = platforms.linux; maintainers = with maintainers; [ copumpkin joachifm ]; diff --git a/pkgs/os-specific/linux/pcimem/default.nix b/pkgs/os-specific/linux/pcimem/default.nix index dda4d0fff0b9..2f41e4c7395e 100644 --- a/pkgs/os-specific/linux/pcimem/default.nix +++ b/pkgs/os-specific/linux/pcimem/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple method of reading and writing to memory registers on a PCI card"; + mainProgram = "pcimem"; homepage = "https://github.com/billfarrow/pcimem"; license = licenses.gpl2Only; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/pflask/default.nix b/pkgs/os-specific/linux/pflask/default.nix index 1270a9b9494f..0394a3311ba2 100644 --- a/pkgs/os-specific/linux/pflask/default.nix +++ b/pkgs/os-specific/linux/pflask/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = { description = "Lightweight process containers for Linux"; + mainProgram = "pflask"; homepage = "https://ghedo.github.io/pflask/"; license = lib.licenses.bsd2; platforms = lib.platforms.linux; diff --git a/pkgs/os-specific/linux/piper/default.nix b/pkgs/os-specific/linux/piper/default.nix index 39b0eaf5325e..b1508dcb6a3e 100644 --- a/pkgs/os-specific/linux/piper/default.nix +++ b/pkgs/os-specific/linux/piper/default.nix @@ -33,6 +33,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "GTK frontend for ratbagd mouse config daemon"; + mainProgram = "piper"; homepage = "https://github.com/libratbag/piper"; license = licenses.gpl2; maintainers = with maintainers; [ mvnetbiz ]; diff --git a/pkgs/os-specific/linux/pipework/default.nix b/pkgs/os-specific/linux/pipework/default.nix index 3591303a8d0c..56d192ad308b 100644 --- a/pkgs/os-specific/linux/pipework/default.nix +++ b/pkgs/os-specific/linux/pipework/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation { ''; meta = with lib; { description = "Software-Defined Networking tools for LXC"; + mainProgram = "pipework"; homepage = "https://github.com/jpetazzo/pipework"; license = licenses.asl20; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/ply/default.nix b/pkgs/os-specific/linux/ply/default.nix index dbd8925a5cb3..0c8e323b4349 100644 --- a/pkgs/os-specific/linux/ply/default.nix +++ b/pkgs/os-specific/linux/ply/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Dynamic tracing in Linux"; + mainProgram = "ply"; homepage = "https://wkz.github.io/ply/"; license = [ licenses.gpl2Only ]; maintainers = with maintainers; [ mic92 mbbx6spp ]; diff --git a/pkgs/os-specific/linux/pommed-light/default.nix b/pkgs/os-specific/linux/pommed-light/default.nix index 113cedfab2e9..f92a9c1b5d1d 100644 --- a/pkgs/os-specific/linux/pommed-light/default.nix +++ b/pkgs/os-specific/linux/pommed-light/default.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation rec { meta = { description = "A trimmed version of the pommed hotkey handler for MacBooks"; + mainProgram = "pommed"; longDescription = '' This is a stripped-down version of pommed with client, dbus, and ambient light sensor support removed, optimized for use with dwm diff --git a/pkgs/os-specific/linux/power-calibrate/default.nix b/pkgs/os-specific/linux/power-calibrate/default.nix index d4ae90cddd7c..d2ce5d4d4fa7 100644 --- a/pkgs/os-specific/linux/power-calibrate/default.nix +++ b/pkgs/os-specific/linux/power-calibrate/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tool to calibrate power consumption"; + mainProgram = "power-calibrate"; homepage = "https://github.com/ColinIanKing/power-calibrate"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/power-profiles-daemon/default.nix b/pkgs/os-specific/linux/power-profiles-daemon/default.nix index dcf146a01fa6..2ea7a06b46e1 100644 --- a/pkgs/os-specific/linux/power-profiles-daemon/default.nix +++ b/pkgs/os-specific/linux/power-profiles-daemon/default.nix @@ -109,6 +109,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.freedesktop.org/hadess/power-profiles-daemon"; description = "Makes user-selected power profiles handling available over D-Bus"; + mainProgram = "powerprofilesctl"; platforms = platforms.linux; license = licenses.gpl3Plus; maintainers = with maintainers; [ mvnetbiz ]; diff --git a/pkgs/os-specific/linux/powerstat/default.nix b/pkgs/os-specific/linux/powerstat/default.nix index 23378b67b4b5..83f0aa634efa 100644 --- a/pkgs/os-specific/linux/powerstat/default.nix +++ b/pkgs/os-specific/linux/powerstat/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Laptop power measuring tool"; + mainProgram = "powerstat"; homepage = "https://github.com/ColinIanKing/powerstat"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/powertop/default.nix b/pkgs/os-specific/linux/powertop/default.nix index 481cf1cd3bb5..756bd99816fb 100644 --- a/pkgs/os-specific/linux/powertop/default.nix +++ b/pkgs/os-specific/linux/powertop/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { inherit (src.meta) homepage; changelog = "https://github.com/fenrus75/powertop/releases/tag/v${version}"; description = "Analyze power consumption on Intel-based laptops"; + mainProgram = "powertop"; license = licenses.gpl2Only; maintainers = with maintainers; [ fpletz anthonyroussel ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/procdump/default.nix b/pkgs/os-specific/linux/procdump/default.nix index 05ec4b90ed70..0d648782e38c 100644 --- a/pkgs/os-specific/linux/procdump/default.nix +++ b/pkgs/os-specific/linux/procdump/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Linux version of the ProcDump Sysinternals tool"; + mainProgram = "procdump"; homepage = "https://github.com/Microsoft/ProcDump-for-Linux"; license = licenses.mit; maintainers = with maintainers; [ c0bw3b ]; diff --git a/pkgs/os-specific/linux/pscircle/default.nix b/pkgs/os-specific/linux/pscircle/default.nix index a7ee92beb52b..712eea0c3651 100644 --- a/pkgs/os-specific/linux/pscircle/default.nix +++ b/pkgs/os-specific/linux/pscircle/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.com/mildlyparallel/pscircle"; description = "Visualize Linux processes in a form of a radial tree"; + mainProgram = "pscircle"; license = licenses.gpl2; maintainers = [ maintainers.ldesgoui ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/qperf/default.nix b/pkgs/os-specific/linux/qperf/default.nix index a074cde448d9..896b5f5c1ff4 100644 --- a/pkgs/os-specific/linux/qperf/default.nix +++ b/pkgs/os-specific/linux/qperf/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Measure RDMA and IP performance"; + mainProgram = "qperf"; homepage = "https://github.com/linux-rdma/qperf"; license = licenses.gpl2Only; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/radeontop/default.nix b/pkgs/os-specific/linux/radeontop/default.nix index 9e9cb5845e4e..49e2fdfd90b5 100644 --- a/pkgs/os-specific/linux/radeontop/default.nix +++ b/pkgs/os-specific/linux/radeontop/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Top-like tool for viewing AMD Radeon GPU utilization"; + mainProgram = "radeontop"; longDescription = '' View GPU utilization, both for the total activity percent and individual blocks. Supports R600 and later cards: even Southern Islands should work. diff --git a/pkgs/os-specific/linux/reap/default.nix b/pkgs/os-specific/linux/reap/default.nix index fbbabc96c781..79bfe2936276 100644 --- a/pkgs/os-specific/linux/reap/default.nix +++ b/pkgs/os-specific/linux/reap/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/leahneukirchen/reap"; description = "run process until all its spawned processes are dead "; + mainProgram = "reap"; license = with licenses; [ publicDomain ]; platforms = platforms.linux; maintainers = [ maintainers.leahneukirchen ]; diff --git a/pkgs/os-specific/linux/regionset/default.nix b/pkgs/os-specific/linux/regionset/default.nix index f685eec19488..07154a1fc9a1 100644 --- a/pkgs/os-specific/linux/regionset/default.nix +++ b/pkgs/os-specific/linux/regionset/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation { inherit version; homepage = "http://linvdr.org/projects/regionset/"; description = "Tool for changing the region code setting of DVD players"; + mainProgram = "regionset"; license = licenses.gpl2Plus; platforms = platforms.linux; }; diff --git a/pkgs/os-specific/linux/reptyr/default.nix b/pkgs/os-specific/linux/reptyr/default.nix index fadb9df98086..5a9e58c3f6f9 100644 --- a/pkgs/os-specific/linux/reptyr/default.nix +++ b/pkgs/os-specific/linux/reptyr/default.nix @@ -40,6 +40,7 @@ in stdenv.mkDerivation rec { maintainers = with lib.maintainers; [raskin]; license = lib.licenses.mit; description = "Reparent a running program to a new terminal"; + mainProgram = "reptyr"; homepage = "https://github.com/nelhage/reptyr"; }; } diff --git a/pkgs/os-specific/linux/rfkill/udev.nix b/pkgs/os-specific/linux/rfkill/udev.nix index e1a14a80162c..53cbf68330c6 100644 --- a/pkgs/os-specific/linux/rfkill/udev.nix +++ b/pkgs/os-specific/linux/rfkill/udev.nix @@ -50,6 +50,7 @@ in stdenv.mkDerivation { meta = with lib; { homepage = "http://wireless.kernel.org/en/users/Documentation/rfkill"; description = "Rules+hook for udev to catch rfkill state changes"; + mainProgram = "rfkill-hook.sh"; platforms = platforms.linux; license = licenses.mit; }; diff --git a/pkgs/os-specific/linux/rtkit/default.nix b/pkgs/os-specific/linux/rtkit/default.nix index 69d32079d5c7..c6bb4e0cbfcd 100644 --- a/pkgs/os-specific/linux/rtkit/default.nix +++ b/pkgs/os-specific/linux/rtkit/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/heftig/rtkit"; description = "A daemon that hands out real-time priority to processes"; + mainProgram = "rtkitctl"; license = with licenses; [ gpl3 bsd0 ]; # lib is bsd license platforms = platforms.linux; }; diff --git a/pkgs/os-specific/linux/ryzenadj/default.nix b/pkgs/os-specific/linux/ryzenadj/default.nix index 0744ed2896ff..b99f3d6bd305 100644 --- a/pkgs/os-specific/linux/ryzenadj/default.nix +++ b/pkgs/os-specific/linux/ryzenadj/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Adjust power management settings for Ryzen Mobile Processors."; + mainProgram = "ryzenadj"; homepage = "https://github.com/FlyGoat/RyzenAdj"; license = licenses.lgpl3Only; maintainers = with maintainers; [ rhendric ]; diff --git a/pkgs/os-specific/linux/schedtool/default.nix b/pkgs/os-specific/linux/schedtool/default.nix index 98d9248e3f42..d3d009db1714 100644 --- a/pkgs/os-specific/linux/schedtool/default.nix +++ b/pkgs/os-specific/linux/schedtool/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Query or alter a process' scheduling policy under Linux"; + mainProgram = "schedtool"; homepage = "https://freequaos.host.sk/schedtool/"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/sd-switch/default.nix b/pkgs/os-specific/linux/sd-switch/default.nix index b231f32d42a1..7750862c34c2 100644 --- a/pkgs/os-specific/linux/sd-switch/default.nix +++ b/pkgs/os-specific/linux/sd-switch/default.nix @@ -19,6 +19,7 @@ in rustPlatform.buildRustPackage { meta = with lib; { description = "A systemd unit switcher for Home Manager"; + mainProgram = "sd-switch"; homepage = "https://gitlab.com/rycee/sd-switch"; license = licenses.gpl3Plus; maintainers = with maintainers; [ rycee ]; diff --git a/pkgs/os-specific/linux/service-wrapper/default.nix b/pkgs/os-specific/linux/service-wrapper/default.nix index 381f0699697a..e7aa3ea9d49d 100644 --- a/pkgs/os-specific/linux/service-wrapper/default.nix +++ b/pkgs/os-specific/linux/service-wrapper/default.nix @@ -14,6 +14,7 @@ runCommand name { meta = with lib; { description = "A convenient wrapper for the systemctl commands, borrow from Ubuntu"; + mainProgram = "service"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = with maintainers; [ DerTim1 ]; diff --git a/pkgs/os-specific/linux/seturgent/default.nix b/pkgs/os-specific/linux/seturgent/default.nix index 6d83e322ce8f..b8c02f47d0ee 100644 --- a/pkgs/os-specific/linux/seturgent/default.nix +++ b/pkgs/os-specific/linux/seturgent/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { platforms = platforms.linux; description = "Set an application's urgency hint (or not)"; + mainProgram = "seturgent"; maintainers = with maintainers; [ yarr ]; homepage = "https://codemadness.org/seturgent-set-urgency-hints-for-x-applications.html"; license = licenses.mit; diff --git a/pkgs/os-specific/linux/sinit/default.nix b/pkgs/os-specific/linux/sinit/default.nix index a412461bfd51..3bf73a8f495e 100644 --- a/pkgs/os-specific/linux/sinit/default.nix +++ b/pkgs/os-specific/linux/sinit/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A very minimal Linux init implementation from suckless.org"; + mainProgram = "sinit"; license = licenses.mit; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/smemstat/default.nix b/pkgs/os-specific/linux/smemstat/default.nix index e5d7fb1a13b6..05ad1ddb0335 100644 --- a/pkgs/os-specific/linux/smemstat/default.nix +++ b/pkgs/os-specific/linux/smemstat/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Memory usage monitoring tool"; + mainProgram = "smemstat"; homepage = "https://github.com/ColinIanKing/smemstat"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/statifier/default.nix b/pkgs/os-specific/linux/statifier/default.nix index eefd95d1153a..6aa11cad4f25 100644 --- a/pkgs/os-specific/linux/statifier/default.nix +++ b/pkgs/os-specific/linux/statifier/default.nix @@ -18,6 +18,7 @@ multiStdenv.mkDerivation rec { meta = with lib; { description = "Tool for creating static Linux binaries"; + mainProgram = "statifier"; platforms = platforms.linux; license = licenses.gpl2; }; diff --git a/pkgs/os-specific/linux/swapview/default.nix b/pkgs/os-specific/linux/swapview/default.nix index 8eb455501052..3ef2426fad93 100644 --- a/pkgs/os-specific/linux/swapview/default.nix +++ b/pkgs/os-specific/linux/swapview/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple program to view processes' swap usage on Linux"; + mainProgram = "swapview"; homepage = "https://github.com/lilydjwg/swapview"; platforms = platforms.linux; license = with licenses; [ bsd3 ]; diff --git a/pkgs/os-specific/linux/switcheroo-control/default.nix b/pkgs/os-specific/linux/switcheroo-control/default.nix index a749168f5bc4..a6993af54910 100644 --- a/pkgs/os-specific/linux/switcheroo-control/default.nix +++ b/pkgs/os-specific/linux/switcheroo-control/default.nix @@ -46,6 +46,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "D-Bus service to check the availability of dual-GPU"; + mainProgram = "switcherooctl"; homepage = "https://gitlab.freedesktop.org/hadess/switcheroo-control/"; changelog = "https://gitlab.freedesktop.org/hadess/switcheroo-control/-/blob/${version}/NEWS"; license = licenses.gpl3Plus; diff --git a/pkgs/os-specific/linux/system76-power/default.nix b/pkgs/os-specific/linux/system76-power/default.nix index f1a4c9b7bb3b..6a5456080f59 100644 --- a/pkgs/os-specific/linux/system76-power/default.nix +++ b/pkgs/os-specific/linux/system76-power/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "System76 Power Management"; + mainProgram = "system76-power"; homepage = "https://github.com/pop-os/system76-power"; license = licenses.gpl3Plus; platforms = [ "i686-linux" "x86_64-linux" ]; diff --git a/pkgs/os-specific/linux/system76-scheduler/default.nix b/pkgs/os-specific/linux/system76-scheduler/default.nix index 99c54900cf71..0608fd1c10d0 100644 --- a/pkgs/os-specific/linux/system76-scheduler/default.nix +++ b/pkgs/os-specific/linux/system76-scheduler/default.nix @@ -35,6 +35,7 @@ in rustPlatform.buildRustPackage { meta = with lib; { description = "System76 Scheduler"; + mainProgram = "system76-scheduler"; homepage = "https://github.com/pop-os/system76-scheduler"; license = licenses.mpl20; platforms = [ "x86_64-linux" "x86-linux" "aarch64-linux" ]; diff --git a/pkgs/os-specific/linux/systemd-wait/default.nix b/pkgs/os-specific/linux/systemd-wait/default.nix index 348549a1bc64..99e07ebbf49c 100644 --- a/pkgs/os-specific/linux/systemd-wait/default.nix +++ b/pkgs/os-specific/linux/systemd-wait/default.nix @@ -19,6 +19,7 @@ python3Packages.buildPythonApplication rec { homepage = "https://github.com/Stebalien/systemd-wait"; license = lib.licenses.gpl3; description = "Wait for a systemd unit to enter a specific state"; + mainProgram = "systemd-wait"; maintainers = [ lib.maintainers.benley ]; platforms = lib.platforms.linux; }; diff --git a/pkgs/os-specific/linux/tailor-gui/default.nix b/pkgs/os-specific/linux/tailor-gui/default.nix index 69367ca6c255..531b956f1128 100644 --- a/pkgs/os-specific/linux/tailor-gui/default.nix +++ b/pkgs/os-specific/linux/tailor-gui/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Rust GUI for interacting with hardware from TUXEDO Computers"; + mainProgram = "tailor_gui"; longDescription = '' An alternative to the TUXEDO Control Center (https://www.tuxedocomputers.com/en/TUXEDO-Control-Center.tuxedo), written in Rust. diff --git a/pkgs/os-specific/linux/target-isns/default.nix b/pkgs/os-specific/linux/target-isns/default.nix index fdc0c52a0bf7..397e414490c2 100644 --- a/pkgs/os-specific/linux/target-isns/default.nix +++ b/pkgs/os-specific/linux/target-isns/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "iSNS client for the Linux LIO iSCSI target"; + mainProgram = "target-isns"; homepage = "https://github.com/open-iscsi/target-isns"; maintainers = [ maintainers.markuskowa ]; license = licenses.gpl2Only; diff --git a/pkgs/os-specific/linux/tmon/default.nix b/pkgs/os-specific/linux/tmon/default.nix index 3a2697e0a712..a80724f19eb5 100644 --- a/pkgs/os-specific/linux/tmon/default.nix +++ b/pkgs/os-specific/linux/tmon/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Monitoring and Testing Tool for Linux kernel thermal subsystem"; + mainProgram = "tmon"; homepage = "https://www.kernel.org/"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/tpacpi-bat/default.nix b/pkgs/os-specific/linux/tpacpi-bat/default.nix index 455a36eb7aeb..42d8a0f9dbcf 100644 --- a/pkgs/os-specific/linux/tpacpi-bat/default.nix +++ b/pkgs/os-specific/linux/tpacpi-bat/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { maintainers = [lib.maintainers.orbekk]; platforms = lib.platforms.linux; description = "Tool to set battery charging thresholds on Lenovo Thinkpad"; + mainProgram = "tpacpi-bat"; license = lib.licenses.gpl3Plus; }; } diff --git a/pkgs/os-specific/linux/trace-cmd/default.nix b/pkgs/os-specific/linux/trace-cmd/default.nix index d19754cdb5e0..80b20c555b4e 100644 --- a/pkgs/os-specific/linux/trace-cmd/default.nix +++ b/pkgs/os-specific/linux/trace-cmd/default.nix @@ -63,6 +63,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "User-space tools for the Linux kernel ftrace subsystem"; + mainProgram = "trace-cmd"; homepage = "https://www.trace-cmd.org/"; license = with licenses; [ lgpl21Only gpl2Only ]; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/trinity/default.nix b/pkgs/os-specific/linux/trinity/default.nix index e0ab2b2802f1..370620eef252 100644 --- a/pkgs/os-specific/linux/trinity/default.nix +++ b/pkgs/os-specific/linux/trinity/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Linux System call fuzz tester"; + mainProgram = "trinity"; homepage = "https://github.com/kernelslacker/trinity"; license = licenses.gpl2Only; maintainers = [ maintainers.dezgeg ]; diff --git a/pkgs/os-specific/linux/tuna/default.nix b/pkgs/os-specific/linux/tuna/default.nix index e3101cded09f..b57169369ca7 100644 --- a/pkgs/os-specific/linux/tuna/default.nix +++ b/pkgs/os-specific/linux/tuna/default.nix @@ -53,6 +53,7 @@ buildPythonApplication rec { meta = with lib; { description = "Thread and IRQ affinity setting GUI and cmd line tool"; + mainProgram = "tuna"; homepage = "https://git.kernel.org/pub/scm/utils/tuna/tuna.git"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/tunctl/default.nix b/pkgs/os-specific/linux/tunctl/default.nix index e71e349a2516..5e7fea75b6ab 100644 --- a/pkgs/os-specific/linux/tunctl/default.nix +++ b/pkgs/os-specific/linux/tunctl/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://tunctl.sourceforge.net/"; description = "Utility to set up and maintain TUN/TAP network interfaces"; + mainProgram = "tunctl"; license = lib.licenses.gpl2; platforms = lib.platforms.linux; }; diff --git a/pkgs/os-specific/linux/turbostat/default.nix b/pkgs/os-specific/linux/turbostat/default.nix index fb1bcf582fba..4c51bca386d2 100644 --- a/pkgs/os-specific/linux/turbostat/default.nix +++ b/pkgs/os-specific/linux/turbostat/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Report processor frequency and idle statistics"; + mainProgram = "turbostat"; homepage = "https://www.kernel.org/"; license = licenses.gpl2; platforms = [ "i686-linux" "x86_64-linux" ]; # x86-specific diff --git a/pkgs/os-specific/linux/ulogd/default.nix b/pkgs/os-specific/linux/ulogd/default.nix index a79a38389e4a..533db8f19c84 100644 --- a/pkgs/os-specific/linux/ulogd/default.nix +++ b/pkgs/os-specific/linux/ulogd/default.nix @@ -57,6 +57,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Userspace logging daemon for netfilter/iptables"; + mainProgram = "ulogd"; longDescription = '' Logging daemon that reads event messages coming from the Netfilter diff --git a/pkgs/os-specific/linux/ultrablue-server/default.nix b/pkgs/os-specific/linux/ultrablue-server/default.nix index bb162f1693ba..1d3cc69fae10 100644 --- a/pkgs/os-specific/linux/ultrablue-server/default.nix +++ b/pkgs/os-specific/linux/ultrablue-server/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "User-friendly Lightweight TPM Remote Attestation over Bluetooth"; + mainProgram = "ultrablue-server"; homepage = "https://github.com/ANSSI-FR/ultrablue"; license = licenses.asl20; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/undervolt/default.nix b/pkgs/os-specific/linux/undervolt/default.nix index 4b9758494dca..d720031eb8ac 100644 --- a/pkgs/os-specific/linux/undervolt/default.nix +++ b/pkgs/os-specific/linux/undervolt/default.nix @@ -14,6 +14,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/georgewhewell/undervolt/"; description = "A program for undervolting Intel CPUs on Linux"; + mainProgram = "undervolt"; longDescription = '' Undervolt is a program for undervolting Intel CPUs under Linux. It works in a similar diff --git a/pkgs/os-specific/linux/unscd/default.nix b/pkgs/os-specific/linux/unscd/default.nix index 82b8c7076271..9f77fa01b0ee 100644 --- a/pkgs/os-specific/linux/unscd/default.nix +++ b/pkgs/os-specific/linux/unscd/default.nix @@ -69,6 +69,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://busybox.net/~vda/unscd/"; description = "Less buggy replacement for the glibc name service cache daemon"; + mainProgram = "nscd"; license = licenses.gpl2Only; platforms = platforms.linux; maintainers = with maintainers; [ ]; diff --git a/pkgs/os-specific/linux/unstick/default.nix b/pkgs/os-specific/linux/unstick/default.nix index ee82679de4ea..3c61e26b335b 100644 --- a/pkgs/os-specific/linux/unstick/default.nix +++ b/pkgs/os-specific/linux/unstick/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://github.com/kwohlfahrt/unstick"; description = "Silently eats chmod commands forbidden by Nix"; + mainProgram = "unstick"; license = lib.licenses.gpl3; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ kwohlfahrt ]; diff --git a/pkgs/os-specific/linux/untie/default.nix b/pkgs/os-specific/linux/untie/default.nix index 947ae2ca8d8b..7d96631deb86 100644 --- a/pkgs/os-specific/linux/untie/default.nix +++ b/pkgs/os-specific/linux/untie/default.nix @@ -12,6 +12,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A tool to run processes untied from some of the namespaces"; + mainProgram = "untie"; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; license = licenses.gpl2Plus; diff --git a/pkgs/os-specific/linux/upower/default.nix b/pkgs/os-specific/linux/upower/default.nix index ca3240108aaf..3b08318c965e 100644 --- a/pkgs/os-specific/linux/upower/default.nix +++ b/pkgs/os-specific/linux/upower/default.nix @@ -216,6 +216,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://upower.freedesktop.org/"; changelog = "https://gitlab.freedesktop.org/upower/upower/-/blob/v${finalAttrs.version}/NEWS"; description = "A D-Bus service for power management"; + mainProgram = "upower"; maintainers = teams.freedesktop.members; platforms = platforms.linux; license = licenses.gpl2Plus; diff --git a/pkgs/os-specific/linux/usbrelay/default.nix b/pkgs/os-specific/linux/usbrelay/default.nix index 670de2028c4f..656808d8389b 100644 --- a/pkgs/os-specific/linux/usbrelay/default.nix +++ b/pkgs/os-specific/linux/usbrelay/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Tool to control USB HID relays"; + mainProgram = "usbrelay"; homepage = "https://github.com/darrylb123/usbrelay"; license = licenses.gpl2Plus; maintainers = with maintainers; [ wentasah ]; diff --git a/pkgs/os-specific/linux/usbtop/default.nix b/pkgs/os-specific/linux/usbtop/default.nix index fb3d32df09a0..ba97cae68bd0 100644 --- a/pkgs/os-specific/linux/usbtop/default.nix +++ b/pkgs/os-specific/linux/usbtop/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/aguinet/usbtop"; description = "A top utility that shows an estimated instantaneous bandwidth on USB buses and devices"; + mainProgram = "usbtop"; maintainers = with maintainers; [ ]; license = licenses.bsd3; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/usermount/default.nix b/pkgs/os-specific/linux/usermount/default.nix index 475ccd848eb1..73135da548ed 100644 --- a/pkgs/os-specific/linux/usermount/default.nix +++ b/pkgs/os-specific/linux/usermount/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation { meta = { homepage = "https://github.com/tom5760/usermount"; description = "A simple tool to automatically mount removable drives using UDisks2 and D-Bus"; + mainProgram = "usermount"; license = lib.licenses.mit; platforms = lib.platforms.linux; }; diff --git a/pkgs/os-specific/linux/v4l2-relayd/default.nix b/pkgs/os-specific/linux/v4l2-relayd/default.nix index a089ce8c77f8..77d7034b863b 100644 --- a/pkgs/os-specific/linux/v4l2-relayd/default.nix +++ b/pkgs/os-specific/linux/v4l2-relayd/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Streaming relay for v4l2loopback using GStreamer"; + mainProgram = "v4l2-relayd"; homepage = "https://git.launchpad.net/v4l2-relayd"; license = licenses.gpl2; maintainers = with maintainers; [ betaboon ]; diff --git a/pkgs/os-specific/linux/v4l2loopback/default.nix b/pkgs/os-specific/linux/v4l2loopback/default.nix index 1c4a20ae85fe..6fe83fd09eff 100644 --- a/pkgs/os-specific/linux/v4l2loopback/default.nix +++ b/pkgs/os-specific/linux/v4l2loopback/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A kernel module to create V4L2 loopback devices"; + mainProgram = "v4l2loopback-ctl"; homepage = "https://github.com/umlaeute/v4l2loopback"; license = licenses.gpl2Only; maintainers = with maintainers; [ moni ]; diff --git a/pkgs/os-specific/linux/v86d/default.nix b/pkgs/os-specific/linux/v86d/default.nix index dbc98344c5ec..8597cc5ac9f9 100644 --- a/pkgs/os-specific/linux/v86d/default.nix +++ b/pkgs/os-specific/linux/v86d/default.nix @@ -39,6 +39,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "A daemon to run x86 code in an emulated environment"; + mainProgram = "v86d"; homepage = "https://github.com/mjanusz/v86d"; license = licenses.gpl2; maintainers = with maintainers; [ codyopel ]; diff --git a/pkgs/os-specific/linux/waydroid/default.nix b/pkgs/os-specific/linux/waydroid/default.nix index 97818ba9c4d4..ae42c206280d 100644 --- a/pkgs/os-specific/linux/waydroid/default.nix +++ b/pkgs/os-specific/linux/waydroid/default.nix @@ -86,6 +86,7 @@ python3Packages.buildPythonApplication rec { meta = { description = "Waydroid is a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu"; + mainProgram = "waydroid"; homepage = "https://github.com/waydroid/waydroid"; license = lib.licenses.gpl3; platforms = lib.platforms.linux; diff --git a/pkgs/os-specific/linux/wpa_supplicant/gui.nix b/pkgs/os-specific/linux/wpa_supplicant/gui.nix index 82e104cac3aa..ac1de01af974 100644 --- a/pkgs/os-specific/linux/wpa_supplicant/gui.nix +++ b/pkgs/os-specific/linux/wpa_supplicant/gui.nix @@ -24,6 +24,7 @@ mkDerivation { meta = with lib; { description = "Qt-based GUI for wpa_supplicant"; + mainProgram = "wpa_gui"; homepage = "https://hostap.epitest.fi/wpa_supplicant/"; license = licenses.bsd3; platforms = platforms.linux; diff --git a/pkgs/os-specific/linux/x86_energy_perf_policy/default.nix b/pkgs/os-specific/linux/x86_energy_perf_policy/default.nix index d636f928f249..cbe2a8134e60 100644 --- a/pkgs/os-specific/linux/x86_energy_perf_policy/default.nix +++ b/pkgs/os-specific/linux/x86_energy_perf_policy/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Set the energy versus performance policy preference bias on recent X86 processors"; + mainProgram = "x86_energy_perf_policy"; homepage = "https://www.kernel.org/"; license = licenses.gpl2; platforms = [ "i686-linux" "x86_64-linux" ]; # x86-specific diff --git a/pkgs/os-specific/linux/xsos/default.nix b/pkgs/os-specific/linux/xsos/default.nix index 56516aee8b7b..8d2dd747ffb6 100644 --- a/pkgs/os-specific/linux/xsos/default.nix +++ b/pkgs/os-specific/linux/xsos/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Summarize system info from sosreports"; + mainProgram = "xsos"; homepage = "https://github.com/ryran/xsos"; license = licenses.gpl3; platforms = [ "i686-linux" "x86_64-linux" ]; diff --git a/pkgs/os-specific/linux/zenmonitor/default.nix b/pkgs/os-specific/linux/zenmonitor/default.nix index 8414ac7a1e14..e8fce959c8dc 100644 --- a/pkgs/os-specific/linux/zenmonitor/default.nix +++ b/pkgs/os-specific/linux/zenmonitor/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Monitoring software for AMD Zen-based CPUs"; + mainProgram = "zenmonitor"; homepage = "https://github.com/Ta180m/zenmonitor3"; license = licenses.mit; platforms = [ "i686-linux" "x86_64-linux" ]; diff --git a/pkgs/os-specific/linux/zenstates/default.nix b/pkgs/os-specific/linux/zenstates/default.nix index 8e31073151ba..a320e959f021 100644 --- a/pkgs/os-specific/linux/zenstates/default.nix +++ b/pkgs/os-specific/linux/zenstates/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Linux utility for Ryzen processors and motherboards"; + mainProgram = "zenstates"; homepage = "https://github.com/r4m0n/ZenStates-Linux"; license = licenses.mit; maintainers = with maintainers; [ savannidgerinel ]; diff --git a/pkgs/servers/caddy/xcaddy/default.nix b/pkgs/servers/caddy/xcaddy/default.nix index 35d95269db57..930b3db4327b 100644 --- a/pkgs/servers/caddy/xcaddy/default.nix +++ b/pkgs/servers/caddy/xcaddy/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/caddyserver/xcaddy"; description = "Build Caddy with plugins"; + mainProgram = "xcaddy"; license = licenses.asl20; maintainers = with maintainers; [ tjni emilylange ]; }; diff --git a/pkgs/servers/computing/slurm-spank-x11/default.nix b/pkgs/servers/computing/slurm-spank-x11/default.nix index 4a5e2d52b2f5..278e1320fa0a 100644 --- a/pkgs/servers/computing/slurm-spank-x11/default.nix +++ b/pkgs/servers/computing/slurm-spank-x11/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/hautreux/slurm-spank-x11"; description = "Plugin for SLURM to allow for interactive X11 sessions"; + mainProgram = "slurm-spank-x11"; platforms = platforms.linux; license = licenses.gpl3Only; maintainers = with maintainers; [ markuskowa ]; diff --git a/pkgs/servers/dns/coredns/default.nix b/pkgs/servers/dns/coredns/default.nix index c5e3a9445557..994b584232ae 100644 --- a/pkgs/servers/dns/coredns/default.nix +++ b/pkgs/servers/dns/coredns/default.nix @@ -73,6 +73,7 @@ in buildGoModule rec { meta = with lib; { homepage = "https://coredns.io"; description = "A DNS server that runs middleware"; + mainProgram = "coredns"; license = licenses.asl20; maintainers = with maintainers; [ rushmorem rtreffer deltaevo ]; }; diff --git a/pkgs/servers/dns/dnsdist/default.nix b/pkgs/servers/dns/dnsdist/default.nix index b06dc704520a..98a1bf7cc8c8 100644 --- a/pkgs/servers/dns/dnsdist/default.nix +++ b/pkgs/servers/dns/dnsdist/default.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "DNS Loadbalancer"; + mainProgram = "dnsdist"; homepage = "https://dnsdist.org"; license = licenses.gpl2; maintainers = with maintainers; [ jojosch ]; diff --git a/pkgs/servers/etebase/default.nix b/pkgs/servers/etebase/default.nix index 2a8233e5e0dc..3c111c0070cd 100644 --- a/pkgs/servers/etebase/default.nix +++ b/pkgs/servers/etebase/default.nix @@ -65,6 +65,7 @@ python.pkgs.buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/etesync/server"; description = "An Etebase (EteSync 2.0) server so you can run your own"; + mainProgram = "etebase-server"; changelog = "https://github.com/etesync/server/blob/${version}/ChangeLog.md"; license = licenses.agpl3Only; maintainers = with maintainers; [ felschr phaer ]; diff --git a/pkgs/servers/ftp/bftpd/default.nix b/pkgs/servers/ftp/bftpd/default.nix index eab68fb93dbf..a46a2503e802 100644 --- a/pkgs/servers/ftp/bftpd/default.nix +++ b/pkgs/servers/ftp/bftpd/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A minimal ftp server"; + mainProgram = "bftpd"; downloadPage = "http://bftpd.sf.net/download.html"; homepage = "http://bftpd.sf.net/"; license = licenses.gpl2Plus; diff --git a/pkgs/servers/ftp/vsftpd/default.nix b/pkgs/servers/ftp/vsftpd/default.nix index 601d14d342a1..133fe17ec088 100644 --- a/pkgs/servers/ftp/vsftpd/default.nix +++ b/pkgs/servers/ftp/vsftpd/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A very secure FTP daemon"; + mainProgram = "vsftpd"; license = licenses.gpl2; maintainers = with maintainers; [ peterhoeg ]; platforms = platforms.linux; diff --git a/pkgs/servers/gemini/agate/default.nix b/pkgs/servers/gemini/agate/default.nix index a59003ac7396..4dd4c7f7303e 100644 --- a/pkgs/servers/gemini/agate/default.nix +++ b/pkgs/servers/gemini/agate/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/mbrubeck/agate"; changelog = "https://github.com/mbrubeck/agate/blob/master/CHANGELOG.md"; description = "Very simple server for the Gemini hypertext protocol"; + mainProgram = "agate"; longDescription = '' Agate is a server for the Gemini network protocol, built with the Rust programming language. Agate has very few features, and can only serve diff --git a/pkgs/servers/gemini/gmnisrv/default.nix b/pkgs/servers/gemini/gmnisrv/default.nix index c13d4dda5056..c55da9cc5759 100644 --- a/pkgs/servers/gemini/gmnisrv/default.nix +++ b/pkgs/servers/gemini/gmnisrv/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple Gemini protocol server"; + mainProgram = "gmnisrv"; homepage = "https://git.sr.ht/~sircmpwn/gmnisrv"; license = licenses.gpl3Only; maintainers = with maintainers; [ bsima jb55 ]; diff --git a/pkgs/servers/gemini/molly-brown/default.nix b/pkgs/servers/gemini/molly-brown/default.nix index 351f54f21d49..f5529f038996 100644 --- a/pkgs/servers/gemini/molly-brown/default.nix +++ b/pkgs/servers/gemini/molly-brown/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Full-featured Gemini server"; + mainProgram = "molly-brown"; homepage = "https://tildegit.org/solderpunk/molly-brown"; maintainers = with maintainers; [ ehmry ]; license = licenses.bsd2; diff --git a/pkgs/servers/gemini/stargazer/default.nix b/pkgs/servers/gemini/stargazer/default.nix index 5d346ec15a0c..a77f64a75a9d 100644 --- a/pkgs/servers/gemini/stargazer/default.nix +++ b/pkgs/servers/gemini/stargazer/default.nix @@ -41,6 +41,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A fast and easy to use Gemini server"; + mainProgram = "stargazer"; homepage = "https://sr.ht/~zethra/stargazer/"; license = licenses.agpl3Plus; changelog = "https://git.sr.ht/~zethra/stargazer/refs/${version}"; diff --git a/pkgs/servers/geospatial/mbtileserver/default.nix b/pkgs/servers/geospatial/mbtileserver/default.nix index 6b2831f87f1a..4a1495ad32d6 100644 --- a/pkgs/servers/geospatial/mbtileserver/default.nix +++ b/pkgs/servers/geospatial/mbtileserver/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "A simple Go-based server for map tiles stored in mbtiles format"; + mainProgram = "mbtileserver"; homepage = "https://github.com/consbio/mbtileserver"; changelog = "https://github.com/consbio/mbtileserver/blob/v${version}/CHANGELOG.md"; license = licenses.isc; diff --git a/pkgs/servers/geospatial/pg_featureserv/default.nix b/pkgs/servers/geospatial/pg_featureserv/default.nix index 04a226650ac5..df7bba48abe6 100644 --- a/pkgs/servers/geospatial/pg_featureserv/default.nix +++ b/pkgs/servers/geospatial/pg_featureserv/default.nix @@ -37,6 +37,7 @@ buildGoModule rec { meta = with lib; { description = "Lightweight RESTful Geospatial Feature Server for PostGIS in Go"; + mainProgram = "pg_featureserv"; homepage = "https://github.com/CrunchyData/pg_featureserv"; license = licenses.asl20; maintainers = teams.geospatial.members; diff --git a/pkgs/servers/geospatial/pg_tileserv/default.nix b/pkgs/servers/geospatial/pg_tileserv/default.nix index 38d59d57b30b..0173559576ef 100644 --- a/pkgs/servers/geospatial/pg_tileserv/default.nix +++ b/pkgs/servers/geospatial/pg_tileserv/default.nix @@ -39,6 +39,7 @@ buildGoModule rec { meta = with lib; { description = "A very thin PostGIS-only tile server in Go"; + mainProgram = "pg_tileserv"; homepage = "https://github.com/CrunchyData/pg_tileserv"; license = licenses.asl20; maintainers = teams.geospatial.members; diff --git a/pkgs/servers/geospatial/tegola/default.nix b/pkgs/servers/geospatial/tegola/default.nix index 3a3c40c2b20c..db6659172d05 100644 --- a/pkgs/servers/geospatial/tegola/default.nix +++ b/pkgs/servers/geospatial/tegola/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://www.tegola.io/"; description = "Mapbox Vector Tile server"; + mainProgram = "tegola"; maintainers = with maintainers; [ ingenieroariel ]; license = licenses.mit; }; diff --git a/pkgs/servers/gotty/default.nix b/pkgs/servers/gotty/default.nix index 9e45cce09ed6..9e5e95315f62 100644 --- a/pkgs/servers/gotty/default.nix +++ b/pkgs/servers/gotty/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "Share your terminal as a web application"; + mainProgram = "gotty"; homepage = "https://github.com/sorenisanerd/gotty"; maintainers = with maintainers; [ prusnak ]; license = licenses.mit; diff --git a/pkgs/servers/hasura/cli.nix b/pkgs/servers/hasura/cli.nix index b8ec1a92fe30..09e1a5fd95c1 100644 --- a/pkgs/servers/hasura/cli.nix +++ b/pkgs/servers/hasura/cli.nix @@ -30,5 +30,6 @@ buildGoModule rec { meta = { inherit (hasura-graphql-engine.meta) license homepage maintainers; description = "Hasura GraphQL Engine CLI"; + mainProgram = "hasura"; }; } diff --git a/pkgs/servers/home-assistant/appdaemon.nix b/pkgs/servers/home-assistant/appdaemon.nix index 167e740f2181..40c55e9f5d78 100644 --- a/pkgs/servers/home-assistant/appdaemon.nix +++ b/pkgs/servers/home-assistant/appdaemon.nix @@ -51,6 +51,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Sandboxed Python execution environment for writing automation apps for Home Assistant"; + mainProgram = "appdaemon"; homepage = "https://github.com/AppDaemon/appdaemon"; changelog = "https://github.com/AppDaemon/appdaemon/blob/${version}/docs/HISTORY.md"; license = licenses.mit; diff --git a/pkgs/servers/home-assistant/cli.nix b/pkgs/servers/home-assistant/cli.nix index 32f17178fb33..b567cb0fe536 100644 --- a/pkgs/servers/home-assistant/cli.nix +++ b/pkgs/servers/home-assistant/cli.nix @@ -55,6 +55,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Command-line tool for Home Assistant"; + mainProgram = "hass-cli"; homepage = "https://github.com/home-assistant-ecosystem/home-assistant-cli"; changelog = "https://github.com/home-assistant-ecosystem/home-assistant-cli/releases/tag/${version}"; license = licenses.asl20; diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix index 056e17a2be0d..ff4150806f93 100644 --- a/pkgs/servers/home-assistant/component-packages.nix +++ b/pkgs/servers/home-assistant/component-packages.nix @@ -4026,12 +4026,13 @@ aiohttp-cors aiohttp-fast-url-dispatcher aiohttp-zlib-ng + aioraven fnv-hash-fast psutil-home-assistant pyserial pyudev sqlalchemy - ]; # missing inputs: aioraven + ]; "rainmachine" = ps: with ps; [ regenmaschine ]; @@ -6396,6 +6397,7 @@ "radiotherm" "rainbird" "rainforest_eagle" + "rainforest_raven" "rainmachine" "random" "rapt_ble" diff --git a/pkgs/servers/http/apache-modules/mod_auth_mellon/default.nix b/pkgs/servers/http/apache-modules/mod_auth_mellon/default.nix index bc7d0d667b63..5dd2fee040e9 100644 --- a/pkgs/servers/http/apache-modules/mod_auth_mellon/default.nix +++ b/pkgs/servers/http/apache-modules/mod_auth_mellon/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/latchset/mod_auth_mellon"; description = "An Apache module with a simple SAML 2.0 service provider"; + mainProgram = "mellon_create_metadata.sh"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = with maintainers; [ womfoo ]; diff --git a/pkgs/servers/http/apache-modules/mod_perl/default.nix b/pkgs/servers/http/apache-modules/mod_perl/default.nix index bbb38eb969bd..1c150b7f957b 100644 --- a/pkgs/servers/http/apache-modules/mod_perl/default.nix +++ b/pkgs/servers/http/apache-modules/mod_perl/default.nix @@ -25,4 +25,5 @@ stdenv.mkDerivation rec { ''; passthru.tests = nixosTests.mod_perl; + meta.mainProgram = "mp2bug"; } diff --git a/pkgs/servers/http/apache-modules/mod_python/default.nix b/pkgs/servers/http/apache-modules/mod_python/default.nix index 2f427d170fdf..cb611dfcc605 100644 --- a/pkgs/servers/http/apache-modules/mod_python/default.nix +++ b/pkgs/servers/http/apache-modules/mod_python/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://modpython.org/"; description = "An Apache module that embeds the Python interpreter within the server"; + mainProgram = "mod_python"; platforms = platforms.unix; maintainers = with maintainers; [ ]; }; diff --git a/pkgs/servers/http/apt-cacher-ng/default.nix b/pkgs/servers/http/apt-cacher-ng/default.nix index dd3648961439..72a456ab17f9 100644 --- a/pkgs/servers/http/apt-cacher-ng/default.nix +++ b/pkgs/servers/http/apt-cacher-ng/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A caching proxy specialized for Linux distribution files"; + mainProgram = "apt-cacher-ng"; homepage = "https://www.unix-ag.uni-kl.de/~bloch/acng/"; license = licenses.bsdOriginal; platforms = platforms.linux; diff --git a/pkgs/servers/http/darkhttpd/default.nix b/pkgs/servers/http/darkhttpd/default.nix index a0678299ac9c..0d55b3b6b588 100644 --- a/pkgs/servers/http/darkhttpd/default.nix +++ b/pkgs/servers/http/darkhttpd/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Small and secure static webserver"; + mainProgram = "darkhttpd"; homepage = "https://unix4lyfe.org/darkhttpd/"; license = licenses.bsd3; maintainers = with maintainers; [ bobvanderlinden ]; diff --git a/pkgs/servers/http/dufs/default.nix b/pkgs/servers/http/dufs/default.nix index a889f42f97aa..433a68d1a54a 100644 --- a/pkgs/servers/http/dufs/default.nix +++ b/pkgs/servers/http/dufs/default.nix @@ -42,6 +42,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A file server that supports static serving, uploading, searching, accessing control, webdav"; + mainProgram = "dufs"; homepage = "https://github.com/sigoden/dufs"; changelog = "https://github.com/sigoden/dufs/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/servers/http/envoy/default.nix b/pkgs/servers/http/envoy/default.nix index 9a50c3063eb3..bb8a5e6a575c 100644 --- a/pkgs/servers/http/envoy/default.nix +++ b/pkgs/servers/http/envoy/default.nix @@ -193,6 +193,7 @@ buildBazelPackage { homepage = "https://envoyproxy.io"; changelog = "https://github.com/envoyproxy/envoy/releases/tag/v${version}"; description = "Cloud-native edge and service proxy"; + mainProgram = "envoy"; license = licenses.asl20; maintainers = with maintainers; [ lukegb ]; platforms = [ "x86_64-linux" "aarch64-linux" ]; diff --git a/pkgs/servers/http/hyp/default.nix b/pkgs/servers/http/hyp/default.nix index 7380a7a35191..76562311ac64 100644 --- a/pkgs/servers/http/hyp/default.nix +++ b/pkgs/servers/http/hyp/default.nix @@ -11,6 +11,7 @@ python3Packages.buildPythonPackage rec { meta = with lib; { description = "Hyperminimal https server"; + mainProgram = "hyp"; homepage = "https://github.com/rnhmjoj/hyp"; license = with licenses; [gpl3Plus mit]; maintainers = with maintainers; [ rnhmjoj ]; diff --git a/pkgs/servers/http/lwan/default.nix b/pkgs/servers/http/lwan/default.nix index 5aff026aa9ce..bc155d353b9f 100644 --- a/pkgs/servers/http/lwan/default.nix +++ b/pkgs/servers/http/lwan/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Lightweight high-performance multi-threaded web server"; + mainProgram = "lwan"; longDescription = "A lightweight and speedy web server with a low memory footprint (~500KiB for 10k idle connections), with minimal system calls and memory allocation. Lwan contains a hand-crafted HTTP request parser. Files are diff --git a/pkgs/servers/http/mini-httpd/default.nix b/pkgs/servers/http/mini-httpd/default.nix index d56f83366f9e..fdf5012514f6 100644 --- a/pkgs/servers/http/mini-httpd/default.nix +++ b/pkgs/servers/http/mini-httpd/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://mini-httpd.nongnu.org/"; description = "minimalistic high-performance web server"; + mainProgram = "httpd"; license = lib.licenses.gpl3; platforms = lib.platforms.linux; maintainers = [ lib.maintainers.peti ]; diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix index 81e785e4ec73..e998675b5766 100644 --- a/pkgs/servers/http/nginx/generic.nix +++ b/pkgs/servers/http/nginx/generic.nix @@ -200,6 +200,7 @@ stdenv.mkDerivation { meta = if meta != null then meta else with lib; { description = "A reverse proxy and lightweight webserver"; + mainProgram = "nginx"; homepage = "http://nginx.org"; license = [ licenses.bsd2 ] ++ concatMap (m: m.meta.license) modules; diff --git a/pkgs/servers/http/pomerium/default.nix b/pkgs/servers/http/pomerium/default.nix index 033fe8bf321e..248b7ae1f3e7 100644 --- a/pkgs/servers/http/pomerium/default.nix +++ b/pkgs/servers/http/pomerium/default.nix @@ -121,6 +121,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://pomerium.io"; description = "Authenticating reverse proxy"; + mainProgram = "pomerium"; license = licenses.asl20; maintainers = with maintainers; [ lukegb devusb ]; platforms = [ "x86_64-linux" "aarch64-linux" ]; diff --git a/pkgs/servers/http/pshs/default.nix b/pkgs/servers/http/pshs/default.nix index bbac8b843b15..e7715881541a 100644 --- a/pkgs/servers/http/pshs/default.nix +++ b/pkgs/servers/http/pshs/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = { description = "Pretty small HTTP server - a command-line tool to share files"; + mainProgram = "pshs"; homepage = "https://github.com/mgorny/pshs"; license = lib.licenses.bsd3; platforms = lib.platforms.linux; diff --git a/pkgs/servers/http/quark/default.nix b/pkgs/servers/http/quark/default.nix index 629e61b43397..e178fe91a34a 100644 --- a/pkgs/servers/http/quark/default.nix +++ b/pkgs/servers/http/quark/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Extremely small and simple HTTP GET/HEAD-only web server for static content"; + mainProgram = "quark"; homepage = "http://tools.suckless.org/quark"; license = licenses.isc; maintainers = with maintainers; [ sikmir ]; diff --git a/pkgs/servers/http/ran/default.nix b/pkgs/servers/http/ran/default.nix index b5dcb136a31e..d22750fce3a0 100644 --- a/pkgs/servers/http/ran/default.nix +++ b/pkgs/servers/http/ran/default.nix @@ -40,6 +40,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/m3ng9i/ran"; description = "Ran is a simple web server for serving static files"; + mainProgram = "ran"; license = licenses.mit; maintainers = with maintainers; [ tomberek ]; }; diff --git a/pkgs/servers/http/redstore/default.nix b/pkgs/servers/http/redstore/default.nix index 30027467a2ea..869f2c1f3b04 100644 --- a/pkgs/servers/http/redstore/default.nix +++ b/pkgs/servers/http/redstore/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = { description = "An HTTP interface to Redland RDF store"; + mainProgram = "redstore"; homepage = "https://www.aelius.com/njh/redstore/"; maintainers = [ lib.maintainers.raskin ]; platforms = with lib.platforms; diff --git a/pkgs/servers/http/spawn-fcgi/default.nix b/pkgs/servers/http/spawn-fcgi/default.nix index c57cc816524d..3a4d9c8597c5 100644 --- a/pkgs/servers/http/spawn-fcgi/default.nix +++ b/pkgs/servers/http/spawn-fcgi/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://redmine.lighttpd.net/projects/spawn-fcgi"; description = "Provides an interface to external programs that support the FastCGI interface"; + mainProgram = "spawn-fcgi"; license = licenses.bsd3; maintainers = with maintainers; [ ]; platforms = with platforms; unix; diff --git a/pkgs/servers/http/tengine/default.nix b/pkgs/servers/http/tengine/default.nix index b03a285a1d02..591f180893b3 100644 --- a/pkgs/servers/http/tengine/default.nix +++ b/pkgs/servers/http/tengine/default.nix @@ -118,6 +118,7 @@ stdenv.mkDerivation rec { meta = { description = "A web server based on Nginx and has many advanced features, originated by Taobao"; + mainProgram = "nginx"; homepage = "https://tengine.taobao.org"; license = licenses.bsd2; platforms = platforms.all; diff --git a/pkgs/servers/http/unit/default.nix b/pkgs/servers/http/unit/default.nix index d6c17dfb885f..c77428688da5 100644 --- a/pkgs/servers/http/unit/default.nix +++ b/pkgs/servers/http/unit/default.nix @@ -76,6 +76,7 @@ in stdenv.mkDerivation rec { meta = { description = "Dynamic web and application server, designed to run applications in multiple languages"; + mainProgram = "unitd"; homepage = "https://unit.nginx.org/"; license = licenses.asl20; platforms = platforms.linux; diff --git a/pkgs/servers/http/webhook/default.nix b/pkgs/servers/http/webhook/default.nix index 789382def1dc..d4ee36713e4c 100644 --- a/pkgs/servers/http/webhook/default.nix +++ b/pkgs/servers/http/webhook/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { description = "Incoming webhook server that executes shell commands"; + mainProgram = "webhook"; homepage = "https://github.com/adnanh/webhook"; license = licenses.mit; maintainers = with maintainers; [ azahi ]; diff --git a/pkgs/servers/http/yaws/default.nix b/pkgs/servers/http/yaws/default.nix index 7609c6ea5454..5e5a401d35d2 100644 --- a/pkgs/servers/http/yaws/default.nix +++ b/pkgs/servers/http/yaws/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A webserver for dynamic content written in Erlang."; + mainProgram = "yaws"; homepage = "https://github.com/erlyaws/yaws"; license = licenses.bsd2; platforms = platforms.linux; diff --git a/pkgs/servers/icecast/default.nix b/pkgs/servers/icecast/default.nix index e04716214fec..de375bb51841 100644 --- a/pkgs/servers/icecast/default.nix +++ b/pkgs/servers/icecast/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = { description = "Server software for streaming multimedia"; + mainProgram = "icecast"; longDescription = '' Icecast is a streaming media server which currently supports diff --git a/pkgs/servers/identd/nullidentdmod/default.nix b/pkgs/servers/identd/nullidentdmod/default.nix index ee759ac55ea1..c027e143b503 100644 --- a/pkgs/servers/identd/nullidentdmod/default.nix +++ b/pkgs/servers/identd/nullidentdmod/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple identd that just replies with a random string or customized userid"; + mainProgram = "nullidentdmod"; license = licenses.gpl2; homepage = "http://acidhub.click/NullidentdMod"; maintainers = with maintainers; [ das_j ]; diff --git a/pkgs/servers/identd/oidentd/default.nix b/pkgs/servers/identd/oidentd/default.nix index 1b219ee76cc3..510834ed282f 100644 --- a/pkgs/servers/identd/oidentd/default.nix +++ b/pkgs/servers/identd/oidentd/default.nix @@ -12,6 +12,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Configurable Ident protocol server"; + mainProgram = "oidentd"; homepage = "https://oidentd.janikrabe.com/"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/servers/imgproxy/default.nix b/pkgs/servers/imgproxy/default.nix index fd2b1758cc45..8868a3bad57e 100644 --- a/pkgs/servers/imgproxy/default.nix +++ b/pkgs/servers/imgproxy/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { description = "Fast and secure on-the-fly image processing server written in Go"; + mainProgram = "imgproxy"; homepage = "https://imgproxy.net"; changelog = "https://github.com/imgproxy/imgproxy/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/servers/interlock/default.nix b/pkgs/servers/interlock/default.nix index b68a4a3563d0..4b53b2de067f 100644 --- a/pkgs/servers/interlock/default.nix +++ b/pkgs/servers/interlock/default.nix @@ -47,6 +47,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/usbarmory/interlock"; description = "File encryption tool and an HSM frontend"; + mainProgram = "interlock"; license = licenses.gpl3Plus; platforms = platforms.linux; }; diff --git a/pkgs/servers/invidious/default.nix b/pkgs/servers/invidious/default.nix index 3f5bb42a48f2..6ca98eeeec8c 100644 --- a/pkgs/servers/invidious/default.nix +++ b/pkgs/servers/invidious/default.nix @@ -107,6 +107,7 @@ crystal.buildCrystalPackage rec { meta = with lib; { description = "An open source alternative front-end to YouTube"; + mainProgram = "invidious"; homepage = "https://invidious.io/"; license = licenses.agpl3; maintainers = with maintainers; [ infinisil sbruder ]; diff --git a/pkgs/servers/irc/ergochat/default.nix b/pkgs/servers/irc/ergochat/default.nix index 5fa160dabeb1..ad8e3f44a809 100644 --- a/pkgs/servers/irc/ergochat/default.nix +++ b/pkgs/servers/irc/ergochat/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = { changelog = "https://github.com/ergochat/ergo/blob/v${version}/CHANGELOG.md"; description = "A modern IRC server (daemon/ircd) written in Go"; + mainProgram = "ergo"; homepage = "https://github.com/ergochat/ergo"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ lassulus tv ]; diff --git a/pkgs/servers/irc/irccat/default.nix b/pkgs/servers/irc/irccat/default.nix index fb4b1c6c6bad..ce0ba4785ca7 100644 --- a/pkgs/servers/irc/irccat/default.nix +++ b/pkgs/servers/irc/irccat/default.nix @@ -16,6 +16,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/irccloud/irccat"; description = "Send events to IRC channels from scripts and other applications"; + mainProgram = "irccat"; maintainers = with maintainers; [ qyliss ]; license = licenses.gpl3Only; }; diff --git a/pkgs/servers/irc/ngircd/default.nix b/pkgs/servers/irc/ngircd/default.nix index 870a7836fe4f..3ec80a5075e0 100644 --- a/pkgs/servers/irc/ngircd/default.nix +++ b/pkgs/servers/irc/ngircd/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = { description = "Next Generation IRC Daemon"; + mainProgram = "ngircd"; homepage = "https://ngircd.barton.de"; license = lib.licenses.gpl2; platforms = lib.platforms.all; diff --git a/pkgs/servers/irc/robustirc-bridge/default.nix b/pkgs/servers/irc/robustirc-bridge/default.nix index 985b17945d09..2d5c6ef1231b 100644 --- a/pkgs/servers/irc/robustirc-bridge/default.nix +++ b/pkgs/servers/irc/robustirc-bridge/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Bridge to robustirc.net-IRC-Network"; + mainProgram = "robustirc-bridge"; homepage = "https://robustirc.net/"; license = licenses.bsd3; maintainers = [ maintainers.hax404 ]; diff --git a/pkgs/servers/isso/default.nix b/pkgs/servers/isso/default.nix index 735db1f0b435..f7cedae7cf1c 100644 --- a/pkgs/servers/isso/default.nix +++ b/pkgs/servers/isso/default.nix @@ -69,6 +69,7 @@ buildPythonApplication rec { meta = with lib; { description = "A commenting server similar to Disqus"; + mainProgram = "isso"; homepage = "https://posativ.org/isso/"; license = licenses.mit; maintainers = with maintainers; [ fgaz ]; diff --git a/pkgs/servers/jibri/default.nix b/pkgs/servers/jibri/default.nix index 1c97d18d98c3..0898ba34a16b 100644 --- a/pkgs/servers/jibri/default.nix +++ b/pkgs/servers/jibri/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "JItsi BRoadcasting Infrastructure"; + mainProgram = "jibri"; longDescription = '' Jibri provides services for recording or streaming a Jitsi Meet conference. It works by launching a Chrome instance rendered in a virtual framebuffer and capturing and diff --git a/pkgs/servers/jicofo/default.nix b/pkgs/servers/jicofo/default.nix index b567c701ff7e..0288e3e5a753 100644 --- a/pkgs/servers/jicofo/default.nix +++ b/pkgs/servers/jicofo/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A server side focus component used in Jitsi Meet conferences"; + mainProgram = "jicofo"; longDescription = '' JItsi COnference FOcus is a server side focus component used in Jitsi Meet conferences. ''; diff --git a/pkgs/servers/jigasi/default.nix b/pkgs/servers/jigasi/default.nix index d9f8ed60c09b..b1c646db5846 100644 --- a/pkgs/servers/jigasi/default.nix +++ b/pkgs/servers/jigasi/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A server-side application that allows regular SIP clients to join Jitsi Meet conferences"; + mainProgram = "jigasi"; longDescription = '' Jitsi Gateway to SIP: a server-side application that allows regular SIP clients to join Jitsi Meet conferences hosted by Jitsi Videobridge. ''; diff --git a/pkgs/servers/klipper/default.nix b/pkgs/servers/klipper/default.nix index 15b4c9351f30..0c56e1b10c48 100644 --- a/pkgs/servers/klipper/default.nix +++ b/pkgs/servers/klipper/default.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "The Klipper 3D printer firmware"; + mainProgram = "klippy"; homepage = "https://github.com/KevinOConnor/klipper"; maintainers = with maintainers; [ lovesegfault zhaofengli cab404 ]; platforms = platforms.linux; diff --git a/pkgs/servers/kubemq-community/default.nix b/pkgs/servers/kubemq-community/default.nix index 929b8460ae27..6fb080623a56 100644 --- a/pkgs/servers/kubemq-community/default.nix +++ b/pkgs/servers/kubemq-community/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = { homepage = "https://github.com/kubemq-io/kubemq-community"; description = "KubeMQ Community is the open-source version of KubeMQ, the Kubernetes native message broker."; + mainProgram = "kubemq-community"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ brianmcgee ]; }; diff --git a/pkgs/servers/kwakd/default.nix b/pkgs/servers/kwakd/default.nix index e65e6b5ab59a..fc0cdc43831d 100644 --- a/pkgs/servers/kwakd/default.nix +++ b/pkgs/servers/kwakd/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A super small webserver that serves blank pages"; + mainProgram = "kwakd"; license = licenses.gpl2; maintainers = [ maintainers.nicknovitski ]; platforms = platforms.unix; diff --git a/pkgs/servers/ldap/apache-directory-server/default.nix b/pkgs/servers/ldap/apache-directory-server/default.nix index 7008e0e40d25..46e52ef1bce9 100644 --- a/pkgs/servers/ldap/apache-directory-server/default.nix +++ b/pkgs/servers/ldap/apache-directory-server/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An extensible and embeddable directory server"; + mainProgram = "apache-directory-server"; homepage = "https://directory.apache.org/apacheds/"; license = licenses.asl20; platforms = platforms.unix; diff --git a/pkgs/servers/libreddit/default.nix b/pkgs/servers/libreddit/default.nix index f7a77c6962c5..246697c937f4 100644 --- a/pkgs/servers/libreddit/default.nix +++ b/pkgs/servers/libreddit/default.nix @@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Private front-end for Reddit"; + mainProgram = "libreddit"; homepage = "https://github.com/libreddit/libreddit"; changelog = "https://github.com/libreddit/libreddit/releases/tag/v${version}"; license = with licenses; [ agpl3Only ]; diff --git a/pkgs/servers/mail/mailhog/default.nix b/pkgs/servers/mail/mailhog/default.nix index d4c358ec47f5..ef20fa92f385 100644 --- a/pkgs/servers/mail/mailhog/default.nix +++ b/pkgs/servers/mail/mailhog/default.nix @@ -17,6 +17,7 @@ buildGoPackage rec { meta = with lib; { description = "Web and API based SMTP testing"; + mainProgram = "MailHog"; homepage = "https://github.com/mailhog/MailHog"; changelog = "https://github.com/mailhog/MailHog/releases/tag/v${version}"; maintainers = with maintainers; [ disassembler jojosch ]; diff --git a/pkgs/servers/mail/mailman/web.nix b/pkgs/servers/mail/mailman/web.nix index d347f434ab50..dc5ef230c235 100644 --- a/pkgs/servers/mail/mailman/web.nix +++ b/pkgs/servers/mail/mailman/web.nix @@ -44,6 +44,7 @@ buildPythonPackage rec { meta = with lib; { homepage = "https://gitlab.com/mailman/mailman-web"; description = "Django project for Mailman 3 web interface"; + mainProgram = "mailman-web"; license = licenses.gpl3Plus; maintainers = with maintainers; [ qyliss m1cr0man ]; }; diff --git a/pkgs/servers/mail/mox/default.nix b/pkgs/servers/mail/mox/default.nix index 60ed95648ccd..cb266f89bc4d 100644 --- a/pkgs/servers/mail/mox/default.nix +++ b/pkgs/servers/mail/mox/default.nix @@ -27,6 +27,7 @@ buildGoModule rec { meta = { description = "Modern full-featured open source secure mail server for low-maintenance self-hosted email"; + mainProgram = "mox"; homepage = "https://github.com/mjl-/mox"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dit7ya ]; diff --git a/pkgs/servers/mail/popa3d/default.nix b/pkgs/servers/mail/popa3d/default.nix index d36d26b5d520..da7ba498f243 100644 --- a/pkgs/servers/mail/popa3d/default.nix +++ b/pkgs/servers/mail/popa3d/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://www.openwall.com/popa3d/"; description = "Tiny POP3 daemon with security as the primary goal"; + mainProgram = "popa3d"; platforms = lib.platforms.linux; }; } diff --git a/pkgs/servers/mail/postfix/pflogsumm.nix b/pkgs/servers/mail/postfix/pflogsumm.nix index 800a69e95096..d70cde6b9da2 100644 --- a/pkgs/servers/mail/postfix/pflogsumm.nix +++ b/pkgs/servers/mail/postfix/pflogsumm.nix @@ -29,6 +29,7 @@ perlPackages.buildPerlPackage rec { homepage = "http://jimsun.linxnet.com/postfix_contrib.html"; maintainers = with lib.maintainers; [ schneefux ]; description = "Postfix activity overview"; + mainProgram = "pflogsumm"; license = lib.licenses.gpl2Plus; }; } diff --git a/pkgs/servers/mail/postsrsd/default.nix b/pkgs/servers/mail/postsrsd/default.nix index 99e3dbfdc435..c31fadc8ecbd 100644 --- a/pkgs/servers/mail/postsrsd/default.nix +++ b/pkgs/servers/mail/postsrsd/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/roehling/postsrsd"; description = "Postfix Sender Rewriting Scheme daemon"; + mainProgram = "postsrsd"; license = licenses.gpl2; platforms = platforms.all; maintainers = with maintainers; [ abbradar ]; diff --git a/pkgs/servers/mail/smtprelay/default.nix b/pkgs/servers/mail/smtprelay/default.nix index 8142dc76b98b..688c415caf26 100644 --- a/pkgs/servers/mail/smtprelay/default.nix +++ b/pkgs/servers/mail/smtprelay/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/decke/smtprelay"; description = "Simple Golang SMTP relay/proxy server"; + mainProgram = "smtprelay"; changelog = "https://github.com/decke/smtprelay/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ juliusrickert ]; diff --git a/pkgs/servers/matrix-synapse/matrix-appservice-irc/default.nix b/pkgs/servers/matrix-synapse/matrix-appservice-irc/default.nix index 753118528bdd..3d2e4058d061 100644 --- a/pkgs/servers/matrix-synapse/matrix-appservice-irc/default.nix +++ b/pkgs/servers/matrix-synapse/matrix-appservice-irc/default.nix @@ -84,6 +84,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Node.js IRC bridge for Matrix"; + mainProgram = "matrix-appservice-irc"; maintainers = with maintainers; [ rhysmdnz ]; homepage = "https://github.com/matrix-org/matrix-appservice-irc"; license = licenses.asl20; diff --git a/pkgs/servers/matrix-synapse/matrix-appservice-slack/default.nix b/pkgs/servers/matrix-synapse/matrix-appservice-slack/default.nix index bbfc36ad4268..e7928dab5417 100644 --- a/pkgs/servers/matrix-synapse/matrix-appservice-slack/default.nix +++ b/pkgs/servers/matrix-synapse/matrix-appservice-slack/default.nix @@ -49,6 +49,7 @@ mkYarnPackage rec { meta = with lib; { description = "A Matrix <--> Slack bridge"; + mainProgram = "matrix-appservice-slack"; maintainers = with maintainers; [ beardhatcode chvp ]; license = licenses.asl20; }; diff --git a/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix b/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix index f784036075c8..9598baed39e6 100644 --- a/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix +++ b/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix @@ -76,6 +76,7 @@ mkYarnPackage rec { meta = with lib; { description = "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA"; + mainProgram = "matrix-hookshot"; maintainers = with maintainers; [ chvp ]; license = licenses.asl20; platforms = platforms.linux; diff --git a/pkgs/servers/matrix-synapse/plugins/s3-storage-provider.nix b/pkgs/servers/matrix-synapse/plugins/s3-storage-provider.nix index 8999c6982577..9033049c33bd 100644 --- a/pkgs/servers/matrix-synapse/plugins/s3-storage-provider.nix +++ b/pkgs/servers/matrix-synapse/plugins/s3-storage-provider.nix @@ -52,6 +52,7 @@ buildPythonPackage rec { meta = with lib; { description = "Synapse storage provider to fetch and store media in Amazon S3"; + mainProgram = "s3_media_upload"; homepage = "https://github.com/matrix-org/synapse-s3-storage-provider"; changelog = "https://github.com/matrix-org/synapse-s3-storage-provider/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/servers/matrix-synapse/tools/synadm.nix b/pkgs/servers/matrix-synapse/tools/synadm.nix index e69319477493..6d24ea59abcf 100644 --- a/pkgs/servers/matrix-synapse/tools/synadm.nix +++ b/pkgs/servers/matrix-synapse/tools/synadm.nix @@ -34,6 +34,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Command line admin tool for Synapse"; + mainProgram = "synadm"; longDescription = '' A CLI tool to help admins of Matrix Synapse homeservers conveniently issue commands available via its admin API's diff --git a/pkgs/servers/mattermost/matterircd.nix b/pkgs/servers/mattermost/matterircd.nix index c66d5557d76f..9a3b5b6357f7 100644 --- a/pkgs/servers/mattermost/matterircd.nix +++ b/pkgs/servers/mattermost/matterircd.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Minimal IRC server bridge to Mattermost"; + mainProgram = "matterircd"; homepage = "https://github.com/42wim/matterircd"; license = licenses.mit; maintainers = with maintainers; [ ]; diff --git a/pkgs/servers/mesos-dns/default.nix b/pkgs/servers/mesos-dns/default.nix index e26b13bb25ab..3efaae630198 100644 --- a/pkgs/servers/mesos-dns/default.nix +++ b/pkgs/servers/mesos-dns/default.nix @@ -18,4 +18,5 @@ buildGoPackage rec { }; goDeps = ./deps.nix; + meta.mainProgram = "mesos-dns"; } diff --git a/pkgs/servers/minio/legacy_fs.nix b/pkgs/servers/minio/legacy_fs.nix index 170001b3ae6e..3cf4bed41eba 100644 --- a/pkgs/servers/minio/legacy_fs.nix +++ b/pkgs/servers/minio/legacy_fs.nix @@ -43,6 +43,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://www.minio.io/"; description = "An S3-compatible object storage server"; + mainProgram = "minio"; changelog = "https://github.com/minio/minio/releases/tag/RELEASE.${version}"; maintainers = with maintainers; [ eelco bachp ]; license = licenses.agpl3Plus; diff --git a/pkgs/servers/misc/client-ip-echo/client-ip-echo.nix b/pkgs/servers/misc/client-ip-echo/client-ip-echo.nix index d6a25b3675ff..a02daa179833 100644 --- a/pkgs/servers/misc/client-ip-echo/client-ip-echo.nix +++ b/pkgs/servers/misc/client-ip-echo/client-ip-echo.nix @@ -13,4 +13,5 @@ mkDerivation { executableHaskellDepends = [ base bytestring network ]; description = "accepts TCP connections and echoes the client's IP address back to it"; license = lib.licenses.lgpl3; + mainProgram = "client-ip-echo"; } diff --git a/pkgs/servers/misc/gobgpd/default.nix b/pkgs/servers/misc/gobgpd/default.nix index 8d7a8f563ea8..48003cae4693 100644 --- a/pkgs/servers/misc/gobgpd/default.nix +++ b/pkgs/servers/misc/gobgpd/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "BGP implemented in Go"; + mainProgram = "gobgpd"; homepage = "https://osrg.github.io/gobgp/"; changelog = "https://github.com/osrg/gobgp/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/servers/misc/navidrome/default.nix b/pkgs/servers/misc/navidrome/default.nix index 76e20469faa0..b663df8809a8 100644 --- a/pkgs/servers/misc/navidrome/default.nix +++ b/pkgs/servers/misc/navidrome/default.nix @@ -77,6 +77,7 @@ buildGoModule rec { meta = { description = "Navidrome Music Server and Streamer compatible with Subsonic/Airsonic"; + mainProgram = "navidrome"; homepage = "https://www.navidrome.org/"; license = lib.licenses.gpl3Only; sourceProvenance = with lib.sourceTypes; [ fromSource ]; diff --git a/pkgs/servers/misc/oven-media-engine/default.nix b/pkgs/servers/misc/oven-media-engine/default.nix index cd9e12377f5a..35db446c70a2 100644 --- a/pkgs/servers/misc/oven-media-engine/default.nix +++ b/pkgs/servers/misc/oven-media-engine/default.nix @@ -57,6 +57,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Open-source streaming video service with sub-second latency"; + mainProgram = "OvenMediaEngine"; homepage = "https://ovenmediaengine.com"; license = licenses.agpl3Only; maintainers = with maintainers; [ lukegb ]; diff --git a/pkgs/servers/misc/podgrab/default.nix b/pkgs/servers/misc/podgrab/default.nix index 225421b973d6..4e5846faba56 100644 --- a/pkgs/servers/misc/podgrab/default.nix +++ b/pkgs/servers/misc/podgrab/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "A self-hosted podcast manager to download episodes as soon as they become live"; + mainProgram = "podgrab"; homepage = "https://github.com/akhilrex/podgrab"; license = licenses.gpl3Only; maintainers = with maintainers; [ ambroisie ]; diff --git a/pkgs/servers/misc/qremotecontrol-server/default.nix b/pkgs/servers/misc/qremotecontrol-server/default.nix index 31d66070d42f..5fba2c0a382f 100644 --- a/pkgs/servers/misc/qremotecontrol-server/default.nix +++ b/pkgs/servers/misc/qremotecontrol-server/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation { maintainers = with maintainers; [ fgaz ]; homepage = "https://sourceforge.net/projects/qrc/"; description = "Remote control your desktop from your mobile"; + mainProgram = "qremotecontrol-server"; longDescription = '' With QRemoteControl installed on your desktop you can easily control your computer via WiFi from your mobile. By using the touch pad of your diff --git a/pkgs/servers/misc/shell2http/default.nix b/pkgs/servers/misc/shell2http/default.nix index 994df898215f..ae1a6840f496 100644 --- a/pkgs/servers/misc/shell2http/default.nix +++ b/pkgs/servers/misc/shell2http/default.nix @@ -43,6 +43,7 @@ buildGoModule rec { meta = with lib; { description = "Executing shell commands via HTTP server"; + mainProgram = "shell2http"; homepage = "https://github.com/msoap/shell2http"; changelog = "https://github.com/msoap/shell2http/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/servers/misc/starcharts/default.nix b/pkgs/servers/misc/starcharts/default.nix index 05245213b5b5..c866f18b2c6a 100644 --- a/pkgs/servers/misc/starcharts/default.nix +++ b/pkgs/servers/misc/starcharts/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { description = "Plot your repository stars over time"; + mainProgram = "starcharts"; homepage = "https://github.com/caarlos0/starcharts"; changelog = "https://github.com/caarlos0/starcharts/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/servers/monitoring/alerta/client.nix b/pkgs/servers/monitoring/alerta/client.nix index d8de093c2765..d3de741e53bc 100644 --- a/pkgs/servers/monitoring/alerta/client.nix +++ b/pkgs/servers/monitoring/alerta/client.nix @@ -23,6 +23,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://alerta.io"; description = "Alerta Monitoring System command-line interface"; + mainProgram = "alerta"; license = licenses.asl20; }; } diff --git a/pkgs/servers/monitoring/alerta/default.nix b/pkgs/servers/monitoring/alerta/default.nix index e69599498182..f84bb3302eca 100644 --- a/pkgs/servers/monitoring/alerta/default.nix +++ b/pkgs/servers/monitoring/alerta/default.nix @@ -43,6 +43,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://alerta.io"; description = "Alerta Monitoring System server"; + mainProgram = "alertad"; license = licenses.asl20; maintainers = with maintainers; [ ]; }; diff --git a/pkgs/servers/monitoring/alertmanager-irc-relay/default.nix b/pkgs/servers/monitoring/alertmanager-irc-relay/default.nix index 7b06eed72ce6..fb5f524c0afe 100644 --- a/pkgs/servers/monitoring/alertmanager-irc-relay/default.nix +++ b/pkgs/servers/monitoring/alertmanager-irc-relay/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Alertmanager IRC Relay is a bot relaying Prometheus alerts to IRC"; + mainProgram = "alertmanager-irc-relay"; longDescription = '' Alertmanager IRC Relay is a bot relaying Prometheus alerts to IRC. Alerts are received from Prometheus using Webhooks and are relayed to an diff --git a/pkgs/servers/monitoring/cadvisor/default.nix b/pkgs/servers/monitoring/cadvisor/default.nix index 409ae5f37562..dc0d890a429f 100644 --- a/pkgs/servers/monitoring/cadvisor/default.nix +++ b/pkgs/servers/monitoring/cadvisor/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { description = "Analyzes resource usage and performance characteristics of running docker containers"; + mainProgram = "cadvisor"; homepage = "https://github.com/google/cadvisor"; license = licenses.asl20; maintainers = with maintainers; [ offline ]; diff --git a/pkgs/servers/monitoring/do-agent/default.nix b/pkgs/servers/monitoring/do-agent/default.nix index d13c48544898..ad9f7fc80c44 100644 --- a/pkgs/servers/monitoring/do-agent/default.nix +++ b/pkgs/servers/monitoring/do-agent/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { description = "DigitalOcean droplet system metrics agent"; + mainProgram = "do-agent"; longDescription = '' do-agent is a program provided by DigitalOcean that collects system metrics from a DigitalOcean Droplet (on which the program runs) and sends diff --git a/pkgs/servers/monitoring/grafana-image-renderer/default.nix b/pkgs/servers/monitoring/grafana-image-renderer/default.nix index a9cae2e1aa34..3a4217c6995e 100644 --- a/pkgs/servers/monitoring/grafana-image-renderer/default.nix +++ b/pkgs/servers/monitoring/grafana-image-renderer/default.nix @@ -60,6 +60,7 @@ mkYarnPackage rec { meta = with lib; { homepage = "https://github.com/grafana/grafana-image-renderer"; description = "A Grafana backend plugin that handles rendering of panels & dashboards to PNGs using headless browser (Chromium/Chrome)"; + mainProgram = "grafana-image-renderer"; license = licenses.asl20; maintainers = with maintainers; [ ma27 ]; platforms = platforms.all; diff --git a/pkgs/servers/monitoring/grafana-reporter/default.nix b/pkgs/servers/monitoring/grafana-reporter/default.nix index 60cf6d51224c..1b4d0d04fa30 100644 --- a/pkgs/servers/monitoring/grafana-reporter/default.nix +++ b/pkgs/servers/monitoring/grafana-reporter/default.nix @@ -25,6 +25,7 @@ buildGoPackage rec { meta = { description = "PDF report generator from a Grafana dashboard"; + mainProgram = "grafana-reporter"; homepage = "https://github.com/IzakMarais/reporter"; license = licenses.mit; maintainers = with maintainers; [ disassembler ]; diff --git a/pkgs/servers/monitoring/karma/default.nix b/pkgs/servers/monitoring/karma/default.nix index 5bc19740d8de..c27bffa3598f 100644 --- a/pkgs/servers/monitoring/karma/default.nix +++ b/pkgs/servers/monitoring/karma/default.nix @@ -62,6 +62,7 @@ buildGoModule rec { meta = with lib; { changelog = "https://github.com/prymitive/karma/blob/${src.rev}/CHANGELOG.md"; description = "Alert dashboard for Prometheus Alertmanager"; + mainProgram = "karma"; homepage = "https://karma-dashboard.io/"; license = licenses.asl20; maintainers = with maintainers; [ nukaduka ]; diff --git a/pkgs/servers/monitoring/loki/default.nix b/pkgs/servers/monitoring/loki/default.nix index 2578bb5a0405..4795d6c70b23 100644 --- a/pkgs/servers/monitoring/loki/default.nix +++ b/pkgs/servers/monitoring/loki/default.nix @@ -52,6 +52,7 @@ buildGoModule rec { meta = with lib; { description = "Like Prometheus, but for logs"; + mainProgram = "promtail"; license = with licenses; [ agpl3Only asl20 ]; homepage = "https://grafana.com/oss/loki/"; changelog = "https://github.com/grafana/loki/releases/tag/v${version}"; diff --git a/pkgs/servers/monitoring/longview/default.nix b/pkgs/servers/monitoring/longview/default.nix index d2cc7c040e5d..cfd9ddab9a2c 100644 --- a/pkgs/servers/monitoring/longview/default.nix +++ b/pkgs/servers/monitoring/longview/default.nix @@ -61,6 +61,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.linode.com/longview"; description = "Collects all of your system-level metrics and sends them to Linode"; + mainProgram = "longview"; license = licenses.gpl2Plus; maintainers = [ maintainers.rvl ]; inherit version; diff --git a/pkgs/servers/monitoring/mackerel-agent/default.nix b/pkgs/servers/monitoring/mackerel-agent/default.nix index b99309fb05e5..81fd88c37b29 100644 --- a/pkgs/servers/monitoring/mackerel-agent/default.nix +++ b/pkgs/servers/monitoring/mackerel-agent/default.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { description = "System monitoring service for mackerel.io"; + mainProgram = "mackerel-agent"; homepage = "https://github.com/mackerelio/mackerel-agent"; license = licenses.asl20; maintainers = with maintainers; [ midchildan ]; diff --git a/pkgs/servers/monitoring/matrix-alertmanager/default.nix b/pkgs/servers/monitoring/matrix-alertmanager/default.nix index 80685e94662c..a5c6212f6c8e 100644 --- a/pkgs/servers/monitoring/matrix-alertmanager/default.nix +++ b/pkgs/servers/monitoring/matrix-alertmanager/default.nix @@ -27,6 +27,7 @@ buildNpmPackage rec { meta = with lib; { changelog = "https://github.com/jaywink/matrix-alertmanager/blob/${src.rev}/CHANGELOG.md"; description = "Bot to receive Alertmanager webhook events and forward them to chosen rooms"; + mainProgram = "matrix-alertmanager"; homepage = "https://github.com/jaywink/matrix-alertmanager"; license = licenses.mit; maintainers = with maintainers; [ yuka ]; diff --git a/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix b/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix index 6e486b0b33ff..9572c1d2c87e 100644 --- a/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix +++ b/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Nagios plugin to check the CA and validity of an X.509 certificate"; + mainProgram = "check_ssl_cert"; homepage = "https://github.com/matteocorti/check_ssl_cert"; changelog = "https://github.com/matteocorti/check_ssl_cert/releases/tag/v${version}"; license = licenses.gpl3Plus; diff --git a/pkgs/servers/monitoring/nagios/plugins/check_systemd.nix b/pkgs/servers/monitoring/nagios/plugins/check_systemd.nix index 9904147420aa..fe1500d53f54 100644 --- a/pkgs/servers/monitoring/nagios/plugins/check_systemd.nix +++ b/pkgs/servers/monitoring/nagios/plugins/check_systemd.nix @@ -28,6 +28,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Nagios / Icinga monitoring plugin to check systemd for failed units"; + mainProgram = "check_systemd"; inherit (src.meta) homepage; changelog = "https://github.com/Josef-Friedrich/check_systemd/releases"; maintainers = with maintainers; [ symphorien ]; diff --git a/pkgs/servers/monitoring/nagios/plugins/smartmon.nix b/pkgs/servers/monitoring/nagios/plugins/smartmon.nix index 42554cfafe99..25adfefe84e2 100644 --- a/pkgs/servers/monitoring/nagios/plugins/smartmon.nix +++ b/pkgs/servers/monitoring/nagios/plugins/smartmon.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Nagios-Plugin that uses smartmontools to check disk health status and temperature"; + mainProgram = "check_smartmon"; homepage = "https://github.com/driehuis/Nagios_check_smartmon"; license = licenses.gpl2Plus; maintainers = with maintainers; [ mariaa144 ]; diff --git a/pkgs/servers/monitoring/nagios/plugins/zfs.nix b/pkgs/servers/monitoring/nagios/plugins/zfs.nix index 724aa498afb7..0ec84722d201 100644 --- a/pkgs/servers/monitoring/nagios/plugins/zfs.nix +++ b/pkgs/servers/monitoring/nagios/plugins/zfs.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Check the health, capacity, fragmentation, and other things for use with Nagios monitoring"; + mainProgram = "check_zfs"; homepage = "https://github.com/zlacelle/nagios_check_zfs_linux"; license = licenses.gpl3Only; maintainers = with maintainers; [ mariaa144 ]; diff --git a/pkgs/servers/monitoring/plugins/openvpn.nix b/pkgs/servers/monitoring/plugins/openvpn.nix index 2b7e69ab8f0b..3ae474d6d9e8 100644 --- a/pkgs/servers/monitoring/plugins/openvpn.nix +++ b/pkgs/servers/monitoring/plugins/openvpn.nix @@ -16,6 +16,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A nagios/icinga/sensu check plugin for OpenVPN"; + mainProgram = "check_openvpn"; license = licenses.mit; maintainers = with maintainers; [ peterhoeg ]; }; diff --git a/pkgs/servers/monitoring/plugins/wmic-bin.nix b/pkgs/servers/monitoring/plugins/wmic-bin.nix index 4cfbcd254133..64cf171afea1 100644 --- a/pkgs/servers/monitoring/plugins/wmic-bin.nix +++ b/pkgs/servers/monitoring/plugins/wmic-bin.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "WMI client for Linux (binary)"; + mainProgram = "wmic"; homepage = "https://www.openvas.org"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.mit; diff --git a/pkgs/servers/monitoring/prometheus/apcupsd-exporter.nix b/pkgs/servers/monitoring/prometheus/apcupsd-exporter.nix index 5bb98203fa2d..1f6dd51d8989 100644 --- a/pkgs/servers/monitoring/prometheus/apcupsd-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/apcupsd-exporter.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Provides a Prometheus exporter for the apcupsd Network Information Server (NIS)"; + mainProgram = "apcupsd_exporter"; homepage = "https://github.com/mdlayher/apcupsd_exporter"; license = licenses.mit; maintainers = with maintainers; [ _1000101 mdlayher ]; diff --git a/pkgs/servers/monitoring/prometheus/artifactory-exporter.nix b/pkgs/servers/monitoring/prometheus/artifactory-exporter.nix index 54b5c8370bdf..b9a11f47d8db 100644 --- a/pkgs/servers/monitoring/prometheus/artifactory-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/artifactory-exporter.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { description = "JFrog Artifactory Prometheus Exporter"; + mainProgram = "artifactory_exporter"; homepage = "https://github.com/peimanja/artifactory_exporter"; changelog = "https://github.com/peimanja/artifactory_exporter/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/servers/monitoring/prometheus/atlas-exporter.nix b/pkgs/servers/monitoring/prometheus/atlas-exporter.nix index ce40a93e66f8..c46959598149 100644 --- a/pkgs/servers/monitoring/prometheus/atlas-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/atlas-exporter.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for RIPE Atlas measurement results "; + mainProgram = "atlas_exporter"; homepage = "https://github.com/czerwonk/atlas_exporter"; license = licenses.lgpl3; maintainers = with maintainers; [ clerie ]; diff --git a/pkgs/servers/monitoring/prometheus/aws-s3-exporter.nix b/pkgs/servers/monitoring/prometheus/aws-s3-exporter.nix index dd0ea4ec5ec4..b3855f532e9a 100644 --- a/pkgs/servers/monitoring/prometheus/aws-s3-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/aws-s3-exporter.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Exports Prometheus metrics about S3 buckets and objects"; + mainProgram = "s3_exporter"; homepage = "https://github.com/ribbybibby/s3_exporter"; license = licenses.asl20; maintainers = [ maintainers.mmahut ]; diff --git a/pkgs/servers/monitoring/prometheus/bind-exporter.nix b/pkgs/servers/monitoring/prometheus/bind-exporter.nix index 1ee84e5e703a..8b8516f7967f 100644 --- a/pkgs/servers/monitoring/prometheus/bind-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/bind-exporter.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for bind9 server"; + mainProgram = "bind_exporter"; homepage = "https://github.com/digitalocean/bind_exporter"; license = licenses.asl20; maintainers = with maintainers; [ rtreffer ]; diff --git a/pkgs/servers/monitoring/prometheus/bird-exporter.nix b/pkgs/servers/monitoring/prometheus/bird-exporter.nix index f61e400d860f..25a90e1fdb0a 100644 --- a/pkgs/servers/monitoring/prometheus/bird-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/bird-exporter.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for the bird routing daemon"; + mainProgram = "bird_exporter"; homepage = "https://github.com/czerwonk/bird_exporter"; license = licenses.mit; maintainers = with maintainers; [ lukegb ]; diff --git a/pkgs/servers/monitoring/prometheus/bitcoin-exporter.nix b/pkgs/servers/monitoring/prometheus/bitcoin-exporter.nix index f2d50fe85014..4abd65235fab 100644 --- a/pkgs/servers/monitoring/prometheus/bitcoin-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/bitcoin-exporter.nix @@ -34,6 +34,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Prometheus exporter for Bitcoin Core nodes"; + mainProgram = "bitcoind-monitor.py"; homepage = "https://github.com/jvstein/bitcoin-prometheus-exporter"; license = licenses.bsd3; maintainers = with maintainers; [ mmilata ]; diff --git a/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix b/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix index 8025cffca843..8c929353a820 100644 --- a/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/blackbox-exporter.nix @@ -31,6 +31,7 @@ buildGoModule rec { meta = with lib; { description = "Blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP"; + mainProgram = "blackbox_exporter"; homepage = "https://github.com/prometheus/blackbox_exporter"; license = licenses.asl20; maintainers = with maintainers; [ globin fpletz willibutz Frostman ma27 ]; diff --git a/pkgs/servers/monitoring/prometheus/cloudflare-exporter.nix b/pkgs/servers/monitoring/prometheus/cloudflare-exporter.nix index 6d15188aaebe..7abcfeb32887 100644 --- a/pkgs/servers/monitoring/prometheus/cloudflare-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/cloudflare-exporter.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus Cloudflare Exporter"; + mainProgram = "cloudflare-exporter"; homepage = "https://github.com/lablabs/cloudflare-exporter"; license = licenses.asl20; maintainers = with maintainers; [ bbigras ]; diff --git a/pkgs/servers/monitoring/prometheus/collectd-exporter.nix b/pkgs/servers/monitoring/prometheus/collectd-exporter.nix index 1ff0ad38f47a..7997bacdb1bf 100644 --- a/pkgs/servers/monitoring/prometheus/collectd-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/collectd-exporter.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "Relay server for exporting metrics from collectd to Prometheus"; + mainProgram = "collectd_exporter"; homepage = "https://github.com/prometheus/collectd_exporter"; license = licenses.asl20; maintainers = with maintainers; [ benley ]; diff --git a/pkgs/servers/monitoring/prometheus/consul-exporter.nix b/pkgs/servers/monitoring/prometheus/consul-exporter.nix index a365bda5202a..4cc241af7c65 100644 --- a/pkgs/servers/monitoring/prometheus/consul-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/consul-exporter.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for Consul metrics"; + mainProgram = "consul_exporter"; homepage = "https://github.com/prometheus/consul_exporter"; changelog = "https://github.com/prometheus/consul_exporter/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix b/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix index 2b2c5354ca1c..3968f0b5c11c 100644 --- a/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix +++ b/pkgs/servers/monitoring/prometheus/dmarc-metrics-exporter/default.nix @@ -53,6 +53,7 @@ python3.pkgs.buildPythonApplication rec { meta = { description = "Export Prometheus metrics from DMARC reports"; + mainProgram = "dmarc-metrics-exporter"; homepage = "https://github.com/jgosmann/dmarc-metrics-exporter"; changelog = "https://github.com/jgosmann/dmarc-metrics-exporter/blob/v${version}/CHANGELOG.rst"; license = lib.licenses.mit; diff --git a/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix b/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix index f6af24264fe9..eb2297648b56 100644 --- a/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/dnsmasq-exporter.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { inherit (src.meta) homepage; description = "A dnsmasq exporter for Prometheus"; + mainProgram = "dnsmasq_exporter"; license = licenses.asl20; maintainers = with maintainers; [ willibutz globin ]; }; diff --git a/pkgs/servers/monitoring/prometheus/domain-exporter.nix b/pkgs/servers/monitoring/prometheus/domain-exporter.nix index 5f5ce702cebc..26afdca834a3 100644 --- a/pkgs/servers/monitoring/prometheus/domain-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/domain-exporter.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/caarlos0/domain_exporter"; description = "Exports the expiration time of your domains as prometheus metrics"; + mainProgram = "domain_exporter"; license = licenses.mit; maintainers = with maintainers; [ mmilata prusnak peterhoeg caarlos0 ]; }; diff --git a/pkgs/servers/monitoring/prometheus/dovecot-exporter.nix b/pkgs/servers/monitoring/prometheus/dovecot-exporter.nix index ff7156360a9c..7041c9df29d4 100644 --- a/pkgs/servers/monitoring/prometheus/dovecot-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/dovecot-exporter.nix @@ -20,6 +20,7 @@ buildGoPackage rec { meta = with lib; { inherit (src.meta) homepage; description = "Prometheus metrics exporter for Dovecot"; + mainProgram = "dovecot_exporter"; license = licenses.asl20; maintainers = with maintainers; [ willibutz globin ]; }; diff --git a/pkgs/servers/monitoring/prometheus/exportarr/default.nix b/pkgs/servers/monitoring/prometheus/exportarr/default.nix index 00b4690c5619..a451e46df2ab 100644 --- a/pkgs/servers/monitoring/prometheus/exportarr/default.nix +++ b/pkgs/servers/monitoring/prometheus/exportarr/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "AIO Prometheus Exporter for Sonarr, Radarr or Lidarr"; + mainProgram = "exportarr"; homepage = "https://github.com/onedr0p/exportarr"; changelog = "https://github.com/onedr0p/exportarr/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/servers/monitoring/prometheus/flow-exporter.nix b/pkgs/servers/monitoring/prometheus/flow-exporter.nix index 1b9f05dae3e2..e5fa4a7dcf83 100644 --- a/pkgs/servers/monitoring/prometheus/flow-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/flow-exporter.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Export network flows from kafka to Prometheus"; + mainProgram = "flow-exporter"; homepage = "https://github.com/neptune-networks/flow-exporter"; license = licenses.mit; maintainers = with maintainers; [ kloenk ]; diff --git a/pkgs/servers/monitoring/prometheus/fritzbox-exporter.nix b/pkgs/servers/monitoring/prometheus/fritzbox-exporter.nix index 99d306f9710d..d964f90cba44 100644 --- a/pkgs/servers/monitoring/prometheus/fritzbox-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/fritzbox-exporter.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus Exporter for FRITZ!Box (TR64 and UPnP)"; + mainProgram = "exporter"; homepage = "https://github.com/mxschmitt/fritzbox_exporter"; license = licenses.asl20; maintainers = with maintainers; [ bachp flokli sbruder ]; diff --git a/pkgs/servers/monitoring/prometheus/gitlab-ci-pipelines-exporter.nix b/pkgs/servers/monitoring/prometheus/gitlab-ci-pipelines-exporter.nix index ddcc080983df..8e86aa10b671 100644 --- a/pkgs/servers/monitoring/prometheus/gitlab-ci-pipelines-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/gitlab-ci-pipelines-exporter.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus / OpenMetrics exporter for GitLab CI pipelines insights"; + mainProgram = "gitlab-ci-pipelines-exporter"; homepage = "https://github.com/mvisonneau/gitlab-ci-pipelines-exporter"; license = licenses.asl20; maintainers = with maintainers; [ mmahut mvisonneau ]; diff --git a/pkgs/servers/monitoring/prometheus/haproxy-exporter.nix b/pkgs/servers/monitoring/prometheus/haproxy-exporter.nix index aa558bc8c9fd..6795885afd3d 100644 --- a/pkgs/servers/monitoring/prometheus/haproxy-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/haproxy-exporter.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "HAProxy Exporter for the Prometheus monitoring system"; + mainProgram = "haproxy_exporter"; homepage = "https://github.com/prometheus/haproxy_exporter"; license = licenses.asl20; maintainers = with maintainers; [ benley ]; diff --git a/pkgs/servers/monitoring/prometheus/idrac-exporter.nix b/pkgs/servers/monitoring/prometheus/idrac-exporter.nix index 3c1a0066be8a..1160984f0023 100644 --- a/pkgs/servers/monitoring/prometheus/idrac-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/idrac-exporter.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { inherit (src.meta) homepage; description = "Simple iDRAC exporter for Prometheus"; + mainProgram = "idrac_exporter"; license = licenses.mit; maintainers = with maintainers; [ codec ]; }; diff --git a/pkgs/servers/monitoring/prometheus/imap-mailstat-exporter.nix b/pkgs/servers/monitoring/prometheus/imap-mailstat-exporter.nix index e603c2a8811d..bd06041d0209 100644 --- a/pkgs/servers/monitoring/prometheus/imap-mailstat-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/imap-mailstat-exporter.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Export Prometheus-style metrics about how many emails you have in your INBOX and in additional configured folders"; + mainProgram = "imap-mailstat-exporter"; homepage = "https://github.com/bt909/imap-mailstat-exporter"; license = licenses.mit; maintainers = with maintainers; [ raboof ]; diff --git a/pkgs/servers/monitoring/prometheus/influxdb-exporter.nix b/pkgs/servers/monitoring/prometheus/influxdb-exporter.nix index 07ef8febf3de..2690481b45f8 100644 --- a/pkgs/servers/monitoring/prometheus/influxdb-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/influxdb-exporter.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter that accepts InfluxDB metrics"; + mainProgram = "influxdb_exporter"; homepage = "https://github.com/prometheus/influxdb_exporter"; changelog = "https://github.com/prometheus/influxdb_exporter/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/servers/monitoring/prometheus/ipmi-exporter.nix b/pkgs/servers/monitoring/prometheus/ipmi-exporter.nix index 1b1ac3c62420..ae39f6c98f74 100644 --- a/pkgs/servers/monitoring/prometheus/ipmi-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/ipmi-exporter.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { description = "An IPMI exporter for Prometheus"; + mainProgram = "ipmi_exporter"; homepage = "https://github.com/prometheus-community/ipmi_exporter"; changelog = "https://github.com/prometheus-community/ipmi_exporter/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/servers/monitoring/prometheus/jitsi-exporter.nix b/pkgs/servers/monitoring/prometheus/jitsi-exporter.nix index 5b90c26eed7e..13ce969b826c 100644 --- a/pkgs/servers/monitoring/prometheus/jitsi-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/jitsi-exporter.nix @@ -16,6 +16,7 @@ buildGoModule rec { meta = with lib; { description = "Export Jitsi Videobridge metrics to Prometheus"; + mainProgram = "jitsiexporter"; homepage = "https://git.xsfx.dev/prometheus/jitsiexporter"; license = licenses.mit; maintainers = with maintainers; [ ]; diff --git a/pkgs/servers/monitoring/prometheus/jmx-httpserver.nix b/pkgs/servers/monitoring/prometheus/jmx-httpserver.nix index cf180de54a70..532461234763 100644 --- a/pkgs/servers/monitoring/prometheus/jmx-httpserver.nix +++ b/pkgs/servers/monitoring/prometheus/jmx-httpserver.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/prometheus/jmx_exporter"; description = "A process for exposing JMX Beans via HTTP for Prometheus consumption"; + mainProgram = "jmx_prometheus_httpserver"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.asl20; maintainers = [ maintainers.offline ]; diff --git a/pkgs/servers/monitoring/prometheus/junos-czerwonk-exporter.nix b/pkgs/servers/monitoring/prometheus/junos-czerwonk-exporter.nix index 2b50c7850702..37631a00c679 100644 --- a/pkgs/servers/monitoring/prometheus/junos-czerwonk-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/junos-czerwonk-exporter.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Exporter for metrics from devices running JunOS"; + mainProgram = "junos_exporter"; homepage = "https://github.com/czerwonk/junos_exporter"; license = licenses.mit; maintainers = teams.wdz.members; diff --git a/pkgs/servers/monitoring/prometheus/kea-exporter.nix b/pkgs/servers/monitoring/prometheus/kea-exporter.nix index 572fed8a99d9..8270de4d9347 100644 --- a/pkgs/servers/monitoring/prometheus/kea-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/kea-exporter.nix @@ -30,6 +30,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Export Kea Metrics in the Prometheus Exposition Format"; + mainProgram = "kea-exporter"; homepage = "https://github.com/mweinelt/kea-exporter"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; diff --git a/pkgs/servers/monitoring/prometheus/keylight-exporter.nix b/pkgs/servers/monitoring/prometheus/keylight-exporter.nix index d2c816c7433a..59dcd621ca72 100644 --- a/pkgs/servers/monitoring/prometheus/keylight-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/keylight-exporter.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/mdlayher/keylight_exporter"; description = "Prometheus exporter for Elgato Key Light devices"; + mainProgram = "keylight_exporter"; license = licenses.mit; maintainers = with maintainers; [ mdlayher ]; }; diff --git a/pkgs/servers/monitoring/prometheus/kthxbye.nix b/pkgs/servers/monitoring/prometheus/kthxbye.nix index 897a58926d34..a0eb30f6819b 100644 --- a/pkgs/servers/monitoring/prometheus/kthxbye.nix +++ b/pkgs/servers/monitoring/prometheus/kthxbye.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus Alertmanager alert acknowledgement management daemon"; + mainProgram = "kthxbye"; homepage = "https://github.com/prymitive/kthxbye"; license = licenses.asl20; maintainers = with maintainers; [ nukaduka ]; diff --git a/pkgs/servers/monitoring/prometheus/lnd-exporter.nix b/pkgs/servers/monitoring/prometheus/lnd-exporter.nix index e66ab8852f1d..707d59b78bfa 100644 --- a/pkgs/servers/monitoring/prometheus/lnd-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/lnd-exporter.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/lightninglabs/lndmon"; description = "Prometheus exporter for lnd (Lightning Network Daemon)"; + mainProgram = "lndmon"; license = licenses.mit; maintainers = with maintainers; [ mmilata ]; }; diff --git a/pkgs/servers/monitoring/prometheus/mail-exporter.nix b/pkgs/servers/monitoring/prometheus/mail-exporter.nix index ae13becd0aed..851d297e760f 100644 --- a/pkgs/servers/monitoring/prometheus/mail-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/mail-exporter.nix @@ -24,6 +24,7 @@ buildGoModule { meta = with lib; { description = "Export Prometheus-style metrics about mail server functionality"; + mainProgram = "mailexporter"; homepage = "https://github.com/cherti/mailexporter"; license = licenses.gpl3; maintainers = with maintainers; [ willibutz globin ]; diff --git a/pkgs/servers/monitoring/prometheus/mikrotik-exporter.nix b/pkgs/servers/monitoring/prometheus/mikrotik-exporter.nix index 431b029db9f3..5d335f504bb3 100644 --- a/pkgs/servers/monitoring/prometheus/mikrotik-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/mikrotik-exporter.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { inherit (src.meta) homepage; description = "Prometheus MikroTik device(s) exporter"; + mainProgram = "mikrotik-exporter"; license = licenses.bsd3; maintainers = with maintainers; [ mmilata ]; }; diff --git a/pkgs/servers/monitoring/prometheus/minio-exporter/default.nix b/pkgs/servers/monitoring/prometheus/minio-exporter/default.nix index 93e9bca3283d..504611848ca9 100644 --- a/pkgs/servers/monitoring/prometheus/minio-exporter/default.nix +++ b/pkgs/servers/monitoring/prometheus/minio-exporter/default.nix @@ -27,6 +27,7 @@ buildGoPackage rec { meta = with lib; { description = "A Prometheus exporter for Minio cloud storage server"; + mainProgram = "minio-exporter"; homepage = "https://github.com/joe-pll/minio-exporter"; license = licenses.asl20; maintainers = with maintainers; [ bachp ]; diff --git a/pkgs/servers/monitoring/prometheus/modemmanager-exporter.nix b/pkgs/servers/monitoring/prometheus/modemmanager-exporter.nix index 271be41aee97..6975f2570435 100644 --- a/pkgs/servers/monitoring/prometheus/modemmanager-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/modemmanager-exporter.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/mdlayher/modemmanager_exporter"; description = "Prometheus exporter for ModemManager and its devices"; + mainProgram = "modemmanager_exporter"; license = licenses.mit; maintainers = with maintainers; [ mdlayher ]; }; diff --git a/pkgs/servers/monitoring/prometheus/mysqld-exporter.nix b/pkgs/servers/monitoring/prometheus/mysqld-exporter.nix index 2e2bead90b35..598b3220e4a3 100644 --- a/pkgs/servers/monitoring/prometheus/mysqld-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/mysqld-exporter.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for MySQL server metrics"; + mainProgram = "mysqld_exporter"; homepage = "https://github.com/prometheus/mysqld_exporter"; license = licenses.asl20; maintainers = with maintainers; [ benley globin ]; diff --git a/pkgs/servers/monitoring/prometheus/nginx-exporter.nix b/pkgs/servers/monitoring/prometheus/nginx-exporter.nix index 11862b58e004..a233b34a18d9 100644 --- a/pkgs/servers/monitoring/prometheus/nginx-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/nginx-exporter.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "NGINX Prometheus Exporter for NGINX and NGINX Plus"; + mainProgram = "nginx-prometheus-exporter"; homepage = "https://github.com/nginxinc/nginx-prometheus-exporter"; license = licenses.asl20; maintainers = with maintainers; [ benley fpletz willibutz globin ]; diff --git a/pkgs/servers/monitoring/prometheus/nginxlog-exporter.nix b/pkgs/servers/monitoring/prometheus/nginxlog-exporter.nix index 8c8964ec093f..3883cdaff5cc 100644 --- a/pkgs/servers/monitoring/prometheus/nginxlog-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/nginxlog-exporter.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "Export metrics from Nginx access log files to Prometheus"; + mainProgram = "prometheus-nginxlog-exporter"; homepage = "https://github.com/martin-helmich/prometheus-nginxlog-exporter"; license = licenses.asl20; maintainers = with maintainers; [ mmahut ]; diff --git a/pkgs/servers/monitoring/prometheus/node-exporter.nix b/pkgs/servers/monitoring/prometheus/node-exporter.nix index 78d611cd3f92..bce3eaeaa408 100644 --- a/pkgs/servers/monitoring/prometheus/node-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/node-exporter.nix @@ -38,6 +38,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for machine metrics"; + mainProgram = "node_exporter"; homepage = "https://github.com/prometheus/node_exporter"; changelog = "https://github.com/prometheus/node_exporter/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/servers/monitoring/prometheus/nut-exporter.nix b/pkgs/servers/monitoring/prometheus/nut-exporter.nix index 7b1ea2087bed..c9ec09a92172 100644 --- a/pkgs/servers/monitoring/prometheus/nut-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/nut-exporter.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for Network UPS Tools"; + mainProgram = "nut_exporter"; homepage = "https://github.com/DRuggeri/nut_exporter"; license = licenses.asl20; maintainers = with maintainers; [ jhh ]; diff --git a/pkgs/servers/monitoring/prometheus/openldap-exporter.nix b/pkgs/servers/monitoring/prometheus/openldap-exporter.nix index 3d574d1bb93f..49181699d65a 100644 --- a/pkgs/servers/monitoring/prometheus/openldap-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/openldap-exporter.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/tomcz/openldap_exporter"; description = "Simple service that scrapes metrics from OpenLDAP and exports them via HTTP for Prometheus consumption"; + mainProgram = "openldap_exporter"; license = licenses.mit; maintainers = with maintainers; [ ma27 ]; }; diff --git a/pkgs/servers/monitoring/prometheus/pgbouncer-exporter.nix b/pkgs/servers/monitoring/prometheus/pgbouncer-exporter.nix index 57f51e4997c5..ca62b415bfb9 100644 --- a/pkgs/servers/monitoring/prometheus/pgbouncer-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/pgbouncer-exporter.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for PgBouncer"; + mainProgram = "pgbouncer_exporter"; homepage = "https://github.com/prometheus-community/pgbouncer_exporter"; license = licenses.mit; maintainers = with maintainers; [ _1000101 ]; diff --git a/pkgs/servers/monitoring/prometheus/pihole-exporter.nix b/pkgs/servers/monitoring/prometheus/pihole-exporter.nix index 2ceddeb8a4b2..a5dba8e43725 100644 --- a/pkgs/servers/monitoring/prometheus/pihole-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/pihole-exporter.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for PI-Hole's Raspberry PI ad blocker"; + mainProgram = "pihole-exporter"; homepage = "https://github.com/eko/pihole-exporter"; license = licenses.mit; maintainers = with maintainers; [ ]; diff --git a/pkgs/servers/monitoring/prometheus/ping-exporter.nix b/pkgs/servers/monitoring/prometheus/ping-exporter.nix index becbde065af3..6abe6ed605bf 100644 --- a/pkgs/servers/monitoring/prometheus/ping-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/ping-exporter.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for ICMP echo requests"; + mainProgram = "ping_exporter"; homepage = "https://github.com/czerwonk/ping_exporter"; license = licenses.mit; maintainers = with maintainers; [ nudelsalat ]; diff --git a/pkgs/servers/monitoring/prometheus/postfix-exporter.nix b/pkgs/servers/monitoring/prometheus/postfix-exporter.nix index 90439c9091fc..ad85dfb73318 100644 --- a/pkgs/servers/monitoring/prometheus/postfix-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/postfix-exporter.nix @@ -36,6 +36,7 @@ buildGoModule rec { meta = with lib; { inherit (src.meta) homepage; description = "A Prometheus exporter for Postfix"; + mainProgram = "postfix_exporter"; license = licenses.asl20; maintainers = with maintainers; [ willibutz globin ]; }; diff --git a/pkgs/servers/monitoring/prometheus/postgres-exporter.nix b/pkgs/servers/monitoring/prometheus/postgres-exporter.nix index 62f041b285ba..130789ca4bd5 100644 --- a/pkgs/servers/monitoring/prometheus/postgres-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/postgres-exporter.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { inherit (src.meta) homepage; description = "A Prometheus exporter for PostgreSQL"; + mainProgram = "postgres_exporter"; license = licenses.asl20; maintainers = with maintainers; [ fpletz globin willibutz ma27 ]; }; diff --git a/pkgs/servers/monitoring/prometheus/prom2json.nix b/pkgs/servers/monitoring/prometheus/prom2json.nix index c197bf6366c3..a011dbb68b7e 100644 --- a/pkgs/servers/monitoring/prometheus/prom2json.nix +++ b/pkgs/servers/monitoring/prometheus/prom2json.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to scrape a Prometheus client and dump the result as JSON"; + mainProgram = "prom2json"; homepage = "https://github.com/prometheus/prom2json"; license = licenses.asl20; maintainers = with maintainers; [ benley ]; diff --git a/pkgs/servers/monitoring/prometheus/promscale/default.nix b/pkgs/servers/monitoring/prometheus/promscale/default.nix index 821cab907850..9b1d070e18f4 100644 --- a/pkgs/servers/monitoring/prometheus/promscale/default.nix +++ b/pkgs/servers/monitoring/prometheus/promscale/default.nix @@ -47,6 +47,7 @@ buildGoModule rec { meta = with lib; { description = "An open-source analytical platform for Prometheus metrics"; + mainProgram = "promscale"; homepage = "https://github.com/timescale/promscale"; changelog = "https://github.com/timescale/promscale/blob/${version}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/servers/monitoring/prometheus/pushgateway.nix b/pkgs/servers/monitoring/prometheus/pushgateway.nix index ea194bccffb3..0354cb258594 100644 --- a/pkgs/servers/monitoring/prometheus/pushgateway.nix +++ b/pkgs/servers/monitoring/prometheus/pushgateway.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { description = "Allows ephemeral and batch jobs to expose metrics to Prometheus"; + mainProgram = "pushgateway"; homepage = "https://github.com/prometheus/pushgateway"; license = licenses.asl20; maintainers = with maintainers; [ benley ]; diff --git a/pkgs/servers/monitoring/prometheus/pve-exporter.nix b/pkgs/servers/monitoring/prometheus/pve-exporter.nix index 82ca70bfef81..72009591e899 100644 --- a/pkgs/servers/monitoring/prometheus/pve-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/pve-exporter.nix @@ -32,6 +32,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Exposes information gathered from Proxmox VE cluster for use by the Prometheus monitoring system"; + mainProgram = "pve_exporter"; homepage = "https://github.com/prometheus-pve/prometheus-pve-exporter"; license = licenses.asl20; maintainers = with maintainers; [ nukaduka ]; diff --git a/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix b/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix index 213b2285c5e7..6c012111c4d1 100644 --- a/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/rabbitmq-exporter.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for RabbitMQ"; + mainProgram = "rabbitmq_exporter"; homepage = "https://github.com/kbudde/rabbitmq_exporter"; license = licenses.mit; maintainers = with maintainers; [ ]; diff --git a/pkgs/servers/monitoring/prometheus/redis-exporter.nix b/pkgs/servers/monitoring/prometheus/redis-exporter.nix index 177537588d63..cc693f7d93f2 100644 --- a/pkgs/servers/monitoring/prometheus/redis-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/redis-exporter.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for Redis metrics"; + mainProgram = "redis_exporter"; homepage = "https://github.com/oliver006/redis_exporter"; license = licenses.mit; maintainers = with maintainers; [ eskytthe srhb ma27 ]; diff --git a/pkgs/servers/monitoring/prometheus/rtl_433-exporter.nix b/pkgs/servers/monitoring/prometheus/rtl_433-exporter.nix index 40cde1c15a6f..7319f8e2a7f4 100644 --- a/pkgs/servers/monitoring/prometheus/rtl_433-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/rtl_433-exporter.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus time-series DB exporter for rtl_433 433MHz radio packet decoder"; + mainProgram = "rtl_433_prometheus"; homepage = "https://github.com/mhansen/rtl_433_prometheus"; license = licenses.mit; maintainers = with maintainers; [ zopieux ]; diff --git a/pkgs/servers/monitoring/prometheus/sachet.nix b/pkgs/servers/monitoring/prometheus/sachet.nix index 20dda305543c..977e5d906074 100644 --- a/pkgs/servers/monitoring/prometheus/sachet.nix +++ b/pkgs/servers/monitoring/prometheus/sachet.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "An SMS alerting tool for Prometheus's Alertmanager"; + mainProgram = "sachet"; homepage = "https://github.com/messagebird/sachet"; license = licenses.bsd2; maintainers = with maintainers; [ govanify ]; diff --git a/pkgs/servers/monitoring/prometheus/script-exporter.nix b/pkgs/servers/monitoring/prometheus/script-exporter.nix index 5af5a5488d86..dae56703ebd6 100644 --- a/pkgs/servers/monitoring/prometheus/script-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/script-exporter.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Shell script prometheus exporter"; + mainProgram = "script_exporter"; homepage = "https://github.com/adhocteam/script_exporter"; license = licenses.mit; maintainers = with maintainers; [ Flakebi ]; diff --git a/pkgs/servers/monitoring/prometheus/shelly-exporter.nix b/pkgs/servers/monitoring/prometheus/shelly-exporter.nix index 106e76b62460..8dde552e665e 100644 --- a/pkgs/servers/monitoring/prometheus/shelly-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/shelly-exporter.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Shelly humidity sensor exporter for prometheus"; + mainProgram = "shelly_exporter"; homepage = "https://github.com/aexel90/shelly_exporter"; license = licenses.asl20; maintainers = with maintainers; [drupol]; diff --git a/pkgs/servers/monitoring/prometheus/smartctl-exporter/default.nix b/pkgs/servers/monitoring/prometheus/smartctl-exporter/default.nix index 9b2f145f0f35..b03a006982ec 100644 --- a/pkgs/servers/monitoring/prometheus/smartctl-exporter/default.nix +++ b/pkgs/servers/monitoring/prometheus/smartctl-exporter/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { description = "Export smartctl statistics for Prometheus"; + mainProgram = "smartctl_exporter"; homepage = "https://github.com/prometheus-community/smartctl_exporter"; license = licenses.lgpl3; platforms = platforms.linux; diff --git a/pkgs/servers/monitoring/prometheus/smokeping-prober.nix b/pkgs/servers/monitoring/prometheus/smokeping-prober.nix index fe514b3558f0..38e124a60181 100644 --- a/pkgs/servers/monitoring/prometheus/smokeping-prober.nix +++ b/pkgs/servers/monitoring/prometheus/smokeping-prober.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for sending continual ICMP/UDP pings"; + mainProgram = "smokeping_prober"; homepage = "https://github.com/SuperQ/smokeping_prober"; license = licenses.asl20; maintainers = with maintainers; [ lukegb ]; diff --git a/pkgs/servers/monitoring/prometheus/sql-exporter.nix b/pkgs/servers/monitoring/prometheus/sql-exporter.nix index b88534cb5ac7..bc4804b215c3 100644 --- a/pkgs/servers/monitoring/prometheus/sql-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/sql-exporter.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "Flexible SQL exporter for Prometheus"; + mainProgram = "sql_exporter"; homepage = "https://github.com/justwatchcom/sql_exporter"; license = licenses.mit; maintainers = with maintainers; [ justinas ]; diff --git a/pkgs/servers/monitoring/prometheus/statsd-exporter.nix b/pkgs/servers/monitoring/prometheus/statsd-exporter.nix index 201ec3a32e36..89121c939995 100644 --- a/pkgs/servers/monitoring/prometheus/statsd-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/statsd-exporter.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "Receives StatsD-style metrics and exports them to Prometheus"; + mainProgram = "statsd_exporter"; homepage = "https://github.com/prometheus/statsd_exporter"; changelog = "https://github.com/prometheus/statsd_exporter/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/servers/monitoring/prometheus/surfboard-exporter.nix b/pkgs/servers/monitoring/prometheus/surfboard-exporter.nix index 39e475df1974..d3365fc92bf4 100644 --- a/pkgs/servers/monitoring/prometheus/surfboard-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/surfboard-exporter.nix @@ -17,6 +17,7 @@ buildGoPackage rec { meta = with lib; { description = "Arris Surfboard signal metrics exporter"; + mainProgram = "surfboard_exporter"; homepage = "https://github.com/ipstatic/surfboard_exporter"; license = licenses.mit; maintainers = with maintainers; [ disassembler ]; diff --git a/pkgs/servers/monitoring/prometheus/systemd-exporter.nix b/pkgs/servers/monitoring/prometheus/systemd-exporter.nix index 7abe243d3036..5448aeb52d59 100644 --- a/pkgs/servers/monitoring/prometheus/systemd-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/systemd-exporter.nix @@ -27,6 +27,7 @@ buildGoModule rec { meta = with lib; { description = "Exporter for systemd unit metrics"; + mainProgram = "systemd_exporter"; homepage = "https://github.com/prometheus-community/systemd_exporter"; license = licenses.asl20; maintainers = with maintainers; [ chkno ]; diff --git a/pkgs/servers/monitoring/prometheus/tor-exporter.nix b/pkgs/servers/monitoring/prometheus/tor-exporter.nix index fcfe87806eb9..3b54e23f81ae 100644 --- a/pkgs/servers/monitoring/prometheus/tor-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/tor-exporter.nix @@ -31,6 +31,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Prometheus exporter that exposes metrics from a Tor daemon"; + mainProgram = "prometheus-tor-exporter"; homepage = "https://github.com/atx/prometheus-tor_exporter"; license = licenses.mit; maintainers = with maintainers; [ delroth ]; diff --git a/pkgs/servers/monitoring/prometheus/unbound-exporter.nix b/pkgs/servers/monitoring/prometheus/unbound-exporter.nix index e683ca72b9e5..5237abe6148a 100644 --- a/pkgs/servers/monitoring/prometheus/unbound-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/unbound-exporter.nix @@ -27,6 +27,7 @@ buildGoModule { meta = with lib; { changelog = "https://github.com/letsencrypt/unbound_exporter/releases/tag/v${version}"; description = "Prometheus exporter for Unbound DNS resolver"; + mainProgram = "unbound_exporter"; homepage = "https://github.com/letsencrypt/unbound_exporter/tree/main"; license = licenses.asl20; maintainers = with maintainers; [ hexa ]; diff --git a/pkgs/servers/monitoring/prometheus/v2ray-exporter.nix b/pkgs/servers/monitoring/prometheus/v2ray-exporter.nix index 51bf3d8ccac6..0cb3dc77162b 100644 --- a/pkgs/servers/monitoring/prometheus/v2ray-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/v2ray-exporter.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Prometheus exporter for V2Ray daemon"; + mainProgram = "v2ray-exporter"; homepage = "https://github.com/wi1dcard/v2ray-exporter"; license = licenses.mit; maintainers = with maintainers; [ jqqqqqqqqqq ]; diff --git a/pkgs/servers/monitoring/prometheus/varnish-exporter.nix b/pkgs/servers/monitoring/prometheus/varnish-exporter.nix index aa86f0642409..ff3a301d3340 100644 --- a/pkgs/servers/monitoring/prometheus/varnish-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/varnish-exporter.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = { homepage = "https://github.com/jonnenauha/prometheus_varnish_exporter"; description = "Varnish exporter for Prometheus"; + mainProgram = "prometheus_varnish_exporter"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ MostAwesomeDude ]; }; diff --git a/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix b/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix index da6013b9b5ec..16897e894f69 100644 --- a/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix +++ b/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix @@ -54,6 +54,7 @@ python3Packages.buildPythonApplication rec { meta = { description = "XMPP Web hook for Prometheus"; + mainProgram = "prometheus-xmpp-alerts"; homepage = "https://github.com/jelmer/prometheus-xmpp-alerts"; maintainers = with lib.maintainers; [ fpletz ]; license = with lib.licenses; [ asl20 ]; diff --git a/pkgs/servers/monitoring/prometheus/zfs-exporter.nix b/pkgs/servers/monitoring/prometheus/zfs-exporter.nix index d229daa14b81..4488b85dd10b 100644 --- a/pkgs/servers/monitoring/prometheus/zfs-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/zfs-exporter.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "ZFS Exporter for the Prometheus monitoring system"; + mainProgram = "zfs_exporter"; homepage = "https://github.com/pdf/zfs_exporter"; license = licenses.mit; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/servers/monitoring/riemann/default.nix b/pkgs/servers/monitoring/riemann/default.nix index e55630a36335..f539fd6394e9 100644 --- a/pkgs/servers/monitoring/riemann/default.nix +++ b/pkgs/servers/monitoring/riemann/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://riemann.io/"; description = "A network monitoring system"; + mainProgram = "riemann"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.epl10; platforms = platforms.all; diff --git a/pkgs/servers/monitoring/seyren/default.nix b/pkgs/servers/monitoring/seyren/default.nix index 3ae3a990d069..a4752a26fb40 100644 --- a/pkgs/servers/monitoring/seyren/default.nix +++ b/pkgs/servers/monitoring/seyren/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An alerting dashboard for Graphite"; + mainProgram = "seyren"; homepage = "https://github.com/scobal/seyren"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.asl20; diff --git a/pkgs/servers/monitoring/telegraf/default.nix b/pkgs/servers/monitoring/telegraf/default.nix index 4d21ef645a70..96e9c86cf74f 100644 --- a/pkgs/servers/monitoring/telegraf/default.nix +++ b/pkgs/servers/monitoring/telegraf/default.nix @@ -38,6 +38,7 @@ buildGoModule rec { meta = with lib; { description = "The plugin-driven server agent for collecting & reporting metrics"; + mainProgram = "telegraf"; homepage = "https://www.influxdata.com/time-series-platform/telegraf/"; changelog = "https://github.com/influxdata/telegraf/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/servers/monitoring/uptime-kuma/default.nix b/pkgs/servers/monitoring/uptime-kuma/default.nix index 7b82a205b264..e6df980b77ef 100644 --- a/pkgs/servers/monitoring/uptime-kuma/default.nix +++ b/pkgs/servers/monitoring/uptime-kuma/default.nix @@ -37,6 +37,7 @@ buildNpmPackage rec { meta = with lib; { description = "A fancy self-hosted monitoring tool"; + mainProgram = "uptime-kuma-server"; homepage = "https://github.com/louislam/uptime-kuma"; changelog = "https://github.com/louislam/uptime-kuma/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/servers/monitoring/vmagent/default.nix b/pkgs/servers/monitoring/vmagent/default.nix index 74b2a2de096d..7c979f009cd7 100644 --- a/pkgs/servers/monitoring/vmagent/default.nix +++ b/pkgs/servers/monitoring/vmagent/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/app/vmagent"; description = "VictoriaMetrics metrics scraper"; + mainProgram = "vmagent"; license = licenses.asl20; platforms = platforms.linux; maintainers = with maintainers; [ nullx76 ]; diff --git a/pkgs/servers/mqtt/flashmq/default.nix b/pkgs/servers/mqtt/flashmq/default.nix index 4603ffbda0c8..8a579d948881 100644 --- a/pkgs/servers/mqtt/flashmq/default.nix +++ b/pkgs/servers/mqtt/flashmq/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fast light-weight MQTT broker/server"; + mainProgram = "flashmq"; homepage = "https://www.flashmq.org/"; license = licenses.agpl3Only; maintainers = with maintainers; [ sikmir ]; diff --git a/pkgs/servers/networking/rustus/default.nix b/pkgs/servers/networking/rustus/default.nix index 651ed424fc5f..53c76184a8b8 100644 --- a/pkgs/servers/networking/rustus/default.nix +++ b/pkgs/servers/networking/rustus/default.nix @@ -63,6 +63,7 @@ rustPlatform.buildRustPackage { meta = with lib; { description = "TUS protocol implementation in Rust."; + mainProgram = "rustus"; homepage = "https://s3rius.github.io/rustus/"; license = licenses.asl20; maintainers = with maintainers; [ happysalada ]; diff --git a/pkgs/servers/nextcloud/news-updater.nix b/pkgs/servers/nextcloud/news-updater.nix index bb66a9463a05..d72f13687124 100644 --- a/pkgs/servers/nextcloud/news-updater.nix +++ b/pkgs/servers/nextcloud/news-updater.nix @@ -15,6 +15,7 @@ python3Packages.buildPythonApplication rec { meta = { description = "Fast parallel feed updater for the Nextcloud news app"; + mainProgram = "nextcloud-news-updater"; homepage = "https://github.com/nextcloud/news-updater"; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ schneefux ]; diff --git a/pkgs/servers/nextcloud/notify_push.nix b/pkgs/servers/nextcloud/notify_push.nix index 2322c4f7eac3..f94449d87b16 100644 --- a/pkgs/servers/nextcloud/notify_push.nix +++ b/pkgs/servers/nextcloud/notify_push.nix @@ -42,6 +42,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { changelog = "https://github.com/nextcloud/notify_push/releases/tag/v${version}"; description = "Update notifications for nextcloud clients"; + mainProgram = "notify_push"; homepage = "https://github.com/nextcloud/notify_push"; license = licenses.agpl3Plus; platforms = platforms.linux; diff --git a/pkgs/servers/nosql/aerospike/default.nix b/pkgs/servers/nosql/aerospike/default.nix index 5dda0767c639..b7c4ccdf16c1 100644 --- a/pkgs/servers/nosql/aerospike/default.nix +++ b/pkgs/servers/nosql/aerospike/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Flash-optimized, in-memory, NoSQL database"; + mainProgram = "asd"; homepage = "https://aerospike.com/"; license = licenses.agpl3; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/servers/nosql/ferretdb/default.nix b/pkgs/servers/nosql/ferretdb/default.nix index d18bab57faae..b00b67449ace 100644 --- a/pkgs/servers/nosql/ferretdb/default.nix +++ b/pkgs/servers/nosql/ferretdb/default.nix @@ -39,6 +39,7 @@ buildGoModule rec { meta = with lib; { description = "A truly Open Source MongoDB alternative"; + mainProgram = "ferretdb"; changelog = "https://github.com/FerretDB/FerretDB/releases/tag/v${version}"; homepage = "https://www.ferretdb.io/"; license = licenses.asl20; diff --git a/pkgs/servers/nosql/rethinkdb/default.nix b/pkgs/servers/nosql/rethinkdb/default.nix index 4050ed5a89bd..3d39d698ac92 100644 --- a/pkgs/servers/nosql/rethinkdb/default.nix +++ b/pkgs/servers/nosql/rethinkdb/default.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation rec { meta = { description = "An open-source distributed database built with love"; + mainProgram = "rethinkdb"; longDescription = '' RethinkDB is built to store JSON documents, and scale to multiple machines with very little effort. It has a pleasant diff --git a/pkgs/servers/onlyoffice-documentserver/default.nix b/pkgs/servers/onlyoffice-documentserver/default.nix index bc5a41750f55..c19409efcd75 100644 --- a/pkgs/servers/onlyoffice-documentserver/default.nix +++ b/pkgs/servers/onlyoffice-documentserver/default.nix @@ -137,6 +137,7 @@ let meta = with lib; { description = "ONLYOFFICE Document Server is an online office suite comprising viewers and editors"; + mainProgram = "documentserver-prepare4shutdown.sh"; longDescription = '' ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time. diff --git a/pkgs/servers/osmocom/libosmo-sccp/default.nix b/pkgs/servers/osmocom/libosmo-sccp/default.nix index 39b6d845e01b..d8a27e2704fe 100644 --- a/pkgs/servers/osmocom/libosmo-sccp/default.nix +++ b/pkgs/servers/osmocom/libosmo-sccp/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "SCCP + SIGTRAN (SUA/M3UA) libraries as well as OsmoSTP"; + mainProgram = "osmo-stp"; homepage = "https://osmocom.org/projects/libosmo-sccp"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/servers/osmocom/osmo-hnbgw/default.nix b/pkgs/servers/osmocom/osmo-hnbgw/default.nix index 3214667da333..30f0923073cb 100644 --- a/pkgs/servers/osmocom/osmo-hnbgw/default.nix +++ b/pkgs/servers/osmocom/osmo-hnbgw/default.nix @@ -51,6 +51,7 @@ stdenv.mkDerivation rec { meta = { description = "Osmocom Home NodeB Gateway, for attaching femtocells to the 3G CN (OsmoMSC, OsmoSGSN)"; + mainProgram = "osmo-hnbgw"; homepage = "https://osmocom.org/projects/osmohnbgw"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ janik ]; diff --git a/pkgs/servers/osmocom/osmo-hnodeb/default.nix b/pkgs/servers/osmocom/osmo-hnodeb/default.nix index 20f925dc98ee..95dd6bf72b70 100644 --- a/pkgs/servers/osmocom/osmo-hnodeb/default.nix +++ b/pkgs/servers/osmocom/osmo-hnodeb/default.nix @@ -51,6 +51,7 @@ stdenv.mkDerivation rec { meta = { description = "(upper layers of) HomeNodeB"; + mainProgram = "osmo-hnodeb"; homepage = "https://osmocom.org/projects/osmo-hnodeb"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ janik ]; diff --git a/pkgs/servers/osmocom/osmo-mgw/default.nix b/pkgs/servers/osmocom/osmo-mgw/default.nix index fb94451aaadd..939f062a7b4f 100644 --- a/pkgs/servers/osmocom/osmo-mgw/default.nix +++ b/pkgs/servers/osmocom/osmo-mgw/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = { description = "Osmocom Media Gateway (MGW). speaks RTP and E1 as well as MGCP"; + mainProgram = "osmo-mgw"; homepage = "https://osmocom.org/projects/osmo-mgw"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ janik ]; diff --git a/pkgs/servers/osmocom/osmo-msc/default.nix b/pkgs/servers/osmocom/osmo-msc/default.nix index 1a46a010fbf9..da6e719707ef 100644 --- a/pkgs/servers/osmocom/osmo-msc/default.nix +++ b/pkgs/servers/osmocom/osmo-msc/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = { description = "Osmocom implementation of 3GPP Mobile Swtiching Centre (MSC)"; + mainProgram = "osmo-msc"; homepage = "https://osmocom.org/projects/osmomsc/wiki"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ janik ]; diff --git a/pkgs/servers/osmocom/osmo-pcu/default.nix b/pkgs/servers/osmocom/osmo-pcu/default.nix index 7349e03d9722..13b34b67b333 100644 --- a/pkgs/servers/osmocom/osmo-pcu/default.nix +++ b/pkgs/servers/osmocom/osmo-pcu/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = { description = "Osmocom Packet control Unit (PCU): Network-side GPRS (RLC/MAC); BTS- or BSC-colocated"; + mainProgram = "osmo-pcu"; homepage = "https://osmocom.org/projects/osmopcu"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ janik ]; diff --git a/pkgs/servers/osmocom/osmo-sip-connector/default.nix b/pkgs/servers/osmocom/osmo-sip-connector/default.nix index 0dad592b7a30..0a5ab9ab9fd5 100644 --- a/pkgs/servers/osmocom/osmo-sip-connector/default.nix +++ b/pkgs/servers/osmocom/osmo-sip-connector/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = { description = "This implements an interface between the MNCC (Mobile Network Call Control) interface of OsmoMSC (and also previously OsmoNITB) and SIP"; + mainProgram = "osmo-sip-connector"; homepage = "https://osmocom.org/projects/osmo-sip-conector"; license = lib.licenses.agpl3Plus; maintainers = with lib.maintainers; [ janik ]; diff --git a/pkgs/servers/pinnwand/steck.nix b/pkgs/servers/pinnwand/steck.nix index 34e2315ff273..32e2141d2a9d 100644 --- a/pkgs/servers/pinnwand/steck.nix +++ b/pkgs/servers/pinnwand/steck.nix @@ -44,6 +44,7 @@ python3Packages.buildPythonApplication rec { homepage = "https://github.com/supakeen/steck"; license = licenses.mit; description = "Client for pinnwand pastebin"; + mainProgram = "steck"; maintainers = with maintainers; [ hexa ]; }; } diff --git a/pkgs/servers/pulseaudio/qpaeq.nix b/pkgs/servers/pulseaudio/qpaeq.nix index 843ca539daf8..417647f9a3c1 100644 --- a/pkgs/servers/pulseaudio/qpaeq.nix +++ b/pkgs/servers/pulseaudio/qpaeq.nix @@ -46,6 +46,7 @@ mkDerivation rec { meta = { description = "An equalizer interface for pulseaudio's equalizer sinks"; + mainProgram = "qpaeq"; homepage = "http://www.pulseaudio.org/"; license = lib.licenses.lgpl2Plus; maintainers = with lib.maintainers; [ lovek323 ]; diff --git a/pkgs/servers/radicale/2.x.nix b/pkgs/servers/radicale/2.x.nix index 7e86322e31c6..c1e596669030 100644 --- a/pkgs/servers/radicale/2.x.nix +++ b/pkgs/servers/radicale/2.x.nix @@ -37,6 +37,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { homepage = "https://radicale.org/v2.html"; description = "CalDAV CardDAV server"; + mainProgram = "radicale"; longDescription = '' The Radicale Project is a complete CalDAV (calendar) and CardDAV (contact) server solution. Calendars and address books are available for diff --git a/pkgs/servers/search/groonga/default.nix b/pkgs/servers/search/groonga/default.nix index 07f86a9ae808..e9bd1a2ae58e 100644 --- a/pkgs/servers/search/groonga/default.nix +++ b/pkgs/servers/search/groonga/default.nix @@ -6,11 +6,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "groonga"; - version = "13.1.1"; + version = "14.0.1"; src = fetchurl { url = "https://packages.groonga.org/source/groonga/groonga-${finalAttrs.version}.tar.gz"; - hash = "sha256-eggMegWTpv+WIbzYq2GjSD66+Tj7zcvVUcbD2EkrFO8="; + hash = "sha256-zXiDXYSvdyQ2HBZHUZaYHtZMs7BjzHJaix1ShLbkWtA="; }; patches = [ diff --git a/pkgs/servers/search/lnx/default.nix b/pkgs/servers/search/lnx/default.nix index 5bb41267d26f..34b9f9c7c5ba 100644 --- a/pkgs/servers/search/lnx/default.nix +++ b/pkgs/servers/search/lnx/default.nix @@ -28,6 +28,7 @@ rustPlatform.buildRustPackage { buildInputs = lib.optionals stdenv.isDarwin [ DiskArbitration Foundation ]; meta = with lib; { description = "Insanely fast, Feature-rich searching. lnx is the adaptable, typo tollerant deployment of the tantivy search engine. Standing on the shoulders of giants. "; + mainProgram = "lnx"; homepage = "https://lnx.rs/"; license = licenses.mit; maintainers = with maintainers; [ happysalada ]; diff --git a/pkgs/servers/search/meilisearch/default.nix b/pkgs/servers/search/meilisearch/default.nix index 1a0f387d15ef..b38fd2d0038b 100644 --- a/pkgs/servers/search/meilisearch/default.nix +++ b/pkgs/servers/search/meilisearch/default.nix @@ -56,6 +56,7 @@ rustPlatform.buildRustPackage { meta = with lib; { description = "Powerful, fast, and an easy to use search engine"; + mainProgram = "meilisearch"; homepage = "https://docs.meilisearch.com/"; changelog = "https://github.com/meilisearch/meilisearch/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/servers/search/typesense/default.nix b/pkgs/servers/search/typesense/default.nix index b78c5d083847..30e09db055f2 100644 --- a/pkgs/servers/search/typesense/default.nix +++ b/pkgs/servers/search/typesense/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://typesense.org"; description = "Typesense is a fast, typo-tolerant search engine for building delightful search experiences."; + mainProgram = "typesense-server"; license = licenses.gpl3; # There has been an attempt at building this from source, which were deemed # unfeasible at the time of writing this (July 2023) for the following reasons. diff --git a/pkgs/servers/search/zincsearch/default.nix b/pkgs/servers/search/zincsearch/default.nix index a5b17b9825b6..18ecf1a08b4e 100644 --- a/pkgs/servers/search/zincsearch/default.nix +++ b/pkgs/servers/search/zincsearch/default.nix @@ -51,6 +51,7 @@ buildGoModule rec { meta = with lib; { description = "A lightweight alternative to elasticsearch that requires minimal resources, written in Go"; + mainProgram = "zincsearch"; homepage = "https://zinc.dev"; license = licenses.asl20; maintainers = with maintainers; [ dit7ya ]; diff --git a/pkgs/servers/serf/default.nix b/pkgs/servers/serf/default.nix index 56206e7e80f3..1b8d4ca271c9 100644 --- a/pkgs/servers/serf/default.nix +++ b/pkgs/servers/serf/default.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { description = "Service orchestration and management tool"; + mainProgram = "serf"; longDescription = '' Serf is a decentralized solution for service discovery and orchestration that is lightweight, highly available, and fault tolerant. diff --git a/pkgs/servers/sickbeard/sickgear.nix b/pkgs/servers/sickbeard/sickgear.nix index d8f37b79b4d9..c21577e19a6f 100644 --- a/pkgs/servers/sickbeard/sickgear.nix +++ b/pkgs/servers/sickbeard/sickgear.nix @@ -33,6 +33,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "The most reliable stable TV fork of the great Sick-Beard to fully automate TV enjoyment with innovation"; + mainProgram = "sickgear"; license = licenses.gpl3; homepage = "https://github.com/SickGear/SickGear"; maintainers = with lib.maintainers; [ rembo10 ]; diff --git a/pkgs/servers/silc-server/default.nix b/pkgs/servers/silc-server/default.nix index 83596cffadfb..53a2f47cf2ad 100644 --- a/pkgs/servers/silc-server/default.nix +++ b/pkgs/servers/silc-server/default.nix @@ -12,6 +12,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://silcnet.org/"; description = "Secure Internet Live Conferencing server"; + mainProgram = "silcd"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [viric]; platforms = with lib.platforms; linux; diff --git a/pkgs/servers/spicedb/zed.nix b/pkgs/servers/spicedb/zed.nix index 32421450d758..8788834e892c 100644 --- a/pkgs/servers/spicedb/zed.nix +++ b/pkgs/servers/spicedb/zed.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Command line for managing SpiceDB"; + mainProgram = "zed"; longDescription = '' SpiceDB is an open-source permissions database inspired by Google Zanzibar. zed is the command line client for SpiceDB. diff --git a/pkgs/servers/sql/dolt/default.nix b/pkgs/servers/sql/dolt/default.nix index d56e2a922f53..bb6687c20473 100644 --- a/pkgs/servers/sql/dolt/default.nix +++ b/pkgs/servers/sql/dolt/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "Relational database with version control and CLI a-la Git"; + mainProgram = "dolt"; homepage = "https://github.com/dolthub/dolt"; license = licenses.asl20; maintainers = with maintainers; [ danbst ]; diff --git a/pkgs/servers/sql/mariadb/galera/default.nix b/pkgs/servers/sql/mariadb/galera/default.nix index f934d6a00822..0898c6a3bfc4 100644 --- a/pkgs/servers/sql/mariadb/galera/default.nix +++ b/pkgs/servers/sql/mariadb/galera/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Galera 3 wsrep provider library"; + mainProgram = "garbd"; homepage = "https://galeracluster.com/"; license = licenses.lgpl2Only; maintainers = with maintainers; [ izorkin ] ++ teams.helsinki-systems.members; diff --git a/pkgs/servers/sql/postgresql/ext/pg_auto_failover.nix b/pkgs/servers/sql/postgresql/ext/pg_auto_failover.nix index ad3c6895b2ae..7a1741b70490 100644 --- a/pkgs/servers/sql/postgresql/ext/pg_auto_failover.nix +++ b/pkgs/servers/sql/postgresql/ext/pg_auto_failover.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "PostgreSQL extension and service for automated failover and high-availability"; + mainProgram = "pg_autoctl"; homepage = "https://github.com/citusdata/pg_auto_failover"; changelog = "https://github.com/citusdata/pg_auto_failover/blob/v${version}/CHANGELOG.md"; maintainers = [ maintainers.marsam ]; diff --git a/pkgs/servers/sql/postgresql/ext/pgvector.nix b/pkgs/servers/sql/postgresql/ext/pgvector.nix index e30e59d9da93..1dfda512e1d4 100644 --- a/pkgs/servers/sql/postgresql/ext/pgvector.nix +++ b/pkgs/servers/sql/postgresql/ext/pgvector.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "pgvector"; - version = "0.6.1"; + version = "0.6.2"; src = fetchFromGitHub { owner = "pgvector"; repo = "pgvector"; rev = "v${version}"; - hash = "sha256-NS9iNgrVnoqmAIXd4sJFnPISQvYYl8YQ84bnLjpChx4="; + hash = "sha256-r+TpFJg6WrMn0L2B7RpmSRvw3XxpHzMRtpFWDCzLvgs="; }; buildInputs = [ postgresql ]; diff --git a/pkgs/servers/sql/proxysql/default.nix b/pkgs/servers/sql/proxysql/default.nix index 891ee8e53134..e0a6f23a4631 100644 --- a/pkgs/servers/sql/proxysql/default.nix +++ b/pkgs/servers/sql/proxysql/default.nix @@ -166,6 +166,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { broken = stdenv.isDarwin; description = "High-performance MySQL proxy"; + mainProgram = "proxysql"; homepage = "https://proxysql.com/"; license = with licenses; [ gpl3Only ]; maintainers = teams.helsinki-systems.members; diff --git a/pkgs/servers/trickster/trickster.nix b/pkgs/servers/trickster/trickster.nix index db8d6942a61f..7b527a5c20b2 100644 --- a/pkgs/servers/trickster/trickster.nix +++ b/pkgs/servers/trickster/trickster.nix @@ -41,6 +41,7 @@ buildGoModule rec { meta = with lib; { description = "Reverse proxy cache and time series dashboard accelerator"; + mainProgram = "trickster"; longDescription = '' Trickster is a fully-featured HTTP Reverse Proxy Cache for HTTP applications like static file servers and web APIs. diff --git a/pkgs/servers/web-apps/fileshelter/default.nix b/pkgs/servers/web-apps/fileshelter/default.nix index b6abc423eb85..337f178a1c50 100644 --- a/pkgs/servers/web-apps/fileshelter/default.nix +++ b/pkgs/servers/web-apps/fileshelter/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/epoupon/fileshelter"; description = "FileShelter is a 'one-click' file sharing web application"; + mainProgram = "fileshelter"; maintainers = [ maintainers.willibutz ]; license = licenses.gpl3; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/servers/web-apps/matomo/default.nix b/pkgs/servers/web-apps/matomo/default.nix index 383a8658c521..c9584fb25e35 100644 --- a/pkgs/servers/web-apps/matomo/default.nix +++ b/pkgs/servers/web-apps/matomo/default.nix @@ -114,6 +114,7 @@ let meta = with lib; { description = "A real-time web analytics application"; + mainProgram = "matomo-console"; license = licenses.gpl3Plus; homepage = "https://matomo.org/"; platforms = platforms.all; diff --git a/pkgs/servers/web-apps/meme-bingo-web/default.nix b/pkgs/servers/web-apps/meme-bingo-web/default.nix index 4ba25a524bf9..6a0228899f08 100644 --- a/pkgs/servers/web-apps/meme-bingo-web/default.nix +++ b/pkgs/servers/web-apps/meme-bingo-web/default.nix @@ -27,6 +27,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Play meme bingo using this neat web app"; + mainProgram = "meme-bingo-web"; homepage = "https://codeberg.org/annaaurora/meme-bingo-web"; license = licenses.unlicense; maintainers = with maintainers; [ annaaurora ]; diff --git a/pkgs/servers/web-apps/morty/default.nix b/pkgs/servers/web-apps/morty/default.nix index 2aa6f0d1cf89..ad233f23916b 100644 --- a/pkgs/servers/web-apps/morty/default.nix +++ b/pkgs/servers/web-apps/morty/default.nix @@ -15,6 +15,7 @@ buildGoModule { meta = with lib; { description = "Privacy aware web content sanitizer proxy as a service"; + mainProgram = "morty"; longDescription = '' Morty rewrites web pages to exclude malicious HTML tags and attributes. It also replaces external resource references to prevent third party information leaks. diff --git a/pkgs/servers/web-apps/netbox/generic.nix b/pkgs/servers/web-apps/netbox/generic.nix index ac705445499f..862b817be90e 100644 --- a/pkgs/servers/web-apps/netbox/generic.nix +++ b/pkgs/servers/web-apps/netbox/generic.nix @@ -101,6 +101,7 @@ meta = { homepage = "https://github.com/netbox-community/netbox"; description = "IP address management (IPAM) and data center infrastructure management (DCIM) tool"; + mainProgram = "netbox"; license = lib.licenses.asl20; knownVulnerabilities = (lib.optional eol "Netbox version ${version} is EOL; please upgrade by following the current release notes instructions."); # Warning: diff --git a/pkgs/servers/web-apps/peering-manager/default.nix b/pkgs/servers/web-apps/peering-manager/default.nix index c564629b4fcb..aec18b2904c6 100644 --- a/pkgs/servers/web-apps/peering-manager/default.nix +++ b/pkgs/servers/web-apps/peering-manager/default.nix @@ -77,6 +77,7 @@ python3.pkgs.buildPythonApplication rec { homepage = "https://peering-manager.net/"; license = licenses.asl20; description = "BGP sessions management tool"; + mainProgram = "peering-manager"; maintainers = teams.wdz.members; platforms = platforms.linux; }; diff --git a/pkgs/servers/web-apps/phylactery/default.nix b/pkgs/servers/web-apps/phylactery/default.nix index b200ae637f56..2dfccdabbb98 100644 --- a/pkgs/servers/web-apps/phylactery/default.nix +++ b/pkgs/servers/web-apps/phylactery/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Old school comic web server"; + mainProgram = "phylactery"; homepage = "https://git.sr.ht/~cnx/phylactery"; license = licenses.agpl3Plus; maintainers = with maintainers; [ McSinyx ]; diff --git a/pkgs/servers/web-apps/pict-rs/0.3.nix b/pkgs/servers/web-apps/pict-rs/0.3.nix index c113322a3794..875aecd55610 100644 --- a/pkgs/servers/web-apps/pict-rs/0.3.nix +++ b/pkgs/servers/web-apps/pict-rs/0.3.nix @@ -46,6 +46,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple image hosting service"; + mainProgram = "pict-rs"; homepage = "https://git.asonix.dog/asonix/pict-rs"; license = with licenses; [ agpl3Plus ]; maintainers = with maintainers; [ happysalada ]; diff --git a/pkgs/servers/web-apps/pict-rs/default.nix b/pkgs/servers/web-apps/pict-rs/default.nix index 5d4dfa07b0f4..fdd975e3682c 100644 --- a/pkgs/servers/web-apps/pict-rs/default.nix +++ b/pkgs/servers/web-apps/pict-rs/default.nix @@ -42,6 +42,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { broken = stdenv.isDarwin; description = "A simple image hosting service"; + mainProgram = "pict-rs"; homepage = "https://git.asonix.dog/asonix/pict-rs"; license = with licenses; [ agpl3Plus ]; maintainers = with maintainers; [ happysalada ]; diff --git a/pkgs/servers/web-apps/plausible/default.nix b/pkgs/servers/web-apps/plausible/default.nix index bac0758984c5..24f684c0c954 100644 --- a/pkgs/servers/web-apps/plausible/default.nix +++ b/pkgs/servers/web-apps/plausible/default.nix @@ -88,6 +88,7 @@ beamPackages.mixRelease { homepage = "https://plausible.io/"; changelog = "https://github.com/plausible/analytics/blob/${src.rev}/CHANGELOG.md"; description = " Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics"; + mainProgram = "plausible"; maintainers = with maintainers; [ ]; platforms = platforms.unix; }; diff --git a/pkgs/servers/web-apps/shiori/default.nix b/pkgs/servers/web-apps/shiori/default.nix index f4a1872ca93d..8a9fc7973f98 100644 --- a/pkgs/servers/web-apps/shiori/default.nix +++ b/pkgs/servers/web-apps/shiori/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Simple bookmark manager built with Go"; + mainProgram = "shiori"; homepage = "https://github.com/go-shiori/shiori"; license = licenses.mit; maintainers = with maintainers; [ minijackson ]; diff --git a/pkgs/servers/xmpp/biboumi/default.nix b/pkgs/servers/xmpp/biboumi/default.nix index 50d2cfa964e0..9d63356abd6b 100644 --- a/pkgs/servers/xmpp/biboumi/default.nix +++ b/pkgs/servers/xmpp/biboumi/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Modern XMPP IRC gateway"; + mainProgram = "biboumi"; platforms = platforms.unix; homepage = "https://lab.louiz.org/louiz/biboumi"; license = licenses.zlib; diff --git a/pkgs/servers/xmpp/ejabberd/default.nix b/pkgs/servers/xmpp/ejabberd/default.nix index 9e0601fbd093..821465ec3a52 100644 --- a/pkgs/servers/xmpp/ejabberd/default.nix +++ b/pkgs/servers/xmpp/ejabberd/default.nix @@ -118,6 +118,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Open-source XMPP application server written in Erlang"; + mainProgram = "ejabberdctl"; license = licenses.gpl2; homepage = "https://www.ejabberd.im"; platforms = platforms.linux; diff --git a/pkgs/servers/xmpp/prosody-filer/default.nix b/pkgs/servers/xmpp/prosody-filer/default.nix index 7665a7f7450d..11ba842e5cb8 100644 --- a/pkgs/servers/xmpp/prosody-filer/default.nix +++ b/pkgs/servers/xmpp/prosody-filer/default.nix @@ -21,5 +21,6 @@ buildGoModule rec { license = licenses.mit; platforms = platforms.linux; description = "A simple file server for handling XMPP http_upload requests"; + mainProgram = "prosody-filer"; }; } diff --git a/pkgs/shells/bash/blesh/default.nix b/pkgs/shells/bash/blesh/default.nix index 9428703e7a2d..88633760fdc0 100644 --- a/pkgs/shells/bash/blesh/default.nix +++ b/pkgs/shells/bash/blesh/default.nix @@ -54,6 +54,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { homepage = "https://github.com/akinomyoga/ble.sh"; description = "Bash Line Editor -- a full-featured line editor written in pure Bash"; + mainProgram = "blesh-share"; license = licenses.bsd3; maintainers = with maintainers; [ aiotter ]; platforms = platforms.unix; diff --git a/pkgs/shells/es/default.nix b/pkgs/shells/es/default.nix index 308a684e6f68..1a75aca391b1 100644 --- a/pkgs/shells/es/default.nix +++ b/pkgs/shells/es/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An extensible shell with higher order functions"; + mainProgram = "es"; longDescription = '' Es is an extensible shell. The language was derived diff --git a/pkgs/shells/fish/babelfish.nix b/pkgs/shells/fish/babelfish.nix index 9af0c2ce9138..a08944262cc4 100644 --- a/pkgs/shells/fish/babelfish.nix +++ b/pkgs/shells/fish/babelfish.nix @@ -14,6 +14,7 @@ buildGoModule rec { meta = with lib; { description = "Translate bash scripts to fish"; + mainProgram = "babelfish"; homepage = "https://github.com/bouk/babelfish"; license = licenses.mit; maintainers = with maintainers; [ bouk kevingriffin ]; diff --git a/pkgs/shells/hilbish/default.nix b/pkgs/shells/hilbish/default.nix index 57b7abc59e25..ed6bc7a159db 100644 --- a/pkgs/shells/hilbish/default.nix +++ b/pkgs/shells/hilbish/default.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { description = "An interactive Unix-like shell written in Go"; + mainProgram = "hilbish"; changelog = "https://github.com/Rosettea/Hilbish/releases/tag/v${version}"; homepage = "https://github.com/Rosettea/Hilbish"; maintainers = with maintainers; [ moni ]; diff --git a/pkgs/shells/ion/default.nix b/pkgs/shells/ion/default.nix index 72b6387f8e16..0440a79e760f 100644 --- a/pkgs/shells/ion/default.nix +++ b/pkgs/shells/ion/default.nix @@ -49,6 +49,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Modern system shell with simple (and powerful) syntax"; + mainProgram = "ion"; homepage = "https://gitlab.redox-os.org/redox-os/ion"; license = licenses.mit; maintainers = with maintainers; [ dywedir ]; diff --git a/pkgs/shells/jush/default.nix b/pkgs/shells/jush/default.nix index a09024608bb6..42e8e13cceae 100644 --- a/pkgs/shells/jush/default.nix +++ b/pkgs/shells/jush/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "just a useless shell"; + mainProgram = "jush"; homepage = "https://github.com/troglobit/jush"; license = licenses.isc; platforms = platforms.all; diff --git a/pkgs/shells/mrsh/default.nix b/pkgs/shells/mrsh/default.nix index 2b9bc4e3e22e..3bb76cb04df8 100644 --- a/pkgs/shells/mrsh/default.nix +++ b/pkgs/shells/mrsh/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A minimal POSIX shell"; + mainProgram = "mrsh"; homepage = "https://mrsh.sh"; license = licenses.mit; maintainers = with maintainers; [ matthiasbeyer ]; diff --git a/pkgs/shells/murex/default.nix b/pkgs/shells/murex/default.nix index d44c32e81cfc..4e44b6bd7ecf 100644 --- a/pkgs/shells/murex/default.nix +++ b/pkgs/shells/murex/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "Bash-like shell and scripting environment with advanced features designed for safety and productivity"; + mainProgram = "murex"; homepage = "https://murex.rocks"; license = licenses.gpl2; maintainers = with maintainers; [ dit7ya kashw2 ]; diff --git a/pkgs/shells/nsh/default.nix b/pkgs/shells/nsh/default.nix index 881d14002ebd..3280bc9b2a38 100644 --- a/pkgs/shells/nsh/default.nix +++ b/pkgs/shells/nsh/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A command-line shell like fish, but POSIX compatible"; + mainProgram = "nsh"; homepage = "https://github.com/nuta/nsh"; changelog = "https://github.com/nuta/nsh/raw/v${version}/docs/changelog.md"; license = [ licenses.cc0 /* or */ licenses.mit ]; diff --git a/pkgs/shells/nushell/plugins/formats.nix b/pkgs/shells/nushell/plugins/formats.nix index fad270fb8df5..e95ea5513049 100644 --- a/pkgs/shells/nushell/plugins/formats.nix +++ b/pkgs/shells/nushell/plugins/formats.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A formats plugin for Nushell"; + mainProgram = "nu_plugin_formats"; homepage = "https://github.com/nushell/nushell/tree/${version}/crates/nu_plugin_formats"; license = licenses.mpl20; maintainers = with maintainers; [ viraptor aidalgol ]; diff --git a/pkgs/shells/nushell/plugins/gstat.nix b/pkgs/shells/nushell/plugins/gstat.nix index 8a11be39ef59..c13e7d665330 100644 --- a/pkgs/shells/nushell/plugins/gstat.nix +++ b/pkgs/shells/nushell/plugins/gstat.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A git status plugin for Nushell"; + mainProgram = "nu_plugin_gstat"; homepage = "https://github.com/nushell/nushell/tree/${version}/crates/nu_plugin_gstat"; license = licenses.mpl20; maintainers = with maintainers; [ mrkkrp aidalgol ]; diff --git a/pkgs/shells/nushell/plugins/query.nix b/pkgs/shells/nushell/plugins/query.nix index daee91a6e919..d9cbb5f25033 100644 --- a/pkgs/shells/nushell/plugins/query.nix +++ b/pkgs/shells/nushell/plugins/query.nix @@ -30,6 +30,7 @@ rustPlatform.buildRustPackage { meta = with lib; { description = "A Nushell plugin to query JSON, XML, and various web data"; + mainProgram = "nu_plugin_query"; homepage = "https://github.com/nushell/nushell/tree/${version}/crates/nu_plugin_query"; license = licenses.mpl20; maintainers = with maintainers; [ happysalada aidalgol ]; diff --git a/pkgs/shells/oh/default.nix b/pkgs/shells/oh/default.nix index 4504d6c86176..d58de0b3f0d8 100644 --- a/pkgs/shells/oh/default.nix +++ b/pkgs/shells/oh/default.nix @@ -16,6 +16,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/michaelmacinnis/oh"; description = "A new Unix shell"; + mainProgram = "oh"; license = licenses.mit; }; diff --git a/pkgs/shells/oksh/default.nix b/pkgs/shells/oksh/default.nix index 7576a8ab9bda..4c309ad30614 100644 --- a/pkgs/shells/oksh/default.nix +++ b/pkgs/shells/oksh/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh)"; + mainProgram = "oksh"; homepage = "https://github.com/ibara/oksh"; license = licenses.publicDomain; maintainers = with maintainers; [ siraben ]; diff --git a/pkgs/shells/scponly/default.nix b/pkgs/shells/scponly/default.nix index f15f04cfe227..41a09adf9e7c 100644 --- a/pkgs/shells/scponly/default.nix +++ b/pkgs/shells/scponly/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A shell that only permits scp and sftp-server"; + mainProgram = "scponly"; homepage = "https://github.com/scponly/scponly"; license = with licenses; [ bsd2 ]; maintainers = with maintainers; [ wmertens ]; diff --git a/pkgs/shells/yash/default.nix b/pkgs/shells/yash/default.nix index 4957c657b86d..002109ee666a 100644 --- a/pkgs/shells/yash/default.nix +++ b/pkgs/shells/yash/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://yash.osdn.jp/index.html.en"; description = "Yet another POSIX-compliant shell"; + mainProgram = "yash"; license = licenses.gpl2Plus; maintainers = with maintainers; [ qbit ]; platforms = platforms.all; diff --git a/pkgs/shells/zsh/antibody/default.nix b/pkgs/shells/zsh/antibody/default.nix index 8df75ac15b95..02f872730a74 100644 --- a/pkgs/shells/zsh/antibody/default.nix +++ b/pkgs/shells/zsh/antibody/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "The fastest shell plugin manager"; + mainProgram = "antibody"; homepage = "https://github.com/getantibody/antibody"; license = licenses.mit; maintainers = with maintainers; [ Br1ght0ne ]; diff --git a/pkgs/shells/zsh/zsh-forgit/default.nix b/pkgs/shells/zsh/zsh-forgit/default.nix index 28847369a9c8..08f31a995aeb 100644 --- a/pkgs/shells/zsh/zsh-forgit/default.nix +++ b/pkgs/shells/zsh/zsh-forgit/default.nix @@ -49,6 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/wfxr/forgit"; description = "A utility tool powered by fzf for using git interactively"; + mainProgram = "git-forgit"; license = licenses.mit; maintainers = with maintainers; [ deejayem ]; platforms = platforms.all; diff --git a/pkgs/tools/admin/ansible/doctor.nix b/pkgs/tools/admin/ansible/doctor.nix index ef7ef6aabb85..8a14a049893b 100644 --- a/pkgs/tools/admin/ansible/doctor.nix +++ b/pkgs/tools/admin/ansible/doctor.nix @@ -59,6 +59,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Annotation based documentation for your Ansible roles"; + mainProgram = "ansible-doctor"; homepage = "https://github.com/thegeeklab/ansible-doctor"; changelog = "https://github.com/thegeeklab/ansible-doctor/releases/tag/v${version}"; license = licenses.lgpl3Only; diff --git a/pkgs/tools/admin/ansible/later.nix b/pkgs/tools/admin/ansible/later.nix index b105ba50134a..f040acdfbd0f 100644 --- a/pkgs/tools/admin/ansible/later.nix +++ b/pkgs/tools/admin/ansible/later.nix @@ -80,6 +80,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Best practice scanner for Ansible roles and playbooks"; + mainProgram = "ansible-later"; homepage = "https://github.com/thegeeklab/ansible-later"; changelog = "https://github.com/thegeeklab/ansible-later/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/admin/ansible/lint.nix b/pkgs/tools/admin/ansible/lint.nix index 4f05f0471af2..2c746ae69bd2 100644 --- a/pkgs/tools/admin/ansible/lint.nix +++ b/pkgs/tools/admin/ansible/lint.nix @@ -88,6 +88,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Best practices checker for Ansible"; + mainProgram = "ansible-lint"; homepage = "https://github.com/ansible/ansible-lint"; changelog = "https://github.com/ansible/ansible-lint/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/admin/aws-google-auth/default.nix b/pkgs/tools/admin/aws-google-auth/default.nix index 545e22f6b58a..84b9d3fd8c99 100644 --- a/pkgs/tools/admin/aws-google-auth/default.nix +++ b/pkgs/tools/admin/aws-google-auth/default.nix @@ -76,6 +76,7 @@ buildPythonApplication rec { meta = with lib; { description = "Acquire AWS STS (temporary) credentials via Google Apps SAML Single Sign On"; + mainProgram = "aws-google-auth"; homepage = "https://github.com/cevoaustralia/aws-google-auth"; maintainers = [ maintainers.marsam ]; license = licenses.mit; diff --git a/pkgs/tools/admin/aws-lambda-runtime-interface-emulator/default.nix b/pkgs/tools/admin/aws-lambda-runtime-interface-emulator/default.nix index 01d5b9479aa7..19e125d57c94 100644 --- a/pkgs/tools/admin/aws-lambda-runtime-interface-emulator/default.nix +++ b/pkgs/tools/admin/aws-lambda-runtime-interface-emulator/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Locally test Lambda functions packaged as container images"; + mainProgram = "aws-lambda-rie"; homepage = "https://github.com/aws/aws-lambda-runtime-interface-emulator"; license = licenses.asl20; maintainers = with maintainers; [ teto ]; diff --git a/pkgs/tools/admin/aws-mfa/default.nix b/pkgs/tools/admin/aws-mfa/default.nix index 53b3a8d4a474..6e58574ee2ba 100644 --- a/pkgs/tools/admin/aws-mfa/default.nix +++ b/pkgs/tools/admin/aws-mfa/default.nix @@ -39,6 +39,7 @@ buildPythonApplication rec { meta = with lib; { description = "Manage AWS MFA Security Credentials"; + mainProgram = "aws-mfa"; homepage = "https://github.com/broamski/aws-mfa"; license = licenses.mit; maintainers = [ ]; diff --git a/pkgs/tools/admin/aws-vault/default.nix b/pkgs/tools/admin/aws-vault/default.nix index 99255f568fa9..20d0667b70e2 100644 --- a/pkgs/tools/admin/aws-vault/default.nix +++ b/pkgs/tools/admin/aws-vault/default.nix @@ -50,6 +50,7 @@ buildGoModule rec { meta = with lib; { description = "A vault for securely storing and accessing AWS credentials in development environments"; + mainProgram = "aws-vault"; homepage = "https://github.com/99designs/aws-vault"; license = licenses.mit; maintainers = with maintainers; [ zimbatm ]; diff --git a/pkgs/tools/admin/awslimitchecker/default.nix b/pkgs/tools/admin/awslimitchecker/default.nix index 0a67e5a4e4e2..cc492ed065d3 100644 --- a/pkgs/tools/admin/awslimitchecker/default.nix +++ b/pkgs/tools/admin/awslimitchecker/default.nix @@ -52,6 +52,7 @@ python3Packages.buildPythonApplication rec { homepage = "http://awslimitchecker.readthedocs.org"; changelog = "https://github.com/jantman/awslimitchecker/blob/${version}/CHANGES.rst"; description = "A script and python package to check your AWS service limits and usage via boto3"; + mainProgram = "awslimitchecker"; license = licenses.agpl3Plus; maintainers = with maintainers; [ zakame ]; }; diff --git a/pkgs/tools/admin/awslogs/default.nix b/pkgs/tools/admin/awslogs/default.nix index ff4924c1cce5..153da049ac16 100644 --- a/pkgs/tools/admin/awslogs/default.nix +++ b/pkgs/tools/admin/awslogs/default.nix @@ -45,6 +45,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "AWS CloudWatch logs for Humans"; + mainProgram = "awslogs"; homepage = "https://github.com/jorgebastida/awslogs"; license = licenses.bsd3; maintainers = with maintainers; [ dbrock ]; diff --git a/pkgs/tools/admin/chkcrontab/default.nix b/pkgs/tools/admin/chkcrontab/default.nix index 7d24270f8d53..e8133ae65d2f 100644 --- a/pkgs/tools/admin/chkcrontab/default.nix +++ b/pkgs/tools/admin/chkcrontab/default.nix @@ -13,6 +13,7 @@ buildPythonApplication rec { meta = with lib; { description = "A tool to detect crontab errors"; + mainProgram = "chkcrontab"; license = licenses.asl20; maintainers = with maintainers; [ ]; homepage = "https://github.com/lyda/chkcrontab"; diff --git a/pkgs/tools/admin/dehydrated/default.nix b/pkgs/tools/admin/dehydrated/default.nix index d36028e3b227..93a4c4f740d7 100644 --- a/pkgs/tools/admin/dehydrated/default.nix +++ b/pkgs/tools/admin/dehydrated/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { inherit (src.meta) homepage; description = "Letsencrypt/acme client implemented as a shell-script"; + mainProgram = "dehydrated"; license = licenses.mit; platforms = platforms.all; maintainers = [ maintainers.pstn ]; diff --git a/pkgs/tools/admin/gam/default.nix b/pkgs/tools/admin/gam/default.nix index 5847bcf00d51..795256d21890 100644 --- a/pkgs/tools/admin/gam/default.nix +++ b/pkgs/tools/admin/gam/default.nix @@ -64,6 +64,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Command line management for Google Workspace"; + mainProgram = "gam"; homepage = "https://github.com/GAM-team/GAM/wiki"; changelog = "https://github.com/GAM-team/GAM/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/tools/admin/gimme-aws-creds/default.nix b/pkgs/tools/admin/gimme-aws-creds/default.nix index 82081a68af43..f4a2e496b056 100644 --- a/pkgs/tools/admin/gimme-aws-creds/default.nix +++ b/pkgs/tools/admin/gimme-aws-creds/default.nix @@ -95,6 +95,7 @@ python.pkgs.buildPythonApplication rec { homepage = "https://github.com/Nike-Inc/gimme-aws-creds"; changelog = "https://github.com/Nike-Inc/gimme-aws-creds/releases"; description = "A CLI that utilizes Okta IdP via SAML to acquire temporary AWS credentials"; + mainProgram = "gimme-aws-creds"; license = licenses.asl20; maintainers = with maintainers; [ jbgosselin ]; }; diff --git a/pkgs/tools/admin/gixy/default.nix b/pkgs/tools/admin/gixy/default.nix index 31c2e88dd825..541bcb42f905 100644 --- a/pkgs/tools/admin/gixy/default.nix +++ b/pkgs/tools/admin/gixy/default.nix @@ -50,6 +50,7 @@ python.pkgs.buildPythonApplication rec { meta = with lib; { description = "Nginx configuration static analyzer"; + mainProgram = "gixy"; longDescription = '' Gixy is a tool to analyze Nginx configuration. The main goal of Gixy is to prevent security misconfiguration and automate flaw detection. diff --git a/pkgs/tools/admin/mycli/default.nix b/pkgs/tools/admin/mycli/default.nix index 8a67139bb576..58f1236db037 100644 --- a/pkgs/tools/admin/mycli/default.nix +++ b/pkgs/tools/admin/mycli/default.nix @@ -57,6 +57,7 @@ buildPythonApplication rec { meta = with lib; { inherit version; description = "Command-line interface for MySQL"; + mainProgram = "mycli"; longDescription = '' Rich command-line interface for MySQL with auto-completion and syntax highlighting. diff --git a/pkgs/tools/admin/proxmove/default.nix b/pkgs/tools/admin/proxmove/default.nix index 6f20e5fe603f..21055de12b6c 100644 --- a/pkgs/tools/admin/proxmove/default.nix +++ b/pkgs/tools/admin/proxmove/default.nix @@ -34,6 +34,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "The Proxmox VM migrator: migrates VMs between different Proxmox VE clusters"; + mainProgram = "proxmove"; homepage = "https://github.com/ossobv/proxmove"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/tools/admin/pulumi-packages/pulumi-aws-native.nix b/pkgs/tools/admin/pulumi-packages/pulumi-aws-native.nix index 2a0582ecb805..51971963fc37 100644 --- a/pkgs/tools/admin/pulumi-packages/pulumi-aws-native.nix +++ b/pkgs/tools/admin/pulumi-packages/pulumi-aws-native.nix @@ -27,6 +27,7 @@ mkPulumiPackage rec { meta = with lib; { description = "Native AWS Pulumi Provider"; + mainProgram = "pulumi-resource-aws-native"; homepage = "https://github.com/pulumi/pulumi-aws-native"; license = licenses.asl20; maintainers = with maintainers; [ veehaitch trundle ]; diff --git a/pkgs/tools/admin/pulumi-packages/pulumi-azure-native.nix b/pkgs/tools/admin/pulumi-packages/pulumi-azure-native.nix index 76a5eff2973e..7b37577da566 100644 --- a/pkgs/tools/admin/pulumi-packages/pulumi-azure-native.nix +++ b/pkgs/tools/admin/pulumi-packages/pulumi-azure-native.nix @@ -32,6 +32,7 @@ mkPulumiPackage rec { __darwinAllowLocalNetworking = true; meta = with lib; { description = "Native Azure Pulumi Provider"; + mainProgram = "pulumi-resource-azure-native"; homepage = "https://github.com/pulumi/pulumi-azure-native"; license = licenses.asl20; maintainers = with maintainers; [ veehaitch trundle ]; diff --git a/pkgs/tools/admin/pulumi-packages/pulumi-command.nix b/pkgs/tools/admin/pulumi-packages/pulumi-command.nix index d53e9593feec..e74a36fd5ef3 100644 --- a/pkgs/tools/admin/pulumi-packages/pulumi-command.nix +++ b/pkgs/tools/admin/pulumi-packages/pulumi-command.nix @@ -26,6 +26,7 @@ mkPulumiPackage rec { meta = with lib; { description = "A Pulumi provider to execute commands and scripts either locally or remotely as part of the Pulumi resource model"; + mainProgram = "pulumi-resource-command"; homepage = "https://github.com/pulumi/pulumi-command"; license = licenses.asl20; maintainers = with maintainers; [ veehaitch trundle ]; diff --git a/pkgs/tools/admin/pulumi-packages/pulumi-language-go.nix b/pkgs/tools/admin/pulumi-packages/pulumi-language-go.nix index 88da6f0d33f4..5a5e9ec7397d 100644 --- a/pkgs/tools/admin/pulumi-packages/pulumi-language-go.nix +++ b/pkgs/tools/admin/pulumi-packages/pulumi-language-go.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Golang language host plugin for Pulumi"; + mainProgram = "pulumi-language-go"; homepage = "https://github.com/pulumi/pulumi/tree/master/sdk/go"; license = licenses.asl20; }; diff --git a/pkgs/tools/admin/pulumi-packages/pulumi-random.nix b/pkgs/tools/admin/pulumi-packages/pulumi-random.nix index af704eac192d..4f8781811519 100644 --- a/pkgs/tools/admin/pulumi-packages/pulumi-random.nix +++ b/pkgs/tools/admin/pulumi-packages/pulumi-random.nix @@ -16,6 +16,7 @@ mkPulumiPackage rec { __darwinAllowLocalNetworking = true; meta = with lib; { description = "A Pulumi provider that safely enables randomness for resources"; + mainProgram = "pulumi-resource-random"; homepage = "https://github.com/pulumi/pulumi-random"; license = licenses.asl20; maintainers = with maintainers; [ veehaitch trundle ]; diff --git a/pkgs/tools/admin/s3bro/default.nix b/pkgs/tools/admin/s3bro/default.nix index 47b458e9cc02..ee35c619fb74 100644 --- a/pkgs/tools/admin/s3bro/default.nix +++ b/pkgs/tools/admin/s3bro/default.nix @@ -34,6 +34,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "s3 CLI tool"; + mainProgram = "s3bro"; homepage = "https://github.com/rsavordelli/s3bro"; license = licenses.mit; maintainers = with maintainers; [ psyanticy ]; diff --git a/pkgs/tools/admin/ssl-cert-check/default.nix b/pkgs/tools/admin/ssl-cert-check/default.nix index c314c304aec8..857fc096e06d 100644 --- a/pkgs/tools/admin/ssl-cert-check/default.nix +++ b/pkgs/tools/admin/ssl-cert-check/default.nix @@ -51,6 +51,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Bourne shell script that can be used to report on expiring SSL certificates"; + mainProgram = "ssl-cert-check"; homepage = "https://github.com/Matty9191/ssl-cert-check"; license = licenses.gpl2Plus; maintainers = with maintainers; [ ryantm ]; diff --git a/pkgs/tools/admin/try/default.nix b/pkgs/tools/admin/try/default.nix index 697a192d156e..a5a6c760a010 100644 --- a/pkgs/tools/admin/try/default.nix +++ b/pkgs/tools/admin/try/default.nix @@ -18,6 +18,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib;{ homepage = "https://github.com/binpash/try"; description = "Lets you run a command and inspect its effects before changing your live system"; + mainProgram = "try"; maintainers = with maintainers; [ pasqui23 ]; license = with licenses; [ mit ]; platforms = platforms.linux; diff --git a/pkgs/tools/archivers/zpaq/zpaqd.nix b/pkgs/tools/archivers/zpaq/zpaqd.nix index 6896897be3b1..07ef4db4d6b0 100644 --- a/pkgs/tools/archivers/zpaq/zpaqd.nix +++ b/pkgs/tools/archivers/zpaq/zpaqd.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "ZPAQ archive (de)compressor and algorithm development tool"; + mainProgram = "zpaqd"; license = licenses.gpl3Plus; maintainers = with maintainers; [ raskin ]; platforms = platforms.linux; diff --git a/pkgs/tools/audio/liquidsoap/full.nix b/pkgs/tools/audio/liquidsoap/full.nix index b4c4af7d457d..f4fac11df220 100644 --- a/pkgs/tools/audio/liquidsoap/full.nix +++ b/pkgs/tools/audio/liquidsoap/full.nix @@ -131,6 +131,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Swiss-army knife for multimedia streaming"; + mainProgram = "liquidsoap"; homepage = "https://www.liquidsoap.info/"; maintainers = with maintainers; [ dandellion ehmry ]; license = licenses.gpl2Plus; diff --git a/pkgs/tools/audio/pa-applet/default.nix b/pkgs/tools/audio/pa-applet/default.nix index 0a82f37e04d3..ef5cde192baf 100644 --- a/pkgs/tools/audio/pa-applet/default.nix +++ b/pkgs/tools/audio/pa-applet/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation { meta = with lib; { description = ""; + mainProgram = "pa-applet"; license = licenses.gpl2; maintainers = with maintainers; [ domenkozar ]; platforms = platforms.linux; diff --git a/pkgs/tools/audio/spotdl/default.nix b/pkgs/tools/audio/spotdl/default.nix index a825fd2e1e39..f4a7e207bef3 100644 --- a/pkgs/tools/audio/spotdl/default.nix +++ b/pkgs/tools/audio/spotdl/default.nix @@ -91,6 +91,7 @@ in python.pkgs.buildPythonApplication rec { meta = with lib; { description = "Download your Spotify playlists and songs along with album art and metadata"; + mainProgram = "spotdl"; homepage = "https://github.com/spotDL/spotify-downloader"; changelog = "https://github.com/spotDL/spotify-downloader/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/audio/wyoming/piper.nix b/pkgs/tools/audio/wyoming/piper.nix index dc69c907ee2a..82d8c003348e 100644 --- a/pkgs/tools/audio/wyoming/piper.nix +++ b/pkgs/tools/audio/wyoming/piper.nix @@ -38,6 +38,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { changelog = "https://github.com/rhasspy/wyoming-openwakeword/v${version}/master/CHANGELOG.md"; description = "Wyoming Server for Piper"; + mainProgram = "wyoming-piper"; homepage = "https://github.com/rhasspy/wyoming-openwakeword"; license = licenses.mit; maintainers = with maintainers; [ hexa ]; diff --git a/pkgs/tools/backup/android-backup-extractor/default.nix b/pkgs/tools/backup/android-backup-extractor/default.nix index 5411b70c77a2..3ecbce8555cd 100644 --- a/pkgs/tools/backup/android-backup-extractor/default.nix +++ b/pkgs/tools/backup/android-backup-extractor/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Utility to extract and repack Android backups created with adb backup"; + mainProgram = "abe"; homepage = "https://github.com/nelenkov/android-backup-extractor"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.asl20; diff --git a/pkgs/tools/backup/automysqlbackup/default.nix b/pkgs/tools/backup/automysqlbackup/default.nix index f103149a83d7..2a36e3a2a275 100644 --- a/pkgs/tools/backup/automysqlbackup/default.nix +++ b/pkgs/tools/backup/automysqlbackup/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A script to run daily, weekly and monthly backups for your MySQL database"; + mainProgram = "automysqlbackup"; homepage = "https://github.com/sixhop/AutoMySQLBackup"; platforms = platforms.linux; maintainers = [ maintainers.aanderse ]; diff --git a/pkgs/tools/backup/bakelite/default.nix b/pkgs/tools/backup/bakelite/default.nix index c67741b06869..9270be408d2d 100644 --- a/pkgs/tools/backup/bakelite/default.nix +++ b/pkgs/tools/backup/bakelite/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/richfelker/bakelite"; description = "Incremental backup with strong cryptographic confidentality"; + mainProgram = "bakelite"; license = licenses.gpl2; maintainers = with maintainers; [ mvs ]; # no support for Darwin (yet: https://github.com/richfelker/bakelite/pull/5) diff --git a/pkgs/tools/backup/btar/default.nix b/pkgs/tools/backup/btar/default.nix index f1033d275aab..7d9f257f72b8 100644 --- a/pkgs/tools/backup/btar/default.nix +++ b/pkgs/tools/backup/btar/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tar-compatible block-based archiver"; + mainProgram = "btar"; license = lib.licenses.gpl3Plus; homepage = "https://viric.name/cgi-bin/btar"; platforms = platforms.all; diff --git a/pkgs/tools/backup/bup/default.nix b/pkgs/tools/backup/bup/default.nix index c2b7b048bce2..07ae258a675f 100644 --- a/pkgs/tools/backup/bup/default.nix +++ b/pkgs/tools/backup/bup/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/bup/bup"; description = "Efficient file backup system based on the git packfile format"; + mainProgram = "bup"; license = licenses.gpl2Plus; longDescription = '' diff --git a/pkgs/tools/backup/chunksync/default.nix b/pkgs/tools/backup/chunksync/default.nix index 2bab8d5ea22e..5a2ec9e5db7c 100644 --- a/pkgs/tools/backup/chunksync/default.nix +++ b/pkgs/tools/backup/chunksync/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = { description = "Space-efficient incremental backups of large files or block devices"; + mainProgram = "chunksync"; homepage = "http://chunksync.florz.de/"; license = lib.licenses.gpl2; platforms = with lib.platforms; linux; diff --git a/pkgs/tools/backup/diskrsync/default.nix b/pkgs/tools/backup/diskrsync/default.nix index 9154451a2441..5506a197fd1d 100644 --- a/pkgs/tools/backup/diskrsync/default.nix +++ b/pkgs/tools/backup/diskrsync/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Rsync for block devices and disk images"; + mainProgram = "diskrsync"; homepage = "https://github.com/dop251/diskrsync"; license = licenses.mit; maintainers = with maintainers; [ jluttine ]; diff --git a/pkgs/tools/backup/duply/default.nix b/pkgs/tools/backup/duply/default.nix index 66c31ddd0e16..d69980cb94b5 100644 --- a/pkgs/tools/backup/duply/default.nix +++ b/pkgs/tools/backup/duply/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Shell front end for the duplicity backup tool"; + mainProgram = "duply"; longDescription = '' Duply is a shell front end for the duplicity backup tool https://www.nongnu.org/duplicity. It greatly simplifies its usage by diff --git a/pkgs/tools/backup/flockit/default.nix b/pkgs/tools/backup/flockit/default.nix index cd17f8e2438c..c1df7f368043 100644 --- a/pkgs/tools/backup/flockit/default.nix +++ b/pkgs/tools/backup/flockit/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation { meta = with lib; { description = "LD_PRELOAD shim to add file locking to programs that don't do it (I'm looking at you, rsync!)"; + mainProgram = "flockit"; longDescription = '' This library and tool exists solely because rsync doesn't have file locking. diff --git a/pkgs/tools/backup/gh2md/default.nix b/pkgs/tools/backup/gh2md/default.nix index 047b838859a4..035139b58022 100644 --- a/pkgs/tools/backup/gh2md/default.nix +++ b/pkgs/tools/backup/gh2md/default.nix @@ -21,6 +21,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Export Github repository issues to markdown files"; + mainProgram = "gh2md"; homepage = "https://github.com/mattduck/gh2md"; license = licenses.mit; maintainers = with maintainers; [ artturin ]; diff --git a/pkgs/tools/backup/gphotos-sync/default.nix b/pkgs/tools/backup/gphotos-sync/default.nix index 9fefd79c3c62..461931b1b991 100644 --- a/pkgs/tools/backup/gphotos-sync/default.nix +++ b/pkgs/tools/backup/gphotos-sync/default.nix @@ -54,6 +54,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Google Photos and Albums backup with Google Photos Library API"; + mainProgram = "gphotos-sync"; homepage = "https://github.com/gilesknap/gphotos-sync"; license = licenses.asl20; maintainers = with maintainers; [ dnr ]; diff --git a/pkgs/tools/backup/httrack/qt.nix b/pkgs/tools/backup/httrack/qt.nix index ed1a75c974aa..061c8b2ad6de 100644 --- a/pkgs/tools/backup/httrack/qt.nix +++ b/pkgs/tools/backup/httrack/qt.nix @@ -31,6 +31,7 @@ mkDerivation rec { meta = with lib; { broken = stdenv.isDarwin; description = "Easy-to-use offline browser / website mirroring utility - QT frontend"; + mainProgram = "httraqt"; homepage = "http://www.httrack.com"; license = licenses.gpl3; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/tools/backup/kopia/default.nix b/pkgs/tools/backup/kopia/default.nix index 3709040490b0..8a68cfd5ba92 100644 --- a/pkgs/tools/backup/kopia/default.nix +++ b/pkgs/tools/backup/kopia/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://kopia.io"; description = "Cross-platform backup tool with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication"; + mainProgram = "kopia"; license = licenses.asl20; maintainers = [ maintainers.bbigras ]; }; diff --git a/pkgs/tools/backup/lvmsync/default.nix b/pkgs/tools/backup/lvmsync/default.nix index 00a03cda7149..bbea71b7f370 100644 --- a/pkgs/tools/backup/lvmsync/default.nix +++ b/pkgs/tools/backup/lvmsync/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Optimised synchronisation of LVM snapshots over a network"; + mainProgram = "lvmsync"; homepage = "https://theshed.hezmatt.org/lvmsync/"; license = licenses.gpl3; platforms = platforms.all; diff --git a/pkgs/tools/backup/mastodon-archive/default.nix b/pkgs/tools/backup/mastodon-archive/default.nix index 88d05022d437..92498c529ca1 100644 --- a/pkgs/tools/backup/mastodon-archive/default.nix +++ b/pkgs/tools/backup/mastodon-archive/default.nix @@ -25,6 +25,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Utility for backing up your Mastodon content"; + mainProgram = "mastodon-archive"; homepage = "https://alexschroeder.ch/software/Mastodon_Archive"; license = licenses.gpl3Plus; maintainers = with maintainers; [ julm ]; diff --git a/pkgs/tools/backup/monolith/default.nix b/pkgs/tools/backup/monolith/default.nix index 10859512ef80..b43e97e1ba95 100644 --- a/pkgs/tools/backup/monolith/default.nix +++ b/pkgs/tools/backup/monolith/default.nix @@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Bundle any web page into a single HTML file"; + mainProgram = "monolith"; homepage = "https://github.com/Y2Z/monolith"; license = licenses.unlicense; maintainers = with maintainers; [ Br1ght0ne ]; diff --git a/pkgs/tools/backup/mylvmbackup/default.nix b/pkgs/tools/backup/mylvmbackup/default.nix index 6c87fca05672..ad1fcf696944 100644 --- a/pkgs/tools/backup/mylvmbackup/default.nix +++ b/pkgs/tools/backup/mylvmbackup/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://www.lenzg.net/mylvmbackup/"; description = "a tool for quickly creating full physical backups of a MySQL server's data files"; + mainProgram = "mylvmbackup"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ ryantm ]; platforms = with lib.platforms; linux; diff --git a/pkgs/tools/backup/pyznap/default.nix b/pkgs/tools/backup/pyznap/default.nix index 81f3a99ecd91..fcb3ee17cb5a 100644 --- a/pkgs/tools/backup/pyznap/default.nix +++ b/pkgs/tools/backup/pyznap/default.nix @@ -23,6 +23,7 @@ buildPythonApplication rec { meta = { homepage = "https://github.com/yboetz/pyznap"; description = "ZFS snapshot tool written in python"; + mainProgram = "pyznap"; license = with lib.licenses; [ gpl3 ]; maintainers = with lib.maintainers; [ rbrewer ]; }; diff --git a/pkgs/tools/backup/rdedup/default.nix b/pkgs/tools/backup/rdedup/default.nix index c9b59782a585..0c8d4afb522d 100644 --- a/pkgs/tools/backup/rdedup/default.nix +++ b/pkgs/tools/backup/rdedup/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Data deduplication with compression and public key encryption"; + mainProgram = "rdedup"; homepage = "https://github.com/dpc/rdedup"; license = licenses.mpl20; maintainers = with maintainers; [ dywedir ]; diff --git a/pkgs/tools/backup/restic/rest-server.nix b/pkgs/tools/backup/restic/rest-server.nix index 9af1151518b6..62c31cd64ea7 100644 --- a/pkgs/tools/backup/restic/rest-server.nix +++ b/pkgs/tools/backup/restic/rest-server.nix @@ -16,6 +16,7 @@ buildGoModule rec { meta = with lib; { changelog = "https://github.com/restic/rest-server/blob/${src.rev}/CHANGELOG.md"; description = "A high performance HTTP server that implements restic's REST backend API"; + mainProgram = "rest-server"; homepage = "https://github.com/restic/rest-server"; license = licenses.bsd2; maintainers = with maintainers; [ dotlambda ]; diff --git a/pkgs/tools/backup/rotate-backups/default.nix b/pkgs/tools/backup/rotate-backups/default.nix index d64b0dee50a8..08f1c3ff3bc8 100644 --- a/pkgs/tools/backup/rotate-backups/default.nix +++ b/pkgs/tools/backup/rotate-backups/default.nix @@ -31,6 +31,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Simple command line interface for backup rotation"; + mainProgram = "rotate-backups"; homepage = "https://github.com/xolox/python-rotate-backups"; license = licenses.mit; maintainers = with maintainers; [ eyjhb ]; diff --git a/pkgs/tools/backup/sigtop/default.nix b/pkgs/tools/backup/sigtop/default.nix index b83dd061efe4..9c503be790d9 100644 --- a/pkgs/tools/backup/sigtop/default.nix +++ b/pkgs/tools/backup/sigtop/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "Utility to export messages, attachments and other data from Signal Desktop"; + mainProgram = "sigtop"; license = licenses.isc; platforms = platforms.all; maintainers = with maintainers; [ fricklerhandwerk ]; diff --git a/pkgs/tools/backup/stenc/default.nix b/pkgs/tools/backup/stenc/default.nix index fb8d71c73119..96e7ed5eca8d 100644 --- a/pkgs/tools/backup/stenc/default.nix +++ b/pkgs/tools/backup/stenc/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = { description = "SCSI Tape Encryption Manager"; + mainProgram = "stenc"; homepage = "https://github.com/scsitape/stenc"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [ woffs ]; diff --git a/pkgs/tools/backup/ugarit-manifest-maker/default.nix b/pkgs/tools/backup/ugarit-manifest-maker/default.nix index 8c37a7b72ac7..10f397df6b2a 100644 --- a/pkgs/tools/backup/ugarit-manifest-maker/default.nix +++ b/pkgs/tools/backup/ugarit-manifest-maker/default.nix @@ -24,6 +24,7 @@ in with pkgs; eggDerivation rec { meta = with lib; { homepage = "https://www.kitten-technologies.co.uk/project/ugarit-manifest-maker/"; description = "A tool for generating import manifests for Ugarit"; + mainProgram = "ugarit-manifest-maker"; license = licenses.bsd3; maintainers = [ maintainers.ebzzry ]; platforms = platforms.unix; diff --git a/pkgs/tools/backup/wal-e/default.nix b/pkgs/tools/backup/wal-e/default.nix index 544f61918de9..3e77d5c3087f 100644 --- a/pkgs/tools/backup/wal-e/default.nix +++ b/pkgs/tools/backup/wal-e/default.nix @@ -28,6 +28,7 @@ python3Packages.buildPythonApplication rec { meta = { description = "A Postgres WAL-shipping disaster recovery and replication toolkit"; + mainProgram = "wal-e"; homepage = "https://github.com/wal-e/wal-e"; maintainers = [ ]; license = lib.licenses.bsd3; diff --git a/pkgs/tools/backup/wal-g/default.nix b/pkgs/tools/backup/wal-g/default.nix index d81e28fd46e2..fe6a1bd2cdbd 100644 --- a/pkgs/tools/backup/wal-g/default.nix +++ b/pkgs/tools/backup/wal-g/default.nix @@ -34,6 +34,7 @@ buildGoModule rec { homepage = "https://github.com/wal-g/wal-g"; license = licenses.asl20; description = "An archival restoration tool for PostgreSQL"; + mainProgram = "wal-g"; maintainers = with maintainers; [ marsam ]; }; } diff --git a/pkgs/tools/backup/zbackup/default.nix b/pkgs/tools/backup/zbackup/default.nix index 021c85707a60..c43a3d52af81 100644 --- a/pkgs/tools/backup/zbackup/default.nix +++ b/pkgs/tools/backup/zbackup/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation rec { meta = { description = "A versatile deduplicating backup tool"; + mainProgram = "zbackup"; homepage = "http://zbackup.org/"; platforms = lib.platforms.linux; license = lib.licenses.gpl2Plus; diff --git a/pkgs/tools/backup/zfs-prune-snapshots/default.nix b/pkgs/tools/backup/zfs-prune-snapshots/default.nix index 2c9e4a2fdf8a..18ddacd4d55f 100644 --- a/pkgs/tools/backup/zfs-prune-snapshots/default.nix +++ b/pkgs/tools/backup/zfs-prune-snapshots/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Remove snapshots from one or more zpools that match given criteria"; + mainProgram = "zfs-prune-snapshots"; homepage = "https://github.com/bahamas10/zfs-prune-snapshots"; license = licenses.mit; maintainers = [ maintainers.ymarkus ]; diff --git a/pkgs/tools/backup/zfs-replicate/default.nix b/pkgs/tools/backup/zfs-replicate/default.nix index bdaf5c6dc6de..0c9e2b0998a8 100644 --- a/pkgs/tools/backup/zfs-replicate/default.nix +++ b/pkgs/tools/backup/zfs-replicate/default.nix @@ -43,6 +43,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/alunduil/zfs-replicate"; description = "ZFS Snapshot Replication"; + mainProgram = "zfs-replicate"; license = licenses.bsd2; maintainers = with maintainers; [ alunduil ]; }; diff --git a/pkgs/tools/backup/zfsnap/default.nix b/pkgs/tools/backup/zfsnap/default.nix index 36e369b4f30a..6e71f38e4e63 100644 --- a/pkgs/tools/backup/zfsnap/default.nix +++ b/pkgs/tools/backup/zfsnap/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A portable, performant script to make rolling ZFS snapshots easy"; + mainProgram = "zfsnap"; homepage = "https://github.com/zfsnap/zfsnap"; license = licenses.bsd3; maintainers = with maintainers; [ woffs ]; diff --git a/pkgs/tools/compression/lzham/default.nix b/pkgs/tools/compression/lzham/default.nix index 5915d1439dff..7d2879f63cd8 100644 --- a/pkgs/tools/compression/lzham/default.nix +++ b/pkgs/tools/compression/lzham/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed"; + mainProgram = "lzhamtest"; homepage = "https://github.com/richgel999/lzham_codec"; license = with licenses; [ mit ]; platforms = platforms.linux; diff --git a/pkgs/tools/filesystems/9pfs/default.nix b/pkgs/tools/filesystems/9pfs/default.nix index 7b652bd68aa0..51238e97f42a 100644 --- a/pkgs/tools/filesystems/9pfs/default.nix +++ b/pkgs/tools/filesystems/9pfs/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://github.com/ftrvxmtrx/9pfs"; description = "FUSE-based client of the 9P network filesystem protocol"; + mainProgram = "9pfs"; maintainers = [ lib.maintainers.eelco ]; platforms = lib.platforms.unix; license = with lib.licenses; [ lpl-102 bsd2 ]; diff --git a/pkgs/tools/filesystems/archivemount/default.nix b/pkgs/tools/filesystems/archivemount/default.nix index 22e41611aef8..6c0566153a9f 100644 --- a/pkgs/tools/filesystems/archivemount/default.nix +++ b/pkgs/tools/filesystems/archivemount/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { meta = { description = "Gateway between FUSE and libarchive: allows mounting of cpio, .tar.gz, .tar.bz2 archives"; + mainProgram = "archivemount"; license = lib.licenses.gpl2; platforms = lib.platforms.unix; }; diff --git a/pkgs/tools/filesystems/btrfs-heatmap/default.nix b/pkgs/tools/filesystems/btrfs-heatmap/default.nix index 9de91738e74d..ee09a25ceb14 100644 --- a/pkgs/tools/filesystems/btrfs-heatmap/default.nix +++ b/pkgs/tools/filesystems/btrfs-heatmap/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Visualize the layout of a mounted btrfs"; + mainProgram = "btrfs-heatmap"; homepage = "https://github.com/knorrie/btrfs-heatmap"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/tools/filesystems/btrfs-snap/default.nix b/pkgs/tools/filesystems/btrfs-snap/default.nix index efc2ddafa419..40838c1fed62 100644 --- a/pkgs/tools/filesystems/btrfs-snap/default.nix +++ b/pkgs/tools/filesystems/btrfs-snap/default.nix @@ -24,6 +24,7 @@ stdenvNoCC.mkDerivation rec { ''; meta = with lib; { description = "Create and maintain the history of snapshots of btrfs filesystems"; + mainProgram = "btrfs-snap"; homepage = "https://github.com/jf647/btrfs-snap"; license = licenses.gpl3Only; maintainers = with maintainers; [ lionello ]; diff --git a/pkgs/tools/filesystems/catcli/default.nix b/pkgs/tools/filesystems/catcli/default.nix index a2f5402dca25..b8668a43c0ce 100644 --- a/pkgs/tools/filesystems/catcli/default.nix +++ b/pkgs/tools/filesystems/catcli/default.nix @@ -31,6 +31,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "The command line catalog tool for your offline data"; + mainProgram = "catcli"; homepage = "https://github.com/deadc0de6/catcli"; changelog = "https://github.com/deadc0de6/catcli/releases/tag/v${version}"; license = licenses.gpl3Only; diff --git a/pkgs/tools/filesystems/ceph-csi/default.nix b/pkgs/tools/filesystems/ceph-csi/default.nix index 7ee65616e0b1..29224aba38b7 100644 --- a/pkgs/tools/filesystems/ceph-csi/default.nix +++ b/pkgs/tools/filesystems/ceph-csi/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://ceph.com/"; description = "Container Storage Interface (CSI) driver for Ceph RBD and CephFS"; + mainProgram = "cephcsi"; license = [ licenses.asl20 ]; maintainers = with maintainers; [ johanot ]; platforms = [ "x86_64-linux" "aarch64-linux" ]; diff --git a/pkgs/tools/filesystems/cpcfs/default.nix b/pkgs/tools/filesystems/cpcfs/default.nix index 93bfdd8d23fa..3b1d54ba427c 100644 --- a/pkgs/tools/filesystems/cpcfs/default.nix +++ b/pkgs/tools/filesystems/cpcfs/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Manipulating CPC dsk images and files"; + mainProgram = "cpcfs"; homepage = "https://github.com/derikz/cpcfs/" ; license = licenses.bsd2; maintainers = [ ]; diff --git a/pkgs/tools/filesystems/curlftpfs/default.nix b/pkgs/tools/filesystems/curlftpfs/default.nix index 1263ccb8565e..7b3760ba5aa2 100644 --- a/pkgs/tools/filesystems/curlftpfs/default.nix +++ b/pkgs/tools/filesystems/curlftpfs/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Filesystem for accessing FTP hosts based on FUSE and libcurl"; + mainProgram = "curlftpfs"; homepage = "https://curlftpfs.sourceforge.net"; license = licenses.gpl2Only; platforms = platforms.unix; diff --git a/pkgs/tools/filesystems/darling-dmg/default.nix b/pkgs/tools/filesystems/darling-dmg/default.nix index 54d23e770db1..8884ef2f63d5 100644 --- a/pkgs/tools/filesystems/darling-dmg/default.nix +++ b/pkgs/tools/filesystems/darling-dmg/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.darlinghq.org/"; description = "Darling lets you open macOS dmgs on Linux"; + mainProgram = "darling-dmg"; platforms = platforms.unix; license = licenses.gpl3Only; maintainers = with maintainers; [ Luflosi ]; diff --git a/pkgs/tools/filesystems/dduper/default.nix b/pkgs/tools/filesystems/dduper/default.nix index 7f876df37ee1..c63846e2c46a 100644 --- a/pkgs/tools/filesystems/dduper/default.nix +++ b/pkgs/tools/filesystems/dduper/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fast block-level out-of-band BTRFS deduplication tool"; + mainProgram = "dduper"; homepage = "https://github.com/Lakshmipathi/dduper"; license = licenses.gpl2Plus; maintainers = with maintainers; [ thesola10 ]; diff --git a/pkgs/tools/filesystems/disorderfs/default.nix b/pkgs/tools/filesystems/disorderfs/default.nix index 27dc55fb9263..14106cfd4ba9 100644 --- a/pkgs/tools/filesystems/disorderfs/default.nix +++ b/pkgs/tools/filesystems/disorderfs/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An overlay FUSE filesystem that introduces non-determinism into filesystem metadata"; + mainProgram = "disorderfs"; license = licenses.gpl3; platforms = platforms.linux; maintainers = with maintainers; [ pSub ]; diff --git a/pkgs/tools/filesystems/djmount/default.nix b/pkgs/tools/filesystems/djmount/default.nix index d3a75e420db9..52a89013ced6 100644 --- a/pkgs/tools/filesystems/djmount/default.nix +++ b/pkgs/tools/filesystems/djmount/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://djmount.sourceforge.net/"; description = "UPnP AV client, mounts as a Linux filesystem the media content of compatible UPnP AV devices"; + mainProgram = "djmount"; platforms = lib.platforms.linux; maintainers = [ lib.maintainers.jagajaga ]; license = lib.licenses.gpl2; diff --git a/pkgs/tools/filesystems/duff/default.nix b/pkgs/tools/filesystems/duff/default.nix index f980c7613332..4c6f3caff79a 100644 --- a/pkgs/tools/filesystems/duff/default.nix +++ b/pkgs/tools/filesystems/duff/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Quickly find duplicate files"; + mainProgram = "duff"; longDescription = '' Duff is a Unix command-line utility for quickly finding duplicates in a given set of files. diff --git a/pkgs/tools/filesystems/httpfs/default.nix b/pkgs/tools/filesystems/httpfs/default.nix index f7a42f192eef..4cf618826b8f 100644 --- a/pkgs/tools/filesystems/httpfs/default.nix +++ b/pkgs/tools/filesystems/httpfs/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = { description = "FUSE-based HTTP filesystem for Linux"; + mainProgram = "httpfs2"; homepage = "https://httpfs.sourceforge.net/"; diff --git a/pkgs/tools/games/ajour/default.nix b/pkgs/tools/games/ajour/default.nix index 0f90a794987e..7416d4f717ab 100644 --- a/pkgs/tools/games/ajour/default.nix +++ b/pkgs/tools/games/ajour/default.nix @@ -83,6 +83,7 @@ in rustPlatform.buildRustPackage rec { meta = with lib; { description = "World of Warcraft addon manager written in Rust"; + mainProgram = "ajour"; longDescription = '' Ajour is a World of Warcraft addon manager written in Rust with a strong focus on performance and simplicity. The project is diff --git a/pkgs/tools/games/joystickwake/default.nix b/pkgs/tools/games/joystickwake/default.nix index 9b2012857db2..e321daf2dd8f 100644 --- a/pkgs/tools/games/joystickwake/default.nix +++ b/pkgs/tools/games/joystickwake/default.nix @@ -19,6 +19,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "A joystick-aware screen waker"; + mainProgram = "joystickwake"; longDescription = '' Linux gamers often find themselves unexpectedly staring at a blank screen, because their display server fails to recognize game controllers as input devices, allowing the screen blanker to activate during gameplay. This program works around the problem by temporarily disabling screen blankers when joystick activity is detected. diff --git a/pkgs/tools/games/jpsxdec/default.nix b/pkgs/tools/games/jpsxdec/default.nix index 85fd9d65ada1..58876d678969 100644 --- a/pkgs/tools/games/jpsxdec/default.nix +++ b/pkgs/tools/games/jpsxdec/default.nix @@ -7,7 +7,7 @@ , makeWrapper , makeDesktopItem , copyDesktopItems -, canonicalize-jars-hook +, stripJavaArchivesHook }: stdenv.mkDerivation (finalAttrs: { @@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: { jdk8 makeWrapper copyDesktopItems - canonicalize-jars-hook + stripJavaArchivesHook ]; buildPhase = '' diff --git a/pkgs/tools/games/minecraft/amidst/default.nix b/pkgs/tools/games/minecraft/amidst/default.nix index 5e6a79e1cba1..3dae62507106 100644 --- a/pkgs/tools/games/minecraft/amidst/default.nix +++ b/pkgs/tools/games/minecraft/amidst/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/toolbox4minecraft/amidst"; description = "Advanced Minecraft Interface and Data/Structure Tracking"; + mainProgram = "amidst"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.gpl3Only; maintainers = [ maintainers.ivar ]; diff --git a/pkgs/tools/games/minecraft/fabric-installer/default.nix b/pkgs/tools/games/minecraft/fabric-installer/default.nix index 27c70d38a06c..4a11a08a42e6 100644 --- a/pkgs/tools/games/minecraft/fabric-installer/default.nix +++ b/pkgs/tools/games/minecraft/fabric-installer/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://fabricmc.net/"; description = "A lightweight, experimental modding toolchain for Minecraft"; + mainProgram = "fabric-installer"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.asl20; maintainers = [ maintainers.ivar ]; diff --git a/pkgs/tools/games/minecraft/mcaselector/default.nix b/pkgs/tools/games/minecraft/mcaselector/default.nix index 395be450f65c..a2099c4e382e 100644 --- a/pkgs/tools/games/minecraft/mcaselector/default.nix +++ b/pkgs/tools/games/minecraft/mcaselector/default.nix @@ -33,6 +33,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { meta = with lib; { homepage = "https://github.com/Querz/mcaselector"; description = "A tool to select chunks from Minecraft worlds for deletion or export"; + mainProgram = "mcaselector"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.mit; maintainers = [ maintainers.Scrumplex ]; diff --git a/pkgs/tools/games/minecraft/minecraft-server-hibernation/default.nix b/pkgs/tools/games/minecraft/minecraft-server-hibernation/default.nix index ff0e7873827b..3837b890632b 100644 --- a/pkgs/tools/games/minecraft/minecraft-server-hibernation/default.nix +++ b/pkgs/tools/games/minecraft/minecraft-server-hibernation/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { description = "Autostart and stop minecraft-server when players join/leave"; + mainProgram = "msh"; homepage = "https://github.com/gekware/minecraft-server-hibernation"; license = licenses.gpl3Only; maintainers = with maintainers; [ squarepear ]; diff --git a/pkgs/tools/games/mymcplus/default.nix b/pkgs/tools/games/mymcplus/default.nix index 0e5abb1e8994..c94ef8768c07 100644 --- a/pkgs/tools/games/mymcplus/default.nix +++ b/pkgs/tools/games/mymcplus/default.nix @@ -27,6 +27,7 @@ pythonPackages.buildPythonApplication rec { meta = with lib; { homepage = "https://git.sr.ht/~thestr4ng3r/mymcplus"; description = "A PlayStation 2 memory card manager"; + mainProgram = "mymcplus"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ]; }; diff --git a/pkgs/tools/games/pokefinder/default.nix b/pkgs/tools/games/pokefinder/default.nix index 16439309b413..de53fb839af9 100644 --- a/pkgs/tools/games/pokefinder/default.nix +++ b/pkgs/tools/games/pokefinder/default.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/Admiral-Fish/PokeFinder"; description = "Cross platform Pokémon RNG tool"; + mainProgram = "PokeFinder"; license = licenses.gpl3Only; platforms = platforms.all; maintainers = with maintainers; [ leo60228 ]; diff --git a/pkgs/tools/games/steamback/default.nix b/pkgs/tools/games/steamback/default.nix index 42e5ec3b2ef9..bb91fa41c618 100644 --- a/pkgs/tools/games/steamback/default.nix +++ b/pkgs/tools/games/steamback/default.nix @@ -58,6 +58,7 @@ buildPythonApplication rec { meta = with lib; { description = "A Decky plugin to add versioned save-game snapshots to Steam-cloud enabled games"; + mainProgram = "steamback"; homepage = "https://github.com/geeksville/steamback"; license = licenses.gpl3; maintainers = with maintainers; [ AngryAnt ]; diff --git a/pkgs/tools/games/steamtinkerlaunch/default.nix b/pkgs/tools/games/steamtinkerlaunch/default.nix index 4f37109f5437..f9db25353499 100644 --- a/pkgs/tools/games/steamtinkerlaunch/default.nix +++ b/pkgs/tools/games/steamtinkerlaunch/default.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Linux wrapper tool for use with the Steam client for custom launch options and 3rd party programs"; + mainProgram = "steamtinkerlaunch"; homepage = "https://github.com/sonic2kk/steamtinkerlaunch"; license = licenses.gpl3; maintainers = with maintainers; [ urandom ]; diff --git a/pkgs/tools/games/ukmm/default.nix b/pkgs/tools/games/ukmm/default.nix index 5f2d366e7f9b..389b7486b8b9 100644 --- a/pkgs/tools/games/ukmm/default.nix +++ b/pkgs/tools/games/ukmm/default.nix @@ -71,6 +71,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A new mod manager for The Legend of Zelda: Breath of the Wild"; + mainProgram = "ukmm"; homepage = "https://github.com/NiceneNerd/ukmm"; changelog = "https://github.com/NiceneNerd/ukmm/blob/${src.rev}/CHANGELOG.md"; license = licenses.gpl3Plus; diff --git a/pkgs/tools/graphics/rocket/default.nix b/pkgs/tools/graphics/rocket/default.nix index 070e359fe1c5..5dcd40b4d5ec 100644 --- a/pkgs/tools/graphics/rocket/default.nix +++ b/pkgs/tools/graphics/rocket/default.nix @@ -23,6 +23,7 @@ mkDerivation { meta = with lib; { description = "A tool for synchronizing music and visuals in demoscene productions"; + mainProgram = "editor"; homepage = "https://github.com/rocket/rocket"; license = licenses.zlib; platforms = platforms.linux; diff --git a/pkgs/tools/inputmethods/emote/default.nix b/pkgs/tools/inputmethods/emote/default.nix index 8e3d7227d1bd..6c2e4962a996 100644 --- a/pkgs/tools/inputmethods/emote/default.nix +++ b/pkgs/tools/inputmethods/emote/default.nix @@ -53,6 +53,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Modern emoji picker for Linux"; + mainProgram = "emote"; homepage = "https://github.com/tom-james-watson/emote"; license = licenses.gpl3Plus; maintainers = with maintainers; [ emilytrau SuperSandro2000 ]; diff --git a/pkgs/tools/inputmethods/evdevremapkeys/default.nix b/pkgs/tools/inputmethods/evdevremapkeys/default.nix index 497a4abc5956..2dcc169c6444 100644 --- a/pkgs/tools/inputmethods/evdevremapkeys/default.nix +++ b/pkgs/tools/inputmethods/evdevremapkeys/default.nix @@ -27,6 +27,7 @@ python3Packages.buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/philipl/evdevremapkeys"; description = "Daemon to remap events on linux input devices"; + mainProgram = "evdevremapkeys"; license = licenses.mit; maintainers = [ maintainers.q3k ]; platforms = platforms.linux; diff --git a/pkgs/tools/inputmethods/evscript/default.nix b/pkgs/tools/inputmethods/evscript/default.nix index d1440bea357f..1de971b7cea2 100644 --- a/pkgs/tools/inputmethods/evscript/default.nix +++ b/pkgs/tools/inputmethods/evscript/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { homepage = "https://codeberg.org/valpackett/evscript"; description = "A tiny sandboxed Dyon scripting environment for evdev input devices"; + mainProgram = "evscript"; license = licenses.unlicense; maintainers = with maintainers; [ milesbreslin ]; platforms = platforms.linux; diff --git a/pkgs/tools/inputmethods/evsieve/default.nix b/pkgs/tools/inputmethods/evsieve/default.nix index de18668e7475..c8c6752b823d 100644 --- a/pkgs/tools/inputmethods/evsieve/default.nix +++ b/pkgs/tools/inputmethods/evsieve/default.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A utility for mapping events from Linux event devices"; + mainProgram = "evsieve"; homepage = "https://github.com/KarsMulder/evsieve"; license = licenses.gpl2Plus; maintainers = with maintainers; [ tsowell ]; diff --git a/pkgs/tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix b/pkgs/tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix index 0699f23e3aab..4aac06dc1ade 100644 --- a/pkgs/tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix +++ b/pkgs/tools/inputmethods/fcitx5/fcitx5-chinese-addons.nix @@ -71,6 +71,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Addons related to Chinese, including IME previous bundled inside fcitx4"; + mainProgram = "scel2org5"; homepage = "https://github.com/fcitx/fcitx5-chinese-addons"; license = with licenses; [ gpl2Plus lgpl21Plus ]; maintainers = with maintainers; [ poscat ]; diff --git a/pkgs/tools/inputmethods/gebaar-libinput/default.nix b/pkgs/tools/inputmethods/gebaar-libinput/default.nix index 9a808535fe04..533d4ddc8ee7 100644 --- a/pkgs/tools/inputmethods/gebaar-libinput/default.nix +++ b/pkgs/tools/inputmethods/gebaar-libinput/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Gebaar, A Super Simple WM Independent Touchpad Gesture Daemon for libinput"; + mainProgram = "gebaard"; homepage = "https://github.com/Coffee2CodeNL/gebaar-libinput"; license = licenses.gpl3; platforms = platforms.linux; diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-cangjie/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-cangjie/default.nix index 0d7f06039a09..0e5233ad8b6f 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-cangjie/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-cangjie/default.nix @@ -66,6 +66,7 @@ stdenv.mkDerivation { meta = { isIbusEngine = true; description = "An IBus engine for users of the Cangjie and Quick input methods"; + mainProgram = "ibus-setup-cangjie"; homepage = "https://github.com/Cangjians/ibus-cangjie"; license = lib.licenses.gpl3Plus; platforms = lib.platforms.linux; diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix index af3e1edd6399..9c338f71698e 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-hangul/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { isIbusEngine = true; description = "Ibus Hangul engine"; + mainProgram = "ibus-setup-hangul"; homepage = "https://github.com/choehwanjin/ibus-hangul"; license = licenses.gpl2; maintainers = with maintainers; [ ericsagnes ]; diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-mozc/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-mozc/default.nix index 220c89ca175d..d0199bdbed4a 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-mozc/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-mozc/default.nix @@ -78,6 +78,7 @@ buildBazelPackage rec { meta = with lib; { isIbusEngine = true; description = "Japanese input method from Google"; + mainProgram = "mozc_emacs_helper"; homepage = "https://github.com/google/mozc"; license = licenses.free; platforms = platforms.linux; diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix index c5f02f4c8a22..7b277e76ecb5 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-table/default.nix @@ -59,6 +59,7 @@ stdenv.mkDerivation rec { meta = with lib; { isIbusEngine = true; description = "An IBus framework for table-based input methods"; + mainProgram = "ibus-table-createdb"; homepage = "https://github.com/kaio/ibus-table/wiki"; license = licenses.lgpl21; platforms = platforms.linux; diff --git a/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/default.nix b/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/default.nix index 47262be28d5c..7f1131f092b8 100644 --- a/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/default.nix +++ b/pkgs/tools/inputmethods/ibus-engines/ibus-typing-booster/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { homepage = "https://mike-fabian.github.io/ibus-typing-booster/"; license = licenses.gpl3Plus; description = "A completion input method for faster typing"; + mainProgram = "emoji-picker"; maintainers = with maintainers; [ ncfavier ]; isIbusEngine = true; }; diff --git a/pkgs/tools/inputmethods/interception-tools/caps2esc.nix b/pkgs/tools/inputmethods/interception-tools/caps2esc.nix index 933a731828fb..ef8c4b17baf1 100644 --- a/pkgs/tools/inputmethods/interception-tools/caps2esc.nix +++ b/pkgs/tools/inputmethods/interception-tools/caps2esc.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://gitlab.com/interception/linux/plugins/caps2esc"; description = "Transforming the most useless key ever into the most useful one"; + mainProgram = "caps2esc"; license = licenses.mit; maintainers = [ maintainers.vyp ]; platforms = platforms.linux; diff --git a/pkgs/tools/inputmethods/keyfuzz/default.nix b/pkgs/tools/inputmethods/keyfuzz/default.nix index 8980abba2f62..f92993cfe754 100644 --- a/pkgs/tools/inputmethods/keyfuzz/default.nix +++ b/pkgs/tools/inputmethods/keyfuzz/default.nix @@ -6,6 +6,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Manipulate the scancode/keycode translation tables of keyboard drivers"; + mainProgram = "keyfuzz"; homepage = "http://0pointer.de/lennart/projects/keyfuzz/"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/tools/inputmethods/libinput-gestures/default.nix b/pkgs/tools/inputmethods/libinput-gestures/default.nix index b9384469e963..bb466e38ba53 100644 --- a/pkgs/tools/inputmethods/libinput-gestures/default.nix +++ b/pkgs/tools/inputmethods/libinput-gestures/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/bulletmark/libinput-gestures"; description = "Gesture mapper for libinput"; + mainProgram = "libinput-gestures"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = with maintainers; [ teozkr ]; diff --git a/pkgs/tools/inputmethods/lisgd/default.nix b/pkgs/tools/inputmethods/lisgd/default.nix index dd57f61de9d6..23e677144945 100644 --- a/pkgs/tools/inputmethods/lisgd/default.nix +++ b/pkgs/tools/inputmethods/lisgd/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Bind gestures via libinput touch events"; + mainProgram = "lisgd"; homepage = "https://git.sr.ht/~mil/lisgd"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/tools/inputmethods/m17n-db/default.nix b/pkgs/tools/inputmethods/m17n-db/default.nix index dc0ed25a3efe..558d59d0ca94 100644 --- a/pkgs/tools/inputmethods/m17n-db/default.nix +++ b/pkgs/tools/inputmethods/m17n-db/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://www.nongnu.org/m17n/"; description = "Multilingual text processing library (database)"; + mainProgram = "m17n-db"; changelog = "https://git.savannah.nongnu.org/cgit/m17n/m17n-db.git/plain/NEWS?h=REL-${lib.replaceStrings [ "." ] [ "-" ] version}"; license = lib.licenses.lgpl21Plus; platforms = lib.platforms.linux; diff --git a/pkgs/tools/inputmethods/nabi/default.nix b/pkgs/tools/inputmethods/nabi/default.nix index 72f13d4eb2dc..61a948529f4d 100644 --- a/pkgs/tools/inputmethods/nabi/default.nix +++ b/pkgs/tools/inputmethods/nabi/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "The Easy Hangul XIM"; + mainProgram = "nabi"; homepage = "https://github.com/choehwanjin/nabi"; license = licenses.gpl2; maintainers = [ maintainers.ianwookim ]; diff --git a/pkgs/tools/inputmethods/remote-touchpad/default.nix b/pkgs/tools/inputmethods/remote-touchpad/default.nix index eef3ddfe835a..88c6db4842ef 100644 --- a/pkgs/tools/inputmethods/remote-touchpad/default.nix +++ b/pkgs/tools/inputmethods/remote-touchpad/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { description = "Control mouse and keyboard from the web browser of a smartphone"; + mainProgram = "remote-touchpad"; homepage = "https://github.com/unrud/remote-touchpad"; license = licenses.gpl3Plus; maintainers = with maintainers; [ schnusch ]; diff --git a/pkgs/tools/inputmethods/touchegg/default.nix b/pkgs/tools/inputmethods/touchegg/default.nix index de30b853670a..32a1b059f2c5 100644 --- a/pkgs/tools/inputmethods/touchegg/default.nix +++ b/pkgs/tools/inputmethods/touchegg/default.nix @@ -74,6 +74,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/JoseExposito/touchegg"; description = "Linux multi-touch gesture recognizer"; + mainProgram = "touchegg"; license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = teams.pantheon.members; diff --git a/pkgs/tools/inputmethods/xlibinput_calibrator/default.nix b/pkgs/tools/inputmethods/xlibinput_calibrator/default.nix index 2b6585c92513..3d5faba1c63c 100644 --- a/pkgs/tools/inputmethods/xlibinput_calibrator/default.nix +++ b/pkgs/tools/inputmethods/xlibinput_calibrator/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Touch calibrator for libinput"; + mainProgram = "xlibinput_calibrator"; homepage = "https://github.com/kreijack/xlibinput_calibrator"; changelog = "https://github.com/kreijack/xlibinput_calibrator/blob/${src.rev}/Changelog"; license = with licenses; [ mit ]; diff --git a/pkgs/tools/misc/0x/default.nix b/pkgs/tools/misc/0x/default.nix index b76c13e66287..2f1493d23452 100644 --- a/pkgs/tools/misc/0x/default.nix +++ b/pkgs/tools/misc/0x/default.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage { meta = with lib; { homepage = "https://github.com/mcy/0x"; description = "A colorful, configurable xxd"; + mainProgram = "0x"; license = licenses.asl20; maintainers = with maintainers; [ AndersonTorres ]; }; diff --git a/pkgs/tools/misc/3mux/default.nix b/pkgs/tools/misc/3mux/default.nix index 9ec4572328e7..0a16b853943d 100644 --- a/pkgs/tools/misc/3mux/default.nix +++ b/pkgs/tools/misc/3mux/default.nix @@ -46,6 +46,7 @@ buildGoModule rec { meta = with lib; { description = "Terminal multiplexer inspired by i3"; + mainProgram = "3mux"; longDescription = '' Terminal multiplexer with out-of-the-box support for search, mouse-controlled scrollback, and i3-like keybindings diff --git a/pkgs/tools/misc/autojump/default.nix b/pkgs/tools/misc/autojump/default.nix index e1bb2f084110..977e339d7ef5 100644 --- a/pkgs/tools/misc/autojump/default.nix +++ b/pkgs/tools/misc/autojump/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A `cd' command that learns"; + mainProgram = "autojump"; longDescription = '' One of the most used shell commands is “cd”. A quick survey among my friends revealed that between 10 and 20% of all diff --git a/pkgs/tools/misc/domine/default.nix b/pkgs/tools/misc/domine/default.nix index 3d193ba2a06f..a85275acab0e 100644 --- a/pkgs/tools/misc/domine/default.nix +++ b/pkgs/tools/misc/domine/default.nix @@ -12,4 +12,5 @@ buildDartApplication rec { }; pubspecLock = lib.importJSON ./pubspec.lock.json; + meta.mainProgram = "domine"; } diff --git a/pkgs/tools/misc/eludris/default.nix b/pkgs/tools/misc/eludris/default.nix index ac3ecc2e5a6c..e3fc67fcacb0 100644 --- a/pkgs/tools/misc/eludris/default.nix +++ b/pkgs/tools/misc/eludris/default.nix @@ -27,6 +27,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple CLI to help you with setting up and managing your Eludris instance"; + mainProgram = "eludris"; homepage = "https://github.com/eludris/eludris/tree/main/cli"; license = licenses.mit; maintainers = with maintainers; [ ooliver1 ]; diff --git a/pkgs/tools/misc/fclones/gui.nix b/pkgs/tools/misc/fclones/gui.nix index 7b2d063d45b7..8dff1eec4928 100644 --- a/pkgs/tools/misc/fclones/gui.nix +++ b/pkgs/tools/misc/fclones/gui.nix @@ -47,6 +47,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Interactive duplicate file remover"; + mainProgram = "fclones-gui"; homepage = "https://github.com/pkolaczk/fclones-gui"; changelog = "https://github.com/pkolaczk/fclones-gui/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/tools/misc/gosu/default.nix b/pkgs/tools/misc/gosu/default.nix index bd3ba4c930d7..8b5a5fb88d33 100644 --- a/pkgs/tools/misc/gosu/default.nix +++ b/pkgs/tools/misc/gosu/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Tool that avoids TTY and signal-forwarding behavior of sudo and su"; + mainProgram = "gosu"; homepage = "https://github.com/tianon/gosu"; license = licenses.asl20; maintainers = with maintainers; [ ]; diff --git a/pkgs/tools/misc/i3minator/default.nix b/pkgs/tools/misc/i3minator/default.nix index 4db029ef8fa2..d56ee6eadc7a 100644 --- a/pkgs/tools/misc/i3minator/default.nix +++ b/pkgs/tools/misc/i3minator/default.nix @@ -20,6 +20,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "i3 project manager similar to tmuxinator"; + mainProgram = "i3minator"; longDescription = '' A simple "workspace manager" for i3. It allows to quickly manage workspaces defining windows and their layout. The diff --git a/pkgs/tools/misc/ili2c/default.nix b/pkgs/tools/misc/ili2c/default.nix index 99c1353631e9..d4ac13046377 100644 --- a/pkgs/tools/misc/ili2c/default.nix +++ b/pkgs/tools/misc/ili2c/default.nix @@ -5,7 +5,7 @@ , jdk8 , jre8 , makeWrapper -, canonicalize-jars-hook +, stripJavaArchivesHook }: let @@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: { ant jdk makeWrapper - canonicalize-jars-hook + stripJavaArchivesHook ]; src = fetchFromGitHub { diff --git a/pkgs/tools/misc/libbitcoin/libbitcoin-explorer.nix b/pkgs/tools/misc/libbitcoin/libbitcoin-explorer.nix index 48c8e9a4f721..5f56291f26f7 100644 --- a/pkgs/tools/misc/libbitcoin/libbitcoin-explorer.nix +++ b/pkgs/tools/misc/libbitcoin/libbitcoin-explorer.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Bitcoin command line tool"; + mainProgram = "bx"; homepage = "https://github.com/libbitcoin/libbitcoin-explorer"; platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ asymmetric ]; diff --git a/pkgs/tools/misc/linux-logo/default.nix b/pkgs/tools/misc/linux-logo/default.nix index ad7dd7227a90..5b12f75b7297 100644 --- a/pkgs/tools/misc/linux-logo/default.nix +++ b/pkgs/tools/misc/linux-logo/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Prints an ASCII logo and some system info"; + mainProgram = "linux_logo"; homepage = "http://www.deater.net/weave/vmwprod/linux_logo"; changelog = "https://github.com/deater/linux_logo/blob/${src.rev}/CHANGES"; license = licenses.gpl2Plus; diff --git a/pkgs/tools/misc/map/default.nix b/pkgs/tools/misc/map/default.nix index b6049904dc62..6416e12e9c19 100644 --- a/pkgs/tools/misc/map/default.nix +++ b/pkgs/tools/misc/map/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Map lines from stdin to commands"; + mainProgram = "map"; homepage = "https://github.com/soveran/map"; license = licenses.bsd2; maintainers = with maintainers; [ pogobanane ]; diff --git a/pkgs/tools/misc/plantuml/plantuml-c4.nix b/pkgs/tools/misc/plantuml/plantuml-c4.nix index 2829d0a31eab..77cfa82e894f 100644 --- a/pkgs/tools/misc/plantuml/plantuml-c4.nix +++ b/pkgs/tools/misc/plantuml/plantuml-c4.nix @@ -65,6 +65,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "PlantUML bundled with C4-Plantuml and plantuml sprites library"; + mainProgram = "plantuml"; homepage = "https://github.com/plantuml-stdlib/C4-PlantUML"; license = licenses.mit; maintainers = with maintainers; [ tfc ]; diff --git a/pkgs/tools/misc/pubs/default.nix b/pkgs/tools/misc/pubs/default.nix index b02aeb8aefb6..1dcd011f0ace 100644 --- a/pkgs/tools/misc/pubs/default.nix +++ b/pkgs/tools/misc/pubs/default.nix @@ -72,6 +72,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Command-line bibliography manager"; + mainProgram = "pubs"; homepage = "https://github.com/pubs/pubs"; changelog = "https://github.com/pubs/pubs/blob/v${version}/changelog.md"; license = licenses.lgpl3Only; diff --git a/pkgs/tools/misc/qrscan/default.nix b/pkgs/tools/misc/qrscan/default.nix index 6ac80bb7f746..1ad4c526e752 100644 --- a/pkgs/tools/misc/qrscan/default.nix +++ b/pkgs/tools/misc/qrscan/default.nix @@ -30,6 +30,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Scan a QR code in the terminal using the system camera or a given image"; + mainProgram = "qrscan"; homepage = "https://github.com/sayanarijit/qrscan"; license = licenses.mit; broken = stdenv.isDarwin; diff --git a/pkgs/tools/misc/r3ctl/default.nix b/pkgs/tools/misc/r3ctl/default.nix index f76f704fc2a7..8af95a4630cf 100644 --- a/pkgs/tools/misc/r3ctl/default.nix +++ b/pkgs/tools/misc/r3ctl/default.nix @@ -40,6 +40,7 @@ qt5.mkDerivation { meta = with lib; { description = "A cmdline tool to control the r3 hackerspace lights"; + mainProgram = "r3ctl"; homepage = "https://github.com/0xfeedc0de64/r3ctl"; maintainers = with maintainers; [ mkg20001 ]; license = licenses.gpl3Only; diff --git a/pkgs/tools/misc/riemann-c-client/default.nix b/pkgs/tools/misc/riemann-c-client/default.nix index 7c744935064f..9ce23873aa27 100644 --- a/pkgs/tools/misc/riemann-c-client/default.nix +++ b/pkgs/tools/misc/riemann-c-client/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://git.madhouse-project.org/algernon/riemann-c-client"; description = "A C client library for the Riemann monitoring system"; + mainProgram = "riemann-client"; license = licenses.lgpl3Plus; maintainers = with maintainers; [ pradeepchhetri ]; platforms = platforms.linux; diff --git a/pkgs/tools/misc/tkman/default.nix b/pkgs/tools/misc/tkman/default.nix index 4df680fb6b8c..c51c3564fef8 100644 --- a/pkgs/tools/misc/tkman/default.nix +++ b/pkgs/tools/misc/tkman/default.nix @@ -67,6 +67,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Graphical, hypertext manual page and Texinfo browser for UNIX"; + mainProgram = "tkman"; longDescription = '' TkMan is a graphical, hypertext manual page and Texinfo browser for UNIX. TkMan boasts hypertext links, unmatched online text formatting and display diff --git a/pkgs/tools/misc/ttfautohint/default.nix b/pkgs/tools/misc/ttfautohint/default.nix index 9d2036b97f78..14572d12a781 100644 --- a/pkgs/tools/misc/ttfautohint/default.nix +++ b/pkgs/tools/misc/ttfautohint/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An automatic hinter for TrueType fonts"; + mainProgram = "ttfautohint"; longDescription = '' A library and two programs which take a TrueType font as the input, remove its bytecode instructions (if any), and return a diff --git a/pkgs/tools/misc/turbo/default.nix b/pkgs/tools/misc/turbo/default.nix index c891ad5d0da2..05d2f7d1a0f6 100644 --- a/pkgs/tools/misc/turbo/default.nix +++ b/pkgs/tools/misc/turbo/default.nix @@ -62,6 +62,7 @@ rustPlatform.buildRustPackage rec{ meta = with lib; { description = "High-performance build system for JavaScript and TypeScript codebases"; + mainProgram = "turbo"; homepage = "https://turbo.build/"; maintainers = with maintainers; [ dlip ]; license = licenses.mpl20; diff --git a/pkgs/tools/misc/upower-notify/default.nix b/pkgs/tools/misc/upower-notify/default.nix index c46ad10a40af..8033a91ecf51 100644 --- a/pkgs/tools/misc/upower-notify/default.nix +++ b/pkgs/tools/misc/upower-notify/default.nix @@ -23,6 +23,7 @@ buildGoPackage rec { meta = with lib; { description = "simple tool to give you Desktop Notifications about your battery"; + mainProgram = "upower-notify"; homepage = "https://github.com/omeid/upower-notify"; maintainers = with maintainers; [ kamilchm ]; }; diff --git a/pkgs/tools/misc/wacomtablet/default.nix b/pkgs/tools/misc/wacomtablet/default.nix index 5ff2800496a7..f10ccd698cb9 100644 --- a/pkgs/tools/misc/wacomtablet/default.nix +++ b/pkgs/tools/misc/wacomtablet/default.nix @@ -24,6 +24,7 @@ mkDerivation rec { meta = { description = "KDE Configuration Module for Wacom Graphics Tablets"; + mainProgram = "kde_wacom_tabletfinder"; longDescription = '' This module implements a GUI for the Wacom Linux Drivers and extends it with profile support to handle different button / pen layouts per profile. diff --git a/pkgs/tools/misc/wv2/default.nix b/pkgs/tools/misc/wv2/default.nix index d57001449404..14420c1c3908 100644 --- a/pkgs/tools/misc/wv2/default.nix +++ b/pkgs/tools/misc/wv2/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = { description = "Excellent MS Word filter lib, used in most Office suites"; + mainProgram = "wv2-config"; license = lib.licenses.lgpl2; homepage = "https://wvware.sourceforge.net"; }; diff --git a/pkgs/tools/networking/6tunnel/default.nix b/pkgs/tools/networking/6tunnel/default.nix index fbdd23f754ef..50259f827321 100644 --- a/pkgs/tools/networking/6tunnel/default.nix +++ b/pkgs/tools/networking/6tunnel/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tunnelling for application that don't speak IPv6"; + mainProgram = "6tunnel"; homepage = "https://github.com/wojtekka/6tunnel"; license = licenses.gpl2; maintainers = with maintainers; [ Br1ght0ne ]; diff --git a/pkgs/tools/networking/airgeddon/default.nix b/pkgs/tools/networking/airgeddon/default.nix index cba25cae74f0..2bfe38203e8a 100644 --- a/pkgs/tools/networking/airgeddon/default.nix +++ b/pkgs/tools/networking/airgeddon/default.nix @@ -158,6 +158,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Multi-use TUI to audit wireless networks"; + mainProgram = "airgeddon"; homepage = "https://github.com/v1s1t0r1sh3r3/airgeddon"; changelog = "https://github.com/v1s1t0r1sh3r3/airgeddon/blob/v${version}/CHANGELOG.md"; license = licenses.gpl3Plus; diff --git a/pkgs/tools/networking/bwm-ng/default.nix b/pkgs/tools/networking/bwm-ng/default.nix index cfe0d4176a6f..e594e1bae778 100644 --- a/pkgs/tools/networking/bwm-ng/default.nix +++ b/pkgs/tools/networking/bwm-ng/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A small and simple console-based live network and disk io bandwidth monitor"; + mainProgram = "bwm-ng"; homepage = "http://www.gropp.org/?id=projects&sub=bwm-ng"; license = licenses.gpl2Plus; platforms = platforms.unix; diff --git a/pkgs/tools/networking/cantoolz/default.nix b/pkgs/tools/networking/cantoolz/default.nix index 1f9308b741b4..9da492340007 100644 --- a/pkgs/tools/networking/cantoolz/default.nix +++ b/pkgs/tools/networking/cantoolz/default.nix @@ -52,6 +52,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Black-box CAN network analysis framework"; + mainProgram = "cantoolz"; longDescription = '' CANToolz is a framework for analysing CAN networks and devices. It provides multiple modules that can be chained using CANToolz's pipe diff --git a/pkgs/tools/networking/carddav-util/default.nix b/pkgs/tools/networking/carddav-util/default.nix index e788de13df81..76e1b2656628 100644 --- a/pkgs/tools/networking/carddav-util/default.nix +++ b/pkgs/tools/networking/carddav-util/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/ljanyst/carddav-util"; description = "A CardDAV import/export utility"; + mainProgram = "carddav-util.py"; platforms = platforms.unix; license = licenses.isc; }; diff --git a/pkgs/tools/networking/cloud-custodian/default.nix b/pkgs/tools/networking/cloud-custodian/default.nix index c5e1f7527dac..01e9d9a85722 100644 --- a/pkgs/tools/networking/cloud-custodian/default.nix +++ b/pkgs/tools/networking/cloud-custodian/default.nix @@ -41,6 +41,7 @@ buildPythonApplication rec { meta = with lib; { description = "Rules engine for cloud security, cost optimization, and governance"; + mainProgram = "custodian"; homepage = "https://cloudcustodian.io"; license = licenses.asl20; maintainers = with maintainers; [ bhipple ]; diff --git a/pkgs/tools/networking/cmst/default.nix b/pkgs/tools/networking/cmst/default.nix index e86ffeed9576..fd484798677c 100644 --- a/pkgs/tools/networking/cmst/default.nix +++ b/pkgs/tools/networking/cmst/default.nix @@ -27,6 +27,7 @@ mkDerivation rec { meta = with lib; { description = "QT GUI for Connman with system tray icon"; + mainProgram = "cmst"; homepage = "https://github.com/andrew-bibb/cmst"; maintainers = with maintainers; [ matejc romildo ]; platforms = platforms.linux; diff --git a/pkgs/tools/networking/dd-agent/datadog-process-agent.nix b/pkgs/tools/networking/dd-agent/datadog-process-agent.nix index 4d1334505f32..45088be9e29b 100644 --- a/pkgs/tools/networking/dd-agent/datadog-process-agent.nix +++ b/pkgs/tools/networking/dd-agent/datadog-process-agent.nix @@ -4,6 +4,7 @@ datadog-agent.overrideAttrs (attrs: { meta = with lib; attrs.meta // { description = "Live process collector for the DataDog Agent v7"; + mainProgram = "process-agent"; maintainers = with maintainers; [ domenkozar ]; }; subPackages = [ "cmd/process-agent" ]; diff --git a/pkgs/tools/networking/decode-spam-headers/default.nix b/pkgs/tools/networking/decode-spam-headers/default.nix index 8f18658b52c5..0294a45be78b 100644 --- a/pkgs/tools/networking/decode-spam-headers/default.nix +++ b/pkgs/tools/networking/decode-spam-headers/default.nix @@ -37,6 +37,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/mgeeky/decode-spam-headers/"; description = "A script that helps you understand why your E-Mail ended up in Spam"; + mainProgram = "decode-spam-headers"; longDescription = '' Whether you are trying to understand why a specific e-mail ended up in SPAM/Junk for your daily Administrative duties or for your Red-Team diff --git a/pkgs/tools/networking/discord-sh/default.nix b/pkgs/tools/networking/discord-sh/default.nix index 50e84034428d..cb6821ab4bc8 100644 --- a/pkgs/tools/networking/discord-sh/default.nix +++ b/pkgs/tools/networking/discord-sh/default.nix @@ -42,6 +42,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { description = "Write-only command-line Discord webhook integration written in 100% Bash script"; + mainProgram = "discord.sh"; homepage = "https://github.com/ChaoticWeg/discord.sh"; license = licenses.gpl3; platforms = platforms.unix; diff --git a/pkgs/tools/networking/dnschef/default.nix b/pkgs/tools/networking/dnschef/default.nix index 5dbb8980f063..2907a0f578e5 100644 --- a/pkgs/tools/networking/dnschef/default.nix +++ b/pkgs/tools/networking/dnschef/default.nix @@ -21,6 +21,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/iphelix/dnschef"; description = "Highly configurable DNS proxy for penetration testers and malware analysts"; + mainProgram = "dnschef"; license = licenses.bsd3; maintainers = [ maintainers.gfrascadorio ]; }; diff --git a/pkgs/tools/networking/dnstwist/default.nix b/pkgs/tools/networking/dnstwist/default.nix index 1d075a75de24..9165c550eaec 100644 --- a/pkgs/tools/networking/dnstwist/default.nix +++ b/pkgs/tools/networking/dnstwist/default.nix @@ -37,6 +37,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Domain name permutation engine for detecting homograph phishing attacks"; + mainProgram = "dnstwist"; homepage = "https://github.com/elceef/dnstwist"; changelog = "https://github.com/elceef/dnstwist/releases/tag/${version}"; license = with licenses; [ gpl3Only ]; diff --git a/pkgs/tools/networking/dnsviz/default.nix b/pkgs/tools/networking/dnsviz/default.nix index aebf7e3cd14f..b275734f8889 100644 --- a/pkgs/tools/networking/dnsviz/default.nix +++ b/pkgs/tools/networking/dnsviz/default.nix @@ -39,6 +39,7 @@ buildPythonApplication rec { meta = with lib; { description = "Tool suite for analyzing and visualizing DNS and DNSSEC behavior"; + mainProgram = "dnsviz"; longDescription = '' DNSViz is a tool suite for analysis and visualization of Domain Name System (DNS) behavior, including its security extensions (DNSSEC). diff --git a/pkgs/tools/networking/evillimiter/default.nix b/pkgs/tools/networking/evillimiter/default.nix index 20cc10728d60..a96151a3355f 100644 --- a/pkgs/tools/networking/evillimiter/default.nix +++ b/pkgs/tools/networking/evillimiter/default.nix @@ -40,6 +40,7 @@ buildPythonApplication rec { meta = with lib; { description = "Tool that monitors, analyzes and limits the bandwidth"; + mainProgram = "evillimiter"; longDescription = '' A tool to monitor, analyze and limit the bandwidth (upload/download) of devices on your local network without physical or administrative access. diff --git a/pkgs/tools/networking/flannel/plugin.nix b/pkgs/tools/networking/flannel/plugin.nix index db8b89fa0bfe..0ff8e600ff44 100644 --- a/pkgs/tools/networking/flannel/plugin.nix +++ b/pkgs/tools/networking/flannel/plugin.nix @@ -35,6 +35,7 @@ buildGoModule rec { meta = with lib; { description = "flannel CNI plugin"; + mainProgram = "flannel"; homepage = "https://github.com/flannel-io/cni-plugin/"; license = licenses.asl20; platforms = platforms.linux; diff --git a/pkgs/tools/networking/gandi-cli/default.nix b/pkgs/tools/networking/gandi-cli/default.nix index d7394ac94d88..8f703320f253 100644 --- a/pkgs/tools/networking/gandi-cli/default.nix +++ b/pkgs/tools/networking/gandi-cli/default.nix @@ -31,6 +31,7 @@ buildPythonApplication rec { meta = with lib; { description = "Command-line interface to the public Gandi.net API"; + mainProgram = "gandi"; homepage = "https://cli.gandi.net/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ]; diff --git a/pkgs/tools/networking/gmrender-resurrect/default.nix b/pkgs/tools/networking/gmrender-resurrect/default.nix index 70ad352a6aad..70c07b4eac9b 100644 --- a/pkgs/tools/networking/gmrender-resurrect/default.nix +++ b/pkgs/tools/networking/gmrender-resurrect/default.nix @@ -28,6 +28,7 @@ in meta = with lib; { description = "Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer"; + mainProgram = "gmediarender"; homepage = "https://github.com/hzeller/gmrender-resurrect"; license = licenses.gpl2Plus; platforms = platforms.linux; diff --git a/pkgs/tools/networking/gnirehtet/default.nix b/pkgs/tools/networking/gnirehtet/default.nix index be511c756587..2281822d2e77 100644 --- a/pkgs/tools/networking/gnirehtet/default.nix +++ b/pkgs/tools/networking/gnirehtet/default.nix @@ -49,6 +49,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Reverse tethering over adb for Android"; + mainProgram = "gnirehtet"; longDescription = '' This project provides reverse tethering over adb for Android: it allows devices to use the internet connection of the computer they are plugged on. It does not require any root access (neither on the device nor on the computer). diff --git a/pkgs/tools/networking/gp-saml-gui/default.nix b/pkgs/tools/networking/gp-saml-gui/default.nix index 8a7ad11a2fe7..348d47b667f6 100644 --- a/pkgs/tools/networking/gp-saml-gui/default.nix +++ b/pkgs/tools/networking/gp-saml-gui/default.nix @@ -39,6 +39,7 @@ buildPythonPackage rec { meta = with lib; { description = "Interactively authenticate to GlobalProtect VPNs that require SAML"; + mainProgram = "gp-saml-gui"; homepage = "https://github.com/dlenski/gp-saml-gui"; license = licenses.gpl3Only; maintainers = [ maintainers.pallix ]; diff --git a/pkgs/tools/networking/haguichi/default.nix b/pkgs/tools/networking/haguichi/default.nix index fd228c141b5d..a921884dda06 100644 --- a/pkgs/tools/networking/haguichi/default.nix +++ b/pkgs/tools/networking/haguichi/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Graphical frontend for Hamachi on Linux"; + mainProgram = "haguichi"; homepage = "https://haguichi.net/"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/tools/networking/hblock/default.nix b/pkgs/tools/networking/hblock/default.nix index 19e7dde77c85..6615c27fe629 100644 --- a/pkgs/tools/networking/hblock/default.nix +++ b/pkgs/tools/networking/hblock/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Improve your security and privacy by blocking ads, tracking and malware domains"; + mainProgram = "hblock"; homepage = "https://github.com/hectorm/hblock"; license = licenses.mit; maintainers = with maintainers; [ alanpearce ]; diff --git a/pkgs/tools/networking/http-prompt/default.nix b/pkgs/tools/networking/http-prompt/default.nix index 8fce232cdb17..02bb42800abf 100644 --- a/pkgs/tools/networking/http-prompt/default.nix +++ b/pkgs/tools/networking/http-prompt/default.nix @@ -27,6 +27,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "An interactive command-line HTTP client featuring autocomplete and syntax highlighting"; + mainProgram = "http-prompt"; homepage = "https://github.com/eliangcs/http-prompt"; license = licenses.mit; maintainers = with maintainers; [ matthiasbeyer ]; diff --git a/pkgs/tools/networking/httplz/default.nix b/pkgs/tools/networking/httplz/default.nix index 2a0f665f863a..c85c763635d3 100644 --- a/pkgs/tools/networking/httplz/default.nix +++ b/pkgs/tools/networking/httplz/default.nix @@ -45,6 +45,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A basic http server for hosting a folder fast and simply"; + mainProgram = "httplz"; homepage = "https://github.com/thecoshman/http"; changelog = "https://github.com/thecoshman/http/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/networking/httpstat/default.nix b/pkgs/tools/networking/httpstat/default.nix index be4a8f2a168d..971c973ada21 100644 --- a/pkgs/tools/networking/httpstat/default.nix +++ b/pkgs/tools/networking/httpstat/default.nix @@ -17,6 +17,7 @@ python3Packages.buildPythonApplication rec { meta = { description = "curl statistics made simple"; + mainProgram = "httpstat"; homepage = "https://github.com/reorx/httpstat"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ nequissimus ]; diff --git a/pkgs/tools/networking/ifwifi/default.nix b/pkgs/tools/networking/ifwifi/default.nix index f04c3369bacf..8777df72b5e1 100644 --- a/pkgs/tools/networking/ifwifi/default.nix +++ b/pkgs/tools/networking/ifwifi/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple wrapper over nmcli using wifiscanner made in rust"; + mainProgram = "ifwifi"; longDescription = '' In the author's words: diff --git a/pkgs/tools/networking/imapsync/default.nix b/pkgs/tools/networking/imapsync/default.nix index 0fb519ad5af7..4c2b4a36e064 100644 --- a/pkgs/tools/networking/imapsync/default.nix +++ b/pkgs/tools/networking/imapsync/default.nix @@ -64,6 +64,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Mail folder synchronizer between IMAP servers"; + mainProgram = "imapsync"; homepage = "https://imapsync.lamiral.info/"; license = licenses.nlpl; maintainers = with maintainers; [ pSub ]; diff --git a/pkgs/tools/networking/iperf3d/default.nix b/pkgs/tools/networking/iperf3d/default.nix index 1edcaf86ed2e..eb1fa052131b 100644 --- a/pkgs/tools/networking/iperf3d/default.nix +++ b/pkgs/tools/networking/iperf3d/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A iperf3 client and server wrapper for dynamic server ports"; + mainProgram = "iperf3d"; homepage = "https://github.com/wobcom/iperf3d"; license = licenses.mit; maintainers = with maintainers; [ netali ] ++ teams.wdz.members; diff --git a/pkgs/tools/networking/ipfetch/default.nix b/pkgs/tools/networking/ipfetch/default.nix index f264deaa8a35..38d1e309bc97 100644 --- a/pkgs/tools/networking/ipfetch/default.nix +++ b/pkgs/tools/networking/ipfetch/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Neofetch but for ip addresses"; + mainProgram = "ipfetch"; homepage = "https://github.com/trakBan/ipfetch"; license = licenses.gpl3Only; platforms = platforms.all; diff --git a/pkgs/tools/networking/ipgrep/default.nix b/pkgs/tools/networking/ipgrep/default.nix index d1f5316c27b4..04f39f8d28fb 100644 --- a/pkgs/tools/networking/ipgrep/default.nix +++ b/pkgs/tools/networking/ipgrep/default.nix @@ -27,6 +27,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Extract, defang, resolve names and IPs from text"; + mainProgram = "ipgrep.py"; longDescription = '' ipgrep extracts possibly obfuscated host names and IP addresses from text, resolves host names, and prints them, sorted by ASN. diff --git a/pkgs/tools/networking/linkchecker/default.nix b/pkgs/tools/networking/linkchecker/default.nix index 018da51f7701..2adf2c8f82d1 100644 --- a/pkgs/tools/networking/linkchecker/default.nix +++ b/pkgs/tools/networking/linkchecker/default.nix @@ -54,6 +54,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Check websites for broken links"; + mainProgram = "linkchecker"; homepage = "https://linkcheck.github.io/linkchecker/"; changelog = "https://github.com/linkchecker/linkchecker/releases/tag/v${version}"; license = licenses.gpl2Plus; diff --git a/pkgs/tools/networking/moodle-dl/default.nix b/pkgs/tools/networking/moodle-dl/default.nix index f819fe819284..76c3e4b1a20a 100644 --- a/pkgs/tools/networking/moodle-dl/default.nix +++ b/pkgs/tools/networking/moodle-dl/default.nix @@ -26,6 +26,7 @@ python3Packages.buildPythonApplication rec { homepage = "https://github.com/C0D3D3V/Moodle-Downloader-2"; maintainers = [ maintainers.kmein ]; description = "A Moodle downloader that downloads course content fast from Moodle"; + mainProgram = "moodle-dl"; license = licenses.gpl3Plus; }; } diff --git a/pkgs/tools/networking/mozillavpn/default.nix b/pkgs/tools/networking/mozillavpn/default.nix index 194ac57d2cbf..4974c873894c 100644 --- a/pkgs/tools/networking/mozillavpn/default.nix +++ b/pkgs/tools/networking/mozillavpn/default.nix @@ -147,6 +147,7 @@ stdenv.mkDerivation { meta = { description = "Client for the Mozilla VPN service"; + mainProgram = "mozillavpn"; homepage = "https://vpn.mozilla.org/"; license = lib.licenses.mpl20; maintainers = with lib.maintainers; [ andersk ]; diff --git a/pkgs/tools/networking/mutt-ics/default.nix b/pkgs/tools/networking/mutt-ics/default.nix index f56e688b4110..a8f3ca9d2ae6 100644 --- a/pkgs/tools/networking/mutt-ics/default.nix +++ b/pkgs/tools/networking/mutt-ics/default.nix @@ -15,6 +15,7 @@ with python3.pkgs; buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/dmedvinsky/mutt-ics"; description = "A tool to show calendar event details in Mutt"; + mainProgram = "mutt-ics"; license = licenses.mit; maintainers = with maintainers; [ mh182 ]; }; diff --git a/pkgs/tools/networking/networkd-dispatcher/default.nix b/pkgs/tools/networking/networkd-dispatcher/default.nix index 8f9cece27169..a2a03d1f8404 100644 --- a/pkgs/tools/networking/networkd-dispatcher/default.nix +++ b/pkgs/tools/networking/networkd-dispatcher/default.nix @@ -79,6 +79,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Dispatcher service for systemd-networkd connection status changes"; + mainProgram = "networkd-dispatcher"; homepage = "https://gitlab.com/craftyguy/networkd-dispatcher"; license = licenses.gpl3Only; platforms = platforms.linux; diff --git a/pkgs/tools/networking/networkd-notify/default.nix b/pkgs/tools/networking/networkd-notify/default.nix index b80a7d450966..8a58b894d9bd 100644 --- a/pkgs/tools/networking/networkd-notify/default.nix +++ b/pkgs/tools/networking/networkd-notify/default.nix @@ -41,6 +41,7 @@ buildPythonApplication rec { meta = with lib; { description = "Desktop notification integration for systemd-networkd"; + mainProgram = "networkd-notify"; homepage = "https://gitlab.com/wavexx/networkd-notify"; maintainers = with maintainers; [ danc86 ]; license = licenses.gpl3; diff --git a/pkgs/tools/networking/networkmanager/dmenu/default.nix b/pkgs/tools/networking/networkmanager/dmenu/default.nix index d64985adbce2..56c651b68ab2 100644 --- a/pkgs/tools/networking/networkmanager/dmenu/default.nix +++ b/pkgs/tools/networking/networkmanager/dmenu/default.nix @@ -36,6 +36,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Small script to manage NetworkManager connections with dmenu instead of nm-applet"; + mainProgram = "networkmanager_dmenu"; homepage = "https://github.com/firecat53/networkmanager-dmenu"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jensbin ]; diff --git a/pkgs/tools/networking/networkmanager/tray.nix b/pkgs/tools/networking/networkmanager/tray.nix index 69b1e3023b04..01725b1fb381 100644 --- a/pkgs/tools/networking/networkmanager/tray.nix +++ b/pkgs/tools/networking/networkmanager/tray.nix @@ -23,6 +23,7 @@ mkDerivation rec { meta = with lib; { description = "Simple Network Manager frontend written in Qt"; + mainProgram = "nm-tray"; homepage = "https://github.com/palinek/nm-tray"; license = licenses.gpl2Plus; maintainers = with maintainers; [ dtzWill ]; diff --git a/pkgs/tools/networking/nikto/default.nix b/pkgs/tools/networking/nikto/default.nix index df03cc8c3ce7..098171de09df 100644 --- a/pkgs/tools/networking/nikto/default.nix +++ b/pkgs/tools/networking/nikto/default.nix @@ -57,6 +57,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Web server scanner"; + mainProgram = "nikto"; license = licenses.gpl2Plus; homepage = "https://cirt.net/Nikto2"; changelog = "https://github.com/sullo/nikto/releases/tag/${version}"; diff --git a/pkgs/tools/networking/nxdomain/default.nix b/pkgs/tools/networking/nxdomain/default.nix index a90c7f0c23ae..2a23230ce778 100644 --- a/pkgs/tools/networking/nxdomain/default.nix +++ b/pkgs/tools/networking/nxdomain/default.nix @@ -22,6 +22,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/zopieux/nxdomain"; description = "A domain (ad) block list creator"; + mainProgram = "nxdomain"; platforms = platforms.all; license = licenses.gpl3Only; maintainers = with maintainers; [ zopieux ]; diff --git a/pkgs/tools/networking/nyx/default.nix b/pkgs/tools/networking/nyx/default.nix index 844d692425b9..cb697e0f5e66 100644 --- a/pkgs/tools/networking/nyx/default.nix +++ b/pkgs/tools/networking/nyx/default.nix @@ -18,6 +18,7 @@ buildPythonApplication rec { meta = with lib; { description = "Command-line monitor for Tor"; + mainProgram = "nyx"; homepage = "https://nyx.torproject.org/"; license = licenses.gpl3; maintainers = with maintainers; [ offline ]; diff --git a/pkgs/tools/networking/openresolv/default.nix b/pkgs/tools/networking/openresolv/default.nix index e937c6bcdf60..956584bfae9a 100644 --- a/pkgs/tools/networking/openresolv/default.nix +++ b/pkgs/tools/networking/openresolv/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = { description = "A program to manage /etc/resolv.conf"; + mainProgram = "resolvconf"; homepage = "https://roy.marples.name/projects/openresolv"; license = lib.licenses.bsd2; maintainers = [ lib.maintainers.eelco ]; diff --git a/pkgs/tools/networking/p2p/gtk-gnutella/default.nix b/pkgs/tools/networking/p2p/gtk-gnutella/default.nix index a9708dd4713c..53622d30db48 100644 --- a/pkgs/tools/networking/p2p/gtk-gnutella/default.nix +++ b/pkgs/tools/networking/p2p/gtk-gnutella/default.nix @@ -58,6 +58,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "A GTK Gnutella client, optimized for speed and scalability"; + mainProgram = "gtk-gnutella"; homepage = "https://gtk-gnutella.sourceforge.net/"; # Code: https://github.com/gtk-gnutella/gtk-gnutella changelog = "https://raw.githubusercontent.com/gtk-gnutella/gtk-gnutella/v${version}/ChangeLog"; maintainers = [ maintainers.doronbehar ]; diff --git a/pkgs/tools/networking/p2p/tahoe-lafs/default.nix b/pkgs/tools/networking/p2p/tahoe-lafs/default.nix index 3d2298e8b70e..abeabc337a15 100644 --- a/pkgs/tools/networking/p2p/tahoe-lafs/default.nix +++ b/pkgs/tools/networking/p2p/tahoe-lafs/default.nix @@ -89,6 +89,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Tahoe-LAFS, a decentralized, fault-tolerant, distributed storage system"; + mainProgram = "tahoe"; longDescription = '' Tahoe-LAFS is a secure, decentralized, fault-tolerant filesystem. This filesystem is encrypted and spread over multiple peers in diff --git a/pkgs/tools/networking/persepolis/default.nix b/pkgs/tools/networking/persepolis/default.nix index 35727c13e694..28d5b113c336 100644 --- a/pkgs/tools/networking/persepolis/default.nix +++ b/pkgs/tools/networking/persepolis/default.nix @@ -84,6 +84,7 @@ buildPythonApplication rec { meta = with lib; { description = "Persepolis Download Manager is a GUI for aria2"; + mainProgram = "persepolis"; homepage = "https://persepolisdm.github.io/"; license = licenses.gpl3; maintainers = with maintainers; [ iFreilicht ]; diff --git a/pkgs/tools/networking/picosnitch/default.nix b/pkgs/tools/networking/picosnitch/default.nix index 6007d3ec227f..c874fbf80c1b 100644 --- a/pkgs/tools/networking/picosnitch/default.nix +++ b/pkgs/tools/networking/picosnitch/default.nix @@ -33,6 +33,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Monitor network traffic per executable with hashing"; + mainProgram = "picosnitch"; homepage = "https://github.com/elesiuta/picosnitch"; changelog = "https://github.com/elesiuta/picosnitch/releases"; license = licenses.gpl3Plus; diff --git a/pkgs/tools/networking/pirate-get/default.nix b/pkgs/tools/networking/pirate-get/default.nix index c1b43a00f52f..5a28858621b0 100644 --- a/pkgs/tools/networking/pirate-get/default.nix +++ b/pkgs/tools/networking/pirate-get/default.nix @@ -15,6 +15,7 @@ buildPythonApplication rec { meta = with lib; { description = "A command line interface for The Pirate Bay"; + mainProgram = "pirate-get"; homepage = "https://github.com/vikstrous/pirate-get"; license = licenses.gpl3Plus; maintainers = with maintainers; [ rnhmjoj ]; diff --git a/pkgs/tools/networking/polygon-cli/default.nix b/pkgs/tools/networking/polygon-cli/default.nix index 75c80bd12b7d..07bfa9704557 100644 --- a/pkgs/tools/networking/polygon-cli/default.nix +++ b/pkgs/tools/networking/polygon-cli/default.nix @@ -25,6 +25,7 @@ python3.pkgs.buildPythonPackage rec { meta = { description = "Command-line tool for polygon.codeforces.com"; + mainProgram = "polygon-cli"; homepage = "https://github.com/kunyavskiy/polygon-cli"; changelog = "https://github.com/kunyavskiy/polygon-cli/releases/tag/${version}"; license = lib.licenses.mit; diff --git a/pkgs/tools/networking/s3cmd/default.nix b/pkgs/tools/networking/s3cmd/default.nix index b07ea24abf9d..18aed1301355 100644 --- a/pkgs/tools/networking/s3cmd/default.nix +++ b/pkgs/tools/networking/s3cmd/default.nix @@ -18,6 +18,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "https://s3tools.org/s3cmd"; description = "Command line tool for managing Amazon S3 and CloudFront services"; + mainProgram = "s3cmd"; license = licenses.gpl2; maintainers = [ ]; }; diff --git a/pkgs/tools/networking/sockdump/default.nix b/pkgs/tools/networking/sockdump/default.nix index 95920a91eef3..daedb3a7cbcc 100644 --- a/pkgs/tools/networking/sockdump/default.nix +++ b/pkgs/tools/networking/sockdump/default.nix @@ -19,6 +19,7 @@ python3.pkgs.buildPythonApplication rec { meta = src.meta // { description = "Dump unix domain socket traffic with bpf"; + mainProgram = "sockdump"; license = lib.licenses.unlicense; maintainers = with lib.maintainers; [ ehmry ]; }; diff --git a/pkgs/tools/networking/sshoogr/default.nix b/pkgs/tools/networking/sshoogr/default.nix index e20978c277d9..abd42dcb5aa4 100644 --- a/pkgs/tools/networking/sshoogr/default.nix +++ b/pkgs/tools/networking/sshoogr/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { description = '' A Groovy-based DSL for working with remote SSH servers ''; + mainProgram = "sshoogr"; longDescription = '' The sshoogr (pronounced [ʃʊgə]) is a Groovy-based DSL library for working with remote servers through SSH. The DSL allows: connecting, executing diff --git a/pkgs/tools/networking/swaks/default.nix b/pkgs/tools/networking/swaks/default.nix index 471cc74d9d7f..1ca00b6beaea 100644 --- a/pkgs/tools/networking/swaks/default.nix +++ b/pkgs/tools/networking/swaks/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://www.jetmore.org/john/code/swaks/"; description = "A featureful, flexible, scriptable, transaction-oriented SMTP test tool"; + mainProgram = "swaks"; license = licenses.gpl2Plus; maintainers = with maintainers; []; platforms = platforms.all; diff --git a/pkgs/tools/networking/telepresence/default.nix b/pkgs/tools/networking/telepresence/default.nix index 4866cfea41ee..dee55ad5687c 100644 --- a/pkgs/tools/networking/telepresence/default.nix +++ b/pkgs/tools/networking/telepresence/default.nix @@ -38,6 +38,7 @@ in pythonPackages.buildPythonPackage rec { meta = { homepage = "https://www.telepresence.io/"; description = "Local development against a remote Kubernetes or OpenShift cluster"; + mainProgram = "telepresence"; license = with lib.licenses; [ asl20 ]; maintainers = with lib.maintainers; [ offline ]; }; diff --git a/pkgs/tools/networking/termshark/default.nix b/pkgs/tools/networking/termshark/default.nix index 84dbf7ed3311..bdca008cc94c 100644 --- a/pkgs/tools/networking/termshark/default.nix +++ b/pkgs/tools/networking/termshark/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://termshark.io/"; description = "A terminal UI for wireshark-cli, inspired by Wireshark"; + mainProgram = "termshark"; license = licenses.mit; maintainers = with maintainers; [ winpat ]; }; diff --git a/pkgs/tools/networking/tinystatus/default.nix b/pkgs/tools/networking/tinystatus/default.nix index e4e930e799a8..d58d853b5e10 100644 --- a/pkgs/tools/networking/tinystatus/default.nix +++ b/pkgs/tools/networking/tinystatus/default.nix @@ -50,6 +50,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { description = "A static HTML status page generator written in pure shell"; + mainProgram = "tinystatus"; homepage = "https://github.com/bderenzo/tinystatus"; license = licenses.mit; platforms = platforms.unix; diff --git a/pkgs/tools/networking/tuntox/default.nix b/pkgs/tools/networking/tuntox/default.nix index 64a13e99669a..e59a615e2627 100644 --- a/pkgs/tools/networking/tuntox/default.nix +++ b/pkgs/tools/networking/tuntox/default.nix @@ -71,6 +71,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tunnel TCP connections over the Tox protocol"; + mainProgram = "tuntox"; homepage = "https://github.com/gjedeer/tuntox"; license = licenses.gpl3; maintainers = with maintainers; [ diff --git a/pkgs/tools/networking/udp2raw/default.nix b/pkgs/tools/networking/udp2raw/default.nix index b6466ce0be57..e10db84eb49f 100644 --- a/pkgs/tools/networking/udp2raw/default.nix +++ b/pkgs/tools/networking/udp2raw/default.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/wangyu-/udp2raw"; description = "A tunnel which turns UDP traffic into encrypted UDP/FakeTCP/ICMP traffic by using a raw socket"; + mainProgram = "udp2raw"; license = licenses.mit; changelog = "https://github.com/wangyu-/udp2raw/releases/tag/${version}"; maintainers = with maintainers; [ chvp ]; diff --git a/pkgs/tools/networking/uget-integrator/default.nix b/pkgs/tools/networking/uget-integrator/default.nix index 2d069ea07f02..3ab9a0bafef4 100644 --- a/pkgs/tools/networking/uget-integrator/default.nix +++ b/pkgs/tools/networking/uget-integrator/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Native messaging host to integrate uGet Download Manager with web browsers"; + mainProgram = "uget-integrator"; homepage = "https://github.com/ugetdm/uget-integrator"; license = licenses.gpl3; platforms = platforms.linux; diff --git a/pkgs/tools/networking/updog/default.nix b/pkgs/tools/networking/updog/default.nix index 7fb8e0bfec37..c5cccac026ba 100644 --- a/pkgs/tools/networking/updog/default.nix +++ b/pkgs/tools/networking/updog/default.nix @@ -19,6 +19,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Updog is a replacement for Python's SimpleHTTPServer"; + mainProgram = "updog"; homepage = "https://github.com/sc0tfree/updog"; license = licenses.mit; maintainers = with maintainers; [ ethancedwards8 ]; diff --git a/pkgs/tools/networking/urlwatch/default.nix b/pkgs/tools/networking/urlwatch/default.nix index 36ad0ba77ce7..0335ed765479 100644 --- a/pkgs/tools/networking/urlwatch/default.nix +++ b/pkgs/tools/networking/urlwatch/default.nix @@ -46,6 +46,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "A tool for monitoring webpages for updates"; + mainProgram = "urlwatch"; homepage = "https://thp.io/2008/urlwatch/"; license = licenses.bsd3; maintainers = with maintainers; [ kmein tv ]; diff --git a/pkgs/tools/networking/v2ray/default.nix b/pkgs/tools/networking/v2ray/default.nix index aa398dfcb9f3..a57805625611 100644 --- a/pkgs/tools/networking/v2ray/default.nix +++ b/pkgs/tools/networking/v2ray/default.nix @@ -55,6 +55,7 @@ buildGoModule rec { meta = { homepage = "https://www.v2fly.org/en_US/"; description = "A platform for building proxies to bypass network restrictions"; + mainProgram = "v2ray"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ servalcatty ]; }; diff --git a/pkgs/tools/networking/vpn-slice/default.nix b/pkgs/tools/networking/vpn-slice/default.nix index 75cfe2bba0e9..0cde0170b78f 100644 --- a/pkgs/tools/networking/vpn-slice/default.nix +++ b/pkgs/tools/networking/vpn-slice/default.nix @@ -41,6 +41,7 @@ buildPythonApplication rec { homepage = "https://github.com/dlenski/vpn-slice"; description = "vpnc-script replacement for easy and secure split-tunnel VPN setup"; + mainProgram = "vpn-slice"; license = licenses.gpl3; maintainers = with maintainers; [ liketechnik ]; }; diff --git a/pkgs/tools/networking/vpnc-scripts/default.nix b/pkgs/tools/networking/vpnc-scripts/default.nix index 7b6a760f5f00..e0319ed4bf14 100644 --- a/pkgs/tools/networking/vpnc-scripts/default.nix +++ b/pkgs/tools/networking/vpnc-scripts/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://www.infradead.org/openconnect/"; description = "Script for vpnc to configure the network routing and name service"; + mainProgram = "vpnc-script"; license = licenses.gpl2Only; maintainers = with maintainers; [ jerith666 ]; platforms = platforms.linux ++ platforms.darwin; diff --git a/pkgs/tools/networking/whatip/default.nix b/pkgs/tools/networking/whatip/default.nix index 08979e71e35e..85a2fdf3f7b3 100644 --- a/pkgs/tools/networking/whatip/default.nix +++ b/pkgs/tools/networking/whatip/default.nix @@ -55,6 +55,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Info on your IP"; + mainProgram = "whatip"; homepage = "https://gitlab.gnome.org/GabMus/whatip"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/tools/networking/wifish/default.nix b/pkgs/tools/networking/wifish/default.nix index a9e30710c1a2..7f474bc98442 100644 --- a/pkgs/tools/networking/wifish/default.nix +++ b/pkgs/tools/networking/wifish/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/bougyman/wifish"; description = "Simple wifi shell script for linux"; + mainProgram = "wifish"; license = licenses.wtfpl; maintainers = with maintainers; [ AndersonTorres ]; platforms = with platforms; linux; diff --git a/pkgs/tools/networking/xray/default.nix b/pkgs/tools/networking/xray/default.nix index 2c2fce54e608..285b29f22885 100644 --- a/pkgs/tools/networking/xray/default.nix +++ b/pkgs/tools/networking/xray/default.nix @@ -52,6 +52,7 @@ buildGoModule rec { meta = { description = "A platform for building proxies to bypass network restrictions. A replacement for v2ray-core, with XTLS support and fully compatible configuration"; + mainProgram = "xray"; homepage = "https://github.com/XTLS/Xray-core"; license = with lib.licenses; [ mpl20 ]; maintainers = with lib.maintainers; [ iopq ]; diff --git a/pkgs/tools/nix/cached-nix-shell/default.nix b/pkgs/tools/nix/cached-nix-shell/default.nix index 0cbf0f6b106d..84672a8e96a3 100644 --- a/pkgs/tools/nix/cached-nix-shell/default.nix +++ b/pkgs/tools/nix/cached-nix-shell/default.nix @@ -38,6 +38,7 @@ in rustPlatform.buildRustPackage rec { meta = with lib; { description = "Instant startup time for nix-shell"; + mainProgram = "cached-nix-shell"; homepage = "https://github.com/xzfc/cached-nix-shell"; license = with licenses; [ unlicense /* or */ mit ]; maintainers = with maintainers; [ xzfc ]; diff --git a/pkgs/tools/nix/dnadd/default.nix b/pkgs/tools/nix/dnadd/default.nix index 59a0516629e1..eccda0bd7c5f 100644 --- a/pkgs/tools/nix/dnadd/default.nix +++ b/pkgs/tools/nix/dnadd/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/joelancaster/dnadd"; description = "Adds packages declaratively on the command line"; + mainProgram = "dnadd"; license = licenses.gpl3Plus; maintainers = with maintainers; [ joelancaster ]; }; diff --git a/pkgs/tools/nix/nar-serve/default.nix b/pkgs/tools/nix/nar-serve/default.nix index f2c709a2e312..98e480d4fdb9 100644 --- a/pkgs/tools/nix/nar-serve/default.nix +++ b/pkgs/tools/nix/nar-serve/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "Serve NAR file contents via HTTP"; + mainProgram = "nar-serve"; homepage = "https://github.com/numtide/nar-serve"; license = licenses.mit; maintainers = with maintainers; [ rizary zimbatm ]; diff --git a/pkgs/tools/nix/nix-init/default.nix b/pkgs/tools/nix/nix-init/default.nix index 1e1ef3c0d0f6..95164ba3963d 100644 --- a/pkgs/tools/nix/nix-init/default.nix +++ b/pkgs/tools/nix/nix-init/default.nix @@ -88,6 +88,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Command line tool to generate Nix packages from URLs"; + mainProgram = "nix-init"; homepage = "https://github.com/nix-community/nix-init"; changelog = "https://github.com/nix-community/nix-init/blob/${src.rev}/CHANGELOG.md"; license = licenses.mpl20; diff --git a/pkgs/tools/nix/nix-melt/default.nix b/pkgs/tools/nix/nix-melt/default.nix index 3a0b15c8c97f..50f830cf42a0 100644 --- a/pkgs/tools/nix/nix-melt/default.nix +++ b/pkgs/tools/nix/nix-melt/default.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A ranger-like flake.lock viewer"; + mainProgram = "nix-melt"; homepage = "https://github.com/nix-community/nix-melt"; changelog = "https://github.com/nix-community/nix-melt/blob/${src.rev}/CHANGELOG.md"; license = licenses.mpl20; diff --git a/pkgs/tools/nix/nix-query-tree-viewer/default.nix b/pkgs/tools/nix/nix-query-tree-viewer/default.nix index a27aa8d3c3bd..03fa64545f18 100644 --- a/pkgs/tools/nix/nix-query-tree-viewer/default.nix +++ b/pkgs/tools/nix/nix-query-tree-viewer/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "GTK viewer for the output of `nix store --query --tree`"; + mainProgram = "nix-query-tree-viewer"; homepage = "https://github.com/cdepillabout/nix-query-tree-viewer"; license = with licenses; [ mit ]; maintainers = with maintainers; [ cdepillabout ]; diff --git a/pkgs/tools/nix/nix-store-gcs-proxy/default.nix b/pkgs/tools/nix/nix-store-gcs-proxy/default.nix index 166fe75766de..c83d44101b5b 100644 --- a/pkgs/tools/nix/nix-store-gcs-proxy/default.nix +++ b/pkgs/tools/nix/nix-store-gcs-proxy/default.nix @@ -16,6 +16,7 @@ buildGoModule rec { meta = { description = "A HTTP nix store that proxies requests to Google Storage"; + mainProgram = "nix-store-gcs-proxy"; homepage = "https://github.com/tweag/nix-store-gcs-proxy"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ zimbatm ]; diff --git a/pkgs/tools/nix/nixdoc/default.nix b/pkgs/tools/nix/nixdoc/default.nix index 671e4891d8b1..616ee90d9a3f 100644 --- a/pkgs/tools/nix/nixdoc/default.nix +++ b/pkgs/tools/nix/nixdoc/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Generate documentation for Nix functions"; + mainProgram = "nixdoc"; homepage = "https://github.com/nix-community/nixdoc"; license = [ licenses.gpl3 ]; maintainers = with maintainers; [ diff --git a/pkgs/tools/nix/nixel/default.nix b/pkgs/tools/nix/nixel/default.nix index 5ce14a8d312f..70a0d92101d2 100644 --- a/pkgs/tools/nix/nixel/default.nix +++ b/pkgs/tools/nix/nixel/default.nix @@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Lexer, Parser, Abstract Syntax Tree and Concrete Syntax Tree for the Nix Expressions Language"; + mainProgram = "nixel"; homepage = "https://github.com/kamadorueda/nixel"; license = licenses.agpl3Only; maintainers = with maintainers; [ kamadorueda ]; diff --git a/pkgs/tools/nix/nixos-render-docs/default.nix b/pkgs/tools/nix/nixos-render-docs/default.nix index b08abfe069f7..43a953f76d9c 100644 --- a/pkgs/tools/nix/nixos-render-docs/default.nix +++ b/pkgs/tools/nix/nixos-render-docs/default.nix @@ -61,6 +61,7 @@ python.pkgs.buildPythonApplication rec { meta = with lib; { description = "Renderer for NixOS manual and option docs"; + mainProgram = "nixos-render-docs"; license = licenses.mit; maintainers = [ ]; }; diff --git a/pkgs/tools/nix/nixpkgs-lint/default.nix b/pkgs/tools/nix/nixpkgs-lint/default.nix index 16e7582d3a92..d5e17cd46b37 100644 --- a/pkgs/tools/nix/nixpkgs-lint/default.nix +++ b/pkgs/tools/nix/nixpkgs-lint/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A fast semantic linter for Nix using tree-sitter"; + mainProgram = "nixpkgs-lint"; homepage = "https://github.com/nix-community/nixpkgs-lint"; changelog = "https://github.com/nix-community/nixpkgs-lint/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/tools/nix/npins/default.nix b/pkgs/tools/nix/npins/default.nix index e83617da91e4..02ec39094ddf 100644 --- a/pkgs/tools/nix/npins/default.nix +++ b/pkgs/tools/nix/npins/default.nix @@ -33,6 +33,7 @@ in rustPlatform.buildRustPackage rec { meta = with lib; { description = "Simple and convenient dependency pinning for Nix"; + mainProgram = "npins"; homepage = "https://github.com/andir/npins"; license = licenses.eupl12; maintainers = with maintainers; [ piegames ]; diff --git a/pkgs/tools/nix/rnix-hashes/default.nix b/pkgs/tools/nix/rnix-hashes/default.nix index 4aebb35bc935..b9a98b184fb8 100644 --- a/pkgs/tools/nix/rnix-hashes/default.nix +++ b/pkgs/tools/nix/rnix-hashes/default.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Nix Hash Converter"; + mainProgram = "rnix-hashes"; homepage = "https://github.com/numtide/rnix-hashes"; license = licenses.asl20; maintainers = with maintainers; [ rizary SuperSandro2000 ]; diff --git a/pkgs/tools/nix/zon2nix/default.nix b/pkgs/tools/nix/zon2nix/default.nix index 78b7d601906c..d3f0bd6ce54a 100644 --- a/pkgs/tools/nix/zon2nix/default.nix +++ b/pkgs/tools/nix/zon2nix/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Convert the dependencies in `build.zig.zon` to a Nix expression"; + mainProgram = "zon2nix"; homepage = "https://github.com/nix-community/zon2nix"; changelog = "https://github.com/nix-community/zon2nix/blob/${src.rev}/CHANGELOG.md"; license = licenses.mpl20; diff --git a/pkgs/tools/package-management/conda/default.nix b/pkgs/tools/package-management/conda/default.nix index 5638676838f7..57317416651a 100644 --- a/pkgs/tools/package-management/conda/default.nix +++ b/pkgs/tools/package-management/conda/default.nix @@ -88,6 +88,7 @@ in meta = { description = "Conda is a package manager for Python"; + mainProgram = "conda-shell"; homepage = "https://conda.io/"; platforms = lib.platforms.linux; license = lib.licenses.bsd3; diff --git a/pkgs/tools/package-management/disnix/DisnixWebService/default.nix b/pkgs/tools/package-management/disnix/DisnixWebService/default.nix index 461c0cacc06a..38aa1c2e261d 100644 --- a/pkgs/tools/package-management/disnix/DisnixWebService/default.nix +++ b/pkgs/tools/package-management/disnix/DisnixWebService/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = { description = "A SOAP interface and client for Disnix"; + mainProgram = "disnix-soap-client"; homepage = "https://github.com/svanderburg/DisnixWebService"; changelog = "https://github.com/svanderburg/DisnixWebService/blob/DisnixWebService-${version}/NEWS.txt"; license = lib.licenses.mit; diff --git a/pkgs/tools/package-management/gx/go/default.nix b/pkgs/tools/package-management/gx/go/default.nix index 22f7d07537a5..dee8861d65d6 100644 --- a/pkgs/tools/package-management/gx/go/default.nix +++ b/pkgs/tools/package-management/gx/go/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "A tool for importing go packages into gx"; + mainProgram = "gx-go"; homepage = "https://github.com/whyrusleeping/gx-go"; license = licenses.mit; maintainers = with maintainers; [ zimbatm ]; diff --git a/pkgs/tools/package-management/wapm/cli/default.nix b/pkgs/tools/package-management/wapm/cli/default.nix index f1feebdbb0c4..bd345ca6940d 100644 --- a/pkgs/tools/package-management/wapm/cli/default.nix +++ b/pkgs/tools/package-management/wapm/cli/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A package manager for WebAssembly modules"; + mainProgram = "wapm"; homepage = "https://docs.wasmer.io/ecosystem/wapm"; license = with licenses; [ mit ]; maintainers = [ maintainers.lucperkins ]; diff --git a/pkgs/tools/security/2fa/default.nix b/pkgs/tools/security/2fa/default.nix index d1d4cc42a1ff..7261eb605c08 100644 --- a/pkgs/tools/security/2fa/default.nix +++ b/pkgs/tools/security/2fa/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://rsc.io/2fa"; description = "Two-factor authentication on the command line"; + mainProgram = "2fa"; license = licenses.bsd3; maintainers = with maintainers; [ rvolosatovs ]; }; diff --git a/pkgs/tools/security/acltoolkit/default.nix b/pkgs/tools/security/acltoolkit/default.nix index 14b19e3cd7b8..b7c42c2a2574 100644 --- a/pkgs/tools/security/acltoolkit/default.nix +++ b/pkgs/tools/security/acltoolkit/default.nix @@ -38,6 +38,7 @@ python3.pkgs.buildPythonPackage rec { meta = with lib; { description = "ACL abuse swiss-knife"; + mainProgram = "acltoolkit"; homepage = "https://github.com/zblurx/acltoolkit"; license = licenses.mit; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/adenum/default.nix b/pkgs/tools/security/adenum/default.nix index 018fd0e263fc..d547bd5c9ebc 100644 --- a/pkgs/tools/security/adenum/default.nix +++ b/pkgs/tools/security/adenum/default.nix @@ -40,6 +40,7 @@ python3.pkgs.buildPythonApplication { meta = with lib; { description = "Tool to find misconfiguration through LDAP"; + mainProgram = "adenum"; homepage = "https://github.com/SecuProject/ADenum"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/aesfix/default.nix b/pkgs/tools/security/aesfix/default.nix index b2eb2e0e96ca..fed9ace264c4 100644 --- a/pkgs/tools/security/aesfix/default.nix +++ b/pkgs/tools/security/aesfix/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Correct bit errors in an AES key schedules"; + mainProgram = "aesfix"; homepage = "https://citp.princeton.edu/our-work/memory/"; maintainers = with maintainers; [ fedx-sudo ]; }; diff --git a/pkgs/tools/security/aeskeyfind/default.nix b/pkgs/tools/security/aeskeyfind/default.nix index 08b2481ff00d..4ce27f5eca66 100644 --- a/pkgs/tools/security/aeskeyfind/default.nix +++ b/pkgs/tools/security/aeskeyfind/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Locates 128-bit and 256-bit AES keys in a captured memory image"; + mainProgram = "aeskeyfind"; homepage = "https://citp.princeton.edu/our-work/memory/"; license = licenses.bsd3; maintainers = with maintainers; [ fedx-sudo ]; diff --git a/pkgs/tools/security/afl/libdislocator.nix b/pkgs/tools/security/afl/libdislocator.nix index 400464c00567..1030ffaf9eb8 100644 --- a/pkgs/tools/security/afl/libdislocator.nix +++ b/pkgs/tools/security/afl/libdislocator.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation { the odds of bumping into heap-related security bugs in several ways. ''; + mainProgram = "get-libdislocator-so"; license = lib.licenses.asl20; maintainers = with maintainers; [ ris ]; }; diff --git a/pkgs/tools/security/age-plugin-ledger/default.nix b/pkgs/tools/security/age-plugin-ledger/default.nix index 6ed6b526b65d..d3e1e49904ef 100644 --- a/pkgs/tools/security/age-plugin-ledger/default.nix +++ b/pkgs/tools/security/age-plugin-ledger/default.nix @@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A Ledger Nano plugin for age"; + mainProgram = "age-plugin-ledger"; homepage = "https://github.com/Ledger-Donjon/age-plugin-ledger"; license = with licenses; [ mit asl20 ]; maintainers = with maintainers; [ erdnaxe ]; diff --git a/pkgs/tools/security/age-plugin-tpm/default.nix b/pkgs/tools/security/age-plugin-tpm/default.nix index 4885aa326dda..3eef366f8ea8 100644 --- a/pkgs/tools/security/age-plugin-tpm/default.nix +++ b/pkgs/tools/security/age-plugin-tpm/default.nix @@ -35,6 +35,7 @@ buildGoModule rec { meta = with lib; { description = "TPM 2.0 plugin for age (This software is experimental, use it at your own risk)"; + mainProgram = "age-plugin-tpm"; homepage = "https://github.com/Foxboron/age-plugin-tpm"; license = licenses.mit; platforms = platforms.linux; diff --git a/pkgs/tools/security/age-plugin-yubikey/default.nix b/pkgs/tools/security/age-plugin-yubikey/default.nix index 7a3364c8420b..0942848e02e5 100644 --- a/pkgs/tools/security/age-plugin-yubikey/default.nix +++ b/pkgs/tools/security/age-plugin-yubikey/default.nix @@ -39,6 +39,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "YubiKey plugin for age"; + mainProgram = "age-plugin-yubikey"; homepage = "https://github.com/str4d/age-plugin-yubikey"; changelog = "https://github.com/str4d/age-plugin-yubikey/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ mit asl20 ]; diff --git a/pkgs/tools/security/aide/default.nix b/pkgs/tools/security/aide/default.nix index 0168ddc4cc90..104b5d11217a 100644 --- a/pkgs/tools/security/aide/default.nix +++ b/pkgs/tools/security/aide/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://aide.github.io/"; description = "A file and directory integrity checker"; + mainProgram = "aide"; license = licenses.gpl2Plus; maintainers = with maintainers; [ happysalada ]; platforms = platforms.linux; diff --git a/pkgs/tools/security/aiodnsbrute/default.nix b/pkgs/tools/security/aiodnsbrute/default.nix index c11255e6ab80..0c2f6512d878 100644 --- a/pkgs/tools/security/aiodnsbrute/default.nix +++ b/pkgs/tools/security/aiodnsbrute/default.nix @@ -31,6 +31,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "DNS brute force utility"; + mainProgram = "aiodnsbrute"; homepage = "https://github.com/blark/aiodnsbrute"; changelog = "https://github.com/blark/aiodnsbrute/releases/tag/v${version}"; license = with licenses; [ gpl3Only ]; diff --git a/pkgs/tools/security/alterx/default.nix b/pkgs/tools/security/alterx/default.nix index 9fcdb7378b70..a81d83d2ae31 100644 --- a/pkgs/tools/security/alterx/default.nix +++ b/pkgs/tools/security/alterx/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Fast and customizable subdomain wordlist generator using DSL"; + mainProgram = "alterx"; homepage = "https://github.com/projectdiscovery/alterx"; changelog = "https://github.com/projectdiscovery/alterx/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/amoco/default.nix b/pkgs/tools/security/amoco/default.nix index fe16ad9596dd..c78cc8a60576 100644 --- a/pkgs/tools/security/amoco/default.nix +++ b/pkgs/tools/security/amoco/default.nix @@ -65,6 +65,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool for analysing binaries"; + mainProgram = "amoco"; homepage = "https://github.com/bdcht/amoco"; license = licenses.gpl2Only; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/apachetomcatscanner/default.nix b/pkgs/tools/security/apachetomcatscanner/default.nix index 41c68aa79792..224924721620 100644 --- a/pkgs/tools/security/apachetomcatscanner/default.nix +++ b/pkgs/tools/security/apachetomcatscanner/default.nix @@ -36,6 +36,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to scan for Apache Tomcat server vulnerabilities"; + mainProgram = "ApacheTomcatScanner"; homepage = "https://github.com/p0dalirius/ApacheTomcatScanner"; changelog = "https://github.com/p0dalirius/ApacheTomcatScanner/releases/tag/${version}"; license = with licenses; [ gpl2Only ]; diff --git a/pkgs/tools/security/argocd-vault-plugin/default.nix b/pkgs/tools/security/argocd-vault-plugin/default.nix index 934be7d09942..b80a67792e5b 100644 --- a/pkgs/tools/security/argocd-vault-plugin/default.nix +++ b/pkgs/tools/security/argocd-vault-plugin/default.nix @@ -39,6 +39,7 @@ buildGoModule rec { homepage = "https://argocd-vault-plugin.readthedocs.io"; changelog = "https://github.com/argoproj-labs/argocd-vault-plugin/releases/tag/v${version}"; description = "An Argo CD plugin to retrieve secrets from Secret Management tools and inject them into Kubernetes secrets"; + mainProgram = "argocd-vault-plugin"; license = licenses.asl20; maintainers = with maintainers; [ urandom ]; }; diff --git a/pkgs/tools/security/arti/default.nix b/pkgs/tools/security/arti/default.nix index ef202fb69eb1..c1e1ae120f97 100644 --- a/pkgs/tools/security/arti/default.nix +++ b/pkgs/tools/security/arti/default.nix @@ -35,6 +35,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An implementation of Tor in Rust"; + mainProgram = "arti"; homepage = "https://arti.torproject.org/"; changelog = "https://gitlab.torproject.org/tpo/core/arti/-/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/tools/security/arubaotp-seed-extractor/default.nix b/pkgs/tools/security/arubaotp-seed-extractor/default.nix index c2ffef83635d..cd13f891cecc 100644 --- a/pkgs/tools/security/arubaotp-seed-extractor/default.nix +++ b/pkgs/tools/security/arubaotp-seed-extractor/default.nix @@ -40,6 +40,7 @@ python3Packages.buildPythonApplication { meta = with lib; { homepage = "https://github.com/andry08/ArubaOTP-seed-extractor"; description = "Extract TOTP seed instead of using ArubaOTP app"; + mainProgram = "arubaotp-seed-extractor"; license = licenses.mit; maintainers = with maintainers; [ fgaz ]; }; diff --git a/pkgs/tools/security/asc-key-to-qr-code-gif/default.nix b/pkgs/tools/security/asc-key-to-qr-code-gif/default.nix index 28913c685778..3091a8c91554 100644 --- a/pkgs/tools/security/asc-key-to-qr-code-gif/default.nix +++ b/pkgs/tools/security/asc-key-to-qr-code-gif/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/yishilin14/asc-key-to-qr-code-gif"; description = "Convert ASCII-armored PGP keys to animated QR code"; + mainProgram = "asc-to-gif.sh"; platforms = platforms.unix; maintainers = with maintainers; [ asymmetric ]; }; diff --git a/pkgs/tools/security/asnmap/default.nix b/pkgs/tools/security/asnmap/default.nix index 984f5340eeeb..1c2c52fd0098 100644 --- a/pkgs/tools/security/asnmap/default.nix +++ b/pkgs/tools/security/asnmap/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to gather network ranges using ASN information"; + mainProgram = "asnmap"; homepage = "https://github.com/projectdiscovery/asnmap"; changelog = "https://github.com/projectdiscovery/asnmap/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/atomic-operator/default.nix b/pkgs/tools/security/atomic-operator/default.nix index 6db7f0ecdd08..b93b2f809ccd 100644 --- a/pkgs/tools/security/atomic-operator/default.nix +++ b/pkgs/tools/security/atomic-operator/default.nix @@ -52,6 +52,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to execute Atomic Red Team tests (Atomics)"; + mainProgram = "atomic-operator"; homepage = "https://www.atomic-operator.com/"; license = licenses.mit; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/authz0/default.nix b/pkgs/tools/security/authz0/default.nix index 04d2598fd521..2230fe2e518d 100644 --- a/pkgs/tools/security/authz0/default.nix +++ b/pkgs/tools/security/authz0/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Automated authorization test tool"; + mainProgram = "authz0"; homepage = "https://github.com/hahwul/authz0"; license = licenses.mit; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/aws-iam-authenticator/default.nix b/pkgs/tools/security/aws-iam-authenticator/default.nix index 73750ce03e08..3019a2593640 100644 --- a/pkgs/tools/security/aws-iam-authenticator/default.nix +++ b/pkgs/tools/security/aws-iam-authenticator/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/kubernetes-sigs/aws-iam-authenticator"; description = "AWS IAM credentials for Kubernetes authentication"; + mainProgram = "aws-iam-authenticator"; changelog = "https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ srhb ]; diff --git a/pkgs/tools/security/b2sum/default.nix b/pkgs/tools/security/b2sum/default.nix index 581feb28ce08..1ce14a55b079 100644 --- a/pkgs/tools/security/b2sum/default.nix +++ b/pkgs/tools/security/b2sum/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "The b2sum utility is similar to the md5sum or shasum utilities but for BLAKE2"; + mainProgram = "b2sum"; homepage = "https://blake2.net"; license = with licenses; [ asl20 cc0 openssl ]; maintainers = with maintainers; [ kirelagin ]; diff --git a/pkgs/tools/security/b3sum/default.nix b/pkgs/tools/security/b3sum/default.nix index 94e83b5db39e..20136f377c50 100644 --- a/pkgs/tools/security/b3sum/default.nix +++ b/pkgs/tools/security/b3sum/default.nix @@ -13,6 +13,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "BLAKE3 cryptographic hash function"; + mainProgram = "b3sum"; homepage = "https://github.com/BLAKE3-team/BLAKE3/"; maintainers = with lib.maintainers; [ fpletz ivan ]; license = with lib.licenses; [ cc0 asl20 ]; diff --git a/pkgs/tools/security/badchars/default.nix b/pkgs/tools/security/badchars/default.nix index 3125ff0c28c9..a6e5666c189f 100644 --- a/pkgs/tools/security/badchars/default.nix +++ b/pkgs/tools/security/badchars/default.nix @@ -21,6 +21,7 @@ buildPythonApplication rec { meta = with lib; { description = "HEX badchar generator for different programming languages"; + mainProgram = "badchars"; longDescription = '' A HEX bad char generator to instruct encoders such as shikata-ga-nai to transform those to other chars. diff --git a/pkgs/tools/security/badrobot/default.nix b/pkgs/tools/security/badrobot/default.nix index e25e18b5ead2..ad2a0bd29750 100644 --- a/pkgs/tools/security/badrobot/default.nix +++ b/pkgs/tools/security/badrobot/default.nix @@ -31,6 +31,7 @@ buildGoModule rec { homepage = "https://github.com/controlplaneio/badrobot"; changelog = "https://github.com/controlplaneio/badrobot/blob/v${version}/CHANGELOG.md"; description = "Operator Security Audit Tool"; + mainProgram = "badrobot"; longDescription = '' Badrobot is a Kubernetes Operator audit tool. It statically analyses manifests for high risk configurations such as lack of security diff --git a/pkgs/tools/security/binbloom/default.nix b/pkgs/tools/security/binbloom/default.nix index 0805e7b988d4..ce99de997cc0 100644 --- a/pkgs/tools/security/binbloom/default.nix +++ b/pkgs/tools/security/binbloom/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Raw binary firmware analysis software"; + mainProgram = "binbloom"; homepage = "https://github.com/quarkslab/binbloom"; license = licenses.asl20; maintainers = with maintainers; [ erdnaxe ]; diff --git a/pkgs/tools/security/bmrsa/11.nix b/pkgs/tools/security/bmrsa/11.nix index 932566c65060..3ac41d2da482 100644 --- a/pkgs/tools/security/bmrsa/11.nix +++ b/pkgs/tools/security/bmrsa/11.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "RSA utility"; + mainProgram = "bmrsa"; homepage = "http://bmrsa.sourceforge.net/"; license = licenses.gpl2Only; platforms = platforms.linux; diff --git a/pkgs/tools/security/boofuzz/default.nix b/pkgs/tools/security/boofuzz/default.nix index 39b35d6944de..5c2418cad665 100644 --- a/pkgs/tools/security/boofuzz/default.nix +++ b/pkgs/tools/security/boofuzz/default.nix @@ -56,6 +56,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Network protocol fuzzing tool"; + mainProgram = "boo"; homepage = "https://github.com/jtpereyda/boofuzz"; changelog = "https://github.com/jtpereyda/boofuzz/blob/v${version}/CHANGELOG.rst"; license = with licenses; [ gpl2Plus ]; diff --git a/pkgs/tools/security/browserpass/default.nix b/pkgs/tools/security/browserpass/default.nix index 1dd2a27f1ec3..b80b513b3d4b 100644 --- a/pkgs/tools/security/browserpass/default.nix +++ b/pkgs/tools/security/browserpass/default.nix @@ -66,6 +66,7 @@ buildGoModule rec { meta = with lib; { description = "Browserpass native client app"; + mainProgram = "browserpass"; homepage = "https://github.com/browserpass/browserpass-native"; license = licenses.isc; maintainers = with maintainers; [ rvolosatovs infinisil ]; diff --git a/pkgs/tools/security/bruteforce-luks/default.nix b/pkgs/tools/security/bruteforce-luks/default.nix index a6e0f3cc104b..56f827a09a4a 100644 --- a/pkgs/tools/security/bruteforce-luks/default.nix +++ b/pkgs/tools/security/bruteforce-luks/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { inherit (src.meta) homepage; description = "Cracks passwords of LUKS encrypted volumes"; + mainProgram = "bruteforce-luks"; longDescription = '' The program tries to decrypt at least one of the key slots by trying all the possible passwords. It is especially useful if you know diff --git a/pkgs/tools/security/brutespray/default.nix b/pkgs/tools/security/brutespray/default.nix index 9b7ad8c1a666..74f49fbab41e 100644 --- a/pkgs/tools/security/brutespray/default.nix +++ b/pkgs/tools/security/brutespray/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/x90skysn3k/brutespray"; description = "Tool to do brute-forcing from Nmap output"; + mainProgram = "brutespray"; longDescription = '' This tool automatically attempts default credentials on found services directly from Nmap output. diff --git a/pkgs/tools/security/buttercup-desktop/default.nix b/pkgs/tools/security/buttercup-desktop/default.nix index bd83baa6db53..e38aaea42a4b 100644 --- a/pkgs/tools/security/buttercup-desktop/default.nix +++ b/pkgs/tools/security/buttercup-desktop/default.nix @@ -24,6 +24,7 @@ in appimageTools.wrapType2 { meta = with lib; { description = "Cross-Platform Passwords & Secrets Vault"; + mainProgram = "buttercup-desktop"; homepage = "https://buttercup.pw"; license = licenses.gpl3Only; maintainers = with maintainers; [ wolfangaukang ]; diff --git a/pkgs/tools/security/cariddi/default.nix b/pkgs/tools/security/cariddi/default.nix index 6a41ce214d1d..76a81a85431e 100644 --- a/pkgs/tools/security/cariddi/default.nix +++ b/pkgs/tools/security/cariddi/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Crawler for URLs and endpoints"; + mainProgram = "cariddi"; homepage = "https://github.com/edoardottt/cariddi"; changelog = "https://github.com/edoardottt/cariddi/releases/tag/v${version}"; license = with licenses; [ gpl3Plus ]; diff --git a/pkgs/tools/security/certdump/default.nix b/pkgs/tools/security/certdump/default.nix index 7b5b6744b345..789f4fd57370 100644 --- a/pkgs/tools/security/certdump/default.nix +++ b/pkgs/tools/security/certdump/default.nix @@ -33,6 +33,7 @@ buildDotnetModule rec { meta = with lib; { description = "Dump certificates from PE files in different formats"; + mainProgram = "CertDump"; homepage = "https://github.com/secana/CertDump"; longDescription = '' Cross-Platform tool to dump the signing certificate from a Portable Executable (PE) file. diff --git a/pkgs/tools/security/certgraph/default.nix b/pkgs/tools/security/certgraph/default.nix index da8f8358d799..3af3078d6b8b 100644 --- a/pkgs/tools/security/certgraph/default.nix +++ b/pkgs/tools/security/certgraph/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Intelligence tool to crawl the graph of certificate alternate names"; + mainProgram = "certgraph"; homepage = "https://github.com/lanrat/certgraph"; license = with licenses; [ gpl2Only ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/certinfo/default.nix b/pkgs/tools/security/certinfo/default.nix index e0d2a3998a25..ea94ff3762b7 100644 --- a/pkgs/tools/security/certinfo/default.nix +++ b/pkgs/tools/security/certinfo/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "Print x509 certificate info"; + mainProgram = "certinfo"; homepage = "https://github.com/pete911/certinfo"; license = licenses.mit; maintainers = with maintainers; [ jakuzure ]; diff --git a/pkgs/tools/security/certstrap/default.nix b/pkgs/tools/security/certstrap/default.nix index 8808b98985f8..576176355392 100644 --- a/pkgs/tools/security/certstrap/default.nix +++ b/pkgs/tools/security/certstrap/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "Tools to bootstrap CAs, certificate requests, and signed certificates"; + mainProgram = "certstrap"; longDescription = '' A simple certificate manager written in Go, to bootstrap your own certificate authority and public key infrastructure. Adapted from etcd-ca. diff --git a/pkgs/tools/security/cewl/default.nix b/pkgs/tools/security/cewl/default.nix index 06d983c14e36..dc1ad37513da 100644 --- a/pkgs/tools/security/cewl/default.nix +++ b/pkgs/tools/security/cewl/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Custom wordlist generator"; + mainProgram = "cewl"; homepage = "https://digi.ninja/projects/cewl.php/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ elohmeier ]; diff --git a/pkgs/tools/security/cfripper/default.nix b/pkgs/tools/security/cfripper/default.nix index 51fa61067425..edacd10e8b05 100644 --- a/pkgs/tools/security/cfripper/default.nix +++ b/pkgs/tools/security/cfripper/default.nix @@ -65,6 +65,7 @@ in python.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool for analysing CloudFormation templates"; + mainProgram = "cfripper"; homepage = "https://github.com/Skyscanner/cfripper"; changelog = "https://github.com/Skyscanner/cfripper/releases/tag/v${version}"; license = with licenses; [ asl20 ]; diff --git a/pkgs/tools/security/chain-bench/default.nix b/pkgs/tools/security/chain-bench/default.nix index 9705440dfdf8..883674951b14 100644 --- a/pkgs/tools/security/chain-bench/default.nix +++ b/pkgs/tools/security/chain-bench/default.nix @@ -43,6 +43,7 @@ buildGoModule rec { homepage = "https://github.com/aquasecurity/chain-bench"; changelog = "https://github.com/aquasecurity/chain-bench/releases/tag/v${version}"; description = "An open-source tool for auditing your software supply chain stack for security compliance based on a new CIS Software Supply Chain benchmark"; + mainProgram = "chain-bench"; longDescription = '' Chain-bench is an open-source tool for auditing your software supply chain stack for security compliance based on a new CIS Software Supply Chain diff --git a/pkgs/tools/security/chainsaw/default.nix b/pkgs/tools/security/chainsaw/default.nix index b939e15263da..2bc06428e781 100644 --- a/pkgs/tools/security/chainsaw/default.nix +++ b/pkgs/tools/security/chainsaw/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Rapidly Search and Hunt through Windows Forensic Artefacts"; + mainProgram = "chainsaw"; homepage = "https://github.com/WithSecureLabs/chainsaw"; changelog = "https://github.com/WithSecureLabs/chainsaw/releases/tag/v${version}"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/cherrybomb/default.nix b/pkgs/tools/security/cherrybomb/default.nix index 4bb975d3394c..6f8fc1d2a8e3 100644 --- a/pkgs/tools/security/cherrybomb/default.nix +++ b/pkgs/tools/security/cherrybomb/default.nix @@ -22,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A CLI tool that helps you avoid undefined user behavior by validating your API specifications"; + mainProgram = "cherrybomb"; homepage = "https://github.com/blst-security/cherrybomb"; changelog = "https://github.com/blst-security/cherrybomb/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/tools/security/chrome-token-signing/default.nix b/pkgs/tools/security/chrome-token-signing/default.nix index 8081c7ef6eb5..5f9618d0f177 100644 --- a/pkgs/tools/security/chrome-token-signing/default.nix +++ b/pkgs/tools/security/chrome-token-signing/default.nix @@ -31,6 +31,7 @@ mkDerivation rec { meta = with lib; { description = "Chrome and Firefox extension for signing with your eID on the web"; + mainProgram = "chrome-token-signing"; homepage = "https://github.com/open-eid/chrome-token-signing/wiki"; license = licenses.lgpl21; maintainers = [ maintainers.mmahut ]; diff --git a/pkgs/tools/security/cirrusgo/default.nix b/pkgs/tools/security/cirrusgo/default.nix index 61c8e6b8b28f..d7301dd604bd 100644 --- a/pkgs/tools/security/cirrusgo/default.nix +++ b/pkgs/tools/security/cirrusgo/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to scan SAAS and PAAS applications"; + mainProgram = "cirrusgo"; homepage = "https://github.com/Ph33rr/cirrusgo"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/clairvoyance/default.nix b/pkgs/tools/security/clairvoyance/default.nix index ba88338347fc..ca3086047494 100644 --- a/pkgs/tools/security/clairvoyance/default.nix +++ b/pkgs/tools/security/clairvoyance/default.nix @@ -45,6 +45,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to obtain GraphQL API schemas"; + mainProgram = "clairvoyance"; homepage = "https://github.com/nikitastupin/clairvoyance"; changelog = "https://github.com/nikitastupin/clairvoyance/releases/tag/v${version}"; license = with licenses; [ asl20 ]; diff --git a/pkgs/tools/security/cliam/default.nix b/pkgs/tools/security/cliam/default.nix index 400cf8b7e7c5..1089a352d54c 100644 --- a/pkgs/tools/security/cliam/default.nix +++ b/pkgs/tools/security/cliam/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { meta = with lib; { description = "Cloud agnostic IAM permissions enumerator"; + mainProgram = "cliam"; homepage = "https://github.com/securisec/cliam"; license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/cloudbrute/default.nix b/pkgs/tools/security/cloudbrute/default.nix index 677c14021509..cae471ce9aec 100644 --- a/pkgs/tools/security/cloudbrute/default.nix +++ b/pkgs/tools/security/cloudbrute/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Cloud enumeration tool"; + mainProgram = "cloudbrute"; longDescription = '' A tool to find a company (target) infrastructure, files, and apps on the top cloud providers (Amazon, Google, Microsoft, DigitalOcean, diff --git a/pkgs/tools/security/cloudfox/default.nix b/pkgs/tools/security/cloudfox/default.nix index 85777c91be09..995ee7a326a9 100644 --- a/pkgs/tools/security/cloudfox/default.nix +++ b/pkgs/tools/security/cloudfox/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { description = "Tool for situational awareness of cloud penetration tests"; + mainProgram = "cloudfox"; homepage = "https://github.com/BishopFox/cloudfox"; changelog = "https://github.com/BishopFox/cloudfox/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/cloudhunter/default.nix b/pkgs/tools/security/cloudhunter/default.nix index 206879d53759..7fdfa44031d1 100644 --- a/pkgs/tools/security/cloudhunter/default.nix +++ b/pkgs/tools/security/cloudhunter/default.nix @@ -43,6 +43,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Cloud bucket scanner"; + mainProgram = "cloudhunter"; homepage = "https://github.com/belane/CloudHunter"; changelog = "https://github.com/belane/CloudHunter/releases/tag/v${version}"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/cloudlist/default.nix b/pkgs/tools/security/cloudlist/default.nix index fa41327a8cf5..ab849a688a29 100644 --- a/pkgs/tools/security/cloudlist/default.nix +++ b/pkgs/tools/security/cloudlist/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Tool for listing assets from multiple cloud providers"; + mainProgram = "cloudlist"; homepage = "https://github.com/projectdiscovery/cloudlist"; changelog = "https://github.com/projectdiscovery/cloudlist/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/cmospwd/default.nix b/pkgs/tools/security/cmospwd/default.nix index e80b7256e50c..9243afa1aad7 100644 --- a/pkgs/tools/security/cmospwd/default.nix +++ b/pkgs/tools/security/cmospwd/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Decrypt password stored in cmos used to access BIOS SETUP"; + mainProgram = "cmospwd"; homepage = "https://www.cgsecurity.org/wiki/CmosPwd"; license = licenses.gpl2Plus; maintainers = with maintainers; [ t4ccer ]; diff --git a/pkgs/tools/security/coercer/default.nix b/pkgs/tools/security/coercer/default.nix index f380d130bb07..e0d921e62e2d 100644 --- a/pkgs/tools/security/coercer/default.nix +++ b/pkgs/tools/security/coercer/default.nix @@ -41,6 +41,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to automatically coerce a Windows server"; + mainProgram = "coercer"; homepage = "https://github.com/p0dalirius/Coercer"; license = with licenses; [ gpl2Only ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/commix/default.nix b/pkgs/tools/security/commix/default.nix index b4c16376d8da..6197b59172ca 100644 --- a/pkgs/tools/security/commix/default.nix +++ b/pkgs/tools/security/commix/default.nix @@ -36,6 +36,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Automated Command Injection Exploitation Tool"; + mainProgram = "commix"; homepage = "https://github.com/commixproject/commix"; changelog = "https://github.com/commixproject/commix/releases/tag/v${version}"; license = with licenses; [ gpl3Plus ]; diff --git a/pkgs/tools/security/cosign/default.nix b/pkgs/tools/security/cosign/default.nix index 072b8e4ffb52..f2b9a5ed254d 100644 --- a/pkgs/tools/security/cosign/default.nix +++ b/pkgs/tools/security/cosign/default.nix @@ -72,6 +72,7 @@ buildGoModule rec { homepage = "https://github.com/sigstore/cosign"; changelog = "https://github.com/sigstore/cosign/releases/tag/v${version}"; description = "Container Signing CLI with support for ephemeral keys and Sigstore signing"; + mainProgram = "cosign"; license = licenses.asl20; maintainers = with maintainers; [ lesuisse jk developer-guy ]; }; diff --git a/pkgs/tools/security/coze/default.nix b/pkgs/tools/security/coze/default.nix index 5fbd906fd87e..ca7b8f3d1d7e 100644 --- a/pkgs/tools/security/coze/default.nix +++ b/pkgs/tools/security/coze/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { description = "CLI client for Coze, a cryptographic JSON messaging specification"; + mainProgram = "coze"; homepage = "https://github.com/Cyphrme/coze_cli"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ qbit ]; diff --git a/pkgs/tools/security/crackql/default.nix b/pkgs/tools/security/crackql/default.nix index 6a8e95ec57f2..cb3ecc1cb0a7 100644 --- a/pkgs/tools/security/crackql/default.nix +++ b/pkgs/tools/security/crackql/default.nix @@ -35,6 +35,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "GraphQL password brute-force and fuzzing utility"; + mainProgram = "crackql"; homepage = "https://github.com/nicholasaleks/CrackQL"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/crackxls/default.nix b/pkgs/tools/security/crackxls/default.nix index f3c1745321eb..7ff6de5deff0 100644 --- a/pkgs/tools/security/crackxls/default.nix +++ b/pkgs/tools/security/crackxls/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/GavinSmith0123/crackxls2003/"; description = "Used to break the encryption on old Microsoft Excel and Microsoft Word files"; + mainProgram = "crackxls2003"; platforms = platforms.linux; license = licenses.gpl3; }; diff --git a/pkgs/tools/security/credential-detector/default.nix b/pkgs/tools/security/credential-detector/default.nix index fd3e40b6536c..1297d158efe5 100644 --- a/pkgs/tools/security/credential-detector/default.nix +++ b/pkgs/tools/security/credential-detector/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to detect potentially hard-coded credentials"; + mainProgram = "credential-detector"; homepage = "https://github.com/ynori7/credential-detector"; license = licenses.mit; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/creds/default.nix b/pkgs/tools/security/creds/default.nix index 2f2962616d7c..ed34ad0df7c2 100644 --- a/pkgs/tools/security/creds/default.nix +++ b/pkgs/tools/security/creds/default.nix @@ -35,6 +35,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to search a collection of default credentials"; + mainProgram = "creds"; homepage = "https://github.com/ihebski/DefaultCreds-cheat-sheet"; changelog = "https://github.com/ihebski/DefaultCreds-cheat-sheet/releases/tag/creds-${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/credslayer/default.nix b/pkgs/tools/security/credslayer/default.nix index 7d9d67577930..f09a86bc613a 100644 --- a/pkgs/tools/security/credslayer/default.nix +++ b/pkgs/tools/security/credslayer/default.nix @@ -51,6 +51,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Extract credentials and other useful info from network captures"; + mainProgram = "credslayer"; homepage = "https://github.com/ShellCode33/CredSLayer"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/crlfsuite/default.nix b/pkgs/tools/security/crlfsuite/default.nix index bc375f03c0c4..dfd1c7098c2f 100644 --- a/pkgs/tools/security/crlfsuite/default.nix +++ b/pkgs/tools/security/crlfsuite/default.nix @@ -29,6 +29,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "CRLF injection (HTTP Response Splitting) scanner"; + mainProgram = "crlfsuite"; homepage = "https://github.com/Nefcore/CRLFsuite"; license = licenses.mit; maintainers = with maintainers; [ c0bw3b fab ]; diff --git a/pkgs/tools/security/crlfuzz/default.nix b/pkgs/tools/security/crlfuzz/default.nix index f28f96e5f4cd..ab2ee1e7a46e 100644 --- a/pkgs/tools/security/crlfuzz/default.nix +++ b/pkgs/tools/security/crlfuzz/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to scan for CRLF vulnerability"; + mainProgram = "crlfuzz"; homepage = "https://github.com/dwisiswant0/crlfuzz"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/crowbar/default.nix b/pkgs/tools/security/crowbar/default.nix index e58f77457de2..095004ab76df 100644 --- a/pkgs/tools/security/crowbar/default.nix +++ b/pkgs/tools/security/crowbar/default.nix @@ -36,6 +36,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/galkan/crowbar"; description = "A brute forcing tool that can be used during penetration tests"; + mainProgram = "crowbar"; license = licenses.mit; maintainers = with maintainers; [ pamplemousse ]; }; diff --git a/pkgs/tools/security/crunch/default.nix b/pkgs/tools/security/crunch/default.nix index d287fb32fb67..146a67605847 100644 --- a/pkgs/tools/security/crunch/default.nix +++ b/pkgs/tools/security/crunch/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Wordlist generator"; + mainProgram = "crunch"; homepage = "https://sourceforge.net/projects/crunch-wordlist/"; platforms = platforms.unix; license = with licenses; [ gpl2Only ]; diff --git a/pkgs/tools/security/cryptomator/default.nix b/pkgs/tools/security/cryptomator/default.nix index 85ce0c879792..39654ae0ceaf 100644 --- a/pkgs/tools/security/cryptomator/default.nix +++ b/pkgs/tools/security/cryptomator/default.nix @@ -85,6 +85,7 @@ mavenJdk.buildMavenPackage rec { meta = with lib; { description = "Free client-side encryption for your cloud files"; + mainProgram = "cryptomator"; homepage = "https://cryptomator.org"; sourceProvenance = with sourceTypes; [ fromSource diff --git a/pkgs/tools/security/decoder/default.nix b/pkgs/tools/security/decoder/default.nix index 76dd3003d500..1463e132bb72 100644 --- a/pkgs/tools/security/decoder/default.nix +++ b/pkgs/tools/security/decoder/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/PeterPawn/decoder"; description = ''"secrets" decoding for FRITZ!OS devices''; + mainProgram = "decoder"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = with maintainers; [ Luflosi ]; diff --git a/pkgs/tools/security/deepsecrets/default.nix b/pkgs/tools/security/deepsecrets/default.nix index c509311f3a6d..4fa86da7f913 100644 --- a/pkgs/tools/security/deepsecrets/default.nix +++ b/pkgs/tools/security/deepsecrets/default.nix @@ -42,6 +42,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Secrets scanner that understands code"; + mainProgram = "deepsecrets"; homepage = "https://github.com/avito-tech/deepsecrets"; changelog = "https://github.com/avito-tech/deepsecrets/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/dieharder/default.nix b/pkgs/tools/security/dieharder/default.nix index 51370ad8dcc2..716b3266faee 100644 --- a/pkgs/tools/security/dieharder/default.nix +++ b/pkgs/tools/security/dieharder/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Random Number Generator test suite"; + mainProgram = "dieharder"; homepage = "https://webhome.phy.duke.edu/~rgb/General/dieharder.php"; license = licenses.gpl2Plus; maintainers = with maintainers; [ zhaofengli ]; diff --git a/pkgs/tools/security/dirstalk/default.nix b/pkgs/tools/security/dirstalk/default.nix index 1397a0b8aa9e..d0cdc4b48134 100644 --- a/pkgs/tools/security/dirstalk/default.nix +++ b/pkgs/tools/security/dirstalk/default.nix @@ -38,6 +38,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to brute force paths on web servers"; + mainProgram = "dirstalk"; homepage = "https://github.com/stefanoj3/dirstalk"; license = licenses.mit; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/dismap/default.nix b/pkgs/tools/security/dismap/default.nix index 52e046aa80c1..d80e853dae62 100644 --- a/pkgs/tools/security/dismap/default.nix +++ b/pkgs/tools/security/dismap/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Asset discovery and identification tools"; + mainProgram = "dismap"; homepage = "https://github.com/zhzyker/dismap"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/dnsenum/default.nix b/pkgs/tools/security/dnsenum/default.nix index a24fc96621f1..826ebec015e4 100644 --- a/pkgs/tools/security/dnsenum/default.nix +++ b/pkgs/tools/security/dnsenum/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/fwaeytens/dnsenum"; description = "A tool to enumerate DNS information"; + mainProgram = "dnsenum"; maintainers = with maintainers; [ c0bw3b ]; license = licenses.gpl2Plus; platforms = platforms.all; diff --git a/pkgs/tools/security/dnspeep/default.nix b/pkgs/tools/security/dnspeep/default.nix index 978ec5ed2f8b..73edd9724a0a 100644 --- a/pkgs/tools/security/dnspeep/default.nix +++ b/pkgs/tools/security/dnspeep/default.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Spy on the DNS queries your computer is making"; + mainProgram = "dnspeep"; homepage = "https://github.com/jvns/dnspeep"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/tools/security/dnsrecon/default.nix b/pkgs/tools/security/dnsrecon/default.nix index 65fae4928c6f..4fdbad950ab0 100644 --- a/pkgs/tools/security/dnsrecon/default.nix +++ b/pkgs/tools/security/dnsrecon/default.nix @@ -42,6 +42,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "DNS Enumeration script"; + mainProgram = "dnsrecon"; homepage = "https://github.com/darkoperator/dnsrecon"; license = licenses.gpl2Only; maintainers = with maintainers; [ c0bw3b fab ]; diff --git a/pkgs/tools/security/doas/default.nix b/pkgs/tools/security/doas/default.nix index 03268bc98479..2864a1edcf4d 100644 --- a/pkgs/tools/security/doas/default.nix +++ b/pkgs/tools/security/doas/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Executes the given command as another user"; + mainProgram = "doas"; homepage = "https://github.com/Duncaen/OpenDoas"; license = licenses.isc; platforms = platforms.linux; diff --git a/pkgs/tools/security/dontgo403/default.nix b/pkgs/tools/security/dontgo403/default.nix index 84e7667377b7..19bc78f2206c 100644 --- a/pkgs/tools/security/dontgo403/default.nix +++ b/pkgs/tools/security/dontgo403/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to bypass 40X response codes"; + mainProgram = "nomore403"; homepage = "https://github.com/devploit/dontgo403"; changelog = "https://github.com/devploit/dontgo403/releases/tag/${version}"; license = licenses.asl20; diff --git a/pkgs/tools/security/doona/default.nix b/pkgs/tools/security/doona/default.nix index e0f459ad7453..2598f2ecbb96 100644 --- a/pkgs/tools/security/doona/default.nix +++ b/pkgs/tools/security/doona/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/wireghoul/doona"; description = "A fork of the Bruteforce Exploit Detector Tool (BED)"; + mainProgram = "doona"; longDescription = '' A fork of the Bruteforce Exploit Detector Tool (BED). BED is a program which is designed to check daemons for potential buffer overflows, format string bugs etc. diff --git a/pkgs/tools/security/doppler/default.nix b/pkgs/tools/security/doppler/default.nix index 4707240857fc..1e860abc57cd 100644 --- a/pkgs/tools/security/doppler/default.nix +++ b/pkgs/tools/security/doppler/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { meta = with lib; { description = "The official CLI for interacting with your Doppler Enclave secrets and configuration"; + mainProgram = "doppler"; homepage = "https://doppler.com"; license = licenses.asl20; maintainers = with maintainers; [ lucperkins ]; diff --git a/pkgs/tools/security/dorkscout/default.nix b/pkgs/tools/security/dorkscout/default.nix index e5b5057c6089..57ba965033bb 100644 --- a/pkgs/tools/security/dorkscout/default.nix +++ b/pkgs/tools/security/dorkscout/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to automate the work with Google dorks"; + mainProgram = "dorkscout"; homepage = "https://github.com/R4yGM/dorkscout"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/earlybird/default.nix b/pkgs/tools/security/earlybird/default.nix index c7cb35fe335c..d5f001fc995a 100644 --- a/pkgs/tools/security/earlybird/default.nix +++ b/pkgs/tools/security/earlybird/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "A sensitive data detection tool capable of scanning source code repositories for passwords, key files, and more"; + mainProgram = "earlybird"; homepage = "https://github.com/americanexpress/earlybird"; changelog = "https://github.com/americanexpress/earlybird/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/tools/security/ec2stepshell/default.nix b/pkgs/tools/security/ec2stepshell/default.nix index ff6ee22b08eb..6b5031ffebe2 100644 --- a/pkgs/tools/security/ec2stepshell/default.nix +++ b/pkgs/tools/security/ec2stepshell/default.nix @@ -38,6 +38,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "AWS post-exploitation tool"; + mainProgram = "ec2stepshell"; homepage = "https://github.com/saw-your-packet/EC2StepShell"; changelog = "https://github.com/saw-your-packet/EC2StepShell/blob/${version}/CHANGELOG.txt"; license = licenses.mit; diff --git a/pkgs/tools/security/ecdsatool/default.nix b/pkgs/tools/security/ecdsatool/default.nix index 0498b758c1d3..aa55facfd8e0 100644 --- a/pkgs/tools/security/ecdsatool/default.nix +++ b/pkgs/tools/security/ecdsatool/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Create and manipulate ECC NISTP256 keypairs"; + mainProgram = "ecdsatool"; homepage = "https://github.com/kaniini/ecdsatool/"; license = with licenses; [free]; platforms = platforms.unix; diff --git a/pkgs/tools/security/enc/default.nix b/pkgs/tools/security/enc/default.nix index ffacccf6a311..c5f4d62586c5 100644 --- a/pkgs/tools/security/enc/default.nix +++ b/pkgs/tools/security/enc/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { homepage = "https://github.com/life4/enc"; changelog = "https://github.com/life4/enc/releases/tag/v${version}"; description = "A modern and friendly alternative to GnuPG"; + mainProgram = "enc"; longDescription = '' Enc is a CLI tool for encryption, a modern and friendly alternative to GnuPG. It is easy to use, secure by default and can encrypt and decrypt files using password or encryption keys, diff --git a/pkgs/tools/security/enchive/default.nix b/pkgs/tools/security/enchive/default.nix index 960ef251b1cd..8db8f466f9ae 100644 --- a/pkgs/tools/security/enchive/default.nix +++ b/pkgs/tools/security/enchive/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = { description = "Encrypted personal archives"; + mainProgram = "enchive"; homepage = "https://github.com/skeeto/enchive"; license = lib.licenses.unlicense; platforms = lib.platforms.unix; diff --git a/pkgs/tools/security/enum4linux-ng/default.nix b/pkgs/tools/security/enum4linux-ng/default.nix index d30bcbf665d4..ee3ed2e8154d 100644 --- a/pkgs/tools/security/enum4linux-ng/default.nix +++ b/pkgs/tools/security/enum4linux-ng/default.nix @@ -30,6 +30,7 @@ buildPythonApplication rec { meta = with lib; { description = "Windows/Samba enumeration tool"; + mainProgram = "enum4linux-ng"; longDescription = '' enum4linux-ng.py is a rewrite of Mark Lowe's enum4linux.pl, a tool for enumerating information from Windows and Samba systems. diff --git a/pkgs/tools/security/enum4linux/default.nix b/pkgs/tools/security/enum4linux/default.nix index b6da742dc6fa..dd054b58caa5 100644 --- a/pkgs/tools/security/enum4linux/default.nix +++ b/pkgs/tools/security/enum4linux/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A tool for enumerating information from Windows and Samba systems"; + mainProgram = "enum4linux"; homepage = "https://labs.portcullis.co.uk/tools/enum4linux/"; license = licenses.gpl2Plus; maintainers = with maintainers; [ fishi0x01 ]; diff --git a/pkgs/tools/security/enumerepo/default.nix b/pkgs/tools/security/enumerepo/default.nix index 31ff035950bd..3c6849af44ff 100644 --- a/pkgs/tools/security/enumerepo/default.nix +++ b/pkgs/tools/security/enumerepo/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to list all public repositories for (valid) GitHub usernames"; + mainProgram = "enumerepo"; homepage = "https://github.com/trickest/enumerepo"; changelog = "https://github.com/trickest/enumerepo/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/evil-winrm/default.nix b/pkgs/tools/security/evil-winrm/default.nix index 30420c7aad68..ab406caafb65 100644 --- a/pkgs/tools/security/evil-winrm/default.nix +++ b/pkgs/tools/security/evil-winrm/default.nix @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "WinRM shell for hacking/pentesting"; + mainProgram = "evil-winrm"; homepage = "https://github.com/Hackplayers/evil-winrm"; changelog = "https://github.com/Hackplayers/evil-winrm/blob/v${version}/CHANGELOG.md"; license = licenses.lgpl3Plus; diff --git a/pkgs/tools/security/evtx/default.nix b/pkgs/tools/security/evtx/default.nix index e12408d22752..92f8a29cf820 100644 --- a/pkgs/tools/security/evtx/default.nix +++ b/pkgs/tools/security/evtx/default.nix @@ -23,6 +23,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Parser for the Windows XML Event Log (EVTX) format"; + mainProgram = "evtx_dump"; homepage = "https://github.com/omerbenamram/evtx"; changelog = "https://github.com/omerbenamram/evtx/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 /* or */ mit ]; diff --git a/pkgs/tools/security/expliot/default.nix b/pkgs/tools/security/expliot/default.nix index 1414d7c36afd..88fd1cf84b61 100644 --- a/pkgs/tools/security/expliot/default.nix +++ b/pkgs/tools/security/expliot/default.nix @@ -71,6 +71,7 @@ buildPythonApplication rec { meta = with lib; { description = "IoT security testing and exploitation framework"; + mainProgram = "expliot"; longDescription = '' EXPLIoT is a Framework for security testing and exploiting IoT products and IoT infrastructure. It provides a set of plugins diff --git a/pkgs/tools/security/extrude/default.nix b/pkgs/tools/security/extrude/default.nix index 7145314fbd41..8a9710582913 100644 --- a/pkgs/tools/security/extrude/default.nix +++ b/pkgs/tools/security/extrude/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to analyse binaries for missing security features"; + mainProgram = "extrude"; homepage = "https://github.com/liamg/extrude"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/faraday-agent-dispatcher/default.nix b/pkgs/tools/security/faraday-agent-dispatcher/default.nix index a7920f1e1cbd..8c390f2b6f7a 100644 --- a/pkgs/tools/security/faraday-agent-dispatcher/default.nix +++ b/pkgs/tools/security/faraday-agent-dispatcher/default.nix @@ -71,6 +71,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to send result from tools to the Faraday Platform"; + mainProgram = "faraday-dispatcher"; homepage = "https://github.com/infobyte/faraday_agent_dispatcher"; changelog = "https://github.com/infobyte/faraday_agent_dispatcher/releases/tag/${version}"; license = with licenses; [ gpl3Only ]; diff --git a/pkgs/tools/security/faraday-cli/default.nix b/pkgs/tools/security/faraday-cli/default.nix index c6f1c3333a71..7e6ac5315e7d 100644 --- a/pkgs/tools/security/faraday-cli/default.nix +++ b/pkgs/tools/security/faraday-cli/default.nix @@ -47,6 +47,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Command Line Interface for Faraday"; + mainProgram = "faraday-cli"; homepage = "https://github.com/infobyte/faraday-cli"; changelog = "https://github.com/infobyte/faraday-cli/releases/tag/${version}"; license = with licenses; [ gpl3Only ]; diff --git a/pkgs/tools/security/ffuf/default.nix b/pkgs/tools/security/ffuf/default.nix index e0e5976c7510..ae0a19bff022 100644 --- a/pkgs/tools/security/ffuf/default.nix +++ b/pkgs/tools/security/ffuf/default.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { description = "Tool for web fuzzing"; + mainProgram = "ffuf"; longDescription = '' FFUF, or “Fuzz Faster you Fool” is an open source web fuzzing tool, intended for discovering elements and content within web applications diff --git a/pkgs/tools/security/fierce/default.nix b/pkgs/tools/security/fierce/default.nix index 9b8d8735b079..07ab18e36a66 100644 --- a/pkgs/tools/security/fierce/default.nix +++ b/pkgs/tools/security/fierce/default.nix @@ -33,6 +33,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "DNS reconnaissance tool for locating non-contiguous IP space"; + mainProgram = "fierce"; homepage = "https://github.com/mschwager/fierce"; license = licenses.gpl3Plus; maintainers = with maintainers; [ c0bw3b ]; diff --git a/pkgs/tools/security/fingerprintx/default.nix b/pkgs/tools/security/fingerprintx/default.nix index 940195b4e2b5..1d04116c5724 100644 --- a/pkgs/tools/security/fingerprintx/default.nix +++ b/pkgs/tools/security/fingerprintx/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { description = "Standalone utility for service discovery on open ports"; + mainProgram = "fingerprintx"; homepage = "https://github.com/praetorian-inc/fingerprintx"; changelog = "https://github.com/praetorian-inc/fingerprintx/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/tools/security/firefox_decrypt/default.nix b/pkgs/tools/security/firefox_decrypt/default.nix index ce41f07569fb..9ade5976e8d8 100644 --- a/pkgs/tools/security/firefox_decrypt/default.nix +++ b/pkgs/tools/security/firefox_decrypt/default.nix @@ -39,6 +39,7 @@ buildPythonApplication rec { meta = with lib; { homepage = "https://github.com/unode/firefox_decrypt"; description = "A tool to extract passwords from profiles of Mozilla Firefox and derivates"; + mainProgram = "firefox_decrypt"; license = licenses.gpl3Plus; maintainers = with maintainers; [ schnusch ]; }; diff --git a/pkgs/tools/security/fpm2/default.nix b/pkgs/tools/security/fpm2/default.nix index 69e6c7f02817..68781d05dc68 100644 --- a/pkgs/tools/security/fpm2/default.nix +++ b/pkgs/tools/security/fpm2/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GTK2 port from Figaro's Password Manager originally developed by John Conneely, with some new enhancements"; + mainProgram = "fpm2"; homepage = "https://als.regnet.cz/fpm2/"; license = licenses.gpl2; platforms = platforms.linux; diff --git a/pkgs/tools/security/freeze/default.nix b/pkgs/tools/security/freeze/default.nix index a8a8dbb59346..28ef21657009 100644 --- a/pkgs/tools/security/freeze/default.nix +++ b/pkgs/tools/security/freeze/default.nix @@ -28,6 +28,7 @@ buildGoModule rec { meta = with lib; { description = "Payload toolkit for bypassing EDRs"; + mainProgram = "freeze"; homepage = "https://github.com/optiv/Freeze"; license = licenses.mit; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/fulcio/default.nix b/pkgs/tools/security/fulcio/default.nix index 17bd273c0a30..46b533e4e68a 100644 --- a/pkgs/tools/security/fulcio/default.nix +++ b/pkgs/tools/security/fulcio/default.nix @@ -67,6 +67,7 @@ buildGoModule rec { homepage = "https://github.com/sigstore/fulcio"; changelog = "https://github.com/sigstore/fulcio/releases/tag/v${version}"; description = "A Root-CA for code signing certs - issuing certificates based on an OIDC email address"; + mainProgram = "fulcio"; longDescription = '' Fulcio is a free code signing Certificate Authority, built to make short-lived certificates available to anyone. Based on an Open ID Connect diff --git a/pkgs/tools/security/galer/default.nix b/pkgs/tools/security/galer/default.nix index bfe7cb18d1eb..852a91a8fc98 100644 --- a/pkgs/tools/security/galer/default.nix +++ b/pkgs/tools/security/galer/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to fetch URLs from HTML attributes"; + mainProgram = "galer"; homepage = "https://github.com/dwisiswant0/galer"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/gau/default.nix b/pkgs/tools/security/gau/default.nix index eea5df85162c..dc4676a1c987 100644 --- a/pkgs/tools/security/gau/default.nix +++ b/pkgs/tools/security/gau/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to fetch known URLs"; + mainProgram = "gau"; longDescription = '' getallurls (gau) fetches known URLs from various sources for any given domain. diff --git a/pkgs/tools/security/gencfsm/default.nix b/pkgs/tools/security/gencfsm/default.nix index 33f6297905ea..537b2caf45b3 100644 --- a/pkgs/tools/security/gencfsm/default.nix +++ b/pkgs/tools/security/gencfsm/default.nix @@ -50,6 +50,7 @@ stdenv.mkDerivation rec { homepage = "http://www.libertyzero.com/GEncfsM/"; downloadPage = "https://launchpad.net/gencfsm/"; description = "EncFS manager and mounter with GNOME3 integration"; + mainProgram = "gnome-encfs-manager"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = [ maintainers.spacefrogg ]; diff --git a/pkgs/tools/security/genpass/default.nix b/pkgs/tools/security/genpass/default.nix index 9565bf80c950..243132bb263d 100644 --- a/pkgs/tools/security/genpass/default.nix +++ b/pkgs/tools/security/genpass/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple yet robust commandline random password generator"; + mainProgram = "genpass"; homepage = "https://sr.ht/~cyplo/genpass/"; license = licenses.agpl3Only; maintainers = with maintainers; [ cyplo ]; diff --git a/pkgs/tools/security/ggshield/default.nix b/pkgs/tools/security/ggshield/default.nix index 3bf136683333..eb0c5c9d2a95 100644 --- a/pkgs/tools/security/ggshield/default.nix +++ b/pkgs/tools/security/ggshield/default.nix @@ -77,6 +77,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to find and fix various types of hardcoded secrets and infrastructure-as-code misconfigurations"; + mainProgram = "ggshield"; homepage = "https://github.com/GitGuardian/ggshield"; changelog = "https://github.com/GitGuardian/ggshield/blob/${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/tools/security/ghauri/default.nix b/pkgs/tools/security/ghauri/default.nix index 6e7ddeb3cd96..fd4a0fa9903f 100644 --- a/pkgs/tools/security/ghauri/default.nix +++ b/pkgs/tools/security/ghauri/default.nix @@ -31,6 +31,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool for detecting and exploiting SQL injection security flaws"; + mainProgram = "ghauri"; homepage = "https://github.com/r0oth3x49/ghauri"; changelog = "https://github.com/r0oth3x49/ghauri/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/ghdorker/default.nix b/pkgs/tools/security/ghdorker/default.nix index 28336c30ea15..f00e9a60df81 100644 --- a/pkgs/tools/security/ghdorker/default.nix +++ b/pkgs/tools/security/ghdorker/default.nix @@ -29,6 +29,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Extensible GitHub dorking tool"; + mainProgram = "ghdorker"; homepage = "https://github.com/dtaivpp/ghdorker"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/ghidra/build.nix b/pkgs/tools/security/ghidra/build.nix index da164c94b0b5..8b9f2aaca007 100644 --- a/pkgs/tools/security/ghidra/build.nix +++ b/pkgs/tools/security/ghidra/build.nix @@ -159,6 +159,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "A software reverse engineering (SRE) suite of tools developed by NSA's Research Directorate in support of the Cybersecurity mission"; + mainProgram = "ghidra"; homepage = "https://ghidra-sre.org/"; platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; sourceProvenance = with sourceTypes; [ diff --git a/pkgs/tools/security/ghidra/default.nix b/pkgs/tools/security/ghidra/default.nix index 5f9346937b36..2337b36eb7c8 100644 --- a/pkgs/tools/security/ghidra/default.nix +++ b/pkgs/tools/security/ghidra/default.nix @@ -70,6 +70,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "A software reverse engineering (SRE) suite of tools developed by NSA's Research Directorate in support of the Cybersecurity mission"; + mainProgram = "ghidra"; homepage = "https://github.com/NationalSecurityAgency/ghidra"; platforms = [ "x86_64-linux" "x86_64-darwin" ]; sourceProvenance = with sourceTypes; [ binaryBytecode ]; diff --git a/pkgs/tools/security/ghost/default.nix b/pkgs/tools/security/ghost/default.nix index 124caef45c20..d645556c87be 100644 --- a/pkgs/tools/security/ghost/default.nix +++ b/pkgs/tools/security/ghost/default.nix @@ -27,6 +27,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Android post-exploitation framework"; + mainProgram = "ghost"; homepage = "https://github.com/EntySec/ghost"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/gitjacker/default.nix b/pkgs/tools/security/gitjacker/default.nix index c233032d9359..5303e169e8dd 100644 --- a/pkgs/tools/security/gitjacker/default.nix +++ b/pkgs/tools/security/gitjacker/default.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "Leak git repositories from misconfigured websites"; + mainProgram = "gitjacker"; longDescription = '' Gitjacker downloads git repositories and extracts their contents from sites where the .git directory has been mistakenly uploaded. diff --git a/pkgs/tools/security/gnupg-pkcs11-scd/default.nix b/pkgs/tools/security/gnupg-pkcs11-scd/default.nix index f7c22cddb5cb..76cc2639bf90 100644 --- a/pkgs/tools/security/gnupg-pkcs11-scd/default.nix +++ b/pkgs/tools/security/gnupg-pkcs11-scd/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A smart-card daemon to enable the use of PKCS#11 tokens with GnuPG"; + mainProgram = "gnupg-pkcs11-scd"; longDescription = '' gnupg-pkcs11 is a project to implement a BSD-licensed smart-card daemon to enable the use of PKCS#11 tokens with GnuPG. diff --git a/pkgs/tools/security/go-cve-search/default.nix b/pkgs/tools/security/go-cve-search/default.nix index d4b231c63a18..2e521de96ed3 100644 --- a/pkgs/tools/security/go-cve-search/default.nix +++ b/pkgs/tools/security/go-cve-search/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "A lightweight CVE search tool"; + mainProgram = "go-cve-search"; longDescription = '' go-cve-search is a lightweight tool to search CVE (Common Vulnerabilities and Exposures). diff --git a/pkgs/tools/security/go-exploitdb/default.nix b/pkgs/tools/security/go-exploitdb/default.nix index d400cd22a6f0..2ca0c1b1e299 100644 --- a/pkgs/tools/security/go-exploitdb/default.nix +++ b/pkgs/tools/security/go-exploitdb/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { description = "Tool for searching Exploits from Exploit Databases, etc"; + mainProgram = "go-exploitdb"; homepage = "https://github.com/vulsio/go-exploitdb"; changelog = "https://github.com/vulsio/go-exploitdb/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/goblob/default.nix b/pkgs/tools/security/goblob/default.nix index 401a655d65ab..a1ffe5b4a9c8 100644 --- a/pkgs/tools/security/goblob/default.nix +++ b/pkgs/tools/security/goblob/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Enumeration tool for publicly exposed Azure Storage blobs"; + mainProgram = "goblob"; homepage = "https://github.com/Macmod/goblob"; changelog = "https://github.com/Macmod/goblob/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/gobuster/default.nix b/pkgs/tools/security/gobuster/default.nix index 878fa576b4cd..bbc4b02c2b16 100644 --- a/pkgs/tools/security/gobuster/default.nix +++ b/pkgs/tools/security/gobuster/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Tool used to brute-force URIs, DNS subdomains, Virtual Host names on target web servers"; + mainProgram = "gobuster"; homepage = "https://github.com/OJ/gobuster"; changelog = "https://github.com/OJ/gobuster/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/tools/security/gomapenum/default.nix b/pkgs/tools/security/gomapenum/default.nix index 6e1da08d14f0..8171d5ef57e8 100644 --- a/pkgs/tools/security/gomapenum/default.nix +++ b/pkgs/tools/security/gomapenum/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "Tools for user enumeration and password bruteforce"; + mainProgram = "gomapenum"; homepage = "https://github.com/nodauf/GoMapEnum"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/gorilla-bin/default.nix b/pkgs/tools/security/gorilla-bin/default.nix index 388996c62fb5..898abbbd25a4 100644 --- a/pkgs/tools/security/gorilla-bin/default.nix +++ b/pkgs/tools/security/gorilla-bin/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = { description = "Password Gorilla is a Tk based password manager"; + mainProgram = "gorilla"; homepage = "https://github.com/zdia/gorilla/wiki"; maintainers = [ lib.maintainers.namore ]; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/tools/security/gospider/default.nix b/pkgs/tools/security/gospider/default.nix index 91e940ec87eb..d78089f6072e 100644 --- a/pkgs/tools/security/gospider/default.nix +++ b/pkgs/tools/security/gospider/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Fast web spider written in Go"; + mainProgram = "gospider"; longDescription = '' GoSpider is a fast web crawler that parses sitemap.xml and robots.txt file. It can generate and verify link from JavaScript files, extract URLs from diff --git a/pkgs/tools/security/gotestwaf/default.nix b/pkgs/tools/security/gotestwaf/default.nix index c9fbe9f699eb..5a807b0a08c7 100644 --- a/pkgs/tools/security/gotestwaf/default.nix +++ b/pkgs/tools/security/gotestwaf/default.nix @@ -40,6 +40,7 @@ buildGoModule rec { meta = with lib; { description = "Tool for API and OWASP attack simulation"; + mainProgram = "gotestwaf"; homepage = "https://github.com/wallarm/gotestwaf"; changelog = "https://github.com/wallarm/gotestwaf/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/gotrue/default.nix b/pkgs/tools/security/gotrue/default.nix index 112e0c4ddc6d..06b3560dec56 100644 --- a/pkgs/tools/security/gotrue/default.nix +++ b/pkgs/tools/security/gotrue/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/netlify/gotrue"; description = "An SWT based API for managing users and issuing SWT tokens"; + mainProgram = "gotrue"; changelog = "https://github.com/netlify/gotrue/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ urandom ]; diff --git a/pkgs/tools/security/gotrue/supabase.nix b/pkgs/tools/security/gotrue/supabase.nix index 36ce6d72ceb8..9020a0c8c9ba 100644 --- a/pkgs/tools/security/gotrue/supabase.nix +++ b/pkgs/tools/security/gotrue/supabase.nix @@ -36,6 +36,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/supabase/gotrue"; description = "A JWT based API for managing users and issuing JWT tokens"; + mainProgram = "gotrue"; changelog = "https://github.com/supabase/gotrue/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ urandom ]; diff --git a/pkgs/tools/security/goverview/default.nix b/pkgs/tools/security/goverview/default.nix index 02038bf27b99..6c55f069d258 100644 --- a/pkgs/tools/security/goverview/default.nix +++ b/pkgs/tools/security/goverview/default.nix @@ -36,6 +36,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to get an overview of the list of URLs"; + mainProgram = "goverview"; homepage = "https://github.com/j3ssie/goverview"; changelog = "https://github.com/j3ssie/goverview/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/govulncheck/default.nix b/pkgs/tools/security/govulncheck/default.nix index dd45d054aeeb..84aeaf51b947 100644 --- a/pkgs/tools/security/govulncheck/default.nix +++ b/pkgs/tools/security/govulncheck/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { homepage = "https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck"; downloadPage = "https://github.com/golang/vuln"; description = "The database client and tools for the Go vulnerability database, also known as vuln"; + mainProgram = "govulncheck"; longDescription = '' Govulncheck reports known vulnerabilities that affect Go code. It uses static analysis of source code or a binary's symbol table to narrow down diff --git a/pkgs/tools/security/gowitness/default.nix b/pkgs/tools/security/gowitness/default.nix index bd9ab97a0f38..ab31281bbd28 100644 --- a/pkgs/tools/security/gowitness/default.nix +++ b/pkgs/tools/security/gowitness/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Web screenshot utility"; + mainProgram = "gowitness"; homepage = "https://github.com/sensepost/gowitness"; changelog = "https://github.com/sensepost/gowitness/releases/tag/${version}"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/graphinder/default.nix b/pkgs/tools/security/graphinder/default.nix index f0256dff7cbe..541e7ab3189d 100644 --- a/pkgs/tools/security/graphinder/default.nix +++ b/pkgs/tools/security/graphinder/default.nix @@ -48,6 +48,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to find GraphQL endpoints using subdomain enumeration"; + mainProgram = "graphinder"; homepage = "https://github.com/Escape-Technologies/graphinder"; changelog = "https://github.com/Escape-Technologies/graphinder/releases/tag/v${version}"; license = with licenses; [ mit ]; diff --git a/pkgs/tools/security/graphqlmap/default.nix b/pkgs/tools/security/graphqlmap/default.nix index 84b72d3b6a16..a2c0904b4a98 100644 --- a/pkgs/tools/security/graphqlmap/default.nix +++ b/pkgs/tools/security/graphqlmap/default.nix @@ -28,6 +28,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to interact with a GraphQL endpoint"; + mainProgram = "graphqlmap"; homepage = "https://github.com/swisskyrepo/GraphQLmap"; license = licenses.mit; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/graphw00f/default.nix b/pkgs/tools/security/graphw00f/default.nix index 7f1d5ede3e71..9edcf7c1f939 100644 --- a/pkgs/tools/security/graphw00f/default.nix +++ b/pkgs/tools/security/graphw00f/default.nix @@ -30,6 +30,7 @@ python3.pkgs.buildPythonApplication rec { ''; meta = with lib; { description = "GraphQL Server Engine Fingerprinting utility"; + mainProgram = "graphw00f"; homepage = "https://github.com/dolevf/graphw00f"; license = licenses.bsd3; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/grype/default.nix b/pkgs/tools/security/grype/default.nix index d602d1fc6e73..db9a24ecc429 100644 --- a/pkgs/tools/security/grype/default.nix +++ b/pkgs/tools/security/grype/default.nix @@ -109,6 +109,7 @@ buildGoModule rec { homepage = "https://github.com/anchore/grype"; changelog = "https://github.com/anchore/grype/releases/tag/v${version}"; description = "Vulnerability scanner for container images and filesystems"; + mainProgram = "grype"; longDescription = '' As a vulnerability scanner grype is able to scan the contents of a container image or filesystem to find known vulnerabilities. diff --git a/pkgs/tools/security/hakrawler/default.nix b/pkgs/tools/security/hakrawler/default.nix index 0577ceb8c103..58481390f2cc 100644 --- a/pkgs/tools/security/hakrawler/default.nix +++ b/pkgs/tools/security/hakrawler/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Web crawler for the discovery of endpoints and assets"; + mainProgram = "hakrawler"; homepage = "https://github.com/hakluke/hakrawler"; longDescription = '' Simple, fast web crawler designed for easy, quick discovery of endpoints diff --git a/pkgs/tools/security/hash_extender/default.nix b/pkgs/tools/security/hash_extender/default.nix index b90dff6cd17c..10f82ca77e71 100644 --- a/pkgs/tools/security/hash_extender/default.nix +++ b/pkgs/tools/security/hash_extender/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Tool to automate hash length extension attacks"; + mainProgram = "hash_extender"; homepage = "https://github.com/iagox86/hash_extender"; license = licenses.bsd3; maintainers = with maintainers; [ oxzi ]; diff --git a/pkgs/tools/security/hashcat/default.nix b/pkgs/tools/security/hashcat/default.nix index 08b67cb957f4..56399e61639e 100644 --- a/pkgs/tools/security/hashcat/default.nix +++ b/pkgs/tools/security/hashcat/default.nix @@ -77,6 +77,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fast password cracker"; + mainProgram = "hashcat"; homepage = "https://hashcat.net/hashcat/"; license = licenses.mit; platforms = platforms.unix; diff --git a/pkgs/tools/security/hashrat/default.nix b/pkgs/tools/security/hashrat/default.nix index 7923021f8355..38014988dd67 100644 --- a/pkgs/tools/security/hashrat/default.nix +++ b/pkgs/tools/security/hashrat/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Command-line hash-generation utility"; + mainProgram = "hashrat"; longDescription = '' Hashing tool supporting md5,sha1,sha256,sha512,whirlpool,jh and hmac versions of these. Includes recursive file hashing and other features. diff --git a/pkgs/tools/security/haveged/default.nix b/pkgs/tools/security/haveged/default.nix index c28ae465e0eb..c30469c3a3d9 100644 --- a/pkgs/tools/security/haveged/default.nix +++ b/pkgs/tools/security/haveged/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A simple entropy daemon"; + mainProgram = "haveged"; longDescription = '' The haveged project is an attempt to provide an easy-to-use, unpredictable random number generator based upon an adaptation of the HAVEGE algorithm. diff --git a/pkgs/tools/security/hfinger/default.nix b/pkgs/tools/security/hfinger/default.nix index 900f7402451d..baca9ed5ddd2 100644 --- a/pkgs/tools/security/hfinger/default.nix +++ b/pkgs/tools/security/hfinger/default.nix @@ -36,6 +36,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Fingerprinting tool for HTTP requests"; + mainProgram = "hfinger"; homepage = "https://github.com/CERT-Polska/hfinger"; changelog = "https://github.com/CERT-Polska/hfinger/releases/tag/v${version}"; license = with licenses; [ gpl3Only ]; diff --git a/pkgs/tools/security/holehe/default.nix b/pkgs/tools/security/holehe/default.nix index ed8146fec688..872cde1f8f87 100644 --- a/pkgs/tools/security/holehe/default.nix +++ b/pkgs/tools/security/holehe/default.nix @@ -39,6 +39,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "CLI to check if the mail is used on different sites"; + mainProgram = "holehe"; homepage = "https://github.com/megadose/holehe"; license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/honeytrap/default.nix b/pkgs/tools/security/honeytrap/default.nix index e0252d06f154..3e311c576864 100644 --- a/pkgs/tools/security/honeytrap/default.nix +++ b/pkgs/tools/security/honeytrap/default.nix @@ -21,6 +21,7 @@ buildGoModule { meta = with lib; { description = "Advanced Honeypot framework"; + mainProgram = "honeytrap"; homepage = "https://github.com/honeytrap/honeytrap"; license = licenses.asl20; maintainers = [ ]; diff --git a/pkgs/tools/security/hstsparser/default.nix b/pkgs/tools/security/hstsparser/default.nix index 8b4e4882f556..6c3019050719 100644 --- a/pkgs/tools/security/hstsparser/default.nix +++ b/pkgs/tools/security/hstsparser/default.nix @@ -29,6 +29,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to parse Firefox and Chrome HSTS databases into forensic artifacts"; + mainProgram = "hstsparser"; homepage = "https://github.com/thebeanogamer/hstsparser"; changelog = "https://github.com/thebeanogamer/hstsparser/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/httpdump/default.nix b/pkgs/tools/security/httpdump/default.nix index d745adc50d5d..2a8e75497782 100644 --- a/pkgs/tools/security/httpdump/default.nix +++ b/pkgs/tools/security/httpdump/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Parse and display HTTP traffic from network device or pcap file"; + mainProgram = "httpdump"; homepage = "https://github.com/hsiafan/httpdump"; license = with licenses; [ bsd2 ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/httpx/default.nix b/pkgs/tools/security/httpx/default.nix index 3fb537142958..80a7404be002 100644 --- a/pkgs/tools/security/httpx/default.nix +++ b/pkgs/tools/security/httpx/default.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "Fast and multi-purpose HTTP toolkit"; + mainProgram = "httpx"; longDescription = '' httpx is a fast and multi-purpose HTTP toolkit allow to run multiple probers using retryablehttp library, it is designed to maintain the diff --git a/pkgs/tools/security/iaito/default.nix b/pkgs/tools/security/iaito/default.nix index 5812b1e6cfea..2fc43ad67055 100644 --- a/pkgs/tools/security/iaito/default.nix +++ b/pkgs/tools/security/iaito/default.nix @@ -87,6 +87,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An official graphical interface of radare2"; + mainProgram = "iaito"; longDescription = '' iaito is the official graphical interface of radare2. It's the continuation of Cutter for radare2 after the Rizin fork. diff --git a/pkgs/tools/security/ibm-sw-tpm2/default.nix b/pkgs/tools/security/ibm-sw-tpm2/default.nix index 9a13c2103016..969a758d18d4 100644 --- a/pkgs/tools/security/ibm-sw-tpm2/default.nix +++ b/pkgs/tools/security/ibm-sw-tpm2/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "IBM's Software TPM 2.0, an implementation of the TCG TPM 2.0 specification"; + mainProgram = "tpm_server"; homepage = "https://sourceforge.net/projects/ibmswtpm2/"; platforms = platforms.linux ++ platforms.darwin; maintainers = with maintainers; [ delroth ]; diff --git a/pkgs/tools/security/ifdnfc/default.nix b/pkgs/tools/security/ifdnfc/default.nix index 34c140023ac2..ddc48085860b 100644 --- a/pkgs/tools/security/ifdnfc/default.nix +++ b/pkgs/tools/security/ifdnfc/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation { meta = with lib; { description = "PC/SC IFD Handler based on libnfc"; + mainProgram = "ifdnfc-activate"; longDescription = '' libnfc Interface Plugin to be used in services.pcscd.plugins. It provides support for all readers which are not supported by ccid but by libnfc. diff --git a/pkgs/tools/security/imdshift/default.nix b/pkgs/tools/security/imdshift/default.nix index c33e0878cd4d..a4d7e46e7c28 100644 --- a/pkgs/tools/security/imdshift/default.nix +++ b/pkgs/tools/security/imdshift/default.nix @@ -31,6 +31,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to migrate workloads to IMDSv2"; + mainProgram = "imdshift"; homepage = "https://github.com/ayushpriya10/IMDShift"; changelog = "https://github.com/ayushpriya10/IMDShift/releases/tag/v${version}"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/inql/default.nix b/pkgs/tools/security/inql/default.nix index 272e28292ac8..6f9a6e29f2e0 100644 --- a/pkgs/tools/security/inql/default.nix +++ b/pkgs/tools/security/inql/default.nix @@ -33,6 +33,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Security testing tool for GraphQL"; + mainProgram = "inql"; homepage = "https://github.com/doyensec/inql"; changelog = "https://github.com/doyensec/inql/releases/tag/v${version}"; license = with licenses; [ asl20 ]; diff --git a/pkgs/tools/security/ioccheck/default.nix b/pkgs/tools/security/ioccheck/default.nix index 2f25aa4ea897..3f899c33b557 100644 --- a/pkgs/tools/security/ioccheck/default.nix +++ b/pkgs/tools/security/ioccheck/default.nix @@ -88,6 +88,7 @@ in py.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool for researching IOCs"; + mainProgram = "ioccheck"; homepage = "https://github.com/ranguli/ioccheck"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/ipscan/default.nix b/pkgs/tools/security/ipscan/default.nix index 72a44a4ab8a1..f61944fe63ea 100644 --- a/pkgs/tools/security/ipscan/default.nix +++ b/pkgs/tools/security/ipscan/default.nix @@ -43,6 +43,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Angry IP Scanner - fast and friendly network scanner"; + mainProgram = "ipscan"; homepage = "https://angryip.org"; downloadPage = "https://github.com/angryip/ipscan/releases/tag/${version}"; changelog = "https://github.com/angryip/ipscan/blob/${version}/CHANGELOG"; diff --git a/pkgs/tools/security/isolate/default.nix b/pkgs/tools/security/isolate/default.nix index abc491d95c70..b745af75d8b7 100644 --- a/pkgs/tools/security/isolate/default.nix +++ b/pkgs/tools/security/isolate/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { meta = { description = "Sandbox for securely executing untrusted programs"; + mainProgram = "isolate"; homepage = "https://github.com/ioi/isolate"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ virchau13 ]; diff --git a/pkgs/tools/security/jaeles/default.nix b/pkgs/tools/security/jaeles/default.nix index 5ab635b35ac2..7c652995f6ff 100644 --- a/pkgs/tools/security/jaeles/default.nix +++ b/pkgs/tools/security/jaeles/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Tool for automated Web application testing"; + mainProgram = "jaeles"; homepage = "https://github.com/jaeles-project/jaeles"; changelog = "https://github.com/jaeles-project/jaeles/releases/tag/beta-v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/jd-gui/default.nix b/pkgs/tools/security/jd-gui/default.nix index 2663af4ed620..7cc714d96773 100644 --- a/pkgs/tools/security/jd-gui/default.nix +++ b/pkgs/tools/security/jd-gui/default.nix @@ -122,6 +122,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Fast Java Decompiler with powerful GUI"; + mainProgram = "jd-gui"; homepage = "https://java-decompiler.github.io/"; sourceProvenance = with sourceTypes; [ fromSource diff --git a/pkgs/tools/security/joincap/default.nix b/pkgs/tools/security/joincap/default.nix index 1589602ac062..c37226a6f327 100644 --- a/pkgs/tools/security/joincap/default.nix +++ b/pkgs/tools/security/joincap/default.nix @@ -28,6 +28,7 @@ buildGoModule rec { meta = with lib; { description = "Merge multiple pcap files together, gracefully"; + mainProgram = "joincap"; homepage = "https://github.com/assafmo/joincap"; changelog = "https://github.com/assafmo/joincap/blob/${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/tools/security/jsubfinder/default.nix b/pkgs/tools/security/jsubfinder/default.nix index 328c81143d1c..c989c352ea05 100644 --- a/pkgs/tools/security/jsubfinder/default.nix +++ b/pkgs/tools/security/jsubfinder/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to search for in Javascript hidden subdomains and secrets"; + mainProgram = "jsubfinder"; homepage = "https://github.com/ThreatUnkown/jsubfinder"; license = licenses.mit; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/jwx/default.nix b/pkgs/tools/security/jwx/default.nix index 224962825888..ea8e69fad109 100644 --- a/pkgs/tools/security/jwx/default.nix +++ b/pkgs/tools/security/jwx/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = " Implementation of various JWx (Javascript Object Signing and Encryption/JOSE) technologies"; + mainProgram = "jwx"; homepage = "https://github.com/lestrrat-go/jwx"; license = licenses.mit; maintainers = with maintainers; [ arianvp flokli ]; diff --git a/pkgs/tools/security/katana/default.nix b/pkgs/tools/security/katana/default.nix index 1f4a7300e228..fef276e414c9 100644 --- a/pkgs/tools/security/katana/default.nix +++ b/pkgs/tools/security/katana/default.nix @@ -27,6 +27,7 @@ buildGoModule rec { meta = with lib; { description = "A next-generation crawling and spidering framework"; + mainProgram = "katana"; homepage = "https://github.com/projectdiscovery/katana"; changelog = "https://github.com/projectdiscovery/katana/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/kbs2/default.nix b/pkgs/tools/security/kbs2/default.nix index 3e9a726651a6..2592fe444d8d 100644 --- a/pkgs/tools/security/kbs2/default.nix +++ b/pkgs/tools/security/kbs2/default.nix @@ -47,6 +47,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A secret manager backed by age"; + mainProgram = "kbs2"; homepage = "https://github.com/woodruffw/kbs2"; changelog = "https://github.com/woodruffw/kbs2/blob/v${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/tools/security/kdigger/default.nix b/pkgs/tools/security/kdigger/default.nix index 82070c89447a..dc700bc8e84a 100644 --- a/pkgs/tools/security/kdigger/default.nix +++ b/pkgs/tools/security/kdigger/default.nix @@ -61,6 +61,7 @@ buildGoModule rec { homepage = "https://github.com/quarkslab/kdigger"; changelog = "https://github.com/quarkslab/kdigger/releases/tag/v${version}"; description = "An in-pod context discovery tool for Kubernetes penetration testing"; + mainProgram = "kdigger"; longDescription = '' kdigger, short for "Kubernetes digger", is a context discovery tool for Kubernetes penetration testing. This tool is a compilation of various diff --git a/pkgs/tools/security/keepwn/default.nix b/pkgs/tools/security/keepwn/default.nix index bb856c80710b..1d9c740960f3 100644 --- a/pkgs/tools/security/keepwn/default.nix +++ b/pkgs/tools/security/keepwn/default.nix @@ -43,6 +43,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to automate KeePass discovery and secret extraction"; + mainProgram = "keepwn"; homepage = "https://github.com/Orange-Cyberdefense/KeePwn"; changelog = "https://github.com/Orange-Cyberdefense/KeePwn/releases/tag/${version}"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/kerbrute/default.nix b/pkgs/tools/security/kerbrute/default.nix index dbadde6129d8..c020e0e5c4bc 100644 --- a/pkgs/tools/security/kerbrute/default.nix +++ b/pkgs/tools/security/kerbrute/default.nix @@ -23,6 +23,7 @@ python3.pkgs.buildPythonApplication rec { meta = { homepage = "https://github.com/TarlogicSecurity/kerbrute"; description = "Kerberos bruteforce utility"; + mainProgram = "kerbrute"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ applePrincess ]; }; diff --git a/pkgs/tools/security/kestrel/default.nix b/pkgs/tools/security/kestrel/default.nix index f3d40b5ade0c..a94b412e67ee 100644 --- a/pkgs/tools/security/kestrel/default.nix +++ b/pkgs/tools/security/kestrel/default.nix @@ -28,6 +28,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "File encryption done right"; + mainProgram = "kestrel"; longDescription = " Kestrel is a data-at-rest file encryption program that lets you encrypt files to anyone with a public key. diff --git a/pkgs/tools/security/keybase/gui.nix b/pkgs/tools/security/keybase/gui.nix index 8541b02d583e..577e91c24e59 100644 --- a/pkgs/tools/security/keybase/gui.nix +++ b/pkgs/tools/security/keybase/gui.nix @@ -109,6 +109,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.keybase.io/"; description = "The Keybase official GUI"; + mainProgram = "keybase-gui"; platforms = [ "x86_64-linux" ]; maintainers = with maintainers; [ avaq rvolosatovs puffnfresh np Br1ght0ne shofius ]; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; diff --git a/pkgs/tools/security/keycard-cli/default.nix b/pkgs/tools/security/keycard-cli/default.nix index 851a0dac9031..26c1d7934fbb 100644 --- a/pkgs/tools/security/keycard-cli/default.nix +++ b/pkgs/tools/security/keycard-cli/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "A command line tool and shell to manage keycards"; + mainProgram = "keycard-cli"; homepage = "https://keycard.status.im"; license = licenses.mpl20; maintainers = [ maintainers.zimbatm ]; diff --git a/pkgs/tools/security/keyscope/default.nix b/pkgs/tools/security/keyscope/default.nix index 31d97256f0e7..928daf4b2303 100644 --- a/pkgs/tools/security/keyscope/default.nix +++ b/pkgs/tools/security/keyscope/default.nix @@ -41,6 +41,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A key and secret workflow (validation, invalidation, etc.) tool"; + mainProgram = "keyscope"; homepage = "https://github.com/spectralops/keyscope"; changelog = "https://github.com/spectralops/keyscope/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/tools/security/kiterunner/default.nix b/pkgs/tools/security/kiterunner/default.nix index 5f73ba055902..f059eeb41153 100644 --- a/pkgs/tools/security/kiterunner/default.nix +++ b/pkgs/tools/security/kiterunner/default.nix @@ -27,6 +27,7 @@ buildGoModule rec { meta = with lib; { description = "Contextual content discovery tool"; + mainProgram = "kiterunner"; longDescription = '' Kiterunner is a tool that is capable of not only performing traditional content discovery at lightning fast speeds, but also bruteforcing routes diff --git a/pkgs/tools/security/knockpy/default.nix b/pkgs/tools/security/knockpy/default.nix index 3bd90b799e21..6d4e80ec98c2 100644 --- a/pkgs/tools/security/knockpy/default.nix +++ b/pkgs/tools/security/knockpy/default.nix @@ -43,6 +43,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to scan subdomains"; + mainProgram = "knockpy"; homepage = "https://github.com/guelfoweb/knock"; changelog = "https://github.com/guelfoweb/knock/releases/tag/${version}"; license = with licenses; [ gpl3Only ]; diff --git a/pkgs/tools/security/knowsmore/default.nix b/pkgs/tools/security/knowsmore/default.nix index d9a806ef2a58..f73ae1032efa 100644 --- a/pkgs/tools/security/knowsmore/default.nix +++ b/pkgs/tools/security/knowsmore/default.nix @@ -47,6 +47,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool for pentesting Microsoft Active Directory"; + mainProgram = "knowsmore"; homepage = "https://github.com/helviojunior/knowsmore"; changelog = "https://github.com/helviojunior/knowsmore/releases/tag/v${version}"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/kpcli/default.nix b/pkgs/tools/security/kpcli/default.nix index 3ca03ee3ca10..0509663af1aa 100644 --- a/pkgs/tools/security/kpcli/default.nix +++ b/pkgs/tools/security/kpcli/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "KeePass Command Line Interface"; + mainProgram = "kpcli"; longDescription = '' KeePass Command Line Interface (CLI) / interactive shell. Use this program to access and manage your KeePass 1.x or 2.x databases from a Unix-like command line. diff --git a/pkgs/tools/security/kube-bench/default.nix b/pkgs/tools/security/kube-bench/default.nix index 673dde4a58a1..4e539fa96dd5 100644 --- a/pkgs/tools/security/kube-bench/default.nix +++ b/pkgs/tools/security/kube-bench/default.nix @@ -43,6 +43,7 @@ buildGoModule rec { homepage = "https://github.com/aquasecurity/kube-bench"; changelog = "https://github.com/aquasecurity/kube-bench/releases/tag/v${version}"; description = "Checks whether Kubernetes is deployed according to security best practices as defined in the CIS Kubernetes Benchmark"; + mainProgram = "kube-bench"; license = licenses.asl20; maintainers = with maintainers; [ jk ]; }; diff --git a/pkgs/tools/security/kubeaudit/default.nix b/pkgs/tools/security/kubeaudit/default.nix index 135d29c27223..f1b673d2de70 100644 --- a/pkgs/tools/security/kubeaudit/default.nix +++ b/pkgs/tools/security/kubeaudit/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { description = "Audit tool for Kubernetes"; + mainProgram = "kubeaudit"; homepage = "https://github.com/Shopify/kubeaudit"; changelog = "https://github.com/Shopify/kubeaudit/releases/tag/v${version}"; license = with licenses; [ mit ]; diff --git a/pkgs/tools/security/kubeclarity/default.nix b/pkgs/tools/security/kubeclarity/default.nix index 4aed36bbeaa2..38de010dd931 100644 --- a/pkgs/tools/security/kubeclarity/default.nix +++ b/pkgs/tools/security/kubeclarity/default.nix @@ -41,6 +41,7 @@ buildGoModule rec { meta = with lib; { description = "Kubernetes runtime scanner"; + mainProgram = "kubeclarity"; longDescription = '' KubeClarity is a vulnerabilities scanning and CIS Docker benchmark tool that allows users to get an accurate and immediate risk assessment of their diff --git a/pkgs/tools/security/kubernetes-polaris/default.nix b/pkgs/tools/security/kubernetes-polaris/default.nix index b053640d8da9..737c901e570b 100644 --- a/pkgs/tools/security/kubernetes-polaris/default.nix +++ b/pkgs/tools/security/kubernetes-polaris/default.nix @@ -45,6 +45,7 @@ buildGoModule rec { meta = with lib; { description = "Validate and remediate Kubernetes resources to ensure configuration best practices are followed"; + mainProgram = "polaris"; homepage = "https://www.fairwinds.com/polaris"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ longer ]; diff --git a/pkgs/tools/security/kubescape/default.nix b/pkgs/tools/security/kubescape/default.nix index b5661ccbcd3c..c6fb92044cdc 100644 --- a/pkgs/tools/security/kubescape/default.nix +++ b/pkgs/tools/security/kubescape/default.nix @@ -71,6 +71,7 @@ buildGoModule rec { meta = with lib; { description = "Tool for testing if Kubernetes is deployed securely"; + mainProgram = "kubescape"; homepage = "https://github.com/kubescape/kubescape"; changelog = "https://github.com/kubescape/kubescape/releases/tag/v${version}"; longDescription = '' diff --git a/pkgs/tools/security/kubesec/default.nix b/pkgs/tools/security/kubesec/default.nix index 4fa9337e1cb5..ed562124da90 100644 --- a/pkgs/tools/security/kubesec/default.nix +++ b/pkgs/tools/security/kubesec/default.nix @@ -46,6 +46,7 @@ buildGoModule rec { meta = with lib; { description = "Security risk analysis tool for Kubernetes resources"; + mainProgram = "kubesec"; homepage = "https://github.com/controlplaneio/kubesec"; changelog = "https://github.com/controlplaneio/kubesec/blob/v${version}/CHANGELOG.md"; license = with licenses; [ asl20 ]; diff --git a/pkgs/tools/security/ldapmonitor/default.nix b/pkgs/tools/security/ldapmonitor/default.nix index 51295d2841a9..989e1bebc153 100644 --- a/pkgs/tools/security/ldapmonitor/default.nix +++ b/pkgs/tools/security/ldapmonitor/default.nix @@ -33,6 +33,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to monitor creation, deletion and changes to LDAP objects"; + mainProgram = "ldapmonitor"; homepage = "https://github.com/p0dalirius/LDAPmonitor"; changelog = "https://github.com/p0dalirius/LDAPmonitor/releases/tag/${version}"; license = with licenses; [ gpl3Only ]; diff --git a/pkgs/tools/security/ldeep/default.nix b/pkgs/tools/security/ldeep/default.nix index ddbff2357271..92d5ff106b6c 100644 --- a/pkgs/tools/security/ldeep/default.nix +++ b/pkgs/tools/security/ldeep/default.nix @@ -48,6 +48,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "In-depth LDAP enumeration utility"; + mainProgram = "ldeep"; homepage = "https://github.com/franc-pentest/ldeep"; changelog = "https://github.com/franc-pentest/ldeep/releases/tag/${version}"; license = with licenses; [ mit ]; diff --git a/pkgs/tools/security/lesspass-cli/default.nix b/pkgs/tools/security/lesspass-cli/default.nix index 34d36f93b5fb..c568be5ebbd8 100644 --- a/pkgs/tools/security/lesspass-cli/default.nix +++ b/pkgs/tools/security/lesspass-cli/default.nix @@ -32,6 +32,7 @@ buildPythonApplication rec { meta = with lib; { description = "Stateless password manager"; + mainProgram = "lesspass"; homepage = "https://lesspass.com"; maintainers = with maintainers; [ jasoncarr ]; license = licenses.gpl3; diff --git a/pkgs/tools/security/lil-pwny/default.nix b/pkgs/tools/security/lil-pwny/default.nix index c8251dfaa249..42ee72d2c204 100644 --- a/pkgs/tools/security/lil-pwny/default.nix +++ b/pkgs/tools/security/lil-pwny/default.nix @@ -24,6 +24,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Offline auditing of Active Directory passwords"; + mainProgram = "lil-pwny"; homepage = "https://github.com/PaperMtn/lil-pwny"; changelog = "https://github.com/PaperMtn/lil-pwny/blob/${version}/CHANGELOG.md"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/linux-exploit-suggester/default.nix b/pkgs/tools/security/linux-exploit-suggester/default.nix index 9744c416bb74..ed68e8e7c7a3 100644 --- a/pkgs/tools/security/linux-exploit-suggester/default.nix +++ b/pkgs/tools/security/linux-exploit-suggester/default.nix @@ -21,6 +21,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { description = "Tool designed to assist in detecting security deficiencies for given Linux kernel/Linux-based machine"; + mainProgram = "linux-exploit-suggester"; homepage = "https://github.com/mzet-/linux-exploit-suggester"; license = licenses.gpl3Only; maintainers = with maintainers; [ emilytrau ]; diff --git a/pkgs/tools/security/log4j-scan/default.nix b/pkgs/tools/security/log4j-scan/default.nix index bd2772efb416..e3de824b223c 100644 --- a/pkgs/tools/security/log4j-scan/default.nix +++ b/pkgs/tools/security/log4j-scan/default.nix @@ -37,6 +37,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Scanner for finding hosts which are vulnerable for log4j"; + mainProgram = "log4j-scan"; homepage = "https://github.com/fullhunt/log4j-scan"; license = licenses.mit; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/log4j-sniffer/default.nix b/pkgs/tools/security/log4j-sniffer/default.nix index dec7ce35866a..d13180d4e403 100644 --- a/pkgs/tools/security/log4j-sniffer/default.nix +++ b/pkgs/tools/security/log4j-sniffer/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { description = "Tool that scans archives to check for vulnerable log4j versions"; + mainProgram = "log4j-sniffer"; homepage = "https://github.com/palantir/log4j-sniffer"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/lynis/default.nix b/pkgs/tools/security/lynis/default.nix index a40cbc7117d5..d207e3d6e3e0 100644 --- a/pkgs/tools/security/lynis/default.nix +++ b/pkgs/tools/security/lynis/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Security auditing tool for Linux, macOS, and UNIX-based systems"; + mainProgram = "lynis"; homepage = "https://cisofy.com/lynis/"; license = licenses.gpl3Only; platforms = platforms.unix; diff --git a/pkgs/tools/security/masscan/default.nix b/pkgs/tools/security/masscan/default.nix index 107ffe92b2cc..a6aa990c1d82 100644 --- a/pkgs/tools/security/masscan/default.nix +++ b/pkgs/tools/security/masscan/default.nix @@ -61,6 +61,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Fast scan of the Internet"; + mainProgram = "masscan"; homepage = "https://github.com/robertdavidgraham/masscan"; changelog = "https://github.com/robertdavidgraham/masscan/releases/tag/${version}"; license = licenses.agpl3Only; diff --git a/pkgs/tools/security/medusa/default.nix b/pkgs/tools/security/medusa/default.nix index a5ac8f06d16d..3a29f2a6e283 100644 --- a/pkgs/tools/security/medusa/default.nix +++ b/pkgs/tools/security/medusa/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/jmk-foofus/medusa"; description = "A speedy, parallel, and modular, login brute-forcer"; + mainProgram = "medusa"; license = licenses.gpl2; maintainers = with maintainers; [ ]; }; diff --git a/pkgs/tools/security/melt/default.nix b/pkgs/tools/security/melt/default.nix index 43ecd5566fa9..8721e34b566f 100644 --- a/pkgs/tools/security/melt/default.nix +++ b/pkgs/tools/security/melt/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Backup and restore Ed25519 SSH keys with seed words"; + mainProgram = "melt"; homepage = "https://github.com/charmbracelet/melt"; changelog = "https://github.com/charmbracelet/melt/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/mfcuk/default.nix b/pkgs/tools/security/mfcuk/default.nix index 3128a787807a..d6736b5b097a 100644 --- a/pkgs/tools/security/mfcuk/default.nix +++ b/pkgs/tools/security/mfcuk/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation { meta = with lib; { description = "MiFare Classic Universal toolKit"; + mainProgram = "mfcuk"; license = licenses.gpl2; homepage = "https://github.com/nfc-tools/mfcuk"; maintainers = with maintainers; [ offline ]; diff --git a/pkgs/tools/security/mfoc/default.nix b/pkgs/tools/security/mfoc/default.nix index ca1f4a5e4f25..9ede0ffc6157 100644 --- a/pkgs/tools/security/mfoc/default.nix +++ b/pkgs/tools/security/mfoc/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Mifare Classic Offline Cracker"; + mainProgram = "mfoc"; license = licenses.gpl2; homepage = "https://github.com/nfc-tools/mfoc"; maintainers = with maintainers; [ offline ]; diff --git a/pkgs/tools/security/minica/default.nix b/pkgs/tools/security/minica/default.nix index 6dd6d1fd5ce0..e7a05412303e 100644 --- a/pkgs/tools/security/minica/default.nix +++ b/pkgs/tools/security/minica/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "A simple tool for generating self signed certificates"; + mainProgram = "minica"; longDescription = '' Minica is a simple CA intended for use in situations where the CA operator also operates each host where a certificate will be used. It automatically diff --git a/pkgs/tools/security/mitm6/default.nix b/pkgs/tools/security/mitm6/default.nix index a7587330e7b9..f3626355fbb1 100644 --- a/pkgs/tools/security/mitm6/default.nix +++ b/pkgs/tools/security/mitm6/default.nix @@ -29,6 +29,7 @@ python3.pkgs.buildPythonApplication rec { meta = { description = "DHCPv6 network spoofing application"; + mainProgram = "mitm6"; homepage = "https://github.com/dirkjanm/mitm6"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ arcayr ]; diff --git a/pkgs/tools/security/mitmproxy2swagger/default.nix b/pkgs/tools/security/mitmproxy2swagger/default.nix index 56d47973b7e3..0c940692f9e8 100644 --- a/pkgs/tools/security/mitmproxy2swagger/default.nix +++ b/pkgs/tools/security/mitmproxy2swagger/default.nix @@ -39,6 +39,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to automagically reverse-engineer REST APIs"; + mainProgram = "mitmproxy2swagger"; homepage = "https://github.com/alufers/mitmproxy2swagger"; changelog = "https://github.com/alufers/mitmproxy2swagger/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/mkpasswd/default.nix b/pkgs/tools/security/mkpasswd/default.nix index 2ee71b8227eb..00b1e8a01501 100644 --- a/pkgs/tools/security/mkpasswd/default.nix +++ b/pkgs/tools/security/mkpasswd/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://packages.qa.debian.org/w/whois.html"; description = "Overfeatured front-end to crypt, from the Debian whois package"; + mainProgram = "mkpasswd"; license = licenses.gpl2; maintainers = with maintainers; [ fpletz ]; platforms = platforms.unix; diff --git a/pkgs/tools/security/mkrand/default.nix b/pkgs/tools/security/mkrand/default.nix index 21c9586cd6c3..b0ebe7e521fa 100644 --- a/pkgs/tools/security/mkrand/default.nix +++ b/pkgs/tools/security/mkrand/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation rec { meta = { description = "A Digital Random Bit Generator"; + mainProgram = "mkrand"; longDescription = "MKRAND is a utility for generating random information."; homepage = "https://github.com/mknight-tag/MKRAND/"; license = lib.licenses.mit; diff --git a/pkgs/tools/security/mktemp/default.nix b/pkgs/tools/security/mktemp/default.nix index 5010780800de..ca16611332f7 100644 --- a/pkgs/tools/security/mktemp/default.nix +++ b/pkgs/tools/security/mktemp/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple tool to make temporary file handling in shells scripts safe and simple"; + mainProgram = "mktemp"; homepage = "https://www.mktemp.org"; license = licenses.isc; platforms = platforms.unix; diff --git a/pkgs/tools/security/mokutil/default.nix b/pkgs/tools/security/mokutil/default.nix index eb4eb5b1deb3..8b36e5c1c631 100644 --- a/pkgs/tools/security/mokutil/default.nix +++ b/pkgs/tools/security/mokutil/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/lcp/mokutil"; description = "Utility to manipulate machines owner keys"; + mainProgram = "mokutil"; license = licenses.gpl3Plus; maintainers = with maintainers; [ nickcao ]; platforms = platforms.linux; diff --git a/pkgs/tools/security/monsoon/default.nix b/pkgs/tools/security/monsoon/default.nix index 8ac0c834ee03..3341366e47bb 100644 --- a/pkgs/tools/security/monsoon/default.nix +++ b/pkgs/tools/security/monsoon/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "Fast HTTP enumerator"; + mainProgram = "monsoon"; longDescription = '' A fast HTTP enumerator that allows you to execute a large number of HTTP requests, filter the responses and display them in real-time. diff --git a/pkgs/tools/security/mpw/default.nix b/pkgs/tools/security/mpw/default.nix index 8d6f7f4f3b1d..25c71eb046db 100644 --- a/pkgs/tools/security/mpw/default.nix +++ b/pkgs/tools/security/mpw/default.nix @@ -57,6 +57,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "A stateless password management solution"; + mainProgram = "mpw"; homepage = "https://masterpasswordapp.com/"; license = licenses.gpl3; platforms = platforms.unix; diff --git a/pkgs/tools/security/msfpc/default.nix b/pkgs/tools/security/msfpc/default.nix index 428611181410..afc67cc4dde3 100644 --- a/pkgs/tools/security/msfpc/default.nix +++ b/pkgs/tools/security/msfpc/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "MSFvenom Payload Creator"; + mainProgram = "msfpc"; homepage = "https://github.com/g0tmi1k/msfpc"; license = licenses.mit; maintainers = with maintainers; [ emilytrau ]; diff --git a/pkgs/tools/security/mx-takeover/default.nix b/pkgs/tools/security/mx-takeover/default.nix index 88ef8fbf3ed0..13804b4e8872 100644 --- a/pkgs/tools/security/mx-takeover/default.nix +++ b/pkgs/tools/security/mx-takeover/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to work with DNS MX records"; + mainProgram = "mx-takeover"; homepage = "https://github.com/musana/mx-takeover"; changelog = "https://github.com/musana/mx-takeover/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/naabu/default.nix b/pkgs/tools/security/naabu/default.nix index 30d45b74e9fc..a10c6601412b 100644 --- a/pkgs/tools/security/naabu/default.nix +++ b/pkgs/tools/security/naabu/default.nix @@ -34,6 +34,7 @@ buildGoModule rec { meta = with lib; { description = "Fast SYN/CONNECT port scanner"; + mainProgram = "naabu"; longDescription = '' Naabu is a port scanning tool written in Go that allows you to enumerate valid ports for hosts in a fast and reliable manner. It is a really simple diff --git a/pkgs/tools/security/nasty/default.nix b/pkgs/tools/security/nasty/default.nix index b3b19c9268bf..f0bd0d406c33 100644 --- a/pkgs/tools/security/nasty/default.nix +++ b/pkgs/tools/security/nasty/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Recover the passphrase of your PGP or GPG-key"; + mainProgram = "nasty"; longDescription = '' Nasty is a program that helps you to recover the passphrase of your PGP or GPG-key in case you forget or lost it. It is mostly a proof-of-concept: with a different implementation diff --git a/pkgs/tools/security/nbtscanner/default.nix b/pkgs/tools/security/nbtscanner/default.nix index 51e9f085164b..b70f554f33fd 100644 --- a/pkgs/tools/security/nbtscanner/default.nix +++ b/pkgs/tools/security/nbtscanner/default.nix @@ -26,6 +26,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "NetBIOS scanner written in Rust"; + mainProgram = "nbtscanner"; homepage = "https://github.com/jonkgrimes/nbtscanner"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/ncrack/default.nix b/pkgs/tools/security/ncrack/default.nix index 4b0feccb412a..bfce4dd37123 100644 --- a/pkgs/tools/security/ncrack/default.nix +++ b/pkgs/tools/security/ncrack/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Network authentication tool"; + mainProgram = "ncrack"; homepage = "https://nmap.org/ncrack/"; license = licenses.gpl2Only; maintainers = with maintainers; [ siraben ]; diff --git a/pkgs/tools/security/nitrokey-app/default.nix b/pkgs/tools/security/nitrokey-app/default.nix index 8e654900e172..018a18656381 100644 --- a/pkgs/tools/security/nitrokey-app/default.nix +++ b/pkgs/tools/security/nitrokey-app/default.nix @@ -39,6 +39,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Provides extra functionality for the Nitrokey Pro and Storage"; + mainProgram = "nitrokey-app"; longDescription = '' The nitrokey-app provides a QT system tray widget with which you can access the extra functionality of a Nitrokey Storage or Nitrokey Pro. diff --git a/pkgs/tools/security/nmap-formatter/default.nix b/pkgs/tools/security/nmap-formatter/default.nix index b78cb2e075d2..ade602a65375 100644 --- a/pkgs/tools/security/nmap-formatter/default.nix +++ b/pkgs/tools/security/nmap-formatter/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Tool that allows you to convert nmap output"; + mainProgram = "nmap-formatter"; homepage = "https://github.com/vdjagilev/nmap-formatter"; changelog = "https://github.com/vdjagilev/nmap-formatter/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/nmap/qt.nix b/pkgs/tools/security/nmap/qt.nix index b4e406a0035b..56ebc5db6213 100644 --- a/pkgs/tools/security/nmap/qt.nix +++ b/pkgs/tools/security/nmap/qt.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Qt frontend for nmap"; + mainProgram = "nmapsi4"; license = licenses.gpl2; maintainers = with maintainers; [ peterhoeg ]; inherit (src.meta) homepage; diff --git a/pkgs/tools/security/noseyparker/default.nix b/pkgs/tools/security/noseyparker/default.nix index c6e4056d9fab..72a1d87f1112 100644 --- a/pkgs/tools/security/noseyparker/default.nix +++ b/pkgs/tools/security/noseyparker/default.nix @@ -39,6 +39,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Find secrets and sensitive information in textual data"; + mainProgram = "noseyparker"; homepage = "https://github.com/praetorian-inc/noseyparker"; changelog = "https://github.com/praetorian-inc/noseyparker/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/tools/security/nosqli/default.nix b/pkgs/tools/security/nosqli/default.nix index 47095902cea6..3a1721831a0a 100644 --- a/pkgs/tools/security/nosqli/default.nix +++ b/pkgs/tools/security/nosqli/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "NoSql Injection tool for finding vulnerable websites using MongoDB"; + mainProgram = "nosqli"; homepage = "https://github.com/Charlie-belmer/nosqli"; license = with licenses; [ agpl3Plus ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/notary/default.nix b/pkgs/tools/security/notary/default.nix index ab6ec0b16818..f1fed4806eb4 100644 --- a/pkgs/tools/security/notary/default.nix +++ b/pkgs/tools/security/notary/default.nix @@ -37,6 +37,7 @@ buildGoPackage rec { meta = with lib; { description = "A project that allows anyone to have trust over arbitrary collections of data"; + mainProgram = "notary"; longDescription = '' The Notary project comprises a server and a client for running and interacting with trusted collections. See the service architecture diff --git a/pkgs/tools/security/ntlmrecon/default.nix b/pkgs/tools/security/ntlmrecon/default.nix index 648e2d585e09..10a564706c9a 100644 --- a/pkgs/tools/security/ntlmrecon/default.nix +++ b/pkgs/tools/security/ntlmrecon/default.nix @@ -31,6 +31,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Information enumerator for NTLM authentication enabled web endpoints"; + mainProgram = "ntlmrecon"; homepage = "https://github.com/pwnfoo/NTLMRecon"; changelog = "https://github.com/pwnfoo/NTLMRecon/releases/tag/v-${version}"; license = with licenses; [ mit ]; diff --git a/pkgs/tools/security/nwipe/default.nix b/pkgs/tools/security/nwipe/default.nix index 35ca1f9b4125..00c66f351930 100644 --- a/pkgs/tools/security/nwipe/default.nix +++ b/pkgs/tools/security/nwipe/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Securely erase disks"; + mainProgram = "nwipe"; homepage = "https://github.com/martijnvanbrummelen/nwipe"; license = licenses.gpl2Only; maintainers = with maintainers; [ woffs ]; diff --git a/pkgs/tools/security/oauth2c/default.nix b/pkgs/tools/security/oauth2c/default.nix index 2cc9a05e3d15..292ac255b3a0 100644 --- a/pkgs/tools/security/oauth2c/default.nix +++ b/pkgs/tools/security/oauth2c/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/cloudentity/oauth2c"; description = "User-friendly OAuth2 CLI"; + mainProgram = "oauth2c"; longDescription = '' oauth2c is a command-line tool for interacting with OAuth 2.0 authorization servers. Its goal is to make it easy to fetch access tokens diff --git a/pkgs/tools/security/octosuite/default.nix b/pkgs/tools/security/octosuite/default.nix index 88b29dce721c..af4dd9c39740 100644 --- a/pkgs/tools/security/octosuite/default.nix +++ b/pkgs/tools/security/octosuite/default.nix @@ -36,6 +36,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Advanced Github OSINT framework"; + mainProgram = "octosuite"; homepage = "https://github.com/bellingcat/octosuite"; changelog = "https://github.com/bellingcat/octosuite/releases/tag/${version}"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/onioncircuits/default.nix b/pkgs/tools/security/onioncircuits/default.nix index c1468becc262..95692ef1c188 100644 --- a/pkgs/tools/security/onioncircuits/default.nix +++ b/pkgs/tools/security/onioncircuits/default.nix @@ -51,6 +51,7 @@ python3.pkgs.buildPythonApplication rec { broken = stdenv.isDarwin; homepage = "https://tails.boum.org"; description = "GTK application to display Tor circuits and streams"; + mainProgram = "onioncircuits"; license = licenses.gpl3; maintainers = with maintainers; [ milran ]; }; diff --git a/pkgs/tools/security/onlykey-cli/default.nix b/pkgs/tools/security/onlykey-cli/default.nix index 4d0b0a267a38..624290c6d555 100644 --- a/pkgs/tools/security/onlykey-cli/default.nix +++ b/pkgs/tools/security/onlykey-cli/default.nix @@ -27,6 +27,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "OnlyKey client and command-line tool"; + mainProgram = "onlykey-cli"; homepage = "https://github.com/trustcrypto/python-onlykey"; license = licenses.mit; maintainers = with maintainers; [ ranfdev ]; diff --git a/pkgs/tools/security/open-ecard/default.nix b/pkgs/tools/security/open-ecard/default.nix index e8afdf6bf8c0..a3f3f72bc631 100644 --- a/pkgs/tools/security/open-ecard/default.nix +++ b/pkgs/tools/security/open-ecard/default.nix @@ -55,6 +55,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Client side implementation of the eCard-API-Framework (BSI TR-03112) and related international standards, such as ISO/IEC 24727"; + mainProgram = "open-ecard"; homepage = "https://www.openecard.org/"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.gpl3; diff --git a/pkgs/tools/security/openrisk/default.nix b/pkgs/tools/security/openrisk/default.nix index fc8475ca71a2..ebc177a6908f 100644 --- a/pkgs/tools/security/openrisk/default.nix +++ b/pkgs/tools/security/openrisk/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Tool that generates an AI-based risk score"; + mainProgram = "openrisk"; homepage = "https://github.com/projectdiscovery/openrisk"; changelog = "https://github.com/projectdiscovery/openrisk/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/orjail/default.nix b/pkgs/tools/security/orjail/default.nix index adcbf5ae4f9f..ed2d64588306 100644 --- a/pkgs/tools/security/orjail/default.nix +++ b/pkgs/tools/security/orjail/default.nix @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Force programs to exclusively use tor network"; + mainProgram = "orjail"; homepage = "https://github.com/orjail/orjail"; license = licenses.wtfpl; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/tools/security/ospd-openvas/default.nix b/pkgs/tools/security/ospd-openvas/default.nix index 0e4b4b16e752..82afa1e0fec1 100644 --- a/pkgs/tools/security/ospd-openvas/default.nix +++ b/pkgs/tools/security/ospd-openvas/default.nix @@ -5,14 +5,14 @@ python3.pkgs.buildPythonApplication rec { pname = "ospd-openvas"; - version = "22.6.2"; - format = "pyproject"; + version = "22.7.0"; + pyproject = true; src = fetchFromGitHub { owner = "greenbone"; repo = "ospd-openvas"; rev = "refs/tags/v${version}"; - hash = "sha256-SO2+PpxjyP+Yba0X81EgNCOAu7ntlG7zOeWA+7XdRIA="; + hash = "sha256-aBrJODymUMj0sflJW/+dMYZBRPYqtS1L2UBENDXb2Xw="; }; pythonRelaxDeps = [ diff --git a/pkgs/tools/security/osv-detector/default.nix b/pkgs/tools/security/osv-detector/default.nix index 58db4504d23d..3be67c91d265 100644 --- a/pkgs/tools/security/osv-detector/default.nix +++ b/pkgs/tools/security/osv-detector/default.nix @@ -48,6 +48,7 @@ buildGoModule rec { meta = with lib; { description = "Auditing tool for detecting vulnerabilities"; + mainProgram = "osv-detector"; homepage = "https://github.com/G-Rath/osv-detector"; changelog = "https://github.com/G-Rath/osv-detector/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/osv-scanner/default.nix b/pkgs/tools/security/osv-scanner/default.nix index 26dfe919c428..2b9f2c4db236 100644 --- a/pkgs/tools/security/osv-scanner/default.nix +++ b/pkgs/tools/security/osv-scanner/default.nix @@ -38,6 +38,7 @@ buildGoModule rec { meta = with lib; { description = "Vulnerability scanner written in Go which uses the data provided by https://osv.dev"; + mainProgram = "osv-scanner"; homepage = "https://github.com/google/osv-scanner"; changelog = "https://github.com/google/osv-scanner/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/tools/security/otpauth/default.nix b/pkgs/tools/security/otpauth/default.nix index e4ffadef63e0..95d9288b6bab 100644 --- a/pkgs/tools/security/otpauth/default.nix +++ b/pkgs/tools/security/otpauth/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Google Authenticator migration decoder"; + mainProgram = "otpauth"; homepage = "https://github.com/dim13/otpauth"; license = licenses.isc; maintainers = with maintainers; [ ereslibre ]; diff --git a/pkgs/tools/security/ots/default.nix b/pkgs/tools/security/ots/default.nix index bba9e8e6fb89..7d55bb84d976 100644 --- a/pkgs/tools/security/ots/default.nix +++ b/pkgs/tools/security/ots/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Share end-to-end encrypted secrets with others via a one-time URL"; + mainProgram = "ots"; homepage = "https://ots.sniptt.com"; changelog = "https://github.com/sniptt-official/ots/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/tools/security/pamtester/default.nix b/pkgs/tools/security/pamtester/default.nix index d9e59290d676..7261be60f77f 100644 --- a/pkgs/tools/security/pamtester/default.nix +++ b/pkgs/tools/security/pamtester/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Utility program to test the PAM facility"; + mainProgram = "pamtester"; homepage = "https://pamtester.sourceforge.net/"; license = licenses.bsd3; platforms = platforms.linux; diff --git a/pkgs/tools/security/paperkey/default.nix b/pkgs/tools/security/paperkey/default.nix index 8e86415cb9e8..a22c1617f07b 100644 --- a/pkgs/tools/security/paperkey/default.nix +++ b/pkgs/tools/security/paperkey/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Store OpenPGP or GnuPG on paper"; + mainProgram = "paperkey"; longDescription = '' A reasonable way to achieve a long term backup of OpenPGP (GnuPG, PGP, etc) keys is to print them out on paper. Paper and ink have amazingly long diff --git a/pkgs/tools/security/pass/extensions/import.nix b/pkgs/tools/security/pass/extensions/import.nix index 8c51356e184b..cbba33c1373a 100644 --- a/pkgs/tools/security/pass/extensions/import.nix +++ b/pkgs/tools/security/pass/extensions/import.nix @@ -60,6 +60,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Pass extension for importing data from existing password managers"; + mainProgram = "pimport"; homepage = "https://github.com/roddhjav/pass-import"; changelog = "https://github.com/roddhjav/pass-import/blob/v${version}/CHANGELOG.rst"; license = licenses.gpl3Plus; diff --git a/pkgs/tools/security/pass/rofi-pass.nix b/pkgs/tools/security/pass/rofi-pass.nix index b8fd130df24b..9bf699571592 100644 --- a/pkgs/tools/security/pass/rofi-pass.nix +++ b/pkgs/tools/security/pass/rofi-pass.nix @@ -84,6 +84,7 @@ stdenv.mkDerivation { meta = { description = "A script to make rofi work with password-store"; + mainProgram = "rofi-pass"; homepage = "https://github.com/carnager/rofi-pass"; license = lib.licenses.gpl3; platforms = with lib.platforms; linux; diff --git a/pkgs/tools/security/pass2csv/default.nix b/pkgs/tools/security/pass2csv/default.nix index aad6338391ee..101af2e7aa94 100644 --- a/pkgs/tools/security/pass2csv/default.nix +++ b/pkgs/tools/security/pass2csv/default.nix @@ -28,6 +28,7 @@ buildPythonApplication rec { meta = with lib; { description = "Export pass(1), \"the standard unix password manager\", to CSV"; + mainProgram = "pass2csv"; homepage = "https://github.com/reinefjord/pass2csv"; license = licenses.mit; maintainers = with maintainers; [ wolfangaukang ]; diff --git a/pkgs/tools/security/passphrase2pgp/default.nix b/pkgs/tools/security/passphrase2pgp/default.nix index 0ccbcca06c20..0470fd8cfee6 100644 --- a/pkgs/tools/security/passphrase2pgp/default.nix +++ b/pkgs/tools/security/passphrase2pgp/default.nix @@ -30,6 +30,7 @@ buildGoModule rec { meta = with lib; { description = "Predictable, passphrase-based PGP key generator"; + mainProgram = "passphrase2pgp"; homepage = "https://github.com/skeeto/passphrase2pgp"; license = licenses.unlicense; maintainers = with maintainers; [ kaction ]; diff --git a/pkgs/tools/security/pcsc-cyberjack/default.nix b/pkgs/tools/security/pcsc-cyberjack/default.nix index 04aad0b27739..fa96753a54f6 100644 --- a/pkgs/tools/security/pcsc-cyberjack/default.nix +++ b/pkgs/tools/security/pcsc-cyberjack/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "REINER SCT cyberJack USB chipcard reader user space driver"; + mainProgram = "cjflash"; homepage = "https://www.reiner-sct.com/"; license = licenses.gpl2Plus; maintainers = with maintainers; [ aszlig flokli ]; diff --git a/pkgs/tools/security/pdfcrack/default.nix b/pkgs/tools/security/pdfcrack/default.nix index d4930b023b6f..ae863e1ec1f5 100644 --- a/pkgs/tools/security/pdfcrack/default.nix +++ b/pkgs/tools/security/pdfcrack/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://pdfcrack.sourceforge.net/"; description = "Small command line driven tool for recovering passwords and content from PDF files"; + mainProgram = "pdfcrack"; license = with licenses; [ gpl2Plus ]; platforms = platforms.all; maintainers = with maintainers; [ qoelet ]; diff --git a/pkgs/tools/security/pgpdump/default.nix b/pkgs/tools/security/pgpdump/default.nix index 9ebe0d920027..31a1c506f329 100644 --- a/pkgs/tools/security/pgpdump/default.nix +++ b/pkgs/tools/security/pgpdump/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A PGP packet visualizer"; + mainProgram = "pgpdump"; longDescription = '' pgpdump is a PGP packet visualizer which displays the packet format of OpenPGP (RFC 4880) and PGP version 2 (RFC 1991). diff --git a/pkgs/tools/security/plecost/default.nix b/pkgs/tools/security/plecost/default.nix index 23dd8c220cac..477ed9e82645 100644 --- a/pkgs/tools/security/plecost/default.nix +++ b/pkgs/tools/security/plecost/default.nix @@ -33,6 +33,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Vulnerability fingerprinting and vulnerability finder for Wordpress blog engine"; + mainProgram = "plecost"; homepage = "https://github.com/iniqua/plecost"; license = licenses.bsd3; maintainers = with maintainers; [ emilytrau ]; diff --git a/pkgs/tools/security/pomerium-cli/default.nix b/pkgs/tools/security/pomerium-cli/default.nix index 67c44930f0da..cff903021591 100644 --- a/pkgs/tools/security/pomerium-cli/default.nix +++ b/pkgs/tools/security/pomerium-cli/default.nix @@ -56,6 +56,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://pomerium.io"; description = "Client-side helper for Pomerium authenticating reverse proxy"; + mainProgram = "pomerium-cli"; license = licenses.asl20; maintainers = with maintainers; [ lukegb ]; platforms = platforms.unix; diff --git a/pkgs/tools/security/posteid-seed-extractor/default.nix b/pkgs/tools/security/posteid-seed-extractor/default.nix index 176b210b3779..b0c1f04d21a4 100644 --- a/pkgs/tools/security/posteid-seed-extractor/default.nix +++ b/pkgs/tools/security/posteid-seed-extractor/default.nix @@ -41,6 +41,7 @@ python3Packages.buildPythonApplication { meta = with lib; { homepage = "https://github.com/simone36050/PosteID-seed-extractor"; description = "Extract OTP seed instead of using PosteID app"; + mainProgram = "posteid-seed-extractor"; license = licenses.mit; maintainers = with maintainers; [ aciceri ]; }; diff --git a/pkgs/tools/security/pretender/default.nix b/pkgs/tools/security/pretender/default.nix index 91452f34d62b..9d7df071224d 100644 --- a/pkgs/tools/security/pretender/default.nix +++ b/pkgs/tools/security/pretender/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Tool for handling machine-in-the-middle tasks"; + mainProgram = "pretender"; homepage = "https://github.com/RedTeamPentesting/pretender"; changelog = "https://github.com/RedTeamPentesting/pretender/releases/tag/v${version}"; license = with licenses; [ mit ]; diff --git a/pkgs/tools/security/pwdsafety/default.nix b/pkgs/tools/security/pwdsafety/default.nix index 12785154a177..e713d7e014ab 100644 --- a/pkgs/tools/security/pwdsafety/default.nix +++ b/pkgs/tools/security/pwdsafety/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Command line tool checking password safety"; + mainProgram = "cmd"; homepage = "https://github.com/edoardottt/pwdsafety"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/pwncat/default.nix b/pkgs/tools/security/pwncat/default.nix index 398132c4cee7..98b782bf194c 100644 --- a/pkgs/tools/security/pwncat/default.nix +++ b/pkgs/tools/security/pwncat/default.nix @@ -17,6 +17,7 @@ buildPythonApplication rec { meta = with lib; { description = "TCP/UDP communication suite"; + mainProgram = "pwncat"; homepage = "https://pwncat.org/"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/qdigidoc/default.nix b/pkgs/tools/security/qdigidoc/default.nix index 097ef5023974..862249d2ebd1 100644 --- a/pkgs/tools/security/qdigidoc/default.nix +++ b/pkgs/tools/security/qdigidoc/default.nix @@ -60,6 +60,7 @@ mkDerivation rec { meta = with lib; { description = "Qt-based UI for signing and verifying DigiDoc documents"; + mainProgram = "qdigidoc4"; homepage = "https://www.id.ee/"; license = licenses.lgpl21Plus; platforms = platforms.linux; diff --git a/pkgs/tools/security/quill-qr/default.nix b/pkgs/tools/security/quill-qr/default.nix index 55c2f45cc683..826f2e51799c 100644 --- a/pkgs/tools/security/quill-qr/default.nix +++ b/pkgs/tools/security/quill-qr/default.nix @@ -38,6 +38,7 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { description = "Print QR codes for use with https://p5deo-6aaaa-aaaab-aaaxq-cai.raw.ic0.app/"; + mainProgram = "quill-qr.sh"; homepage = "https://github.com/IvanMalison/quill-qr"; maintainers = with maintainers; [ imalison ]; platforms = with platforms; linux; diff --git a/pkgs/tools/security/quill/default.nix b/pkgs/tools/security/quill/default.nix index 5de9e8b8b3fc..71ffc7af5c15 100644 --- a/pkgs/tools/security/quill/default.nix +++ b/pkgs/tools/security/quill/default.nix @@ -47,6 +47,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/dfinity/quill"; changelog = "https://github.com/dfinity/quill/releases/tag/v${version}"; description = "Minimalistic ledger and governance toolkit for cold wallets on the Internet Computer"; + mainProgram = "quill"; license = licenses.asl20; maintainers = with maintainers; [ imalison ]; }; diff --git a/pkgs/tools/security/radamsa/default.nix b/pkgs/tools/security/radamsa/default.nix index ebcd2a42191d..1903b435b770 100644 --- a/pkgs/tools/security/radamsa/default.nix +++ b/pkgs/tools/security/radamsa/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = { description = "A general purpose fuzzer"; + mainProgram = "radamsa"; longDescription = "Radamsa is a general purpose data fuzzer. It reads data from given sample files, or standard input if none are given, and outputs modified data. It is usually used to generate malformed data for testing programs."; homepage = "https://gitlab.com/akihe/radamsa"; maintainers = [ ]; diff --git a/pkgs/tools/security/redwax-tool/default.nix b/pkgs/tools/security/redwax-tool/default.nix index af327cba948b..50a2d36699e7 100644 --- a/pkgs/tools/security/redwax-tool/default.nix +++ b/pkgs/tools/security/redwax-tool/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://redwax.eu/rt/"; description = "Universal certificate conversion tool"; + mainProgram = "redwax-tool"; longDescription = '' Read certificates and keys from your chosen sources, filter the certificates and keys you're interested in, write those diff --git a/pkgs/tools/security/regpg/default.nix b/pkgs/tools/security/regpg/default.nix index aaefbef227b8..e14fdbbbb759 100644 --- a/pkgs/tools/security/regpg/default.nix +++ b/pkgs/tools/security/regpg/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GPG wrapper utility for storing secrets in VCS"; + mainProgram = "regpg"; homepage = "https://dotat.at/prog/regpg"; license = licenses.gpl3; platforms = platforms.all; diff --git a/pkgs/tools/security/responder/default.nix b/pkgs/tools/security/responder/default.nix index a51bb40ac5fd..9c6b343eb5c1 100644 --- a/pkgs/tools/security/responder/default.nix +++ b/pkgs/tools/security/responder/default.nix @@ -47,6 +47,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "LLMNR, NBT-NS and MDNS poisoner, with built-in HTTP/SMB/MSSQL/FTP/LDAP rogue authentication server"; + mainProgram = "responder"; homepage = "https://github.com/lgandx/Responder"; changelog = "https://github.com/lgandx/Responder/blob/master/CHANGELOG.md"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/ripasso/cursive.nix b/pkgs/tools/security/ripasso/cursive.nix index b3e8274b450c..faef4dbff48a 100644 --- a/pkgs/tools/security/ripasso/cursive.nix +++ b/pkgs/tools/security/ripasso/cursive.nix @@ -73,6 +73,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple password manager written in Rust"; + mainProgram = "ripasso-cursive"; homepage = "https://github.com/cortex/ripasso"; license = licenses.gpl3; maintainers = with maintainers; [ sgo ]; diff --git a/pkgs/tools/security/rustscan/default.nix b/pkgs/tools/security/rustscan/default.nix index 099e685fec03..5189b7c882b7 100644 --- a/pkgs/tools/security/rustscan/default.nix +++ b/pkgs/tools/security/rustscan/default.nix @@ -29,6 +29,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Faster Nmap Scanning with Rust"; + mainProgram = "rustscan"; homepage = "https://github.com/RustScan/RustScan"; license = licenses.gpl3Only; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/tools/security/s5/default.nix b/pkgs/tools/security/s5/default.nix index 7d63c4cb8a67..f4ef34209d8e 100644 --- a/pkgs/tools/security/s5/default.nix +++ b/pkgs/tools/security/s5/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "cipher/decipher text within a file"; + mainProgram = "s5"; homepage = "https://github.com/mvisonneau/s5"; license = licenses.asl20; platforms = platforms.unix ++ platforms.darwin; diff --git a/pkgs/tools/security/safe/default.nix b/pkgs/tools/security/safe/default.nix index 2024cd8ff27b..63fe240e5619 100644 --- a/pkgs/tools/security/safe/default.nix +++ b/pkgs/tools/security/safe/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { description = "A Vault CLI"; + mainProgram = "safe"; homepage = "https://github.com/starkandwayne/safe"; license = licenses.mit; maintainers = with maintainers; [ eonpatapon ]; diff --git a/pkgs/tools/security/saml2aws/default.nix b/pkgs/tools/security/saml2aws/default.nix index a4246f3c4df4..beb2b89e20b4 100644 --- a/pkgs/tools/security/saml2aws/default.nix +++ b/pkgs/tools/security/saml2aws/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "CLI tool which enables you to login and retrieve AWS temporary credentials using a SAML IDP"; + mainProgram = "saml2aws"; homepage = "https://github.com/Versent/saml2aws"; license = licenses.mit; maintainers = [ lib.maintainers.pmyjavec ]; diff --git a/pkgs/tools/security/sammler/default.nix b/pkgs/tools/security/sammler/default.nix index edc04d86371e..7a7990aee1f9 100644 --- a/pkgs/tools/security/sammler/default.nix +++ b/pkgs/tools/security/sammler/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to extract useful data from documents"; + mainProgram = "sammler"; homepage = "https://github.com/redcode-labs/Sammler"; license = licenses.mit; maintainers = with maintainers; [ fab ] ++ teams.redcodelabs.members; diff --git a/pkgs/tools/security/sbctl/default.nix b/pkgs/tools/security/sbctl/default.nix index a5fe6cf6548c..ac3e2a4dd43f 100644 --- a/pkgs/tools/security/sbctl/default.nix +++ b/pkgs/tools/security/sbctl/default.nix @@ -38,6 +38,7 @@ buildGoModule rec { meta = with lib; { description = "Secure Boot key manager"; + mainProgram = "sbctl"; homepage = "https://github.com/Foxboron/sbctl"; license = licenses.mit; maintainers = with maintainers; [ raitobezarius ]; diff --git a/pkgs/tools/security/scilla/default.nix b/pkgs/tools/security/scilla/default.nix index 79f743ea0ce8..0484cfaa9f87 100644 --- a/pkgs/tools/security/scilla/default.nix +++ b/pkgs/tools/security/scilla/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Information gathering tool for DNS, ports and more"; + mainProgram = "scilla"; homepage = "https://github.com/edoardottt/scilla"; changelog = "https://github.com/edoardottt/scilla/releases/tag/v${version}"; license = with licenses; [ gpl3Plus ]; diff --git a/pkgs/tools/security/scorecard/default.nix b/pkgs/tools/security/scorecard/default.nix index b460f52aa292..265253bba51b 100644 --- a/pkgs/tools/security/scorecard/default.nix +++ b/pkgs/tools/security/scorecard/default.nix @@ -83,6 +83,7 @@ buildGoModule rec { homepage = "https://github.com/ossf/scorecard"; changelog = "https://github.com/ossf/scorecard/releases/tag/v${version}"; description = "Security health metrics for Open Source"; + mainProgram = "scorecard"; license = licenses.asl20; maintainers = with maintainers; [ jk developer-guy ]; }; diff --git a/pkgs/tools/security/scrypt/default.nix b/pkgs/tools/security/scrypt/default.nix index d2b8228f6511..d1deaa0ec41d 100644 --- a/pkgs/tools/security/scrypt/default.nix +++ b/pkgs/tools/security/scrypt/default.nix @@ -37,6 +37,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Encryption utility"; + mainProgram = "scrypt"; homepage = "https://www.tarsnap.com/scrypt.html"; license = licenses.bsd2; platforms = platforms.all; diff --git a/pkgs/tools/security/sdlookup/default.nix b/pkgs/tools/security/sdlookup/default.nix index 62d6dffdaa2b..d4b4e6b3ad54 100644 --- a/pkgs/tools/security/sdlookup/default.nix +++ b/pkgs/tools/security/sdlookup/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "IP lookups for open ports and vulnerabilities from internetdb.shodan.io"; + mainProgram = "sdlookup"; homepage = "https://github.com/j3ssie/sdlookup"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/secretscanner/default.nix b/pkgs/tools/security/secretscanner/default.nix index 794597707994..db23b87058f4 100644 --- a/pkgs/tools/security/secretscanner/default.nix +++ b/pkgs/tools/security/secretscanner/default.nix @@ -48,6 +48,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to find secrets and passwords in container images and file systems"; + mainProgram = "secretscanner"; homepage = "https://github.com/deepfence/SecretScanner"; changelog = "https://github.com/deepfence/SecretScanner/releases/tag/v${version}"; platforms = [ "x86_64-linux" ]; diff --git a/pkgs/tools/security/semgrep/semgrep-core.nix b/pkgs/tools/security/semgrep/semgrep-core.nix index 33e50837bf75..8986cba7d880 100644 --- a/pkgs/tools/security/semgrep/semgrep-core.nix +++ b/pkgs/tools/security/semgrep/semgrep-core.nix @@ -46,6 +46,7 @@ stdenvNoCC.mkDerivation rec { meta = common.meta // { description = common.meta.description + " - core binary"; + mainProgram = "semgrep-core"; sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; platforms = lib.attrNames common.core; }; diff --git a/pkgs/tools/security/shc/default.nix b/pkgs/tools/security/shc/default.nix index 0c1bf93ed1c6..f7f3f8a08883 100644 --- a/pkgs/tools/security/shc/default.nix +++ b/pkgs/tools/security/shc/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://neurobin.org/projects/softwares/unix/shc/"; description = "Shell Script Compiler"; + mainProgram = "shc"; platforms = lib.platforms.all; license = licenses.gpl3; }; diff --git a/pkgs/tools/security/shisho/default.nix b/pkgs/tools/security/shisho/default.nix index 5a5995f5da3b..ae61c2a249db 100644 --- a/pkgs/tools/security/shisho/default.nix +++ b/pkgs/tools/security/shisho/default.nix @@ -45,6 +45,7 @@ rustPlatform.buildRustPackage rec { homepage = "https://docs.shisho.dev/shisho/"; changelog = "https://docs.shisho.dev/changelog/"; description = "Lightweight static analyzer for several programming languages"; + mainProgram = "shisho"; longDescription = '' Shisho is a lightweight static code analyzer designed for developers and is the core engine for Shisho products. It is, so to speak, like a diff --git a/pkgs/tools/security/signify/default.nix b/pkgs/tools/security/signify/default.nix index ac8b2ace3af1..fe1c2bf45345 100644 --- a/pkgs/tools/security/signify/default.nix +++ b/pkgs/tools/security/signify/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "OpenBSD signing tool"; + mainProgram = "signify"; longDescription = '' OpenBSDs signing tool, which uses the Ed25519 public key signature system for fast signing and verification of messages using small public keys. diff --git a/pkgs/tools/security/slsa-verifier/default.nix b/pkgs/tools/security/slsa-verifier/default.nix index 5a6ab18a49ec..1ed192c732a1 100644 --- a/pkgs/tools/security/slsa-verifier/default.nix +++ b/pkgs/tools/security/slsa-verifier/default.nix @@ -36,6 +36,7 @@ buildGoModule rec { homepage = "https://github.com/slsa-framework/slsa-verifier"; changelog = "https://github.com/slsa-framework/slsa-verifier/releases/tag/v${version}"; description = "Verify provenance from SLSA compliant builders"; + mainProgram = "slsa-verifier"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ developer-guy mlieberman85 ]; }; diff --git a/pkgs/tools/security/smbmap/default.nix b/pkgs/tools/security/smbmap/default.nix index 698fd8b19448..772df0a66ef9 100644 --- a/pkgs/tools/security/smbmap/default.nix +++ b/pkgs/tools/security/smbmap/default.nix @@ -32,6 +32,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "SMB enumeration tool"; + mainProgram = "smbmap"; homepage = "https://github.com/ShawnDEvans/smbmap"; changelog = "https://github.com/ShawnDEvans/smbmap/releases/tag/v${version}"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/snallygaster/default.nix b/pkgs/tools/security/snallygaster/default.nix index 662b46700c78..2f9ad98743cb 100644 --- a/pkgs/tools/security/snallygaster/default.nix +++ b/pkgs/tools/security/snallygaster/default.nix @@ -31,6 +31,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Tool to scan for secret files on HTTP servers"; + mainProgram = "snallygaster"; homepage = "https://github.com/hannob/snallygaster"; license = licenses.cc0; maintainers = with maintainers; [ ]; diff --git a/pkgs/tools/security/snow/default.nix b/pkgs/tools/security/snow/default.nix index 6dce95f8cf0f..dbea144cb1ba 100644 --- a/pkgs/tools/security/snow/default.nix +++ b/pkgs/tools/security/snow/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Conceal messages in ASCII text by appending whitespace to the end of lines"; + mainProgram = "snow"; homepage = "http://www.darkside.com.au/snow/"; license = licenses.asl20; maintainers = with maintainers; [ siraben ]; diff --git a/pkgs/tools/security/snowcat/default.nix b/pkgs/tools/security/snowcat/default.nix index 429564f91f1e..a08b18edd147 100644 --- a/pkgs/tools/security/snowcat/default.nix +++ b/pkgs/tools/security/snowcat/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { homepage = "https://github.com/praetorian-inc/snowcat"; changelog = "https://github.com/praetorian-inc/snowcat/releases/tag/v${version}"; description = "A tool to audit the istio service mesh"; + mainProgram = "snowcat"; longDescription = '' Snowcat gathers and analyzes the configuration of an Istio cluster and audits it for potential violations of security best practices. diff --git a/pkgs/tools/security/spectre-meltdown-checker/default.nix b/pkgs/tools/security/spectre-meltdown-checker/default.nix index 529da4557915..55372ce4a6aa 100644 --- a/pkgs/tools/security/spectre-meltdown-checker/default.nix +++ b/pkgs/tools/security/spectre-meltdown-checker/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation (finalAttrs: { meta = { description = "Spectre & Meltdown vulnerability/mitigation checker for Linux"; + mainProgram = "spectre-meltdown-checker"; homepage = "https://github.com/speed47/spectre-meltdown-checker"; license = lib.licenses.gpl3; maintainers = [ lib.maintainers.dotlambda ]; diff --git a/pkgs/tools/security/spyre/default.nix b/pkgs/tools/security/spyre/default.nix index 3ec659373c7b..c9a4946b83d9 100644 --- a/pkgs/tools/security/spyre/default.nix +++ b/pkgs/tools/security/spyre/default.nix @@ -44,6 +44,7 @@ buildGoModule rec { meta = with lib; { description = "YARA-based IOC scanner"; + mainProgram = "spyre"; homepage = "https://github.com/spyre-project/spyre"; license = with licenses; [ lgpl3Plus ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/ssdeep/default.nix b/pkgs/tools/security/ssdeep/default.nix index 7647246369ff..a7c937f03ee0 100644 --- a/pkgs/tools/security/ssdeep/default.nix +++ b/pkgs/tools/security/ssdeep/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = { description = "A program for calculating fuzzy hashes"; + mainProgram = "ssdeep"; homepage = "http://www.ssdeep.sf.net"; license = lib.licenses.gpl2; platforms = lib.platforms.unix; diff --git a/pkgs/tools/security/ssh-audit/default.nix b/pkgs/tools/security/ssh-audit/default.nix index 54ec4e8f4ee1..d704832f248d 100644 --- a/pkgs/tools/security/ssh-audit/default.nix +++ b/pkgs/tools/security/ssh-audit/default.nix @@ -26,6 +26,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Tool for ssh server auditing"; + mainProgram = "ssh-audit"; homepage = "https://github.com/jtesta/ssh-audit"; changelog = "https://github.com/jtesta/ssh-audit/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/ssh-to-pgp/default.nix b/pkgs/tools/security/ssh-to-pgp/default.nix index c8735cffd5f2..15067063d328 100644 --- a/pkgs/tools/security/ssh-to-pgp/default.nix +++ b/pkgs/tools/security/ssh-to-pgp/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "Convert ssh private keys to PGP"; + mainProgram = "ssh-to-pgp"; homepage = "https://github.com/Mic92/ssh-to-pgp"; license = licenses.mit; maintainers = with maintainers; [ mic92 ]; diff --git a/pkgs/tools/security/sshchecker/default.nix b/pkgs/tools/security/sshchecker/default.nix index 6ed76d0dd4e2..6f904f52020d 100644 --- a/pkgs/tools/security/sshchecker/default.nix +++ b/pkgs/tools/security/sshchecker/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Dedicated SSH brute-forcing tool"; + mainProgram = "sshchecker"; longDescription = '' sshchecker is a fast dedicated SSH brute-forcing tool to check SSH login on the giving IP list. diff --git a/pkgs/tools/security/sshguard/default.nix b/pkgs/tools/security/sshguard/default.nix index 18e93023d779..2c5391ae4499 100644 --- a/pkgs/tools/security/sshguard/default.nix +++ b/pkgs/tools/security/sshguard/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Protects hosts from brute-force attacks"; + mainProgram = "sshguard"; longDescription = '' SSHGuard can read log messages from various input sources. Log messages are parsed, line-by-line, for recognized patterns. If an attack, such as several login failures within a few seconds, is detected, the offending IP is blocked. diff --git a/pkgs/tools/security/sshocker/default.nix b/pkgs/tools/security/sshocker/default.nix index bb8177ea3878..0ace4d9e2597 100644 --- a/pkgs/tools/security/sshocker/default.nix +++ b/pkgs/tools/security/sshocker/default.nix @@ -24,6 +24,7 @@ buildGoModule rec { meta = with lib; { description = "Tool for SSH, reverse sshfs and port forwarder"; + mainProgram = "sshocker"; homepage = "https://github.com/lima-vm/sshocker"; changelog = "https://github.com/lima-vm/sshocker/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/tools/security/sshuttle/default.nix b/pkgs/tools/security/sshuttle/default.nix index 8a92dbceb184..d937421adb01 100644 --- a/pkgs/tools/security/sshuttle/default.nix +++ b/pkgs/tools/security/sshuttle/default.nix @@ -50,6 +50,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Transparent proxy server that works as a poor man's VPN"; + mainProgram = "sshuttle"; longDescription = '' Forward connections over SSH, without requiring administrator access to the target network (though it does require Python 2.7, Python 3.5 or later at both ends). diff --git a/pkgs/tools/security/sslscan/default.nix b/pkgs/tools/security/sslscan/default.nix index 529b1bb1683e..43e2b8ace717 100644 --- a/pkgs/tools/security/sslscan/default.nix +++ b/pkgs/tools/security/sslscan/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tests SSL/TLS services and discover supported cipher suites"; + mainProgram = "sslscan"; homepage = "https://github.com/rbsec/sslscan"; changelog = "https://github.com/rbsec/sslscan/blob/${version}/Changelog"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/stacs/default.nix b/pkgs/tools/security/stacs/default.nix index 205d85f0622e..da66dca1cbd3 100644 --- a/pkgs/tools/security/stacs/default.nix +++ b/pkgs/tools/security/stacs/default.nix @@ -35,6 +35,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Static token and credential scanner"; + mainProgram = "stacs"; homepage = "https://github.com/stacscan/stacs"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/su-exec/default.nix b/pkgs/tools/security/su-exec/default.nix index 0e26d2430cb1..f9ab5d503f5b 100644 --- a/pkgs/tools/security/su-exec/default.nix +++ b/pkgs/tools/security/su-exec/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "switch user and group id and exec"; + mainProgram = "su-exec"; homepage = "https://github.com/ncopa/su-exec"; license = licenses.mit; maintainers = with maintainers; [ zimbatm ]; diff --git a/pkgs/tools/security/subjs/default.nix b/pkgs/tools/security/subjs/default.nix index 60ed306145a7..0bd3c170b656 100644 --- a/pkgs/tools/security/subjs/default.nix +++ b/pkgs/tools/security/subjs/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "Fetcher for Javascript files"; + mainProgram = "subjs"; longDescription = '' subjs fetches Javascript files from a list of URLs or subdomains. Analyzing Javascript files can help you find undocumented endpoints, diff --git a/pkgs/tools/security/swaggerhole/default.nix b/pkgs/tools/security/swaggerhole/default.nix index 8455867b4be2..507fde0b3086 100644 --- a/pkgs/tools/security/swaggerhole/default.nix +++ b/pkgs/tools/security/swaggerhole/default.nix @@ -30,6 +30,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to searching for secret on swaggerhub"; + mainProgram = "swaggerhole"; homepage = "https://github.com/Liodeus/swaggerHole"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/teler/default.nix b/pkgs/tools/security/teler/default.nix index 989743fda894..9232f4f88206 100644 --- a/pkgs/tools/security/teler/default.nix +++ b/pkgs/tools/security/teler/default.nix @@ -27,6 +27,7 @@ buildGoModule rec { meta = with lib; { description = "Real-time HTTP Intrusion Detection"; + mainProgram = "teler.app"; longDescription = '' teler is an real-time intrusion detection and threat alert based on web log that runs in a terminal with resources that diff --git a/pkgs/tools/security/tell-me-your-secrets/default.nix b/pkgs/tools/security/tell-me-your-secrets/default.nix index a85a62fdfcc3..1d723aae52df 100644 --- a/pkgs/tools/security/tell-me-your-secrets/default.nix +++ b/pkgs/tools/security/tell-me-your-secrets/default.nix @@ -42,6 +42,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tools to find secrets from various signatures"; + mainProgram = "tell-me-your-secrets"; homepage = "https://github.com/valayDave/tell-me-your-secrets"; changelog = "https://github.com/valayDave/tell-me-your-secrets/blob/${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/tools/security/terrascan/default.nix b/pkgs/tools/security/terrascan/default.nix index 864289f92f59..b44387032b2f 100644 --- a/pkgs/tools/security/terrascan/default.nix +++ b/pkgs/tools/security/terrascan/default.nix @@ -21,6 +21,7 @@ buildGoModule rec { meta = with lib; { description = "Detect compliance and security violations across Infrastructure"; + mainProgram = "terrascan"; longDescription = '' Detect compliance and security violations across Infrastructure as Code to mitigate risk before provisioning cloud native infrastructure. It contains diff --git a/pkgs/tools/security/threatest/default.nix b/pkgs/tools/security/threatest/default.nix index faa5977986fc..a53804f1d1fc 100644 --- a/pkgs/tools/security/threatest/default.nix +++ b/pkgs/tools/security/threatest/default.nix @@ -31,6 +31,7 @@ buildGoModule rec { meta = with lib; { description = "Framework for end-to-end testing threat detection rules"; + mainProgram = "threatest"; homepage = "https://github.com/DataDog/threatest"; changelog = "https://github.com/DataDog/threatest/releases/tag/v${version}"; license = licenses.asl20; diff --git a/pkgs/tools/security/tor/torsocks.nix b/pkgs/tools/security/tor/torsocks.nix index 6c5be8fcc7bd..ae1a42a944d3 100644 --- a/pkgs/tools/security/tor/torsocks.nix +++ b/pkgs/tools/security/tor/torsocks.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { meta = { description = "Wrapper to safely torify applications"; + mainProgram = "torsocks"; homepage = "https://gitlab.torproject.org/tpo/core/torsocks"; license = lib.licenses.gpl2; platforms = lib.platforms.unix; diff --git a/pkgs/tools/security/tpm2-abrmd/default.nix b/pkgs/tools/security/tpm2-abrmd/default.nix index 718355998794..da297f7a5b36 100644 --- a/pkgs/tools/security/tpm2-abrmd/default.nix +++ b/pkgs/tools/security/tpm2-abrmd/default.nix @@ -48,6 +48,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "TPM2 resource manager, accessible via D-Bus"; + mainProgram = "tpm2-abrmd"; homepage = "https://github.com/tpm2-software/tpm2-tools"; license = licenses.bsd3; platforms = platforms.linux; diff --git a/pkgs/tools/security/tracee/default.nix b/pkgs/tools/security/tracee/default.nix index eb1e8090b286..c1615c1ddf56 100644 --- a/pkgs/tools/security/tracee/default.nix +++ b/pkgs/tools/security/tracee/default.nix @@ -93,6 +93,7 @@ buildGoModule rec { homepage = "https://aquasecurity.github.io/tracee/latest/"; changelog = "https://github.com/aquasecurity/tracee/releases/tag/v${version}"; description = "Linux Runtime Security and Forensics using eBPF"; + mainProgram = "tracee"; longDescription = '' Tracee is a Runtime Security and forensics tool for Linux. It is using Linux eBPF technology to trace your system and applications at runtime, diff --git a/pkgs/tools/security/trousers/default.nix b/pkgs/tools/security/trousers/default.nix index 5502de2d6272..43d0941b47b6 100644 --- a/pkgs/tools/security/trousers/default.nix +++ b/pkgs/tools/security/trousers/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Trusted computing software stack"; + mainProgram = "tcsd"; homepage = "https://trousers.sourceforge.net/"; license = licenses.bsd3; maintainers = [ maintainers.ak ]; diff --git a/pkgs/tools/security/truecrack/default.nix b/pkgs/tools/security/truecrack/default.nix index 19ae85105657..1c0648f33bcb 100644 --- a/pkgs/tools/security/truecrack/default.nix +++ b/pkgs/tools/security/truecrack/default.nix @@ -41,6 +41,7 @@ gccStdenv.mkDerivation rec { meta = with lib; { description = "A brute-force password cracker for TrueCrypt volumes, optimized for Nvidia Cuda technology"; + mainProgram = "truecrack"; homepage = "https://gitlab.com/kalilinux/packages/truecrack"; broken = cudaSupport; license = licenses.gpl3Plus; diff --git a/pkgs/tools/security/trueseeing/default.nix b/pkgs/tools/security/trueseeing/default.nix index ef0026f870f0..182f33138b95 100644 --- a/pkgs/tools/security/trueseeing/default.nix +++ b/pkgs/tools/security/trueseeing/default.nix @@ -44,6 +44,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Non-decompiling Android vulnerability scanner"; + mainProgram = "trueseeing"; homepage = "https://github.com/alterakey/trueseeing"; changelog = "https://github.com/alterakey/trueseeing/releases/tag/v${version}"; license = with licenses; [ gpl3Plus ]; diff --git a/pkgs/tools/security/trustymail/default.nix b/pkgs/tools/security/trustymail/default.nix index 88d321708886..11133548bbd3 100644 --- a/pkgs/tools/security/trustymail/default.nix +++ b/pkgs/tools/security/trustymail/default.nix @@ -39,6 +39,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to scan domains and return data based on trustworthy email best practices"; + mainProgram = "trustymail"; homepage = "https://github.com/cisagov/trustymail"; changelog = "https://github.com/cisagov/trustymail/releases/tag/v${version}"; license = with licenses; [ cc0 ]; diff --git a/pkgs/tools/security/uddup/default.nix b/pkgs/tools/security/uddup/default.nix index 3516b4dcff8d..4d850b016f9f 100644 --- a/pkgs/tools/security/uddup/default.nix +++ b/pkgs/tools/security/uddup/default.nix @@ -29,6 +29,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool for de-duplication URLs"; + mainProgram = "uddup"; homepage = "https://github.com/rotemreiss/uddup"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/udpx/default.nix b/pkgs/tools/security/udpx/default.nix index 081c002a09e5..f240057a2b6d 100644 --- a/pkgs/tools/security/udpx/default.nix +++ b/pkgs/tools/security/udpx/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "Single-packet UDP scanner"; + mainProgram = "udpx"; homepage = "https://github.com/nullt3r/udpx"; changelog = "https://github.com/nullt3r/udpx/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/urlhunter/default.nix b/pkgs/tools/security/urlhunter/default.nix index c70c43027a25..9f3f6b5a09b0 100644 --- a/pkgs/tools/security/urlhunter/default.nix +++ b/pkgs/tools/security/urlhunter/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Recon tool that allows searching shortened URLs"; + mainProgram = "urlhunter"; longDescription = '' urlhunter is a recon tool that allows searching on URLs that are exposed via shortener services such as bit.ly and goo.gl. diff --git a/pkgs/tools/security/usbrip/default.nix b/pkgs/tools/security/usbrip/default.nix index aa09d759b8e4..219a4315fd14 100644 --- a/pkgs/tools/security/usbrip/default.nix +++ b/pkgs/tools/security/usbrip/default.nix @@ -37,6 +37,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to track the history of USB events"; + mainProgram = "usbrip"; homepage = "https://github.com/snovvcrash/usbrip"; license = with licenses; [ gpl3Plus ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/vals/default.nix b/pkgs/tools/security/vals/default.nix index 5000615b4eab..c6355bb3683b 100644 --- a/pkgs/tools/security/vals/default.nix +++ b/pkgs/tools/security/vals/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { description = "Helm-like configuration values loader with support for various sources"; + mainProgram = "vals"; license = licenses.asl20; homepage = "https://github.com/variantdev/vals"; changelog = "https://github.com/variantdev/vals/releases/v${version}"; diff --git a/pkgs/tools/security/vault-medusa/default.nix b/pkgs/tools/security/vault-medusa/default.nix index 382a732cf6b5..cd7cf537de58 100644 --- a/pkgs/tools/security/vault-medusa/default.nix +++ b/pkgs/tools/security/vault-medusa/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "A cli tool for importing and exporting Hashicorp Vault secrets"; + mainProgram = "medusa"; homepage = "https://github.com/jonasvinther/medusa"; license = licenses.mit; maintainers = with maintainers; [ onny ]; diff --git a/pkgs/tools/security/vault-ssh-plus/default.nix b/pkgs/tools/security/vault-ssh-plus/default.nix index a1c77e5d0a29..80cfa8674cb2 100644 --- a/pkgs/tools/security/vault-ssh-plus/default.nix +++ b/pkgs/tools/security/vault-ssh-plus/default.nix @@ -42,6 +42,7 @@ buildGoModule rec { homepage = "https://github.com/isometry/vault-ssh-plus"; changelog = "https://github.com/isometry/vault-ssh-plus/releases/tag/v${version}"; description = "Automatically use HashiCorp Vault SSH Client Key Signing with ssh(1)"; + mainProgram = "vssh"; license = licenses.mit; maintainers = with maintainers; [ lesuisse ]; }; diff --git a/pkgs/tools/security/verifpal/default.nix b/pkgs/tools/security/verifpal/default.nix index 3d47dfa3abc5..378bd4731a41 100644 --- a/pkgs/tools/security/verifpal/default.nix +++ b/pkgs/tools/security/verifpal/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = { homepage = "https://verifpal.com/"; description = "Cryptographic protocol analysis for students and engineers"; + mainProgram = "verifpal"; maintainers = with lib.maintainers; [ zimbatm ]; license = with lib.licenses; [ gpl3 ]; }; diff --git a/pkgs/tools/security/vexctl/default.nix b/pkgs/tools/security/vexctl/default.nix index 335da7f93acf..1bb56dbb0547 100644 --- a/pkgs/tools/security/vexctl/default.nix +++ b/pkgs/tools/security/vexctl/default.nix @@ -63,6 +63,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/chainguard-dev/vex/"; description = "A tool to attest VEX impact statements"; + mainProgram = "vexctl"; license = licenses.asl20; maintainers = with maintainers; [ jk ]; }; diff --git a/pkgs/tools/security/vulnix/default.nix b/pkgs/tools/security/vulnix/default.nix index 7f6d29891f0c..305c3dc2f9a9 100644 --- a/pkgs/tools/security/vulnix/default.nix +++ b/pkgs/tools/security/vulnix/default.nix @@ -55,6 +55,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "NixOS vulnerability scanner"; + mainProgram = "vulnix"; homepage = "https://github.com/flyingcircusio/vulnix"; license = licenses.bsd3; maintainers = with maintainers; [ ckauhaus ]; diff --git a/pkgs/tools/security/wad/default.nix b/pkgs/tools/security/wad/default.nix index 5dc81a7f56df..348a35ccbe10 100644 --- a/pkgs/tools/security/wad/default.nix +++ b/pkgs/tools/security/wad/default.nix @@ -30,6 +30,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool for detecting technologies used by web applications"; + mainProgram = "wad"; longDescription = '' WAD lets you analyze given URL(s) and detect technologies used by web application behind that URL, from the OS and web server level, to the diff --git a/pkgs/tools/security/waf-tester/default.nix b/pkgs/tools/security/waf-tester/default.nix index b8dd01ed19b8..47e5c2fbb5fb 100644 --- a/pkgs/tools/security/waf-tester/default.nix +++ b/pkgs/tools/security/waf-tester/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "Tool to test Web Application Firewalls (WAFs)"; + mainProgram = "waf-tester"; homepage = "https://github.com/jreisinger/waf-tester"; changelog = "https://github.com/jreisinger/waf-tester/releases/tag/v${version}"; license = licenses.gpl3Only; diff --git a/pkgs/tools/security/wafw00f/default.nix b/pkgs/tools/security/wafw00f/default.nix index 55d4b7591e38..d8d89a3e325a 100644 --- a/pkgs/tools/security/wafw00f/default.nix +++ b/pkgs/tools/security/wafw00f/default.nix @@ -29,6 +29,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Tool to identify and fingerprint Web Application Firewalls (WAF)"; + mainProgram = "wafw00f"; homepage = "https://github.com/EnableSecurity/wafw00f"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/web-eid-app/default.nix b/pkgs/tools/security/web-eid-app/default.nix index fd9c4cc319e7..067963e1aaff 100644 --- a/pkgs/tools/security/web-eid-app/default.nix +++ b/pkgs/tools/security/web-eid-app/default.nix @@ -33,6 +33,7 @@ mkDerivation rec { meta = with lib; { description = "signing and authentication operations with smart cards for the Web eID browser extension"; + mainProgram = "web-eid"; longDescription = '' The Web eID application performs cryptographic digital signing and authentication operations with electronic ID smart cards for the Web eID diff --git a/pkgs/tools/security/whatweb/default.nix b/pkgs/tools/security/whatweb/default.nix index 30d866da869a..fbe78834c826 100644 --- a/pkgs/tools/security/whatweb/default.nix +++ b/pkgs/tools/security/whatweb/default.nix @@ -42,6 +42,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Next generation web scanner"; + mainProgram = "whatweb"; homepage = "https://github.com/urbanadventurer/whatweb"; license = licenses.gpl2Only; maintainers = with maintainers; [ wolfangaukang ]; diff --git a/pkgs/tools/security/wipe/default.nix b/pkgs/tools/security/wipe/default.nix index 5ced99060fb7..0d9653f27918 100644 --- a/pkgs/tools/security/wipe/default.nix +++ b/pkgs/tools/security/wipe/default.nix @@ -13,6 +13,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Secure file wiping utility"; + mainProgram = "wipe"; homepage = "https://wipe.sourceforge.net/"; license = licenses.gpl2; platforms = platforms.all; diff --git a/pkgs/tools/security/xcat/default.nix b/pkgs/tools/security/xcat/default.nix index ea3390b38c74..bb5fc62831e7 100644 --- a/pkgs/tools/security/xcat/default.nix +++ b/pkgs/tools/security/xcat/default.nix @@ -37,6 +37,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "XPath injection tool"; + mainProgram = "xcat"; longDescription = '' xcat is an advanced tool for exploiting XPath injection vulnerabilities, featuring a comprehensive set of features to read the entire file being diff --git a/pkgs/tools/security/xorex/default.nix b/pkgs/tools/security/xorex/default.nix index a1a6e655996a..933ab05b6382 100644 --- a/pkgs/tools/security/xorex/default.nix +++ b/pkgs/tools/security/xorex/default.nix @@ -31,6 +31,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "XOR Key Extractor"; + mainProgram = "xorex"; homepage = "https://github.com/Neo23x0/xorex"; license = licenses.asl20; maintainers = [ ]; diff --git a/pkgs/tools/security/xsser/default.nix b/pkgs/tools/security/xsser/default.nix index 6c75f2e733f2..c5fab523166e 100644 --- a/pkgs/tools/security/xsser/default.nix +++ b/pkgs/tools/security/xsser/default.nix @@ -53,6 +53,7 @@ buildPythonApplication rec { meta = with lib; { description = "Automatic framework to detect, exploit and report XSS vulnerabilities in web-based applications"; + mainProgram = "xsser"; homepage = "https://xsser.03c8.net/"; license = licenses.gpl3Only; maintainers = with maintainers; [ emilytrau ]; diff --git a/pkgs/tools/security/xsubfind3r/default.nix b/pkgs/tools/security/xsubfind3r/default.nix index 7c5470a0715a..976624c16b60 100644 --- a/pkgs/tools/security/xsubfind3r/default.nix +++ b/pkgs/tools/security/xsubfind3r/default.nix @@ -23,6 +23,7 @@ buildGoModule rec { meta = with lib; { description = "CLI utility to find subdomains from curated passive online sources"; + mainProgram = "xsubfind3r"; homepage = "https://github.com/hueristiq/xsubfind3r"; changelog = "https://github.com/hueristiq/xsubfind3r/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/tools/security/yarGen/default.nix b/pkgs/tools/security/yarGen/default.nix index 4003c7e996ec..12b2567f340e 100644 --- a/pkgs/tools/security/yarGen/default.nix +++ b/pkgs/tools/security/yarGen/default.nix @@ -51,6 +51,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "A generator for YARA rules"; + mainProgram = "yarGen.py"; homepage = "https://github.com/Neo23x0/yarGen"; license = licenses.bsd3; maintainers = [ ]; diff --git a/pkgs/tools/security/yersinia/default.nix b/pkgs/tools/security/yersinia/default.nix index a913835743aa..ae2ca9babff2 100644 --- a/pkgs/tools/security/yersinia/default.nix +++ b/pkgs/tools/security/yersinia/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A framework for layer 2 attacks"; + mainProgram = "yersinia"; homepage = "https://github.com/tomac/yersinia"; license = licenses.gpl2Plus; maintainers = with maintainers; [ vdot0x23 ]; diff --git a/pkgs/tools/security/yubikey-agent/default.nix b/pkgs/tools/security/yubikey-agent/default.nix index 01e512e49bdd..24cd2d764267 100644 --- a/pkgs/tools/security/yubikey-agent/default.nix +++ b/pkgs/tools/security/yubikey-agent/default.nix @@ -37,6 +37,7 @@ buildGoModule rec { meta = with lib; { description = "A seamless ssh-agent for YubiKeys"; + mainProgram = "yubikey-agent"; license = licenses.bsd3; homepage = "https://filippo.io/yubikey-agent"; maintainers = with lib.maintainers; [ philandstuff rawkode ]; diff --git a/pkgs/tools/security/zdns/default.nix b/pkgs/tools/security/zdns/default.nix index 9b0c33f2802e..d67bb6d8e4c7 100644 --- a/pkgs/tools/security/zdns/default.nix +++ b/pkgs/tools/security/zdns/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "CLI DNS lookup tool"; + mainProgram = "zdns"; homepage = "https://github.com/zmap/zdns"; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/security/zgrab2/default.nix b/pkgs/tools/security/zgrab2/default.nix index c91c1b876099..155a6a28e721 100644 --- a/pkgs/tools/security/zgrab2/default.nix +++ b/pkgs/tools/security/zgrab2/default.nix @@ -29,6 +29,7 @@ buildGoModule rec { meta = with lib; { description = "Web application scanner"; + mainProgram = "zgrab2"; homepage = "https://github.com/zmap/zgrab2"; license = with licenses; [ asl20 isc ]; maintainers = with maintainers; [ fab juliusrickert ]; diff --git a/pkgs/tools/system/goreman/default.nix b/pkgs/tools/system/goreman/default.nix index 57d7b46f54cf..5b83b1885bc7 100644 --- a/pkgs/tools/system/goreman/default.nix +++ b/pkgs/tools/system/goreman/default.nix @@ -22,6 +22,7 @@ buildGoModule rec { meta = with lib; { description = "foreman clone written in go language"; + mainProgram = "goreman"; homepage = "https://github.com/mattn/goreman"; license = licenses.mit; maintainers = with maintainers; [ zimbatm ]; diff --git a/pkgs/tools/system/journalwatch/default.nix b/pkgs/tools/system/journalwatch/default.nix index b732af477169..8bb9b605a8f4 100644 --- a/pkgs/tools/system/journalwatch/default.nix +++ b/pkgs/tools/system/journalwatch/default.nix @@ -32,6 +32,7 @@ buildPythonPackage rec { meta = with lib; { description = "A tool to find error messages in the systemd journal"; + mainProgram = "journalwatch"; homepage = "https://github.com/The-Compiler/journalwatch"; license = licenses.gpl3Plus; maintainers = with maintainers; [ florianjacob ]; diff --git a/pkgs/tools/system/netdata/go.d.plugin.nix b/pkgs/tools/system/netdata/go.d.plugin.nix index ce53b278a9bd..910ad29c13fa 100644 --- a/pkgs/tools/system/netdata/go.d.plugin.nix +++ b/pkgs/tools/system/netdata/go.d.plugin.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { description = "Netdata orchestrator for data collection modules written in go"; + mainProgram = "godplugin"; homepage = "https://github.com/netdata/go.d.plugin"; changelog = "https://github.com/netdata/go.d.plugin/releases/tag/v${version}"; license = licenses.gpl3Only; diff --git a/pkgs/tools/system/rsyslog/default.nix b/pkgs/tools/system/rsyslog/default.nix index 37af3d87fefc..865c66926259 100644 --- a/pkgs/tools/system/rsyslog/default.nix +++ b/pkgs/tools/system/rsyslog/default.nix @@ -185,6 +185,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.rsyslog.com/"; description = "Enhanced syslog implementation"; + mainProgram = "rsyslogd"; changelog = "https://raw.githubusercontent.com/rsyslog/rsyslog/v${version}/ChangeLog"; license = licenses.gpl3Only; platforms = platforms.linux; diff --git a/pkgs/tools/system/zenith/default.nix b/pkgs/tools/system/zenith/default.nix index af8231e96c6d..7beaab4713a5 100644 --- a/pkgs/tools/system/zenith/default.nix +++ b/pkgs/tools/system/zenith/default.nix @@ -46,6 +46,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Sort of like top or htop but with zoom-able charts, network, and disk usage" + lib.optionalString nvidiaSupport ", and NVIDIA GPU usage"; + mainProgram = "zenith"; homepage = "https://github.com/bvaisvil/zenith"; license = licenses.mit; maintainers = with maintainers; [ wegank ]; diff --git a/pkgs/tools/text/abbreviate/default.nix b/pkgs/tools/text/abbreviate/default.nix index aedf4d173006..2f1e5bc812ab 100644 --- a/pkgs/tools/text/abbreviate/default.nix +++ b/pkgs/tools/text/abbreviate/default.nix @@ -32,6 +32,7 @@ buildGoModule rec { meta = with lib; { description = "Shorten your strings using common abbreviations"; + mainProgram = "abbreviate"; homepage = "https://github.com/dnnrly/abbreviate"; changelog = "https://github.com/dnnrly/abbreviate/releases/tag/${src.rev}"; license = licenses.asl20; diff --git a/pkgs/tools/text/agrep/default.nix b/pkgs/tools/text/agrep/default.nix index 9fe158b426ae..39de33badd77 100644 --- a/pkgs/tools/text/agrep/default.nix +++ b/pkgs/tools/text/agrep/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Approximate grep for fast fuzzy string searching"; + mainProgram = "agrep"; homepage = "https://www.tgries.de/agrep/"; license = licenses.isc; platforms = with platforms; linux ++ darwin; diff --git a/pkgs/tools/text/aha/default.nix b/pkgs/tools/text/aha/default.nix index 4ac07cef7eed..2344602a276c 100644 --- a/pkgs/tools/text/aha/default.nix +++ b/pkgs/tools/text/aha/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "ANSI HTML Adapter"; + mainProgram = "aha"; longDescription = '' aha takes ANSI SGR-coloured input and produces W3C-conformant HTML code. ''; diff --git a/pkgs/tools/text/align/default.nix b/pkgs/tools/text/align/default.nix index e3287b762e34..844b03b2c8c1 100644 --- a/pkgs/tools/text/align/default.nix +++ b/pkgs/tools/text/align/default.nix @@ -16,6 +16,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/Guitarbum722/align"; description = "A general purpose application and library for aligning text"; + mainProgram = "align"; maintainers = with maintainers; [ hrhino ]; license = licenses.mit; }; diff --git a/pkgs/tools/text/anew/default.nix b/pkgs/tools/text/anew/default.nix index 2312d1dc69bf..58b6059a252c 100644 --- a/pkgs/tools/text/anew/default.nix +++ b/pkgs/tools/text/anew/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "A tool for adding new lines to files, skipping duplicates"; + mainProgram = "anew"; homepage = "https://github.com/tomnomnom/anew"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/tools/text/anewer/default.nix b/pkgs/tools/text/anewer/default.nix index e41b12cee447..69c4eb39b351 100644 --- a/pkgs/tools/text/anewer/default.nix +++ b/pkgs/tools/text/anewer/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Append lines from stdin to a file if they don't already exist in the file"; + mainProgram = "anewer"; homepage = "https://github.com/ysf/anewer"; license = licenses.gpl3Plus; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/tools/text/ansifilter/default.nix b/pkgs/tools/text/ansifilter/default.nix index 3a4751c63f9f..e2fd695d41ec 100644 --- a/pkgs/tools/text/ansifilter/default.nix +++ b/pkgs/tools/text/ansifilter/default.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Tool to convert ANSI to other formats"; + mainProgram = "ansifilter"; longDescription = '' Tool to remove ANSI or convert them to another format (HTML, TeX, LaTeX, RTF, Pango or BBCode) diff --git a/pkgs/tools/text/ascii/default.nix b/pkgs/tools/text/ascii/default.nix index 613288079d34..ad9884faa17d 100644 --- a/pkgs/tools/text/ascii/default.nix +++ b/pkgs/tools/text/ascii/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Interactive ASCII name and synonym chart"; + mainProgram = "ascii"; homepage = "http://www.catb.org/~esr/ascii/"; license = licenses.bsd3; platforms = platforms.all; diff --git a/pkgs/tools/text/asciigraph/default.nix b/pkgs/tools/text/asciigraph/default.nix index 17c25874f54d..518d7ce549c7 100644 --- a/pkgs/tools/text/asciigraph/default.nix +++ b/pkgs/tools/text/asciigraph/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/guptarohit/asciigraph"; description = "Lightweight ASCII line graph ╭┈╯ command line app"; + mainProgram = "asciigraph"; license = licenses.bsd3; maintainers = with maintainers; [ mmahut ]; }; diff --git a/pkgs/tools/text/autocorrect/default.nix b/pkgs/tools/text/autocorrect/default.nix index 676eec70076c..2e51672363f4 100644 --- a/pkgs/tools/text/autocorrect/default.nix +++ b/pkgs/tools/text/autocorrect/default.nix @@ -28,6 +28,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A linter and formatter for help you improve copywriting, to correct spaces, punctuations between CJK (Chinese, Japanese, Korean)"; + mainProgram = "autocorrect"; homepage = "https://huacnlee.github.io/autocorrect"; changelog = "https://github.com/huacnlee/autocorrect/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/text/base16384/default.nix b/pkgs/tools/text/base16384/default.nix index c9937fa5cd69..7111eece4295 100644 --- a/pkgs/tools/text/base16384/default.nix +++ b/pkgs/tools/text/base16384/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Encode binary files to printable utf16be"; + mainProgram = "base16384"; homepage = "https://github.com/fumiama/base16384"; license = licenses.gpl3Plus; maintainers = with maintainers; [ aleksana ]; diff --git a/pkgs/tools/text/bashblog/default.nix b/pkgs/tools/text/bashblog/default.nix index 0080ed0f7e1c..0159e20de99a 100644 --- a/pkgs/tools/text/bashblog/default.nix +++ b/pkgs/tools/text/bashblog/default.nix @@ -54,6 +54,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "A single Bash script to create blogs"; + mainProgram = "bashblog"; homepage = "https://github.com/cfenollosa/bashblog"; license = licenses.gpl3Only; platforms = platforms.unix; diff --git a/pkgs/tools/text/book-summary/default.nix b/pkgs/tools/text/book-summary/default.nix index a1bbe710273c..374c107f9a3d 100644 --- a/pkgs/tools/text/book-summary/default.nix +++ b/pkgs/tools/text/book-summary/default.nix @@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Book auto-summary for gitbook and mdBook"; + mainProgram = "book-summary"; homepage = "https://github.com/dvogt23/book-summary"; license = licenses.mit; maintainers = with teams; iog.members; diff --git a/pkgs/tools/text/boxes/default.nix b/pkgs/tools/text/boxes/default.nix index 5340c5eccff9..fe78492b36a0 100644 --- a/pkgs/tools/text/boxes/default.nix +++ b/pkgs/tools/text/boxes/default.nix @@ -35,6 +35,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A command line program which draws, removes, and repairs ASCII art boxes"; + mainProgram = "boxes"; homepage = "https://boxes.thomasjensen.com"; license = licenses.gpl2; maintainers = with maintainers; [ waiting-for-dev ]; diff --git a/pkgs/tools/text/catdocx/default.nix b/pkgs/tools/text/catdocx/default.nix index c762e15c80e2..27eb964eb3c2 100644 --- a/pkgs/tools/text/catdocx/default.nix +++ b/pkgs/tools/text/catdocx/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Extracts plain text from docx files"; + mainProgram = "catdocx"; homepage = "https://github.com/jncraton/catdocx"; license = with licenses; [ bsd3 ]; maintainers = [ maintainers.michalrus ]; diff --git a/pkgs/tools/text/cconv/default.nix b/pkgs/tools/text/cconv/default.nix index de8405aed43b..86aaf2d5f7c6 100644 --- a/pkgs/tools/text/cconv/default.nix +++ b/pkgs/tools/text/cconv/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A iconv based simplified-traditional chinese conversion tool"; + mainProgram = "cconv"; homepage = "https://github.com/xiaoyjy/cconv"; license = licenses.mit; platforms = platforms.all; diff --git a/pkgs/tools/text/chars/default.nix b/pkgs/tools/text/chars/default.nix index 74083feb68f5..509953e8059b 100644 --- a/pkgs/tools/text/chars/default.nix +++ b/pkgs/tools/text/chars/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Commandline tool to display information about unicode characters"; + mainProgram = "chars"; homepage = "https://github.com/antifuchs/chars"; license = licenses.mit; maintainers = with maintainers; [ bbigras ]; diff --git a/pkgs/tools/text/choose/default.nix b/pkgs/tools/text/choose/default.nix index f40fcd1e3b6d..b765a40f5496 100644 --- a/pkgs/tools/text/choose/default.nix +++ b/pkgs/tools/text/choose/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A human-friendly and fast alternative to cut and (sometimes) awk"; + mainProgram = "choose"; homepage = "https://github.com/theryangeary/choose"; license = licenses.gpl3; maintainers = with maintainers; [ sohalt ]; diff --git a/pkgs/tools/text/cidrgrep/default.nix b/pkgs/tools/text/cidrgrep/default.nix index 0117374dadef..ddc67097fb28 100644 --- a/pkgs/tools/text/cidrgrep/default.nix +++ b/pkgs/tools/text/cidrgrep/default.nix @@ -19,6 +19,7 @@ buildGoModule { meta = { description = "Like grep but for IPv4 CIDRs"; + mainProgram = "cidrgrep"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ das_j ]; }; diff --git a/pkgs/tools/text/cmigemo/default.nix b/pkgs/tools/text/cmigemo/default.nix index 179db9c337dd..09810f1e0836 100644 --- a/pkgs/tools/text/cmigemo/default.nix +++ b/pkgs/tools/text/cmigemo/default.nix @@ -30,6 +30,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A tool that supports Japanese incremental search with Romaji"; + mainProgram = "cmigemo"; homepage = "https://www.kaoriya.net/software/cmigemo"; license = licenses.mit; maintainers = [ maintainers.cohei ]; diff --git a/pkgs/tools/text/coloursum/default.nix b/pkgs/tools/text/coloursum/default.nix index 93ebf6c309e4..78f583e3f73d 100644 --- a/pkgs/tools/text/coloursum/default.nix +++ b/pkgs/tools/text/coloursum/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Colourise your checksum output"; + mainProgram = "coloursum"; homepage = "https://github.com/ticky/coloursum"; license = licenses.mit; maintainers = with maintainers; [ fgaz ]; diff --git a/pkgs/tools/text/comrak/default.nix b/pkgs/tools/text/comrak/default.nix index 3b9af32c2833..e2a9633aa15a 100644 --- a/pkgs/tools/text/comrak/default.nix +++ b/pkgs/tools/text/comrak/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A CommonMark-compatible GitHub Flavored Markdown parser and formatter"; + mainProgram = "comrak"; homepage = "https://github.com/kivikakk/comrak"; changelog = "https://github.com/kivikakk/comrak/blob/${version}/changelog.txt"; license = licenses.bsd2; diff --git a/pkgs/tools/text/convertlit/default.nix b/pkgs/tools/text/convertlit/default.nix index 4225934d2d4e..23112e83b8c8 100644 --- a/pkgs/tools/text/convertlit/default.nix +++ b/pkgs/tools/text/convertlit/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = { homepage = "http://www.convertlit.com/"; description = "A tool for converting Microsoft Reader ebooks to more open formats"; + mainProgram = "clit"; license = lib.licenses.gpl2; platforms = lib.platforms.linux; }; diff --git a/pkgs/tools/text/copyright-update/default.nix b/pkgs/tools/text/copyright-update/default.nix index e0318c20a0e6..72cecf1e9246 100644 --- a/pkgs/tools/text/copyright-update/default.nix +++ b/pkgs/tools/text/copyright-update/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/jaalto/project--copyright-update"; description = "Updates the copyright information in a set of files"; + mainProgram = "copyright-update"; license = licenses.gpl2Plus; platforms = platforms.all; maintainers = [ maintainers.rycee ]; diff --git a/pkgs/tools/text/csvdiff/default.nix b/pkgs/tools/text/csvdiff/default.nix index 236993b2dd25..b7e68a709122 100644 --- a/pkgs/tools/text/csvdiff/default.nix +++ b/pkgs/tools/text/csvdiff/default.nix @@ -19,6 +19,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://aswinkarthik.github.io/csvdiff/"; description = "A fast diff tool for comparing csv files"; + mainProgram = "csvdiff"; license = licenses.mit; maintainers = with maintainers; [ turion ]; }; diff --git a/pkgs/tools/text/csview/default.nix b/pkgs/tools/text/csview/default.nix index 8f5ed7989f47..49bd81c7e01e 100644 --- a/pkgs/tools/text/csview/default.nix +++ b/pkgs/tools/text/csview/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A high performance csv viewer with cjk/emoji support"; + mainProgram = "csview"; homepage = "https://github.com/wfxr/csview"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/tools/text/dadadodo/default.nix b/pkgs/tools/text/dadadodo/default.nix index a70a7efda72e..dc1a18ae23f2 100644 --- a/pkgs/tools/text/dadadodo/default.nix +++ b/pkgs/tools/text/dadadodo/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Markov chain-based text generator"; + mainProgram = "dadadodo"; homepage = "http://www.jwz.org/dadadodo"; maintainers = with maintainers; [ pSub ]; platforms = platforms.all; diff --git a/pkgs/tools/text/dfmt/default.nix b/pkgs/tools/text/dfmt/default.nix index f09ce0b45256..c31335e560f1 100644 --- a/pkgs/tools/text/dfmt/default.nix +++ b/pkgs/tools/text/dfmt/default.nix @@ -20,6 +20,7 @@ buildPythonApplication rec { meta = with lib; { description = "Format paragraphs, comments and doc strings"; + mainProgram = "dfmt"; homepage = "https://github.com/dmerejkowsky/dfmt"; license = licenses.bsd3; maintainers = with maintainers; [ cole-h ]; diff --git a/pkgs/tools/text/diffr/default.nix b/pkgs/tools/text/diffr/default.nix index ee12b39c3ec3..9abc2fac5150 100644 --- a/pkgs/tools/text/diffr/default.nix +++ b/pkgs/tools/text/diffr/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Yet another diff highlighting tool"; + mainProgram = "diffr"; homepage = "https://github.com/mookid/diffr"; license = with licenses; [ mit ]; maintainers = with maintainers; [ davidtwco ]; diff --git a/pkgs/tools/text/diffstat/default.nix b/pkgs/tools/text/diffstat/default.nix index 0b10014e0e6e..0e5b8d9a7174 100644 --- a/pkgs/tools/text/diffstat/default.nix +++ b/pkgs/tools/text/diffstat/default.nix @@ -14,6 +14,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Read output of diff and display a histogram of the changes"; + mainProgram = "diffstat"; longDescription = '' diffstat reads the output of diff and displays a histogram of the insertions, deletions, and modifications per-file. It is useful for diff --git a/pkgs/tools/text/dirdiff/default.nix b/pkgs/tools/text/dirdiff/default.nix index 437743e66ef6..c0347aface09 100644 --- a/pkgs/tools/text/dirdiff/default.nix +++ b/pkgs/tools/text/dirdiff/default.nix @@ -52,6 +52,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Graphical directory tree diff and merge tool"; + mainProgram = "dirdiff"; longDescription = '' Dirdiff is a graphical tool for displaying the differences between directory trees and for merging changes from one tree into another. diff --git a/pkgs/tools/text/each/default.nix b/pkgs/tools/text/each/default.nix index 02974030b269..6f24ee66fe40 100644 --- a/pkgs/tools/text/each/default.nix +++ b/pkgs/tools/text/each/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = " A better way of working with structured data on the command line"; + mainProgram = "each"; homepage = "https://github.com/arraypad/each"; license = with licenses; [ mit ]; maintainers = with maintainers; [ thiagokokada ]; diff --git a/pkgs/tools/text/epubcheck/default.nix b/pkgs/tools/text/epubcheck/default.nix index fd84abb0ef06..abd2803508bb 100644 --- a/pkgs/tools/text/epubcheck/default.nix +++ b/pkgs/tools/text/epubcheck/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/w3c/epubcheck"; description = "Validation tool for EPUB"; + mainProgram = "epubcheck"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = with licenses; [ asl20 bsd3 mpl10 w3c ]; platforms = platforms.all; diff --git a/pkgs/tools/text/esh/default.nix b/pkgs/tools/text/esh/default.nix index a1d6db2a7c2d..abbeb29234da 100644 --- a/pkgs/tools/text/esh/default.nix +++ b/pkgs/tools/text/esh/default.nix @@ -32,6 +32,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Simple templating engine based on shell"; + mainProgram = "esh"; homepage = "https://github.com/jirutka/esh"; license = licenses.mit; maintainers = with maintainers; [ mnacamura ]; diff --git a/pkgs/tools/text/fanficfare/default.nix b/pkgs/tools/text/fanficfare/default.nix index 149082cc995f..adf141514038 100644 --- a/pkgs/tools/text/fanficfare/default.nix +++ b/pkgs/tools/text/fanficfare/default.nix @@ -30,6 +30,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Tool for making eBooks from fanfiction web sites"; + mainProgram = "fanficfare"; homepage = "https://github.com/JimmXinu/FanFicFare"; license = licenses.gpl3; platforms = platforms.unix; diff --git a/pkgs/tools/text/fastmod/default.nix b/pkgs/tools/text/fastmod/default.nix index f8317d70d778..53d68a7723a6 100644 --- a/pkgs/tools/text/fastmod/default.nix +++ b/pkgs/tools/text/fastmod/default.nix @@ -22,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A utility that makes sweeping changes to large, shared code bases"; + mainProgram = "fastmod"; homepage = "https://github.com/facebookincubator/fastmod"; license = licenses.asl20; maintainers = with maintainers; [ jduan ]; diff --git a/pkgs/tools/text/frangipanni/default.nix b/pkgs/tools/text/frangipanni/default.nix index bb144b8f43e1..f95c6b4f1636 100644 --- a/pkgs/tools/text/frangipanni/default.nix +++ b/pkgs/tools/text/frangipanni/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Convert lines of text into a tree structure"; + mainProgram = "frangipanni"; homepage = "https://github.com/birchb1024/frangipanni"; license = licenses.mit; maintainers = with maintainers; [ siraben ]; diff --git a/pkgs/tools/text/frawk/default.nix b/pkgs/tools/text/frawk/default.nix index 278f87d29692..46f73ebd0b9c 100644 --- a/pkgs/tools/text/frawk/default.nix +++ b/pkgs/tools/text/frawk/default.nix @@ -36,6 +36,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A small programming language for writing short programs processing textual data"; + mainProgram = "frawk"; homepage = "https://github.com/ezrosent/frawk"; changelog = "https://github.com/ezrosent/frawk/releases/tag/v${version}"; license = with licenses; [ mit /* or */ asl20 ]; diff --git a/pkgs/tools/text/frogmouth/default.nix b/pkgs/tools/text/frogmouth/default.nix index 68d63dc7aa5f..e7c9916c1339 100644 --- a/pkgs/tools/text/frogmouth/default.nix +++ b/pkgs/tools/text/frogmouth/default.nix @@ -36,6 +36,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "A Markdown browser for your terminal"; + mainProgram = "frogmouth"; homepage = "https://github.com/Textualize/frogmouth"; changelog = "https://github.com/Textualize/frogmouth/blob/${src.rev}/ChangeLog.md"; license = licenses.mit; diff --git a/pkgs/tools/text/fst/default.nix b/pkgs/tools/text/fst/default.nix index d08d29376b74..0ad2075de08f 100644 --- a/pkgs/tools/text/fst/default.nix +++ b/pkgs/tools/text/fst/default.nix @@ -31,6 +31,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Represent large sets and maps compactly with finite state transducers"; + mainProgram = "fst"; homepage = "https://github.com/BurntSushi/fst"; license = with licenses; [ unlicense /* or */ mit ]; maintainers = with maintainers; [ rmcgibbo ]; diff --git a/pkgs/tools/text/gawk/gawkextlib.nix b/pkgs/tools/text/gawk/gawkextlib.nix index be50b93a7e2f..86bf2beaa91d 100644 --- a/pkgs/tools/text/gawk/gawkextlib.nix +++ b/pkgs/tools/text/gawk/gawkextlib.nix @@ -45,6 +45,7 @@ let meta = with lib; { homepage = "https://sourceforge.net/projects/gawkextlib/"; description = "Dynamically loaded extension libraries for GNU AWK"; + mainProgram = "xmlgawk"; longDescription = '' The gawkextlib project provides several extension libraries for gawk (GNU AWK), as well as libgawkextlib containing some APIs that diff --git a/pkgs/tools/text/gjo/default.nix b/pkgs/tools/text/gjo/default.nix index 99d988797bfc..d7fcd3a0845a 100644 --- a/pkgs/tools/text/gjo/default.nix +++ b/pkgs/tools/text/gjo/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "Small utility to create JSON objects"; + mainProgram = "gjo"; homepage = "https://github.com/skanehira/gjo"; license = licenses.mit; maintainers = with maintainers; [ doronbehar ]; diff --git a/pkgs/tools/text/glogg/default.nix b/pkgs/tools/text/glogg/default.nix index 855490df4ab4..a83baf4aa761 100644 --- a/pkgs/tools/text/glogg/default.nix +++ b/pkgs/tools/text/glogg/default.nix @@ -29,6 +29,7 @@ mkDerivation rec { meta = with lib; { description = "The fast, smart log explorer"; + mainProgram = "glogg"; longDescription = '' A multi-platform GUI application to browse and search through long or complex log files. It is designed with programmers and system administrators in mind. glogg can be seen as a graphical, interactive combination of grep and less. ''; diff --git a/pkgs/tools/text/gnupatch/default.nix b/pkgs/tools/text/gnupatch/default.nix index f4cb20202f0b..c19e087ea547 100644 --- a/pkgs/tools/text/gnupatch/default.nix +++ b/pkgs/tools/text/gnupatch/default.nix @@ -42,6 +42,7 @@ stdenv.mkDerivation rec { meta = { description = "GNU Patch, a program to apply differences to files"; + mainProgram = "patch"; longDescription = '' GNU Patch takes a patch file containing a difference listing diff --git a/pkgs/tools/text/gtranslator/default.nix b/pkgs/tools/text/gtranslator/default.nix index 5c9c7c868738..8795ff33806a 100644 --- a/pkgs/tools/text/gtranslator/default.nix +++ b/pkgs/tools/text/gtranslator/default.nix @@ -60,6 +60,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "GNOME translation making program"; + mainProgram = "gtranslator"; homepage = "https://wiki.gnome.org/Apps/Gtranslator"; license = licenses.gpl3Plus; maintainers = with maintainers; [ ]; diff --git a/pkgs/tools/text/gtree/default.nix b/pkgs/tools/text/gtree/default.nix index 266b807c3f60..5e0eb017a6e2 100644 --- a/pkgs/tools/text/gtree/default.nix +++ b/pkgs/tools/text/gtree/default.nix @@ -37,6 +37,7 @@ buildGoModule rec { meta = with lib; { description = "Generate directory trees and directories using Markdown or programmatically"; + mainProgram = "gtree"; homepage = "https://github.com/ddddddO/gtree"; changelog = "https://github.com/ddddddO/gtree/releases/tag/${src.rev}"; license = licenses.bsd2; diff --git a/pkgs/tools/text/gucci/default.nix b/pkgs/tools/text/gucci/default.nix index f866f74710a9..324dc56ca264 100644 --- a/pkgs/tools/text/gucci/default.nix +++ b/pkgs/tools/text/gucci/default.nix @@ -31,6 +31,7 @@ buildGoModule rec { meta = with lib; { description = "A simple CLI templating tool written in golang"; + mainProgram = "gucci"; homepage = "https://github.com/noqcks/gucci"; license = licenses.mit; maintainers = with maintainers; [ braydenjw ]; diff --git a/pkgs/tools/text/hcledit/default.nix b/pkgs/tools/text/hcledit/default.nix index d5b2fb0cc0a2..a39802d02822 100644 --- a/pkgs/tools/text/hcledit/default.nix +++ b/pkgs/tools/text/hcledit/default.nix @@ -18,6 +18,7 @@ buildGoModule rec { meta = with lib; { description = "A command line editor for HCL"; + mainProgram = "hcledit"; homepage = "https://github.com/minamijoyo/hcledit"; license = licenses.mit; maintainers = with maintainers; [ aleksana ]; diff --git a/pkgs/tools/text/highlight/default.nix b/pkgs/tools/text/highlight/default.nix index 7e02f3f60ceb..fc6b12fa6b16 100644 --- a/pkgs/tools/text/highlight/default.nix +++ b/pkgs/tools/text/highlight/default.nix @@ -51,6 +51,7 @@ let meta = with lib; { description = "Source code highlighting tool"; + mainProgram = "highlight"; homepage = "http://www.andre-simon.de/doku/highlight/en/highlight.php"; platforms = platforms.unix; maintainers = with maintainers; [ willibutz ]; diff --git a/pkgs/tools/text/html2text/default.nix b/pkgs/tools/text/html2text/default.nix index 7ef802e925fb..4bcf02b5c848 100644 --- a/pkgs/tools/text/html2text/default.nix +++ b/pkgs/tools/text/html2text/default.nix @@ -28,6 +28,7 @@ stdenv.mkDerivation rec { meta = { description = "Convert HTML to plain text"; + mainProgram = "html2text"; homepage = "http://www.mbayer.de/html2text/"; license = lib.licenses.gpl2Plus; platforms = lib.platforms.unix; diff --git a/pkgs/tools/text/huniq/default.nix b/pkgs/tools/text/huniq/default.nix index a1d30d2fb11d..3bb1252ae0c6 100644 --- a/pkgs/tools/text/huniq/default.nix +++ b/pkgs/tools/text/huniq/default.nix @@ -13,6 +13,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Command line utility to remove duplicates from the given input"; + mainProgram = "huniq"; homepage = "https://github.com/koraa/huniq"; license = licenses.bsd3; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/tools/text/hyx/default.nix b/pkgs/tools/text/hyx/default.nix index f599d067f094..3cbcac20966a 100644 --- a/pkgs/tools/text/hyx/default.nix +++ b/pkgs/tools/text/hyx/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "minimalistic but powerful Linux console hex editor"; + mainProgram = "hyx"; homepage = "https://yx7.cc/code/"; license = licenses.mit; maintainers = with maintainers; [ fpletz ]; diff --git a/pkgs/tools/text/invoice2data/default.nix b/pkgs/tools/text/invoice2data/default.nix index aed1bd2afd50..b2179d3f63b2 100644 --- a/pkgs/tools/text/invoice2data/default.nix +++ b/pkgs/tools/text/invoice2data/default.nix @@ -57,6 +57,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Data extractor for PDF invoices"; + mainProgram = "invoice2data"; homepage = "https://github.com/invoice-x/invoice2data"; license = licenses.mit; maintainers = with maintainers; [ psyanticy ]; diff --git a/pkgs/tools/text/jen/default.nix b/pkgs/tools/text/jen/default.nix index 2361c1aafc1b..0ed0548c0d50 100644 --- a/pkgs/tools/text/jen/default.nix +++ b/pkgs/tools/text/jen/default.nix @@ -22,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple CLI generation tool for creating large datasets"; + mainProgram = "jen"; homepage = "https://github.com/whitfin/jen"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/tools/text/jotdown/default.nix b/pkgs/tools/text/jotdown/default.nix index e39209cfe106..425ad6bb050b 100644 --- a/pkgs/tools/text/jotdown/default.nix +++ b/pkgs/tools/text/jotdown/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A minimal Djot CLI"; + mainProgram = "jotdown"; homepage = "https://github.com/hellux/jotdown"; changelog = "https://github.com/hellux/jotdown/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/tools/text/jsawk/default.nix b/pkgs/tools/text/jsawk/default.nix index 2f21900b8d01..9547e65dc43d 100644 --- a/pkgs/tools/text/jsawk/default.nix +++ b/pkgs/tools/text/jsawk/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation { meta = { description = "Like awk, but for JSON"; + mainProgram = "jsawk"; homepage = "https://github.com/micha/jsawk"; license = lib.licenses.publicDomain; maintainers = with lib.maintainers; [ puffnfresh ]; diff --git a/pkgs/tools/text/jumanpp/default.nix b/pkgs/tools/text/jumanpp/default.nix index 348c785ab28d..af141c873b3b 100644 --- a/pkgs/tools/text/jumanpp/default.nix +++ b/pkgs/tools/text/jumanpp/default.nix @@ -36,6 +36,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A Japanese morphological analyser using a recurrent neural network language model (RNNLM)"; + mainProgram = "jumanpp"; longDescription = '' JUMAN++ is a new morphological analyser that considers semantic plausibility of word sequences by using a recurrent neural network diff --git a/pkgs/tools/text/kdiff3/default.nix b/pkgs/tools/text/kdiff3/default.nix index f9f55bc28851..73fa2ed1baea 100644 --- a/pkgs/tools/text/kdiff3/default.nix +++ b/pkgs/tools/text/kdiff3/default.nix @@ -29,6 +29,7 @@ stdenv.mkDerivation (finalAttrs: { meta = with lib; { description = "Compares and merges 2 or 3 files or directories"; + mainProgram = "kdiff3"; homepage = "https://invent.kde.org/sdk/kdiff3"; license = licenses.gpl2Plus; maintainers = with maintainers; [ peterhoeg ]; diff --git a/pkgs/tools/text/l2md/default.nix b/pkgs/tools/text/l2md/default.nix index 08ec219690f6..d8bb04378f07 100644 --- a/pkgs/tools/text/l2md/default.nix +++ b/pkgs/tools/text/l2md/default.nix @@ -18,6 +18,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Convert public-inbox archives to maildir messages"; + mainProgram = "l2md"; longDescription = '' Quick and dirty hack to import lore.kernel.org list archives via git, to export them in maildir format or through a pipe, and to keep them diff --git a/pkgs/tools/text/mairix/default.nix b/pkgs/tools/text/mairix/default.nix index aa58ecdd35a9..3528a054b291 100644 --- a/pkgs/tools/text/mairix/default.nix +++ b/pkgs/tools/text/mairix/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { homepage = "http://www.rc0.org.uk/mairix"; license = lib.licenses.gpl2Plus; description = "Program for indexing and searching email messages stored in maildir, MH or mbox"; + mainProgram = "mairix"; maintainers = with lib.maintainers; [viric]; platforms = with lib.platforms; all; }; diff --git a/pkgs/tools/text/mark/default.nix b/pkgs/tools/text/mark/default.nix index 33d6072c8c81..ca42b2687edc 100644 --- a/pkgs/tools/text/mark/default.nix +++ b/pkgs/tools/text/mark/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "A tool for syncing your markdown documentation with Atlassian Confluence pages"; + mainProgram = "mark"; homepage = "https://github.com/kovetskiy/mark"; license = licenses.asl20; maintainers = with maintainers; [ rguevara84 ]; diff --git a/pkgs/tools/text/markscribe/default.nix b/pkgs/tools/text/markscribe/default.nix index d542fe281107..c2ee3a596e97 100644 --- a/pkgs/tools/text/markscribe/default.nix +++ b/pkgs/tools/text/markscribe/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "Your personal markdown scribe with template-engine and Git(Hub) & RSS powers"; + mainProgram = "markscribe"; homepage = "https://github.com/muesli/markscribe"; changelog = "https://github.com/muesli/markscribe/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/tools/text/math-review/default.nix b/pkgs/tools/text/math-review/default.nix index 3592aad8bec7..6206c67bf1c1 100644 --- a/pkgs/tools/text/math-review/default.nix +++ b/pkgs/tools/text/math-review/default.nix @@ -25,6 +25,7 @@ buildNpmPackage rec { meta = with lib; { description = "Emacs preview math inline"; + mainProgram = "math-preview"; license = licenses.gpl3Plus; homepage = "https://gitlab.com/matsievskiysv/math-preview"; maintainers = with maintainers; [ renesat ]; diff --git a/pkgs/tools/text/mawk/default.nix b/pkgs/tools/text/mawk/default.nix index 54e1e303fd4c..06dcdcd8a9ba 100644 --- a/pkgs/tools/text/mawk/default.nix +++ b/pkgs/tools/text/mawk/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Interpreter for the AWK Programming Language"; + mainProgram = "mawk"; homepage = "https://invisible-island.net/mawk/mawk.html"; license = licenses.gpl2; maintainers = with maintainers; [ ehmry ]; diff --git a/pkgs/tools/text/mb2md/default.nix b/pkgs/tools/text/mb2md/default.nix index 78ce7f593974..3594d4753d85 100644 --- a/pkgs/tools/text/mb2md/default.nix +++ b/pkgs/tools/text/mb2md/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "mbox to maildir tool"; + mainProgram = "mb2md"; license = licenses.publicDomain; platforms = platforms.all; maintainers = [ maintainers.jb55 ]; diff --git a/pkgs/tools/text/mdbook-admonish/default.nix b/pkgs/tools/text/mdbook-admonish/default.nix index 1fc72d16c3ce..1deaf9bc7c2b 100644 --- a/pkgs/tools/text/mdbook-admonish/default.nix +++ b/pkgs/tools/text/mdbook-admonish/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A preprocessor for mdbook to add Material Design admonishments"; + mainProgram = "mdbook-admonish"; license = licenses.mit; maintainers = with maintainers; [ jmgilman Frostman ]; homepage = "https://github.com/tommilligan/mdbook-admonish"; diff --git a/pkgs/tools/text/mdbook-cmdrun/default.nix b/pkgs/tools/text/mdbook-cmdrun/default.nix index 07252461336c..05d27d3e3ad5 100644 --- a/pkgs/tools/text/mdbook-cmdrun/default.nix +++ b/pkgs/tools/text/mdbook-cmdrun/default.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "mdbook preprocessor to run arbitrary commands"; + mainProgram = "mdbook-cmdrun"; homepage = "https://github.com/FauconFan/mdbook-cmdrun"; license = licenses.mit; maintainers = with maintainers; [ pinpox ]; diff --git a/pkgs/tools/text/mdbook-d2/default.nix b/pkgs/tools/text/mdbook-d2/default.nix index e8a5f169399e..afff44b9f473 100644 --- a/pkgs/tools/text/mdbook-d2/default.nix +++ b/pkgs/tools/text/mdbook-d2/default.nix @@ -25,6 +25,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "D2 diagram generator plugin for MdBook"; + mainProgram = "mdbook-d2"; homepage = "https://github.com/danieleades/mdbook-d2"; changelog = "https://github.com/danieleades/mdbook-d2/blob/${src.rev}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/tools/text/mdbook-emojicodes/default.nix b/pkgs/tools/text/mdbook-emojicodes/default.nix index 0bbcffd28fe2..21c8e48468a2 100644 --- a/pkgs/tools/text/mdbook-emojicodes/default.nix +++ b/pkgs/tools/text/mdbook-emojicodes/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "MDBook preprocessor for converting emojicodes (e.g. `: cat :`) into emojis 🐱"; + mainProgram = "mdbook-emojicodes"; homepage = "https://github.com/blyxyas/mdbook-emojicodes"; changelog = "https://github.com/blyxyas/mdbook-emojicodes/releases/tag/${version}"; license = licenses.mit; diff --git a/pkgs/tools/text/mdbook-epub/default.nix b/pkgs/tools/text/mdbook-epub/default.nix index 47c118afa43a..16e3bff73443 100644 --- a/pkgs/tools/text/mdbook-epub/default.nix +++ b/pkgs/tools/text/mdbook-epub/default.nix @@ -34,6 +34,7 @@ in rustPlatform.buildRustPackage { meta = with lib; { description = "mdbook backend for generating an e-book in the EPUB format"; + mainProgram = "mdbook-epub"; homepage = "https://michael-f-bryan.github.io/mdbook-epub"; license = licenses.mpl20; maintainers = with maintainers; [ yuu ]; diff --git a/pkgs/tools/text/mdbook-footnote/default.nix b/pkgs/tools/text/mdbook-footnote/default.nix index d69c7e4fdd86..cc140a5b5d83 100644 --- a/pkgs/tools/text/mdbook-footnote/default.nix +++ b/pkgs/tools/text/mdbook-footnote/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A preprocessor for mdbook to support the inclusion of automatically numbered footnotes"; + mainProgram = "mdbook-footnote"; homepage = "https://github.com/daviddrysdale/mdbook-footnote"; license = licenses.asl20; maintainers = with maintainers; [ brianmcgillion ]; diff --git a/pkgs/tools/text/mdbook-graphviz/default.nix b/pkgs/tools/text/mdbook-graphviz/default.nix index ddb4f48fd2f7..c854d4be35a0 100644 --- a/pkgs/tools/text/mdbook-graphviz/default.nix +++ b/pkgs/tools/text/mdbook-graphviz/default.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A preprocessor for mdbook, rendering Graphviz graphs to HTML at build time"; + mainProgram = "mdbook-graphviz"; homepage = "https://github.com/dylanowen/mdbook-graphviz"; changelog = "https://github.com/dylanowen/mdbook-graphviz/releases/tag/v${version}"; license = [ licenses.mpl20 ]; diff --git a/pkgs/tools/text/mdbook-katex/default.nix b/pkgs/tools/text/mdbook-katex/default.nix index ad4e07f14729..8d27976c346b 100644 --- a/pkgs/tools/text/mdbook-katex/default.nix +++ b/pkgs/tools/text/mdbook-katex/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A preprocessor for mdbook, rendering LaTeX equations to HTML at build time"; + mainProgram = "mdbook-katex"; homepage = "https://github.com/lzanini/${pname}"; license = [ licenses.mit ]; maintainers = with maintainers; [ lovesegfault ]; diff --git a/pkgs/tools/text/mdbook-kroki-preprocessor/default.nix b/pkgs/tools/text/mdbook-kroki-preprocessor/default.nix index 07fd2cd634dd..d419d8b0c116 100644 --- a/pkgs/tools/text/mdbook-kroki-preprocessor/default.nix +++ b/pkgs/tools/text/mdbook-kroki-preprocessor/default.nix @@ -33,6 +33,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Render Kroki diagrams from files or code blocks in mdbook"; + mainProgram = "mdbook-kroki-preprocessor"; homepage = "https://github.com/joelcourtney/mdbook-kroki-preprocessor"; license = licenses.gpl3Only; maintainers = with maintainers; [ blaggacao ]; diff --git a/pkgs/tools/text/mdbook-linkcheck/default.nix b/pkgs/tools/text/mdbook-linkcheck/default.nix index c144ea4be954..d90b536edc86 100644 --- a/pkgs/tools/text/mdbook-linkcheck/default.nix +++ b/pkgs/tools/text/mdbook-linkcheck/default.nix @@ -26,6 +26,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A backend for `mdbook` which will check your links for you"; + mainProgram = "mdbook-linkcheck"; homepage = "https://github.com/Michael-F-Bryan/mdbook-linkcheck"; license = licenses.mit; maintainers = with maintainers; [ zhaofengli ]; diff --git a/pkgs/tools/text/mdbook-man/default.nix b/pkgs/tools/text/mdbook-man/default.nix index 541e27eb7e06..904a4d29112e 100644 --- a/pkgs/tools/text/mdbook-man/default.nix +++ b/pkgs/tools/text/mdbook-man/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Generate manual pages from mdBooks"; + mainProgram = "mdbook-man"; homepage = "https://github.com/vv9k/mdbook-man"; license = licenses.mit; maintainers = with maintainers; [ matthiasbeyer ]; diff --git a/pkgs/tools/text/mdbook-mermaid/default.nix b/pkgs/tools/text/mdbook-mermaid/default.nix index f5bf827cfd7f..b69dd103917d 100644 --- a/pkgs/tools/text/mdbook-mermaid/default.nix +++ b/pkgs/tools/text/mdbook-mermaid/default.nix @@ -24,6 +24,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A preprocessor for mdbook to add mermaid.js support"; + mainProgram = "mdbook-mermaid"; homepage = "https://github.com/badboy/mdbook-mermaid"; changelog = "https://github.com/badboy/mdbook-mermaid/blob/v${version}/CHANGELOG.md"; license = licenses.mpl20; diff --git a/pkgs/tools/text/mdbook-open-on-gh/default.nix b/pkgs/tools/text/mdbook-open-on-gh/default.nix index 8ce422340ed0..68a7c504345c 100644 --- a/pkgs/tools/text/mdbook-open-on-gh/default.nix +++ b/pkgs/tools/text/mdbook-open-on-gh/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "mdbook preprocessor to add a open-on-github link on every page"; + mainProgram = "mdbook-open-on-gh"; homepage = "https://github.com/badboy/mdbook-open-on-gh"; license = [ licenses.mpl20 ]; maintainers = with maintainers; [ matthiasbeyer ]; diff --git a/pkgs/tools/text/mdbook-pagetoc/default.nix b/pkgs/tools/text/mdbook-pagetoc/default.nix index acfec960829a..2cd4afee9616 100644 --- a/pkgs/tools/text/mdbook-pagetoc/default.nix +++ b/pkgs/tools/text/mdbook-pagetoc/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Table of contents for mdbook (in sidebar)"; + mainProgram = "mdbook-pagetoc"; homepage = "https://github.com/slowsage/mdbook-pagetoc"; license = licenses.mit; maintainers = with maintainers; [ blaggacao ]; diff --git a/pkgs/tools/text/mdbook-pdf/default.nix b/pkgs/tools/text/mdbook-pdf/default.nix index 18b234a4ec08..e0c63f595db1 100644 --- a/pkgs/tools/text/mdbook-pdf/default.nix +++ b/pkgs/tools/text/mdbook-pdf/default.nix @@ -44,6 +44,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A backend for mdBook written in Rust for generating PDF"; + mainProgram = "mdbook-pdf"; homepage = "https://github.com/HollowMan6/mdbook-pdf"; changelog = "https://github.com/HollowMan6/mdbook-pdf/releases/tag/v${version}"; license = licenses.gpl3Plus; diff --git a/pkgs/tools/text/mdbook-plantuml/default.nix b/pkgs/tools/text/mdbook-plantuml/default.nix index 3e6d13d24489..e07bd812cec9 100644 --- a/pkgs/tools/text/mdbook-plantuml/default.nix +++ b/pkgs/tools/text/mdbook-plantuml/default.nix @@ -37,6 +37,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "mdBook preprocessor to render PlantUML diagrams to png images in the book output directory"; + mainProgram = "mdbook-plantuml"; homepage = "https://github.com/sytsereitsma/mdbook-plantuml"; license = [ licenses.mit ]; maintainers = with maintainers; [ jcouyang ]; diff --git a/pkgs/tools/text/mdbook-toc/default.nix b/pkgs/tools/text/mdbook-toc/default.nix index b9bf0ca208c8..3ee6fb6e814f 100644 --- a/pkgs/tools/text/mdbook-toc/default.nix +++ b/pkgs/tools/text/mdbook-toc/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A preprocessor for mdbook to add inline Table of Contents support"; + mainProgram = "mdbook-toc"; homepage = "https://github.com/badboy/mdbook-toc"; license = [ licenses.mpl20 ]; maintainers = with maintainers; [ matthiasbeyer ]; diff --git a/pkgs/tools/text/mdbook/default.nix b/pkgs/tools/text/mdbook/default.nix index 2a875f23287f..4939cfc62623 100644 --- a/pkgs/tools/text/mdbook/default.nix +++ b/pkgs/tools/text/mdbook/default.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Create books from MarkDown"; + mainProgram = "mdbook"; homepage = "https://github.com/rust-lang/mdBook"; changelog = "https://github.com/rust-lang/mdBook/blob/v${version}/CHANGELOG.md"; license = [ licenses.mpl20 ]; diff --git a/pkgs/tools/text/mir-qualia/default.nix b/pkgs/tools/text/mir-qualia/default.nix index f532daf8c442..0ded2f1757b2 100644 --- a/pkgs/tools/text/mir-qualia/default.nix +++ b/pkgs/tools/text/mir-qualia/default.nix @@ -14,6 +14,7 @@ pythonPackages.buildPythonApplication rec { meta = { description = "Dynamically enable sections of config files"; + mainProgram = "qualia"; homepage = "https://github.com/darkfeline/mir.qualia"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.srhb ] ; diff --git a/pkgs/tools/text/mmdoc/default.nix b/pkgs/tools/text/mmdoc/default.nix index 50b7f6dcb9df..e7bf45dbb4c8 100644 --- a/pkgs/tools/text/mmdoc/default.nix +++ b/pkgs/tools/text/mmdoc/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Minimal Markdown Documentation"; + mainProgram = "mmdoc"; homepage = "https://github.com/ryantm/mmdoc"; license = licenses.cc0; maintainers = with maintainers; [ ryantm ]; diff --git a/pkgs/tools/text/morsel/default.nix b/pkgs/tools/text/morsel/default.nix index b761b03e83d0..416f2e65782f 100644 --- a/pkgs/tools/text/morsel/default.nix +++ b/pkgs/tools/text/morsel/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Command line tool to translate morse code input to text in real time"; + mainProgram = "morsel"; homepage = "https://github.com/SamLee514/morsel"; license = licenses.mit; maintainers = with maintainers; [ siraben ]; diff --git a/pkgs/tools/text/mpage/default.nix b/pkgs/tools/text/mpage/default.nix index 5033d53fedaa..e7a114ec6577 100644 --- a/pkgs/tools/text/mpage/default.nix +++ b/pkgs/tools/text/mpage/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = { description = "Many-to-one page printing utility"; + mainProgram = "mpage"; longDescription = '' Mpage reads plain text files or PostScript documents and prints diff --git a/pkgs/tools/text/multitran/mtutils/default.nix b/pkgs/tools/text/multitran/mtutils/default.nix index 625f06734b2e..9a9ecf0b2675 100644 --- a/pkgs/tools/text/multitran/mtutils/default.nix +++ b/pkgs/tools/text/multitran/mtutils/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://multitran.sourceforge.net/"; description = "Multitran: simple command line utilities for dictionary maintenance"; + mainProgram = "mtquery"; license = lib.licenses.gpl2; maintainers = with lib.maintainers; [viric]; platforms = with lib.platforms; linux; diff --git a/pkgs/tools/text/nerdfix/default.nix b/pkgs/tools/text/nerdfix/default.nix index 8bb9113f013a..fdad3094bbec 100644 --- a/pkgs/tools/text/nerdfix/default.nix +++ b/pkgs/tools/text/nerdfix/default.nix @@ -18,6 +18,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Nerdfix helps you to find/fix obsolete nerd font icons in your project"; + mainProgram = "nerdfix"; homepage = "https://github.com/loichyan/nerdfix"; changelog = "https://github.com/loichyan/nerdfix/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ asl20 mit ]; diff --git a/pkgs/tools/text/nkf/default.nix b/pkgs/tools/text/nkf/default.nix index 9a70ea9461af..ae51ad37243b 100644 --- a/pkgs/tools/text/nkf/default.nix +++ b/pkgs/tools/text/nkf/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = { description = "Tool for converting encoding of Japanese text"; + mainProgram = "nkf"; homepage = "https://nkf.osdn.jp/"; license = lib.licenses.zlib; platforms = lib.platforms.unix; diff --git a/pkgs/tools/text/odt2txt/default.nix b/pkgs/tools/text/odt2txt/default.nix index 0eb18e8435d4..3f8338d6ae08 100644 --- a/pkgs/tools/text/odt2txt/default.nix +++ b/pkgs/tools/text/odt2txt/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation rec { meta = { description = "Simple .odt to .txt converter"; + mainProgram = "odt2txt"; homepage = "https://github.com/dstosberg/odt2txt"; platforms = lib.platforms.all; license = lib.licenses.gpl2; diff --git a/pkgs/tools/text/papeer/default.nix b/pkgs/tools/text/papeer/default.nix index 4084d49373fd..b8cbc477b174 100644 --- a/pkgs/tools/text/papeer/default.nix +++ b/pkgs/tools/text/papeer/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = { description = "Convert websites into ebooks and markdown"; + mainProgram = "papeer"; homepage = "https://papeer.tech/"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ ehmry ]; diff --git a/pkgs/tools/text/paperoni/default.nix b/pkgs/tools/text/paperoni/default.nix index 346ce515b64f..203e5b21689f 100644 --- a/pkgs/tools/text/paperoni/default.nix +++ b/pkgs/tools/text/paperoni/default.nix @@ -43,6 +43,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An article extractor in Rust"; + mainProgram = "paperoni"; homepage = "https://github.com/hipstermojo/paperoni"; changelog = "https://github.com/hipstermojo/paperoni/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/tools/text/papertrail/default.nix b/pkgs/tools/text/papertrail/default.nix index afc9d2d89e7a..5e2b080f9852 100644 --- a/pkgs/tools/text/papertrail/default.nix +++ b/pkgs/tools/text/papertrail/default.nix @@ -23,6 +23,7 @@ in stdenv.mkDerivation { meta = with lib; { description = "Command-line client for Papertrail log management service"; + mainProgram = "papertrail"; homepage = "https://github.com/papertrail/papertrail-cli/"; license = licenses.mit; maintainers = with maintainers; [ nicknovitski ]; diff --git a/pkgs/tools/text/par/default.nix b/pkgs/tools/text/par/default.nix index e64dbd367be5..c62df86835c0 100644 --- a/pkgs/tools/text/par/default.nix +++ b/pkgs/tools/text/par/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "http://www.nicemice.net/par/"; description = "Paragraph reflow for email"; + mainProgram = "par"; platforms = platforms.unix; # See https://fedoraproject.org/wiki/Licensing/Par for license details license = licenses.free; diff --git a/pkgs/tools/text/pbgopy/default.nix b/pkgs/tools/text/pbgopy/default.nix index dad688f1dfb5..0e1e766456a8 100644 --- a/pkgs/tools/text/pbgopy/default.nix +++ b/pkgs/tools/text/pbgopy/default.nix @@ -15,6 +15,7 @@ buildGoModule rec { meta = with lib; { description = "Copy and paste between devices"; + mainProgram = "pbgopy"; homepage = "https://github.com/nakabonne/pbgopy"; license = licenses.mit; maintainers = [ maintainers.ivar ]; diff --git a/pkgs/tools/text/peco/default.nix b/pkgs/tools/text/peco/default.nix index 7c026f06292e..774b2f5a0d1e 100644 --- a/pkgs/tools/text/peco/default.nix +++ b/pkgs/tools/text/peco/default.nix @@ -17,6 +17,7 @@ buildGoModule rec { meta = with lib; { description = "Simplistic interactive filtering tool"; + mainProgram = "peco"; homepage = "https://github.com/peco/peco"; changelog = "https://github.com/peco/peco/blob/v${version}/Changes"; license = licenses.mit; diff --git a/pkgs/tools/text/pinyin-tool/default.nix b/pkgs/tools/text/pinyin-tool/default.nix index 9d98385933b1..40ca31fe53a7 100644 --- a/pkgs/tools/text/pinyin-tool/default.nix +++ b/pkgs/tools/text/pinyin-tool/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A simple command line tool for converting Chinese characters to space-separate pinyin words"; + mainProgram = "pinyin-tool"; homepage = "https://github.com/briankung/pinyin-tool"; license = licenses.mit; maintainers = with maintainers; [ neonfuz ]; diff --git a/pkgs/tools/text/platinum-searcher/default.nix b/pkgs/tools/text/platinum-searcher/default.nix index 4271fe131dac..d0128fcfd0e4 100644 --- a/pkgs/tools/text/platinum-searcher/default.nix +++ b/pkgs/tools/text/platinum-searcher/default.nix @@ -26,6 +26,7 @@ buildGoModule rec { meta = with lib; { homepage = "https://github.com/monochromegane/the_platinum_searcher"; description = "A code search tool similar to ack and the_silver_searcher(ag)"; + mainProgram = "pt"; license = licenses.mit; }; } diff --git a/pkgs/tools/text/pn/default.nix b/pkgs/tools/text/pn/default.nix index d77b36651d62..a228f093c346 100644 --- a/pkgs/tools/text/pn/default.nix +++ b/pkgs/tools/text/pn/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A libphonenumber command-line wrapper"; + mainProgram = "pn"; homepage = "https://github.com/Orange-OpenSource/pn"; license = licenses.asl20; platforms = platforms.unix; diff --git a/pkgs/tools/text/podiff/default.nix b/pkgs/tools/text/podiff/default.nix index eec0eb351636..b59aba6c4615 100644 --- a/pkgs/tools/text/podiff/default.nix +++ b/pkgs/tools/text/podiff/default.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Finds differences in translations between two PO files, or revisions"; + mainProgram = "podiff"; homepage = "http://puszcza.gnu.org.ua/software/podiff"; license = licenses.gpl3Plus; maintainers = [ maintainers.goibhniu ]; diff --git a/pkgs/tools/text/poedit/default.nix b/pkgs/tools/text/poedit/default.nix index 7e8b78fda19f..48368e64dc43 100644 --- a/pkgs/tools/text/poedit/default.nix +++ b/pkgs/tools/text/poedit/default.nix @@ -41,6 +41,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Cross-platform gettext catalogs (.po files) editor"; + mainProgram = "poedit"; homepage = "https://www.poedit.net/"; license = licenses.mit; platforms = platforms.unix; diff --git a/pkgs/tools/text/pomsky/default.nix b/pkgs/tools/text/pomsky/default.nix index 474ea404c937..65b67b58fa40 100644 --- a/pkgs/tools/text/pomsky/default.nix +++ b/pkgs/tools/text/pomsky/default.nix @@ -36,6 +36,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A portable, modern regular expression language"; + mainProgram = "pomsky"; homepage = "https://pomsky-lang.org"; changelog = "https://github.com/pomsky-lang/pomsky/blob/v${version}/CHANGELOG.md"; license = with licenses; [ mit /* or */ asl20 ]; diff --git a/pkgs/tools/text/proselint/default.nix b/pkgs/tools/text/proselint/default.nix index 3f1b79c3e015..2f62484d980a 100644 --- a/pkgs/tools/text/proselint/default.nix +++ b/pkgs/tools/text/proselint/default.nix @@ -15,6 +15,7 @@ buildPythonApplication rec { meta = with lib; { description = "A linter for prose"; + mainProgram = "proselint"; homepage = "http://proselint.com"; license = licenses.bsd3; maintainers = with maintainers; [ alibabzo ]; diff --git a/pkgs/tools/text/qprint/default.nix b/pkgs/tools/text/qprint/default.nix index 56f5b5becbd6..c0953f69a7f9 100644 --- a/pkgs/tools/text/qprint/default.nix +++ b/pkgs/tools/text/qprint/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { homepage = "https://www.fourmilab.ch/webtools/qprint/"; license = lib.licenses.publicDomain; description = "Encode and decode Quoted-Printable files"; + mainProgram = "qprint"; maintainers = [ lib.maintainers.tv ]; platforms = lib.platforms.all; }; diff --git a/pkgs/tools/text/reckon/default.nix b/pkgs/tools/text/reckon/default.nix index 91233dfe97b4..55c6b3cf9556 100644 --- a/pkgs/tools/text/reckon/default.nix +++ b/pkgs/tools/text/reckon/default.nix @@ -25,6 +25,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Flexibly import bank account CSV files into Ledger for command line accounting"; + mainProgram = "reckon"; license = licenses.mit; maintainers = with maintainers; [ nicknovitski ]; platforms = platforms.unix; diff --git a/pkgs/tools/text/recode/default.nix b/pkgs/tools/text/recode/default.nix index 9f215f41feaa..68cd034b8ee4 100644 --- a/pkgs/tools/text/recode/default.nix +++ b/pkgs/tools/text/recode/default.nix @@ -34,6 +34,7 @@ stdenv.mkDerivation rec { meta = { homepage = "https://github.com/rrthomas/recode"; description = "Converts files between various character sets and usages"; + mainProgram = "recode"; changelog = "https://github.com/rrthomas/recode/raw/v${version}/NEWS"; platforms = lib.platforms.unix; license = with lib.licenses; [ lgpl3Plus gpl3Plus ]; diff --git a/pkgs/tools/text/reveal-md/default.nix b/pkgs/tools/text/reveal-md/default.nix index 0cddbf34093a..9da86f2a61c8 100644 --- a/pkgs/tools/text/reveal-md/default.nix +++ b/pkgs/tools/text/reveal-md/default.nix @@ -34,6 +34,7 @@ buildNpmPackage rec { meta = { description = "Get beautiful reveal.js presentations from your Markdown files"; + mainProgram = "reveal-md"; homepage = "https://github.com/webpro/reveal-md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sagikazarmark ]; diff --git a/pkgs/tools/text/rgxg/default.nix b/pkgs/tools/text/rgxg/default.nix index 8e4d991e7bf0..f2f4870d8adf 100644 --- a/pkgs/tools/text/rgxg/default.nix +++ b/pkgs/tools/text/rgxg/default.nix @@ -11,6 +11,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A C library and a command-line tool to generate (extended) regular expressions"; + mainProgram = "rgxg"; license = licenses.zlib; maintainers = with maintainers; [ hloeffler ]; homepage = "https://rgxg.github.io/"; diff --git a/pkgs/tools/text/rnr/default.nix b/pkgs/tools/text/rnr/default.nix index 834ecfddee77..b2d38832a4d5 100644 --- a/pkgs/tools/text/rnr/default.nix +++ b/pkgs/tools/text/rnr/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A command-line tool to batch rename files and directories"; + mainProgram = "rnr"; homepage = "https://github.com/ismaelgv/rnr"; changelog = "https://github.com/ismaelgv/rnr/blob/v${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/tools/text/rosie/default.nix b/pkgs/tools/text/rosie/default.nix index 190fd4944d15..e9923586b2da 100644 --- a/pkgs/tools/text/rosie/default.nix +++ b/pkgs/tools/text/rosie/default.nix @@ -55,6 +55,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://rosie-lang.org"; description = "Tools for searching using parsing expression grammars"; + mainProgram = "rosie"; license = licenses.mit; maintainers = with maintainers; [ kovirobi ]; platforms = with platforms; linux ++ darwin; diff --git a/pkgs/tools/text/rpl/default.nix b/pkgs/tools/text/rpl/default.nix index 2097b94b6e3e..1b4e89408dc8 100644 --- a/pkgs/tools/text/rpl/default.nix +++ b/pkgs/tools/text/rpl/default.nix @@ -29,6 +29,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Replace strings in files"; + mainProgram = "rpl"; homepage = "https://github.com/rrthomas/rpl"; license = licenses.gpl2; maintainers = with maintainers; [ cbley ]; diff --git a/pkgs/tools/text/runiq/default.nix b/pkgs/tools/text/runiq/default.nix index 42b9e2aef395..52386bb0f24a 100644 --- a/pkgs/tools/text/runiq/default.nix +++ b/pkgs/tools/text/runiq/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "An efficient way to filter duplicate lines from input, à la uniq"; + mainProgram = "runiq"; homepage = "https://github.com/whitfin/runiq"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/tools/text/ruplacer/default.nix b/pkgs/tools/text/ruplacer/default.nix index 43253041b279..bb1d7dfc9904 100644 --- a/pkgs/tools/text/ruplacer/default.nix +++ b/pkgs/tools/text/ruplacer/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Find and replace text in source files"; + mainProgram = "ruplacer"; homepage = "https://github.com/TankerHQ/ruplacer"; license = [ licenses.bsd3 ]; maintainers = with maintainers; [ Br1ght0ne ]; diff --git a/pkgs/tools/text/sad/default.nix b/pkgs/tools/text/sad/default.nix index da4ff0804b11..5b3aae4f831a 100644 --- a/pkgs/tools/text/sad/default.nix +++ b/pkgs/tools/text/sad/default.nix @@ -27,6 +27,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "CLI tool to search and replace"; + mainProgram = "sad"; homepage = "https://github.com/ms-jpq/sad"; license = licenses.mit; maintainers = with maintainers; [ fab ]; diff --git a/pkgs/tools/text/scraper/default.nix b/pkgs/tools/text/scraper/default.nix index c148f1e57f3f..42b8c91effe0 100644 --- a/pkgs/tools/text/scraper/default.nix +++ b/pkgs/tools/text/scraper/default.nix @@ -19,6 +19,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to query HTML files with CSS selectors"; + mainProgram = "scraper"; homepage = "https://github.com/causal-agent/scraper"; changelog = "https://github.com/causal-agent/scraper/releases/tag/v${version}"; license = licenses.isc; diff --git a/pkgs/tools/text/sd/default.nix b/pkgs/tools/text/sd/default.nix index 8dc160cd014d..e5bde420000d 100644 --- a/pkgs/tools/text/sd/default.nix +++ b/pkgs/tools/text/sd/default.nix @@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Intuitive find & replace CLI (sed alternative)"; + mainProgram = "sd"; homepage = "https://github.com/chmln/sd"; license = licenses.mit; maintainers = with maintainers; [ amar1729 Br1ght0ne ]; diff --git a/pkgs/tools/text/sgml/openjade/default.nix b/pkgs/tools/text/sgml/openjade/default.nix index 5e175518b692..87bc8e7a8aed 100644 --- a/pkgs/tools/text/sgml/openjade/default.nix +++ b/pkgs/tools/text/sgml/openjade/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = { description = "An implementation of DSSSL, an ISO standard for formatting SGML (and XML) documents"; + mainProgram = "openjade"; license = lib.licenses.mit; homepage = "https://openjade.sourceforge.net/"; platforms = lib.platforms.linux; diff --git a/pkgs/tools/text/sgrep/default.nix b/pkgs/tools/text/sgrep/default.nix index f3d23d166696..3e82ce9afc60 100644 --- a/pkgs/tools/text/sgrep/default.nix +++ b/pkgs/tools/text/sgrep/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html"; description = "A grep for structured text formats such as XML"; + mainProgram = "sgrep"; longDescription = '' sgrep (structured grep) is a tool for searching and indexing text, SGML, XML and HTML files and filtering text streams using diff --git a/pkgs/tools/text/shab/default.nix b/pkgs/tools/text/shab/default.nix index b5bb98e5f4d2..733ba4f80cf5 100644 --- a/pkgs/tools/text/shab/default.nix +++ b/pkgs/tools/text/shab/default.nix @@ -41,6 +41,7 @@ let meta = with lib; { description = "The bash templating language"; + mainProgram = "shab"; homepage = "https://github.com/zimbatm/shab"; license = licenses.unlicense; maintainers = with maintainers; [ zimbatm ]; diff --git a/pkgs/tools/text/shocco/default.nix b/pkgs/tools/text/shocco/default.nix index 1359db98978c..75f218f213e6 100644 --- a/pkgs/tools/text/shocco/default.nix +++ b/pkgs/tools/text/shocco/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A quick-and-dirty, literate-programming-style documentation generator for / in POSIX shell"; + mainProgram = "shocco"; homepage = "https://rtomayko.github.io/shocco/"; license = licenses.mit; platforms = platforms.all; diff --git a/pkgs/tools/text/sift/default.nix b/pkgs/tools/text/sift/default.nix index 25dd61a3e4a0..1aecb3ac8909 100644 --- a/pkgs/tools/text/sift/default.nix +++ b/pkgs/tools/text/sift/default.nix @@ -31,6 +31,7 @@ buildGoModule rec { meta = with lib; { description = "A fast and powerful alternative to grep"; + mainProgram = "sift"; homepage = "https://sift-tool.org"; maintainers = with maintainers; [ viraptor ]; license = licenses.gpl3; diff --git a/pkgs/tools/text/smu/default.nix b/pkgs/tools/text/smu/default.nix index 85e593982e85..63c9bb8d024f 100644 --- a/pkgs/tools/text/smu/default.nix +++ b/pkgs/tools/text/smu/default.nix @@ -20,6 +20,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "simple markup - markdown like syntax"; + mainProgram = "smu"; homepage = "https://github.com/Gottox/smu"; license = licenses.mit; maintainers = with maintainers; [ oxzi ]; diff --git a/pkgs/tools/text/sorted-grep/default.nix b/pkgs/tools/text/sorted-grep/default.nix index 60bc0bee676f..f0225d8a2444 100644 --- a/pkgs/tools/text/sorted-grep/default.nix +++ b/pkgs/tools/text/sorted-grep/default.nix @@ -44,6 +44,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://sgrep.sourceforge.net/"; description = "Sgrep (sorted grep) searches sorted input files for lines that match a search key"; + mainProgram = "sgrep"; longDescription = '' Sgrep (sorted grep) searches sorted input files for lines that match a search key and outputs the matching lines. When searching large files sgrep is much diff --git a/pkgs/tools/text/subedit/default.nix b/pkgs/tools/text/subedit/default.nix index 0ae48901cd96..fede6583e788 100644 --- a/pkgs/tools/text/subedit/default.nix +++ b/pkgs/tools/text/subedit/default.nix @@ -27,6 +27,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/helixarch/subedit"; description = "Command-line subtitle editor written in BASH"; + mainProgram = "subedit"; license = licenses.gpl2; maintainers = with maintainers; [ ppom ]; }; diff --git a/pkgs/tools/text/tab/default.nix b/pkgs/tools/text/tab/default.nix index 3f8ef799a6bf..431b046471a4 100644 --- a/pkgs/tools/text/tab/default.nix +++ b/pkgs/tools/text/tab/default.nix @@ -33,6 +33,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Programming language/shell calculator"; + mainProgram = "tab"; homepage = "https://tab-lang.xyz"; license = licenses.boost; maintainers = with maintainers; [ mstarzyk ]; diff --git a/pkgs/tools/text/teip/default.nix b/pkgs/tools/text/teip/default.nix index c0ac20a28149..caa665fc3c93 100644 --- a/pkgs/tools/text/teip/default.nix +++ b/pkgs/tools/text/teip/default.nix @@ -43,6 +43,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A tool to bypass a partial range of standard input to any command"; + mainProgram = "teip"; homepage = "https://github.com/greymd/teip"; changelog = "https://github.com/greymd/teip/releases/tag/v${version}"; license = licenses.mit; diff --git a/pkgs/tools/text/termbook/default.nix b/pkgs/tools/text/termbook/default.nix index ee9367038f63..a68f0ce416f4 100644 --- a/pkgs/tools/text/termbook/default.nix +++ b/pkgs/tools/text/termbook/default.nix @@ -52,6 +52,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A runner for `mdbooks` to keep your documentation tested"; + mainProgram = "termbook"; homepage = "https://github.com/Byron/termbook/"; changelog = "https://github.com/Byron/termbook/blob/${src.rev}/CHANGELOG.md"; license = licenses.asl20; diff --git a/pkgs/tools/text/tidy-viewer/default.nix b/pkgs/tools/text/tidy-viewer/default.nix index 6c38007b3f26..cbeb97214893 100644 --- a/pkgs/tools/text/tidy-viewer/default.nix +++ b/pkgs/tools/text/tidy-viewer/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment"; + mainProgram = "tidy-viewer"; homepage = "https://github.com/alexhallam/tv"; changelog = "https://github.com/alexhallam/tv/blob/${version}/CHANGELOG.md"; license = licenses.unlicense; diff --git a/pkgs/tools/text/tml/default.nix b/pkgs/tools/text/tml/default.nix index 3f1a6477851c..5a083bfc4d60 100644 --- a/pkgs/tools/text/tml/default.nix +++ b/pkgs/tools/text/tml/default.nix @@ -20,6 +20,7 @@ buildGoModule rec { meta = with lib; { description = "A tiny markup language for terminal output"; + mainProgram = "tml"; homepage = "https://github.com/liamg/tml"; changelog = "https://github.com/liamg/tml/releases/tag/v${version}"; license = licenses.unlicense; diff --git a/pkgs/tools/text/to-html/default.nix b/pkgs/tools/text/to-html/default.nix index 9e176a5ad19c..5ddba61276d4 100644 --- a/pkgs/tools/text/to-html/default.nix +++ b/pkgs/tools/text/to-html/default.nix @@ -21,6 +21,7 @@ rustPlatform.buildRustPackage rec { meta = { description = "Terminal wrapper for rendering a terminal on a website by converting ANSI escape sequences to HTML"; + mainProgram = "to-html"; homepage = "https://github.com/Aloso/to-html"; changelog = "https://github.com/Aloso/to-html/blob/${src.rev}/CHANGELOG.md"; license = lib.licenses.mit; diff --git a/pkgs/tools/text/tuc/default.nix b/pkgs/tools/text/tuc/default.nix index b7b5afbdf3a3..46e9bb86e57c 100644 --- a/pkgs/tools/text/tuc/default.nix +++ b/pkgs/tools/text/tuc/default.nix @@ -14,6 +14,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "When cut doesn't cut it"; + mainProgram = "tuc"; homepage = "https://github.com/riquito/tuc"; license = licenses.gpl3; maintainers = with maintainers; [ dit7ya ]; diff --git a/pkgs/tools/text/tv/default.nix b/pkgs/tools/text/tv/default.nix index 686433ff4290..9cf6e2e243e8 100644 --- a/pkgs/tools/text/tv/default.nix +++ b/pkgs/tools/text/tv/default.nix @@ -15,6 +15,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Format json into table view"; + mainProgram = "tv"; homepage = "https://github.com/uzimaru0000/tv"; changelog = "https://github.com/uzimaru0000/tv/blob/v${version}/CHANGELOG.md"; license = licenses.mit; diff --git a/pkgs/tools/text/txt2tags/default.nix b/pkgs/tools/text/txt2tags/default.nix index 8ff39ac1ebfe..1e48d4c6f3d6 100644 --- a/pkgs/tools/text/txt2tags/default.nix +++ b/pkgs/tools/text/txt2tags/default.nix @@ -30,6 +30,7 @@ python3.pkgs.buildPythonApplication rec { meta = { changelog = "https://github.com/txt2tags/txt2tags/blob/${src.rev}/CHANGELOG.md"; description = "Convert between markup languages"; + mainProgram = "txt2tags"; homepage = "https://txt2tags.org/"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ dotlambda kovirobi ]; diff --git a/pkgs/tools/text/unfurl/default.nix b/pkgs/tools/text/unfurl/default.nix index 35a43ea2fdbd..0d9ae3b01992 100644 --- a/pkgs/tools/text/unfurl/default.nix +++ b/pkgs/tools/text/unfurl/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { description = "Pull out bits of URLs provided on stdin"; + mainProgram = "unfurl"; homepage = "https://github.com/tomnomnom/unfurl"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; diff --git a/pkgs/tools/text/uniscribe/default.nix b/pkgs/tools/text/uniscribe/default.nix index e7b9cedd2b8c..98b164a9d58d 100644 --- a/pkgs/tools/text/uniscribe/default.nix +++ b/pkgs/tools/text/uniscribe/default.nix @@ -23,6 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Explains Unicode characters/code points: Displays their name, category, and shows compositions"; + mainProgram = "uniscribe"; homepage = "https://github.com/janlelis/uniscribe"; license = licenses.mit; maintainers = with maintainers; [ kjeremy ]; diff --git a/pkgs/tools/text/unrtf/default.nix b/pkgs/tools/text/unrtf/default.nix index 3357404a7d3c..4395c0f6e941 100644 --- a/pkgs/tools/text/unrtf/default.nix +++ b/pkgs/tools/text/unrtf/default.nix @@ -19,6 +19,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A converter from Rich Text Format to other formats"; + mainProgram = "unrtf"; longDescription = '' UnRTF converts documents in Rich Text Format to other formats, including HTML, LaTeX, and RTF itself. diff --git a/pkgs/tools/text/untex/default.nix b/pkgs/tools/text/untex/default.nix index 63108a923782..c6f833049650 100644 --- a/pkgs/tools/text/untex/default.nix +++ b/pkgs/tools/text/untex/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A utility which removes LaTeX commands from input"; + mainProgram = "untex"; homepage = "https://www.ctan.org/pkg/untex"; license = licenses.gpl1Only; maintainers = with maintainers; [ joachifm ]; diff --git a/pkgs/tools/text/uwc/default.nix b/pkgs/tools/text/uwc/default.nix index dc34ecfacff2..42777accb826 100644 --- a/pkgs/tools/text/uwc/default.nix +++ b/pkgs/tools/text/uwc/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "Like wc, but unicode-aware, and with per-line mode"; + mainProgram = "uwc"; homepage = "https://gitlab.com/dead10ck/uwc"; license = licenses.mit; maintainers = with maintainers; [ ShamrockLee ]; diff --git a/pkgs/tools/text/vgrep/default.nix b/pkgs/tools/text/vgrep/default.nix index 9022c5f5c03b..942188730387 100644 --- a/pkgs/tools/text/vgrep/default.nix +++ b/pkgs/tools/text/vgrep/default.nix @@ -25,6 +25,7 @@ buildGoModule rec { meta = with lib; { description = "User-friendly pager for grep/git-grep/ripgrep"; + mainProgram = "vgrep"; homepage = "https://github.com/vrothberg/vgrep"; license = licenses.gpl3Only; maintainers = with maintainers; [ SuperSandro2000 ]; diff --git a/pkgs/tools/text/wdiff/default.nix b/pkgs/tools/text/wdiff/default.nix index d6ed960cce1e..d358dcdd0c4e 100644 --- a/pkgs/tools/text/wdiff/default.nix +++ b/pkgs/tools/text/wdiff/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://www.gnu.org/software/wdiff/"; description = "Comparing files on a word by word basis"; + mainProgram = "wdiff"; license = licenses.gpl3Plus; maintainers = with maintainers; [ eelco SuperSandro2000 ]; platforms = platforms.unix; diff --git a/pkgs/tools/text/wgetpaste/default.nix b/pkgs/tools/text/wgetpaste/default.nix index 465e19883b30..8ca014e0d5f5 100644 --- a/pkgs/tools/text/wgetpaste/default.nix +++ b/pkgs/tools/text/wgetpaste/default.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { meta = { description = "Command-line interface to various pastebins"; + mainProgram = "wgetpaste"; homepage = "https://github.com/zlin/wgetpaste"; license = lib.licenses.publicDomain; maintainers = with lib.maintainers; [ qknight domenkozar ]; diff --git a/pkgs/tools/text/xidel/default.nix b/pkgs/tools/text/xidel/default.nix index 479cc0ff1115..d7fefa2d495d 100644 --- a/pkgs/tools/text/xidel/default.nix +++ b/pkgs/tools/text/xidel/default.nix @@ -87,6 +87,7 @@ in stdenv.mkDerivation rec { meta = with lib; { description = "Command line tool to download and extract data from HTML/XML pages as well as JSON APIs"; + mainProgram = "xidel"; homepage = "https://www.videlibri.de/xidel.html"; license = licenses.gpl3Plus; platforms = platforms.linux; diff --git a/pkgs/tools/text/xml/xmlformat/default.nix b/pkgs/tools/text/xml/xmlformat/default.nix index 380baa906c27..ea0e90502dc2 100644 --- a/pkgs/tools/text/xml/xmlformat/default.nix +++ b/pkgs/tools/text/xml/xmlformat/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation rec { meta = { description = "a configurable formatter (or 'pretty-printer') for XML documents"; + mainProgram = "xmlformat"; homepage = "http://www.kitebird.com/software/xmlformat/"; license = lib.licenses.bsd3; platforms = lib.platforms.all; diff --git a/pkgs/tools/text/xml/xmloscopy/default.nix b/pkgs/tools/text/xml/xmloscopy/default.nix index c915e2c7fc5b..32162849c41d 100644 --- a/pkgs/tools/text/xml/xmloscopy/default.nix +++ b/pkgs/tools/text/xml/xmloscopy/default.nix @@ -45,6 +45,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "wtf is my docbook broken?"; + mainProgram = "xmloscopy"; homepage = "https://github.com/grahamc/xmloscopy"; license = licenses.mit; platforms = platforms.all; diff --git a/pkgs/tools/text/xml/xq/default.nix b/pkgs/tools/text/xml/xq/default.nix index 6fae10b25357..7b55d5d28d35 100644 --- a/pkgs/tools/text/xml/xq/default.nix +++ b/pkgs/tools/text/xml/xq/default.nix @@ -33,6 +33,7 @@ buildGoModule rec { meta = with lib; { description = "Command-line XML and HTML beautifier and content extractor"; + mainProgram = "xq"; homepage = "https://github.com/sibprogrammer/xq"; changelog = "https://github.com/sibprogrammer/xq/releases/tag/${src.rev}"; license = licenses.mit; diff --git a/pkgs/tools/text/xpaste/default.nix b/pkgs/tools/text/xpaste/default.nix index 88666fd25adc..7bbe658b6b5a 100644 --- a/pkgs/tools/text/xpaste/default.nix +++ b/pkgs/tools/text/xpaste/default.nix @@ -24,6 +24,7 @@ python3Packages.buildPythonApplication rec { meta = with lib; { description = "Paste text into X windows that don't work with selections"; + mainProgram = "xpaste"; homepage = "https://github.com/ossobv/xpaste"; license = licenses.gpl3; maintainers = with maintainers; [ gador ]; diff --git a/pkgs/tools/text/xsv/default.nix b/pkgs/tools/text/xsv/default.nix index 303b38d65c2d..3e617a621e33 100644 --- a/pkgs/tools/text/xsv/default.nix +++ b/pkgs/tools/text/xsv/default.nix @@ -17,6 +17,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "A fast CSV toolkit written in Rust"; + mainProgram = "xsv"; homepage = "https://github.com/BurntSushi/xsv"; license = with licenses; [ unlicense /* or */ mit ]; maintainers = [ maintainers.jgertm ]; diff --git a/pkgs/tools/text/yaml-merge/default.nix b/pkgs/tools/text/yaml-merge/default.nix index 85ea3cd360da..a5113a92f702 100644 --- a/pkgs/tools/text/yaml-merge/default.nix +++ b/pkgs/tools/text/yaml-merge/default.nix @@ -21,6 +21,7 @@ stdenv.mkDerivation { meta = with lib; { description = "Merge YAML data files"; + mainProgram = "yaml-merge"; homepage = "https://github.com/abbradar/yaml-merge"; license = licenses.bsd2; platforms = platforms.unix; diff --git a/pkgs/tools/text/zet/default.nix b/pkgs/tools/text/zet/default.nix index 50d149f4e655..af04b5fdc203 100644 --- a/pkgs/tools/text/zet/default.nix +++ b/pkgs/tools/text/zet/default.nix @@ -22,6 +22,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "CLI utility to find the union, intersection, set difference, etc of files considered as sets of lines"; + mainProgram = "zet"; homepage = "https://github.com/yarrow/zet"; changelog = "https://github.com/yarrow/zet/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ asl20 mit ]; diff --git a/pkgs/tools/typesetting/bibtex-tidy/default.nix b/pkgs/tools/typesetting/bibtex-tidy/default.nix index 7aeaf13fb02a..6fa64d653736 100644 --- a/pkgs/tools/typesetting/bibtex-tidy/default.nix +++ b/pkgs/tools/typesetting/bibtex-tidy/default.nix @@ -28,6 +28,7 @@ buildNpmPackage rec { meta = { changelog = "https://github.com/FlamingTempura/bibtex-tidy/blob/${src.rev}/CHANGELOG.md"; description = "Cleaner and Formatter for BibTeX files"; + mainProgram = "bibtex-tidy"; homepage = "https://github.com/FlamingTempura/bibtex-tidy"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ bertof ]; diff --git a/pkgs/tools/typesetting/fop/default.nix b/pkgs/tools/typesetting/fop/default.nix index e31ea73f0096..94a24211f9a3 100644 --- a/pkgs/tools/typesetting/fop/default.nix +++ b/pkgs/tools/typesetting/fop/default.nix @@ -5,6 +5,7 @@ , jdk , jre , makeWrapper +, stripJavaArchivesHook }: stdenv.mkDerivation (finalAttrs: { @@ -16,16 +17,11 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-b7Av17wu6Ar/npKOiwYqzlvBFSIuXTpqTacM1sxtBvc="; }; - postPatch = '' - # Fix jar timestamps for reproducibility - substituteInPlace fop/build.xml \ - --replace-fail '