1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 16:15:30 +00:00
nixpkgs/pkgs/servers/fingerd/bsd-fingerd/default.nix

26 lines
605 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
# !!! Duplication: this package is almost exactly the same as `bsd-fingerd'.
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
name = "bsd-fingerd-0.17";
src = fetchurl {
url = "ftp://ftp.metalab.unc.edu/pub/linux/system/network/finger/bsd-finger-0.17.tar.gz";
sha256 = "1yhkiv0in588il7f84k2xiy78g9lv12ll0y7047gazhiimk5v244";
};
NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
patches = [ ./ubuntu-0.17-9.patch ];
preBuild = "cd fingerd";
preInstall = "mkdir -p $out/man/man8 $out/sbin ";
meta = with lib; {
2018-08-30 21:06:52 +01:00
platforms = platforms.linux;
license = licenses.bsdOriginal;
};
}