2016-01-18 14:54:11 +00:00
|
|
|
{ stdenv, fetchgit, pkgconfig, vte, gtk3, ncurses }:
|
2014-09-18 22:07:35 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "termite-${version}";
|
2016-02-25 21:53:40 +00:00
|
|
|
version = "11";
|
2014-09-18 22:07:35 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
2014-09-23 17:56:57 +01:00
|
|
|
url = "https://github.com/thestinger/termite";
|
2014-11-04 22:50:23 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2016-02-25 21:53:40 +00:00
|
|
|
sha256 = "1k91nw19c0p5ghqhs00mn9npa91idfkyiwik3ng6hb4jbnblp5ph";
|
2014-09-18 22:07:35 +01:00
|
|
|
};
|
|
|
|
|
2016-02-25 21:53:40 +00:00
|
|
|
makeFlags = [ "VERSION=v${version}" "PREFIX=" "DESTDIR=$(out)" ];
|
2014-09-18 22:07:35 +01:00
|
|
|
|
2016-01-18 14:54:11 +00:00
|
|
|
buildInputs = [ pkgconfig vte gtk3 ncurses ];
|
2014-09-18 22:07:35 +01:00
|
|
|
|
2016-02-25 21:52:13 +00:00
|
|
|
outputs = [ "out" "terminfo" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $terminfo/share
|
|
|
|
mv $out/share/terminfo $terminfo/share/terminfo
|
|
|
|
|
|
|
|
mkdir -p $out/nix-support
|
|
|
|
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
|
|
|
|
'';
|
|
|
|
|
2014-11-04 22:50:23 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-09-18 22:07:35 +01:00
|
|
|
description = "A simple VTE-based terminal";
|
2014-11-04 22:50:23 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
2014-09-18 22:07:35 +01:00
|
|
|
homepage = https://github.com/thestinger/termite/;
|
2014-11-04 22:50:23 +00:00
|
|
|
maintainers = [ maintainers.koral ];
|
|
|
|
platforms = platforms.all;
|
2014-09-18 22:07:35 +01:00
|
|
|
};
|
|
|
|
}
|