mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
45 lines
794 B
Nix
45 lines
794 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, gtk3
|
|
, pcre
|
|
, pkg-config
|
|
, vte
|
|
, nixosTests
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kermit";
|
|
version = "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
name = "${pname}-${version}-src";
|
|
owner = "orhun";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-O5jpiQ+aaOTPst4/Z+H5e7ylA8CNBevqNoH50p4uEA4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
pcre
|
|
vte
|
|
];
|
|
|
|
passthru.tests.test = nixosTests.terminal-emulators.kermit;
|
|
|
|
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;
|
|
};
|
|
}
|