mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
ce3ff6bf4a
- multiple outputs - add meta.mainProgram - migrate to by-name
48 lines
920 B
Nix
48 lines
920 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, gtk3
|
|
, pcre
|
|
, pkg-config
|
|
, vte
|
|
, nixosTests
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "kermit";
|
|
version = "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "orhun";
|
|
repo = "kermit";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-XPHF33Nu+H8OcQFwsuUOhDBDWKm8sh5B36sfROeSWPg=";
|
|
};
|
|
|
|
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 = "A 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;
|
|
};
|
|
})
|