Skip to content

Commit

Permalink
treewide: improve readability of meta using "with lib;"
Browse files Browse the repository at this point in the history
  • Loading branch information
Isidor Zeuner committed Jan 13, 2025
1 parent 09eed56 commit dd105f4
Show file tree
Hide file tree
Showing 4,309 changed files with 15,206 additions and 15,206 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions pkgs/applications/audio/calf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ stdenv.mkDerivation rec {
lv2
];

meta = {
meta = with lib; {
homepage = "https://calf-studio-gear.org";
description = "Set of high quality open source audio plugins for musicians";
license = lib.licenses.lgpl2;
license = licenses.lgpl2;
maintainers = [ ];
platforms = lib.platforms.linux;
platforms = platforms.linux;
mainProgram = "calfjackhost";
};
}
8 changes: 4 additions & 4 deletions pkgs/applications/audio/easyabc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ python.pkgs.buildPythonApplication {
runHook postInstall
'';

meta = {
meta = with lib; {
description = "ABC music notation editor";
mainProgram = "easyabc";
homepage = "https://easyabc.sourceforge.net/";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ mausch ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ mausch ];
};
}
8 changes: 4 additions & 4 deletions pkgs/applications/audio/ladspa-sdk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ stdenv.mkDerivation rec {
# it's probably still useful to run the part that creates the file.
doCheck = true;

meta = {
meta = with lib; {
description = "SDK for the LADSPA audio plugin standard";
longDescription = ''
The LADSPA SDK, including the ladspa.h API header file,
ten example LADSPA plugins and
three example programs (applyplugin, analyseplugin and listplugins).
'';
homepage = "http://www.ladspa.org/ladspa_sdk/overview.html";
license = lib.licenses.lgpl2;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.linux;
license = licenses.lgpl2;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
};
}
8 changes: 4 additions & 4 deletions pkgs/applications/audio/ladspa-sdk/ladspah.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ stdenv.mkDerivation rec {
cp src/ladspa.h $out/include/ladspa.h
'';

meta = {
meta = with lib; {
description = "LADSPA format audio plugins header file";
longDescription = ''
The ladspa.h API header file from the LADSPA SDK.
For the full SDK, use the ladspa-sdk package.
'';
homepage = "http://www.ladspa.org/ladspa_sdk/overview.html";
license = lib.licenses.lgpl2;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.all;
license = licenses.lgpl2;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.all;
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ stdenv.mkDerivation rec {
cp -r CharacterCompressorMono.lv2/ $out/lib/lv2
'';

meta = {
meta = with lib; {
description = "Compressor with character. For jack and lv2";
homepage = "https://github.com/magnetophon/CharacterCompressor";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.magnetophon ];
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/audio/magnetophonDSP/CompBus/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ stdenv.mkDerivation rec {
done
'';

meta = {
meta = with lib; {
description = "Group of compressors mixed into a bus, sidechained from that mix bus. For jack and lv2";
homepage = "https://github.com/magnetophon/CompBus";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.magnetophon ];
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ stdenv.mkDerivation rec {
cp -r ConstantDetuneChorus.lv2/ $out/lib/lv2
'';

meta = {
meta = with lib; {
description = "Chorus algorithm that maintains constant and symmetric detuning depth (in cents), regardless of modulation rate. For jack and lv2";
homepage = "https://github.com/magnetophon/constant-detune-chorus";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.magnetophon ];
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
# ERROR3 : n is NaN in an Interval
broken = true;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ stdenv.mkDerivation rec {
cp -r LazyLimiter.lv2/ $out/lib/lv2
'';

meta = {
meta = with lib; {
description = "Fast yet clean lookahead limiter for jack and lv2";
homepage = "https://magnetophon.github.io/LazyLimiter/";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.magnetophon ];
license = licenses.gpl2;
maintainers = [ maintainers.magnetophon ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ stdenv.mkDerivation rec {
cp -r MBdistortion.lv2/ $out/lib/lv2
'';

meta = {
meta = with lib; {
description = "Mid-side multiband distortion for jack and lv2";
homepage = "https://github.com/magnetophon/MBdistortion";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.magnetophon ];
license = licenses.gpl2;
maintainers = [ maintainers.magnetophon ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ stdenv.mkDerivation rec {
cp -r RhythmDelay.lv2/ $out/lib/lv2
'';

meta = {
meta = with lib; {
description = "Tap a rhythm into your delay! For jack and lv2";
homepage = "https://github.com/magnetophon/RhythmDelay";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.magnetophon ];
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ stdenv.mkDerivation rec {
sed -i "s@../PureData/OscSendVoc.pd@$out/bin/PureData/OscSendVoc.pd@g" launchers/pitchTracker
'';

meta = {
meta = with lib; {
description = "Turn your voice into a synthesizer";
homepage = "https://github.com/magnetophon/VoiceOfFaust";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.magnetophon ];
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ stdenv.mkDerivation rec {
done
'';

meta = {
meta = with lib; {
description = "Collection of bread and butter compressors";
homepage = "https://github.com/magnetophon/faustCompressors";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.magnetophon ];
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ stdenv.mkDerivation rec {
done
'';

meta = {
meta = with lib; {
description = "Some simple utility lv2 plugins";
homepage = "https://github.com/magnetophon/pluginUtils";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.magnetophon ];
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ stdenv.mkDerivation rec {
cp -r shelfMultiBandMono.lv2/ $out/lib/lv2
'';

meta = {
meta = with lib; {
description = "Multiband compressor made from shelving filters";
homepage = "https://github.com/magnetophon/shelfMultiBand";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.magnetophon ];
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
};
}
8 changes: 4 additions & 4 deletions pkgs/applications/audio/non/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ stdenv.mkDerivation {

env.CXXFLAGS = "-std=c++14";

meta = {
meta = with lib; {
description = "Lightweight and lightning fast modular Digital Audio Workstation";
homepage = "http://non.tuxfamily.org";
license = lib.licenses.lgpl21;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.nico202 ];
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = [ maintainers.nico202 ];
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/audio/parrot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ rustPlatform.buildRustPackage {
tagPrefix = "v";
};

meta = {
meta = with lib; {
description = "Hassle-free Discord music bot";
homepage = "https://github.com/aquelemiguel/parrot";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ gerg-l ];
license = licenses.mit;
maintainers = with maintainers; [ gerg-l ];
mainProgram = "parrot";
};
}
8 changes: 4 additions & 4 deletions pkgs/applications/audio/pd-plugins/timbreid/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ stdenv.mkDerivation rec {
rm -rf $out/share/
'';

meta = {
meta = with lib; {
description = "Collection of audio feature analysis externals for puredata";
homepage = "http://williambrent.conflations.com/pages/research.html";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.linux;
license = licenses.gpl3;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
};
}
8 changes: 4 additions & 4 deletions pkgs/applications/audio/pd-plugins/zexy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ stdenv.mkDerivation rec {
rm -rf $out/lib
'';

meta = {
meta = with lib; {
description = "Swiss army knife for puredata";
homepage = "http://puredata.info/downloads/zexy";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.linux;
license = licenses.gpl2;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/audio/projectm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ mkDerivation rec {
rm $out/bin/projectM-unittest
'';

meta = {
meta = with lib; {
homepage = "https://github.com/projectM-visualizer/projectm";
description = "Cross-platform Milkdrop-compatible music visualizer";
license = lib.licenses.lgpl21;
platforms = lib.platforms.unix;
license = licenses.lgpl21;
platforms = platforms.unix;
maintainers = [ ];
longDescription = ''
The open-source project that reimplements the esteemed Winamp Milkdrop by Geiss in a more modern, cross-platform reusable library.
Expand Down
6 changes: 3 additions & 3 deletions pkgs/applications/blockchains/cryptop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ buildPythonApplication rec {
# No tests in archive
doCheck = false;

meta = {
meta = with lib; {
homepage = "https://github.com/huwwp/cryptop";
description = "Command line Cryptocurrency Portfolio";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ bhipple ];
license = with licenses; [ mit ];
maintainers = with maintainers; [ bhipple ];
mainProgram = "cryptop";
};
}
8 changes: 4 additions & 4 deletions pkgs/applications/blockchains/monero-gui/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ stdenv.mkDerivation rec {
done;
'';

meta = {
meta = with lib; {
description = "Private, secure, untraceable currency";
homepage = "https://getmonero.org/";
license = lib.licenses.bsd3;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ rnhmjoj ];
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ rnhmjoj ];
mainProgram = "monero-wallet-gui";
};
}
8 changes: 4 additions & 4 deletions pkgs/applications/blockchains/nano-wallet/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ stdenv.mkDerivation rec {
runHook postCheck
'';

meta = {
meta = with lib; {
description = "Wallet for Nano cryptocurrency";
homepage = "https://nano.org/en/wallet/";
license = lib.licenses.bsd2;
license = licenses.bsd2;
# Fails on Darwin. See:
# https://github.com/NixOS/nixpkgs/pull/39295#issuecomment-386800962
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ jluttine ];
platforms = platforms.linux;
maintainers = with maintainers; [ jluttine ];
};

}
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ melpaBuild {

passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };

meta = {
meta = with lib; {
homepage = "https://github.com/twlz0ne/acm-terminal";
description = "Patch for LSP bridge acm on Terminal";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ kira-bruneau ];
license = licenses.gpl3Plus;
maintainers = with maintainers; [ kira-bruneau ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ melpaBuild {

files = ''("acm/*.el" "acm/icons")'';

meta = {
meta = with lib; {
description = "Asynchronous Completion Menu";
homepage = "https://github.com/manateelazycat/lsp-bridge";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
license = licenses.gpl3Only;
maintainers = with maintainers; [
fxttr
kira-bruneau
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@ melpaBuild (finalAttrs: {
rev-prefix = "v";
};

meta = {
meta = with lib; {
homepage = "https://github.com/cask/cask";
description = "Project management for Emacs";
longDescription = ''
Cask is a project management tool for Emacs that helps automate the
package development cycle; development, dependencies, testing, building,
packaging and more.
'';
license = lib.licenses.gpl3Plus;
license = licenses.gpl3Plus;
mainProgram = "cask";
maintainers = with lib.maintainers; [ AndersonTorres ];
maintainers = with maintainers; [ AndersonTorres ];
};
})
Loading

0 comments on commit dd105f4

Please sign in to comment.