summary refs log tree commit diff
path: root/pkgs/tools/misc/tmux-xpanes
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2019-04-28 21:57:05 +0200
committerPatrice Clement <monsieurp@gentoo.org>2019-04-30 10:58:30 +0200
commit27fc24a1419d174193b90fb687ea4b2de36e32a8 (patch)
tree02737f2c9715b104c855fcaa785a8e5b31d2e9b0 /pkgs/tools/misc/tmux-xpanes
parent7d558b2cdfe43f7bb90ee2f47890149181395d6f (diff)
downloadnixpkgs-27fc24a1419d174193b90fb687ea4b2de36e32a8.tar
nixpkgs-27fc24a1419d174193b90fb687ea4b2de36e32a8.tar.gz
nixpkgs-27fc24a1419d174193b90fb687ea4b2de36e32a8.tar.bz2
nixpkgs-27fc24a1419d174193b90fb687ea4b2de36e32a8.tar.lz
nixpkgs-27fc24a1419d174193b90fb687ea4b2de36e32a8.tar.xz
nixpkgs-27fc24a1419d174193b90fb687ea4b2de36e32a8.tar.zst
nixpkgs-27fc24a1419d174193b90fb687ea4b2de36e32a8.zip
tmux-xpanes: init at 4.1.0
Diffstat (limited to 'pkgs/tools/misc/tmux-xpanes')
-rw-r--r--pkgs/tools/misc/tmux-xpanes/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/misc/tmux-xpanes/default.nix b/pkgs/tools/misc/tmux-xpanes/default.nix
new file mode 100644
index 00000000000..3ea5f758050
--- /dev/null
+++ b/pkgs/tools/misc/tmux-xpanes/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchFromGitHub, openssl, perl }:
+
+stdenv.mkDerivation rec {
+  pname = "tmux-xpanes";
+  version = "4.1.0";
+
+  src = fetchFromGitHub {
+    owner = "greymd";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "11yz6rh2ckd1z8q80n8giv2gcz2i22fgf3pnfxq96qrzflb0d96a";
+  };
+
+  buildInputs = [ openssl perl ];
+
+  installPhase = ''
+    # Create directories.
+    install -m 755 -d $out/bin/
+    install -m 755 -d $out/share/man/man1/
+
+    # Perform installation.
+    install -m 755 bin/* $out/bin/
+    install -m 644 man/*.1 $out/share/man/man1/
+  '';
+
+  meta = with stdenv.lib; {
+    description = "tmux-based terminal divider";
+    homepage = "https://github.com/greymd/tmux-xpanes";
+    license = licenses.mit;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ monsieurp ];
+  };
+}