3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/system/ts/default.nix

31 lines
730 B
Nix
Raw Normal View History

2013-11-11 08:53:17 +00:00
{stdenv, fetchurl,
sendmailPath ? "/run/wrappers/bin/sendmail" }:
2013-11-11 08:53:17 +00:00
stdenv.mkDerivation rec {
2016-03-19 11:23:34 +00:00
name = "ts-0.7.6";
installPhase=''make install "PREFIX=$out"'';
crossAttrs = {
makeFlags = "CC=${stdenv.cross.config}-gcc";
};
2013-11-11 08:53:17 +00:00
patchPhase = ''
sed -i s,/usr/sbin/sendmail,${sendmailPath}, mail.c ts.1
'';
src = fetchurl {
2013-11-11 08:53:17 +00:00
url = "http://viric.name/~viric/soft/ts/${name}.tar.gz";
2016-03-19 11:23:34 +00:00
sha256 = "07b61sx3hqpdxlg5a1xrz9sxww9yqdix3bmr0sm917r3rzk87lwk";
};
meta = with stdenv.lib; {
homepage = "http://vicerveza.homeunix.net/~viric/soft/ts";
description = "Task spooler - batch queue";
license = licenses.gpl2;
maintainers = with maintainers; [ viric ];
platforms = platforms.all;
};
}