2022-02-04 22:44:10 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, gtk3
|
|
|
|
, pcre
|
|
|
|
, pkg-config
|
|
|
|
, vte
|
2020-11-13 18:54:56 +00:00
|
|
|
, nixosTests
|
2022-02-04 22:44:10 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kermit";
|
2022-02-06 01:07:53 +00:00
|
|
|
version = "3.7";
|
2022-02-04 22:44:10 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
name = "${pname}-${version}-src";
|
|
|
|
owner = "orhun";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-02-06 01:07:53 +00:00
|
|
|
hash = "sha256-O5jpiQ+aaOTPst4/Z+H5e7ylA8CNBevqNoH50p4uEA4=";
|
2022-02-04 22:44:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
pcre
|
|
|
|
vte
|
|
|
|
];
|
|
|
|
|
2020-11-13 18:54:56 +00:00
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.kermit;
|
|
|
|
|
2022-02-04 22:44:10 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/orhun/kermit";
|
|
|
|
description = "A VTE-based, simple and froggy terminal emulator";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = with platforms; unix;
|
|
|
|
};
|
|
|
|
}
|