1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/tools/system/ts/default.nix

28 lines
656 B
Nix
Raw Normal View History

{ stdenv, fetchurl
, sendmailPath ? "/run/wrappers/bin/sendmail"
}:
2013-11-11 08:53:17 +00:00
stdenv.mkDerivation rec {
name = "ts-1.0";
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
'';
src = fetchurl {
2013-11-11 08:53:17 +00:00
url = "http://viric.name/~viric/soft/ts/${name}.tar.gz";
sha256 = "15dkzczx10fhl0zs9bmcgkxfbwq2znc7bpscljm4rchbzx7y6lsg";
};
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;
};
}