2014-01-01 14:55:49 +01:00
|
|
|
{ stdenv, fetchurl, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-02-08 06:09:29 +01:00
|
|
|
name = "dvtm-0.15";
|
2014-01-01 14:55:49 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Dynamic virtual terminal manager";
|
2014-07-14 15:40:09 +02:00
|
|
|
homepage = http://www.brain-dump.org/projects/dvtm;
|
2014-01-01 14:55:49 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platfroms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/${name}.tar.gz";
|
2016-02-08 06:09:29 +01:00
|
|
|
sha256 = "0475w514b7i3gxk6khy8pfj2gx9l7lv2pwacmq92zn1abv01a84g";
|
2014-01-01 14:55:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace /usr/share/terminfo $out/share/terminfo
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make PREFIX=$out install
|
|
|
|
'';
|
|
|
|
}
|