Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 27 lines 678 B view raw
1{ lib, stdenv, fetchurl 2, sendmailPath ? "/run/wrappers/bin/sendmail" 3}: 4 5stdenv.mkDerivation rec { 6 pname = "ts"; 7 version = "1.0"; 8 9 installPhase=''make install "PREFIX=$out"''; 10 11 patchPhase = '' 12 sed -i s,/usr/sbin/sendmail,${sendmailPath}, mail.c ts.1 13 ''; 14 15 src = fetchurl { 16 url = "https://viric.name/~viric/soft/ts/ts-${version}.tar.gz"; 17 sha256 = "15dkzczx10fhl0zs9bmcgkxfbwq2znc7bpscljm4rchbzx7y6lsg"; 18 }; 19 20 meta = with lib; { 21 homepage = "http://vicerveza.homeunix.net/~viric/soft/ts"; 22 description = "Task spooler - batch queue"; 23 license = licenses.gpl2; 24 maintainers = with maintainers; [ viric ]; 25 platforms = platforms.all; 26 }; 27}