nixpkgs/pkgs/tools/system/tm/default.nix

31 lines
746 B
Nix
Raw Normal View History

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "tm-0.4.1";
installPhase=''make install "PREFIX=$out"'';
2016-08-12 06:07:13 +01:00
patchPhase = ''
sed -i 's@/usr/bin/install@install@g ; s/gcc/cc/g' Makefile
'';
crossAttrs = {
makeFlags = "CC=${stdenv.cross.config}-gcc";
};
src = fetchurl {
url = http://vicerveza.homeunix.net/~viric/soft/tm/tm-0.4.1.tar.gz;
sha256 = "3b389bc03b6964ad5ffa57a344b891fdbcf7c9b2604adda723a863f83657c4a0";
};
meta = with stdenv.lib; {
homepage = "http://vicerveza.homeunix.net/~viric/soft/tm";
description = "Terminal mixer - multiplexer for the i/o of terminal applications";
license = licenses.gpl2;
maintainers = with maintainers; [ viric ];
platforms = platforms.all;
};
}