depot/third_party/nixpkgs/pkgs/by-name/ke/kermit-terminal/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

47 lines
918 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, gtk3
, pcre
, pkg-config
, vte
, nixosTests
}:
stdenv.mkDerivation (finalAttrs: {
pname = "kermit";
version = "4.0";
src = fetchFromGitHub {
owner = "orhun";
repo = "kermit";
rev = finalAttrs.version;
hash = "sha256-rhlUnRfyd7PmtMSyP+tiu+TxZNb/YyS0Yc5IkWft7/4=";
};
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 = "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;
};
})