nixpkgs/pkgs/tools/misc/dvtm/default.nix

30 lines
689 B
Nix
Raw Normal View History

2014-01-01 14:55:49 +01:00
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
2014-07-14 15:40:09 +02:00
name = "dvtm-0.12";
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;
maintainers = with stdenv.lib.maintainers; [ iyzsong ];
};
src = fetchurl {
url = "${meta.homepage}/${name}.tar.gz";
2014-07-14 15:40:09 +02:00
sha256 = "0qcwsxhg738rq3bh4yid15nz2rrjc9k7ay6c1qv15c3gkw86zc3f";
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
'';
}