2014-01-01 13:55:49 +00:00
|
|
|
{ stdenv, fetchurl, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-04-29 09:45:21 +01:00
|
|
|
name = "dvtm-0.11";
|
2014-01-01 13:55:49 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Dynamic virtual terminal manager";
|
|
|
|
homepage = "http://www.brain-dump.org/projects/dvtm";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platfroms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ iyzsong ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/${name}.tar.gz";
|
2014-04-29 09:45:21 +01:00
|
|
|
sha256 = "11zb5wnvmcx8np2886hwaqijvhdw8l87lldxhgqikw2ncpgrz8h1";
|
2014-01-01 13:55:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace /usr/share/terminfo $out/share/terminfo
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make PREFIX=$out install
|
|
|
|
'';
|
|
|
|
}
|