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