depot/third_party/nixpkgs/pkgs/tools/system/tm/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

29 lines
693 B
Nix

{ lib
, stdenv
, fetchurl
}:
stdenv.mkDerivation rec {
pname = "tm";
version = "0.4.1";
src = fetchurl {
url = "https://vicerveza.homeunix.net/~viric/soft/tm/tm-${version}.tar.gz";
sha256 = "3b389bc03b6964ad5ffa57a344b891fdbcf7c9b2604adda723a863f83657c4a0";
};
makeFlags = [ "PREFIX=$(out)" ];
postPatch = ''
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";
homepage = "http://vicerveza.homeunix.net/~viric/soft/tm";
license = licenses.gpl2Plus;
maintainers = [ ];
platforms = platforms.all;
mainProgram = "tm";
};
}