1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/tools/system/ts/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

28 lines
658 B
Nix

{ stdenv, fetchurl
, sendmailPath ? "/run/wrappers/bin/sendmail"
}:
stdenv.mkDerivation rec {
name = "ts-0.7.6";
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 = "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;
};
}