1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/tools/system/ts/default.nix
Ryan Mulligan 9d8a5a404f ts: 0.7.6 -> 1.0
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"
2018-02-28 20:33:53 +00:00

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;
};
}