1 { lib, stdenv, fetchFromGitHub, ncurses }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "0b2arkmbmabxmrqxlpvvvhll2qx0xgj7r4r6p0ymnm9p70idris4";
14 buildInputs = [ ncurses ];
17 substituteInPlace Makefile --replace "strip -s mtm" ""
23 install -Dm755 -t $out/bin mtm
24 install -Dm644 -t $out/share/man/man1 mtm.1
30 description = "Perhaps the smallest useful terminal multiplexer in the world";
31 homepage = "https://github.com/deadpixi/mtm";
32 license = licenses.gpl3Plus;
33 platforms = platforms.unix;
34 maintainers = [ maintainers.marsam ];