1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/pkgs/tools/networking/bsd-finger/default.nix

26 lines
602 B
Nix
Raw Normal View History

{ 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 = '' mkdir -p $out/man/man1 $out/bin '';
2018-09-10 20:11:06 +01:00
meta = with stdenv.lib; {
platforms = platforms.linux;
license = licenses.bsdOriginal;
};
}