tmux: 1.9a -> 2.0
This commit is contained in:
parent
bce08b7aca
commit
c17b2144b4
@ -1,21 +1,23 @@
|
||||
{stdenv, fetchurl, ncurses, libevent, pkgconfig}:
|
||||
{ stdenv, fetchurl, ncurses, libevent, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tmux";
|
||||
version = "1.9a";
|
||||
name = "${pname}-${version}";
|
||||
name = "tmux-2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${pname}/${name}.tar.gz";
|
||||
sha256 = "1x9k4wfd4l5jg6fh7xkr3yyilizha6ka8m5b1nr0kw8wj0mv5qy5";
|
||||
url = "mirror://sourceforge/tmux/${name}.tar.gz";
|
||||
sha256 = "0qnkda8kb747vmbldjpb23ksv9pq3s65xhh1ja5rdsmh8r24npvr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ ncurses libevent ];
|
||||
|
||||
postInstall =
|
||||
''
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc/bash_completion.d
|
||||
cp -v examples/bash_completion_tmux.sh $out/etc/bash_completion.d/tmux
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user