2013-11-11 08:53:17 +00:00
|
|
|
{stdenv, fetchurl,
|
|
|
|
sendmailPath ? "/var/setuid-wrappers/sendmail" }:
|
2008-08-21 22:35:14 +01:00
|
|
|
|
2013-11-11 08:53:17 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2008-08-21 22:35:14 +01:00
|
|
|
|
2013-11-11 08:53:17 +00:00
|
|
|
name = "ts-0.7.4";
|
2008-08-21 22:35:14 +01:00
|
|
|
|
|
|
|
installPhase=''make install "PREFIX=$out"'';
|
|
|
|
|
2010-11-26 14:12:10 +00:00
|
|
|
crossAttrs = {
|
|
|
|
makeFlags = "CC=${stdenv.cross.config}-gcc";
|
|
|
|
};
|
|
|
|
|
2013-11-11 08:53:17 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i s,/usr/sbin/sendmail,${sendmailPath}, mail.c ts.1
|
|
|
|
'';
|
|
|
|
|
2008-08-21 22:35:14 +01:00
|
|
|
src = fetchurl {
|
2013-11-11 08:53:17 +00:00
|
|
|
url = "http://viric.name/~viric/soft/ts/${name}.tar.gz";
|
|
|
|
sha256 = "042r9a09300v4fdrw4r60g5xi25v5m6g12kvvr6pcsm9qnfqyqqs";
|
2008-08-21 22:35:14 +01:00
|
|
|
};
|
|
|
|
|
2015-05-27 20:56:04 +01:00
|
|
|
meta = with stdenv.lib; {
|
2009-10-02 08:39:03 +01:00
|
|
|
homepage = "http://vicerveza.homeunix.net/~viric/soft/ts";
|
|
|
|
description = "task spooler - batch queue";
|
2015-05-28 18:20:29 +01:00
|
|
|
license = licenses.gpl2;
|
2015-05-27 20:56:04 +01:00
|
|
|
maintainers = with maintainers; [ viric ];
|
|
|
|
platforms = with platforms; all;
|
2009-10-02 08:39:03 +01:00
|
|
|
};
|
2008-08-21 22:35:14 +01:00
|
|
|
}
|