blob: 26a8afa951af2ee1544d9f79cbd42a7c63398120 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ lib, stdenv, fetchurl
, sendmailPath ? "/run/wrappers/bin/sendmail"
}:
stdenv.mkDerivation rec {
pname = "ts";
version = "1.0.3";
installPhase=''make install "PREFIX=$out"'';
patchPhase = ''
sed -i s,/usr/sbin/sendmail,${sendmailPath}, mail.c ts.1
'';
src = fetchurl {
url = "https://viric.name/~viric/soft/ts/ts-${version}.tar.gz";
sha256 = "sha256-+oMzEVQ9xTW2DLerg8ZKte4xEo26qqE93jQZhOVCtCg=";
};
meta = with lib; {
homepage = "http://vicerveza.homeunix.net/~viric/soft/ts";
description = "Task spooler - batch queue";
license = licenses.gpl2Only;
maintainers = with maintainers; [ viric ];
platforms = platforms.all;
mainProgram = "ts";
};
}
|