bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
47 lines
918 B
Nix
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;
|
|
};
|
|
})
|