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
@@ -14,15 +14,15 @@ let
|
||||
sha256 = "sha256-g4Jam7yxMc+piYQzgMvVsNTF+ce1U3thzYl/M9rKG4o=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
# Marked broken 2025-11-28 because both indradb-server and indradb-client
|
||||
# have failed on Hydra for nearly a year.
|
||||
broken = true;
|
||||
description = "Graph database written in rust";
|
||||
homepage = "https://github.com/indradb/indradb";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ happysalada ];
|
||||
platforms = platforms.unix;
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ happysalada ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
@@ -76,12 +76,12 @@ stdenv.mkDerivation rec {
|
||||
icon = "squirrel-sql";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Universal SQL Client";
|
||||
mainProgram = "squirrel-sql";
|
||||
homepage = "http://squirrel-sql.sourceforge.net/";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user