2021-07-14 22:03:04 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tm";
|
|
|
|
version = "0.4.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://vicerveza.homeunix.net/~viric/soft/tm/tm-${version}.tar.gz";
|
|
|
|
sha256 = "3b389bc03b6964ad5ffa57a344b891fdbcf7c9b2604adda723a863f83657c4a0";
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
postPatch = ''
|
2020-04-24 23:36:52 +00:00
|
|
|
sed -i 's@/usr/bin/install@install@g ; s/gcc/cc/g' Makefile
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Terminal mixer - multiplexer for the i/o of terminal applications";
|
2021-07-14 22:03:04 +00:00
|
|
|
homepage = "http://vicerveza.homeunix.net/~viric/soft/tm";
|
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ viric ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|