nixpkgs/pkgs/tools/networking/bsd-finger/default.nix
Eelco Dolstra 6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00

21 lines
500 B
Nix

{ stdenv, fetchurl }:
# !!! Duplication: this package is almost exactly the same as `bsd-finger'.
stdenv.mkDerivation rec {
name = "bsd-finger-0.17";
src = fetchurl {
url = "ftp://ftp.metalab.unc.edu/pub/linux/system/network/finger/${name}.tar.gz";
sha256 = "1yhkiv0in588il7f84k2xiy78g9lv12ll0y7047gazhiimk5v244";
};
NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
patches = [ ./ubuntu-0.17-9.patch ];
preBuild = "cd finger";
preInstall = '' ensureDir $out/man/man1 $out/bin '';
}