mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
tmux: 2.9a -> 3.0
Some formatting done as well.
This commit is contained in:
parent
5d2d5d3a9e
commit
5b31ad54d7
|
@ -1,4 +1,12 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses, libevent, pkgconfig, makeWrapper }:
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, pkgconfig
|
||||
, makeWrapper
|
||||
, bison
|
||||
, ncurses
|
||||
, libevent
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
|
@ -13,20 +21,28 @@ in
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tmux";
|
||||
version = "2.9a";
|
||||
version = "3.0";
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
owner = "tmux";
|
||||
repo = "tmux";
|
||||
rev = version;
|
||||
sha256 = "040plbgxlz14q5p0p3wapr576jbirwripmsjyq3g1nxh76jh1ipg";
|
||||
sha256 = "0772hajzgpl4cvb9l2bma9hmnh4jg1phvqr2gg4292w34n5dsl3k";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
autoreconfHook
|
||||
bison
|
||||
];
|
||||
|
||||
buildInputs = [ ncurses libevent makeWrapper ];
|
||||
buildInputs = [
|
||||
ncurses
|
||||
libevent
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
|
@ -39,7 +55,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://tmux.github.io/;
|
||||
homepage = "http://tmux.github.io/";
|
||||
description = "Terminal multiplexer";
|
||||
|
||||
longDescription =
|
||||
|
|
Loading…
Reference in a new issue