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