depot/third_party/nixpkgs/pkgs/by-name/ke/kermit-terminal/package.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

47 lines
920 B
Nix

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