3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/terminal-emulators/evilvte/default.nix
AndersonTorres 2bb3a9da24 A directory-category for terminal emulators
This is a mostly cosmetical commit, in the sense it doesn't change the contents
of any package, but reorganizes the overall Nixpkgs expressions.

Terminal emulators are an ubiquitous tool for any Unix user; even the beginners
are routinely familiarized to it. And, manifestly, there are many
implementations of terminal emulators out there, from those traditionally made
in C and C++ to those written in Haskell and Go.

Terminal emulators deserve more highlight. This commit does that by creating a
category for them.
2020-10-28 10:22:39 -03:00

39 lines
1,009 B
Nix

{ stdenv, fetchgit, makeWrapper, pkgconfig,
gnome2, glib, pango, cairo, gdk-pixbuf, atk, freetype, xorg,
configH ? ""
}:
stdenv.mkDerivation {
pname = "evilvte";
version = "0.5.2-20140827";
src = fetchgit {
url = "https://github.com/caleb-/evilvte.git";
rev = "8dfa41e26bc640dd8d8c7317ff7d04e3c01ded8a";
sha256 = "70f1d4234d077121e2223a735d749d1b53f0b84393507b635b8a37c3716e94d3";
};
buildInputs = [
gnome2.vte glib pango gnome2.gtk cairo gdk-pixbuf atk freetype xorg.libX11
xorg.xorgproto xorg.libXext makeWrapper pkgconfig
];
buildPhase = ''
cat >src/config.h <<EOF
${configH}
EOF
make
'';
meta = with stdenv.lib; {
description = "VTE based, highly customizable terminal emulator";
homepage = "http://www.calno.com/evilvte";
license = licenses.gpl2;
maintainers = [ maintainers.bodil ];
platforms = platforms.linux;
knownVulnerabilities = [
"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854585"
];
};
}