tm: cleanup
This commit is contained in:
parent
b118976151
commit
42ab2920f1
|
@ -1,26 +1,28 @@
|
||||||
{lib, stdenv, fetchurl}:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "tm";
|
||||||
name = "tm-0.4.1";
|
version = "0.4.1";
|
||||||
|
|
||||||
installPhase=''make install "PREFIX=$out"'';
|
|
||||||
|
|
||||||
patchPhase = ''
|
|
||||||
sed -i 's@/usr/bin/install@install@g ; s/gcc/cc/g' Makefile
|
|
||||||
'';
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://vicerveza.homeunix.net/~viric/soft/tm/tm-0.4.1.tar.gz";
|
url = "https://vicerveza.homeunix.net/~viric/soft/tm/tm-${version}.tar.gz";
|
||||||
sha256 = "3b389bc03b6964ad5ffa57a344b891fdbcf7c9b2604adda723a863f83657c4a0";
|
sha256 = "3b389bc03b6964ad5ffa57a344b891fdbcf7c9b2604adda723a863f83657c4a0";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i 's@/usr/bin/install@install@g ; s/gcc/cc/g' Makefile
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://vicerveza.homeunix.net/~viric/soft/tm";
|
|
||||||
description = "Terminal mixer - multiplexer for the i/o of terminal applications";
|
description = "Terminal mixer - multiplexer for the i/o of terminal applications";
|
||||||
license = licenses.gpl2;
|
homepage = "http://vicerveza.homeunix.net/~viric/soft/tm";
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ viric ];
|
maintainers = with maintainers; [ viric ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue