2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl
|
2020-04-24 23:36:52 +00:00
|
|
|
, sendmailPath ? "/run/wrappers/bin/sendmail"
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "ts-1.0";
|
|
|
|
|
|
|
|
installPhase=''make install "PREFIX=$out"'';
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i s,/usr/sbin/sendmail,${sendmailPath}, mail.c ts.1
|
|
|
|
'';
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://viric.name/~viric/soft/ts/${name}.tar.gz";
|
|
|
|
sha256 = "15dkzczx10fhl0zs9bmcgkxfbwq2znc7bpscljm4rchbzx7y6lsg";
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://vicerveza.homeunix.net/~viric/soft/ts";
|
|
|
|
description = "Task spooler - batch queue";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ viric ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|