nixpkgs/pkgs/tools/networking/bsd-finger/default.nix
Yury G. Kudryashov 2f9d6fc9ba finger client and daemon added
svn path=/nixpkgs/branches/stdenv-updates/; revision=10303
2008-01-26 12:02:57 +00:00

18 lines
402 B
Nix

args: with args;
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 '';
}