2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl
|
2017-06-28 22:55:50 +02:00
|
|
|
, sendmailPath ? "/run/wrappers/bin/sendmail"
|
|
|
|
}:
|
2008-08-21 23:35:14 +02:00
|
|
|
|
2013-11-11 09:53:17 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2008-08-21 23:35:14 +02:00
|
|
|
|
2018-02-28 02:53:14 +01:00
|
|
|
name = "ts-1.0";
|
2008-08-21 23:35:14 +02:00
|
|
|
|
|
|
|
installPhase=''make install "PREFIX=$out"'';
|
|
|
|
|
2013-11-11 09:53:17 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i s,/usr/sbin/sendmail,${sendmailPath}, mail.c ts.1
|
|
|
|
'';
|
|
|
|
|
2008-08-21 23:35:14 +02:00
|
|
|
src = fetchurl {
|
2013-11-11 09:53:17 +01:00
|
|
|
url = "http://viric.name/~viric/soft/ts/${name}.tar.gz";
|
2018-02-28 02:53:14 +01:00
|
|
|
sha256 = "15dkzczx10fhl0zs9bmcgkxfbwq2znc7bpscljm4rchbzx7y6lsg";
|
2008-08-21 23:35:14 +02:00
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://vicerveza.homeunix.net/~viric/soft/ts";
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "Task spooler - batch queue";
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.gpl2;
|
2015-05-27 21:56:04 +02:00
|
|
|
maintainers = with maintainers; [ viric ];
|
2015-11-17 21:29:29 +01:00
|
|
|
platforms = platforms.all;
|
2009-10-02 09:39:03 +02:00
|
|
|
};
|
2008-08-21 23:35:14 +02:00
|
|
|
}
|