mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
9d8a5a404f
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0/bin/ts -h` got 0 exit code - ran `/nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0/bin/ts help` got 0 exit code - ran `/nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0/bin/ts -V` and found version 1.0 - ran `/nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0/bin/ts -h` and found version 1.0 - found 1.0 with grep in /nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0 - found 1.0 in filename of file in /nix/store/fx773gqzc7zwjjyyr13s1rqa6z96ipw7-ts-1.0 cc "@viric"
28 lines
656 B
Nix
28 lines
656 B
Nix
{ stdenv, fetchurl
|
|
, 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";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|