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