nixpkgs/pkgs/by-name/ke/kermit-terminal/package.nix
2024-06-11 11:04:29 +02:00

48 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;
};
})