2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
|
|
|
# !!! Duplication: this package is almost exactly the same as `bsd-fingerd'.
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2010-07-28 12:55:54 +01:00
|
|
|
name = "bsd-fingerd-0.17";
|
2008-01-28 19:51:14 +00:00
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.metalab.unc.edu/pub/linux/system/network/finger/bsd-finger-0.17.tar.gz";
|
|
|
|
sha256 = "1yhkiv0in588il7f84k2xiy78g9lv12ll0y7047gazhiimk5v244";
|
|
|
|
};
|
2008-01-28 19:51:14 +00:00
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
|
2008-01-28 19:51:14 +00:00
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
patches = [ ./ubuntu-0.17-9.patch ];
|
2008-01-28 19:51:14 +00:00
|
|
|
|
2010-07-28 12:55:54 +01:00
|
|
|
preBuild = "cd fingerd";
|
2008-01-28 19:51:14 +00:00
|
|
|
|
2012-01-18 20:16:00 +00:00
|
|
|
preInstall = '' mkdir -p $out/man/man8 $out/sbin '';
|
2016-08-02 17:06:29 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-08-30 21:06:52 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.bsdOriginal;
|
2016-08-02 17:06:29 +01:00
|
|
|
};
|
2008-01-28 19:51:14 +00:00
|
|
|
}
|