2022-02-10 20:34:41 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, gtk3
|
|
|
|
, pcre
|
|
|
|
, pkg-config
|
|
|
|
, vte
|
2022-03-30 09:31:56 +00:00
|
|
|
, nixosTests
|
2022-02-10 20:34:41 +00:00
|
|
|
}:
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2022-02-10 20:34:41 +00:00
|
|
|
pname = "kermit";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "3.8";
|
2022-02-10 20:34:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "orhun";
|
2022-12-17 10:02:37 +00:00
|
|
|
repo = finalAttrs.pname;
|
|
|
|
rev = finalAttrs.version;
|
|
|
|
hash = "sha256-XPHF33Nu+H8OcQFwsuUOhDBDWKm8sh5B36sfROeSWPg=";
|
2022-02-10 20:34:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
pcre
|
|
|
|
vte
|
|
|
|
];
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.kermit;
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/orhun/kermit";
|
|
|
|
description = "A VTE-based, simple and froggy terminal emulator";
|
2022-12-17 10:02:37 +00:00
|
|
|
changelog = "https://github.com/orhun/kermit/releases/tag/${finalAttrs.version}";
|
2022-02-10 20:34:41 +00:00
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
2022-12-17 10:02:37 +00:00
|
|
|
})
|