nixpkgs/pkgs/tools/system/ts/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
703 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl
, sendmailPath ? "/run/wrappers/bin/sendmail"
}:
2013-11-11 08:53:17 +00:00
stdenv.mkDerivation rec {
pname = "ts";
2024-02-27 01:06:46 +00:00
version = "1.0.2";
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 {
url = "https://viric.name/~viric/soft/ts/ts-${version}.tar.gz";
2024-02-27 01:06:46 +00:00
sha256 = "sha256-9zRSrtgOL5p3ZIg+k1Oqf0DmXTwZmtHzvmD9WLWOr+w=";
};
meta = with lib; {
homepage = "http://vicerveza.homeunix.net/~viric/soft/ts";
description = "Task spooler - batch queue";
license = licenses.gpl2;
maintainers = with maintainers; [ viric ];
platforms = platforms.all;
2023-11-27 01:17:53 +00:00
mainProgram = "ts";
};
}