bd01fad0ed
In line with the Nixpkgs manual. A mechanical change, done with this command: find pkgs -name "*.nix" | \ while read f; do \ sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \ done I manually skipped some: * Descriptions starting with an abbreviation, a user name or package name * Frequently generated expressions (haskell-packages.nix)
31 lines
733 B
Nix
31 lines
733 B
Nix
{stdenv, fetchurl,
|
|
sendmailPath ? "/var/setuid-wrappers/sendmail" }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ts-0.7.6";
|
|
|
|
installPhase=''make install "PREFIX=$out"'';
|
|
|
|
crossAttrs = {
|
|
makeFlags = "CC=${stdenv.cross.config}-gcc";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|