treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
This commit is contained in:
co-authored by
Wolfgang Walther
parent
8bbc115374
commit
567e8dfd8e
@@ -98,12 +98,12 @@ let
|
||||
install -m644 -t $out/include/ ${bass.h}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Shareware audio library";
|
||||
homepage = "https://www.un4seen.com/";
|
||||
license = licenses.unfreeRedistributable;
|
||||
license = lib.licenses.unfreeRedistributable;
|
||||
platforms = builtins.attrNames bass.so;
|
||||
maintainers = with maintainers; [ poz ];
|
||||
maintainers = with lib.maintainers; [ poz ];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -43,11 +43,11 @@ stdenv.mkDerivation rec {
|
||||
"-DRTAUDIO_API_CORE=${if coreaudioSupport then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Set of C++ classes that provide a cross platform API for realtime audio input/output";
|
||||
homepage = "https://www.music.mcgill.ca/~gary/rtaudio/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ magnetophon ];
|
||||
platforms = platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ magnetophon ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user