mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
treewide: Add meta.mainProgram
This should fix most warnings getExe in based on grepping `nixos/`.
This commit is contained in:
parent
d36353cf86
commit
4c1d3cee60
@ -75,5 +75,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ aske ];
|
||||
platforms = platforms.all;
|
||||
mainProgram = "espeak-ng";
|
||||
};
|
||||
}
|
||||
|
@ -31,5 +31,6 @@ rustPlatform.buildRustPackage rec {
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ fufexan ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "regreet";
|
||||
};
|
||||
}
|
||||
|
@ -227,5 +227,6 @@ in stdenv.mkDerivation {
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ zhaofengli ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "darling";
|
||||
};
|
||||
}
|
||||
|
@ -41,5 +41,6 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ anselmschueler ];
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "tesseract";
|
||||
};
|
||||
}
|
||||
|
@ -20,6 +20,7 @@
|
||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
||||
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
|
||||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
};
|
||||
tests = [ nixosTests.firefox ];
|
||||
updateScript = callPackage ./update.nix {
|
||||
@ -46,6 +47,7 @@
|
||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
||||
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
|
||||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
};
|
||||
tests = [ nixosTests.firefox-beta ];
|
||||
updateScript = callPackage ./update.nix {
|
||||
@ -74,6 +76,7 @@
|
||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
||||
maxSilent = 14400; # 4h, double the default of 7200s (c.f. #129212, #129115)
|
||||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
};
|
||||
tests = [ nixosTests.firefox-devedition ];
|
||||
updateScript = callPackage ./update.nix {
|
||||
@ -104,6 +107,7 @@
|
||||
broken = stdenv.buildPlatform.is32bit; # since Firefox 60, build on 32-bit platforms fails with "out of memory".
|
||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
||||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
};
|
||||
tests = [ nixosTests.firefox-esr-102 ];
|
||||
updateScript = callPackage ./update.nix {
|
||||
@ -132,6 +136,7 @@
|
||||
broken = stdenv.buildPlatform.is32bit; # since Firefox 60, build on 32-bit platforms fails with "out of memory".
|
||||
# not in `badPlatforms` because cross-compilation on 64-bit machine might work.
|
||||
license = lib.licenses.mpl20;
|
||||
mainProgram = "firefox";
|
||||
};
|
||||
tests = [ nixosTests.firefox-esr-115 ];
|
||||
updateScript = callPackage ./update.nix {
|
||||
|
@ -60,5 +60,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3Plus;
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
maintainers = with maintainers; [ zendo ];
|
||||
mainProgram = "clash-verge";
|
||||
};
|
||||
}
|
||||
|
@ -88,5 +88,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
maintainers = with maintainers; [ winter raitobezarius ];
|
||||
license = licenses.mit;
|
||||
inherit (nodejs.meta) platforms;
|
||||
mainProgram = "thelounge";
|
||||
};
|
||||
})
|
||||
|
@ -88,5 +88,6 @@ buildGoModule rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ disassembler kolaente ma27 techknowlogick ];
|
||||
broken = stdenv.isDarwin;
|
||||
mainProgram = "gitea";
|
||||
};
|
||||
}
|
||||
|
@ -44,5 +44,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
mainProgram = "cage";
|
||||
};
|
||||
}
|
||||
|
@ -46,5 +46,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ jtojnar ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "xdg-dbus-proxy";
|
||||
};
|
||||
}
|
||||
|
@ -13,5 +13,6 @@ buildGoModule {
|
||||
|
||||
meta = common.meta // {
|
||||
description = "Woodpecker Continuous Integration agent";
|
||||
mainProgram = "woodpecker-agent";
|
||||
};
|
||||
}
|
||||
|
@ -23,5 +23,6 @@ buildGoModule {
|
||||
|
||||
meta = common.meta // {
|
||||
description = "Woodpecker Continuous Integration server";
|
||||
mainProgram = "woodpecker-server";
|
||||
};
|
||||
}
|
||||
|
@ -26,5 +26,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/mozilla/geckodriver";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ jraygauthier ];
|
||||
mainProgram = "geckodriver";
|
||||
};
|
||||
}
|
||||
|
@ -73,5 +73,6 @@ in stdenv.mkDerivation rec {
|
||||
# Note from primeos: By updating Chromium I also update Google Chrome and
|
||||
# ChromeDriver.
|
||||
platforms = attrNames allSpecs;
|
||||
mainProgram = "chromedriver";
|
||||
};
|
||||
}
|
||||
|
@ -43,5 +43,6 @@ rustPlatform.buildRustPackage rec {
|
||||
description = "A time traveling resource monitor for modern Linux systems";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://github.com/facebookincubator/below";
|
||||
mainProgram = "below";
|
||||
};
|
||||
}
|
||||
|
@ -322,5 +322,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ offline henkery code-asher ];
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" ];
|
||||
mainProgram = "code-server";
|
||||
};
|
||||
})
|
||||
|
@ -42,5 +42,6 @@ buildGoModule rec {
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ pradeepchhetri vdemeester nh2 techknowlogick];
|
||||
mainProgram = "consul";
|
||||
};
|
||||
}
|
||||
|
@ -30,5 +30,6 @@ buildGoModule rec {
|
||||
changelog = "https://github.com/joohoi/acme-dns/releases/tag/${src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ emilylange ];
|
||||
mainProgram = "acme-dns";
|
||||
};
|
||||
}
|
||||
|
@ -110,5 +110,6 @@ in rustPlatform.buildRustPackage (commonDerivationAttrs // {
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ emilylange bendlas ];
|
||||
mainProgram = "lldap";
|
||||
};
|
||||
})
|
||||
|
@ -73,5 +73,6 @@ buildGoModule rec {
|
||||
homepage = "https://grafana.com/products/cloud";
|
||||
changelog = "https://github.com/grafana/agent/blob/${src.rev}/CHANGELOG.md";
|
||||
maintainers = with lib.maintainers; [ flokli emilylange ];
|
||||
mainProgram = "grafana-agent";
|
||||
};
|
||||
}
|
||||
|
@ -219,5 +219,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dguenther ghuntley emilytrau ];
|
||||
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
||||
mainProgram = "openvscode-server";
|
||||
};
|
||||
})
|
||||
|
@ -98,5 +98,6 @@ buildGoModule rec {
|
||||
homepage = "https://www.pufferpanel.com/";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ ckie tie ];
|
||||
mainProgram = "pufferpanel";
|
||||
};
|
||||
}
|
||||
|
@ -73,5 +73,6 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
license = lib.licenses.gpl3Only;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ misterio77 ];
|
||||
mainProgram = "kavita";
|
||||
};
|
||||
})
|
||||
|
@ -814,6 +814,7 @@ self: super:
|
||||
--replace '_X_NORETURN' '__attribute__((noreturn))' \
|
||||
--replace 'n_dirs--;' ""
|
||||
'';
|
||||
meta.mainProgram = "lndir";
|
||||
});
|
||||
|
||||
twm = super.twm.overrideAttrs (attrs: {
|
||||
|
@ -40,5 +40,6 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.unfree;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ thoughtpolice roconnor ];
|
||||
mainProgram = "tarsnap";
|
||||
};
|
||||
}
|
||||
|
@ -50,5 +50,6 @@ buildGoModule rec {
|
||||
homepage = "https://direnv.net";
|
||||
license = licenses.mit;
|
||||
maintainers = teams.numtide.members;
|
||||
mainProgram = "direnv";
|
||||
};
|
||||
}
|
||||
|
@ -126,5 +126,6 @@ rustPlatform.buildRustPackage {
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ thoughtpolice happysalada ];
|
||||
platforms = with platforms; all;
|
||||
mainProgram = "vector";
|
||||
};
|
||||
}
|
||||
|
@ -40,5 +40,6 @@ buildGoModule rec {
|
||||
homepage = "https://github.com/MetaCubeX/Clash.Meta";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ oluceps ];
|
||||
mainProgram = "clash-meta";
|
||||
};
|
||||
}
|
||||
|
@ -40,5 +40,6 @@ buildGoModule rec {
|
||||
changelog = "https://github.com/Dreamacro/clash/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ contrun Br1ght0ne ];
|
||||
mainProgram = "clash";
|
||||
};
|
||||
}
|
||||
|
@ -87,5 +87,6 @@ buildNpmPackage rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ misterio77 ];
|
||||
platforms = lib.unique (geckodriver.meta.platforms ++ chromedriver.meta.platforms);
|
||||
mainProgram = "sitespeed-io";
|
||||
};
|
||||
}
|
||||
|
@ -21,5 +21,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://git.deuxfleurs.fr/Deuxfleurs/wgautomesh";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = [ maintainers.lx ];
|
||||
mainProgram = "wgautomesh";
|
||||
};
|
||||
}
|
||||
|
@ -44,5 +44,6 @@ rustPlatform.buildRustPackage rec {
|
||||
homepage = "https://github.com/nix-community/harmonia";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
mainProgram = "harmonia";
|
||||
};
|
||||
}
|
||||
|
@ -43,5 +43,6 @@ python3Packages.buildPythonPackage rec {
|
||||
license = licenses.lgpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.Technical27 ];
|
||||
mainProgram = "auto-cpufreq";
|
||||
};
|
||||
}
|
||||
|
@ -29,5 +29,6 @@ rustPlatform.buildRustPackage rec {
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ linj ];
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "kanata";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user