2014-01-01 13:55:49 +00:00
|
|
|
{ stdenv, fetchurl, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-02-22 11:37:05 +00:00
|
|
|
name = "dvtm-0.14";
|
2014-01-01 13:55:49 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Dynamic virtual terminal manager";
|
2014-07-14 14:40:09 +01:00
|
|
|
homepage = http://www.brain-dump.org/projects/dvtm;
|
2014-01-01 13:55:49 +00:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
platfroms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ iyzsong ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/${name}.tar.gz";
|
2015-02-22 11:37:05 +00:00
|
|
|
sha256 = "0ykl8dz7ivjgdzhmhlgidnp2ffh5gxq9lbg276w7iid4z10v76wa";
|
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
|
|
|
|
'';
|
|
|
|
}
|