Skip to content

Commit

Permalink
Merge pull request #297084 from stuebinm/trivial-meta-mainprograms
Browse files Browse the repository at this point in the history
treewide: add meta.mainProgram to (almost) all packages with a single binary
  • Loading branch information
mweinelt authored Mar 19, 2024
2 parents bf8c4da + ff1a94e commit afa6550
Show file tree
Hide file tree
Showing 5,373 changed files with 5,373 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions maintainers/scripts/nix-generate-from-cpan.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
1 change: 1 addition & 0 deletions maintainers/scripts/nixpkgs-lint.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
1 change: 1 addition & 0 deletions pkgs/applications/audio/alsa-scarlett-gui/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/ams/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/ario/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/asunder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/audacity/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; [
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/audio-recorder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/bambootracker/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/blanket/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/bucklespring/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/cantata/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/cd-discid/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/cplay-ng/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/curseradio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/deadbeef/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/dfasma/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/dr14_tmeter/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/drumkv1/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/easyabc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/easytag/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; [ ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/espeak/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/espeak/edit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/exaile/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/faust/faustlive.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/fdkaac/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/flac2all/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/flacon/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/friture/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/g4music/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/giada/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/gnome-podcasts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/greg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
};
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/guitarix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/helio-workstation/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/hushboard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
};
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/iannix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/in-formant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/jack-autoconnect/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/jack-capture/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/jack-oscrolloscope/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/jackmix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/jacktrip/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/jamesdsp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/librespot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/lingot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/linvstmanager/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/lmms/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" ];
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/audio/lyrebird/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down
Loading

0 comments on commit afa6550

Please sign in to comment.