tmux: 2.9a -> 3.0

Some formatting done as well.
This commit is contained in:
Doron Behar 2019-11-30 12:08:07 +02:00
parent 5d2d5d3a9e
commit 5b31ad54d7

View File

@ -1,4 +1,12 @@
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses, libevent, pkgconfig, makeWrapper }: { stdenv
, fetchFromGitHub
, autoreconfHook
, pkgconfig
, makeWrapper
, bison
, ncurses
, libevent
}:
let let
@ -13,20 +21,28 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tmux"; pname = "tmux";
version = "2.9a"; version = "3.0";
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = "tmux";
repo = pname; repo = "tmux";
rev = version; rev = version;
sha256 = "040plbgxlz14q5p0p3wapr576jbirwripmsjyq3g1nxh76jh1ipg"; sha256 = "0772hajzgpl4cvb9l2bma9hmnh4jg1phvqr2gg4292w34n5dsl3k";
}; };
nativeBuildInputs = [ pkgconfig autoreconfHook ]; nativeBuildInputs = [
pkgconfig
autoreconfHook
bison
];
buildInputs = [ ncurses libevent makeWrapper ]; buildInputs = [
ncurses
libevent
makeWrapper
];
configureFlags = [ configureFlags = [
"--sysconfdir=/etc" "--sysconfdir=/etc"
@ -39,7 +55,7 @@ stdenv.mkDerivation rec {
''; '';
meta = { meta = {
homepage = http://tmux.github.io/; homepage = "http://tmux.github.io/";
description = "Terminal multiplexer"; description = "Terminal multiplexer";
longDescription = longDescription =