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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
693 B
Nix
Raw Normal View History

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