kermit-terminal: update

- multiple outputs
- add meta.mainProgram
- migrate to by-name
This commit is contained in:
Anderson Torres 2023-09-09 22:21:59 -03:00
parent f3fabeca1e
commit ce3ff6bf4a
2 changed files with 8 additions and 7 deletions

View File

@ -15,11 +15,13 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "orhun"; owner = "orhun";
repo = finalAttrs.pname; repo = "kermit";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-XPHF33Nu+H8OcQFwsuUOhDBDWKm8sh5B36sfROeSWPg="; hash = "sha256-XPHF33Nu+H8OcQFwsuUOhDBDWKm8sh5B36sfROeSWPg=";
}; };
outputs = [ "out" "man" ];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
pkg-config pkg-config
@ -33,12 +35,13 @@ stdenv.mkDerivation (finalAttrs: {
passthru.tests.test = nixosTests.terminal-emulators.kermit; passthru.tests.test = nixosTests.terminal-emulators.kermit;
meta = with lib; { meta = {
homepage = "https://github.com/orhun/kermit"; homepage = "https://github.com/orhun/kermit";
description = "A VTE-based, simple and froggy terminal emulator"; description = "A VTE-based, simple and froggy terminal emulator";
changelog = "https://github.com/orhun/kermit/releases/tag/${finalAttrs.version}"; changelog = "https://github.com/orhun/kermit/releases/tag/${finalAttrs.version}";
license = licenses.gpl3Only; license = lib.licenses.gpl3Only;
maintainers = with maintainers; [ AndersonTorres ]; mainProgram = "kermit";
platforms = with platforms; unix; maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.unix;
}; };
}) })

View File

@ -3017,8 +3017,6 @@ with pkgs;
iterm2 = callPackage ../applications/terminal-emulators/iterm2 { }; iterm2 = callPackage ../applications/terminal-emulators/iterm2 { };
kermit-terminal = callPackage ../applications/terminal-emulators/kermit-terminal { };
kitty = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/kitty { kitty = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/kitty {
go = go_1_21; go = go_1_21;
harfbuzz = harfbuzz.override { withCoreText = stdenv.isDarwin; }; harfbuzz = harfbuzz.override { withCoreText = stdenv.isDarwin; };