9 stdenv.mkDerivation rec {
14 url = "http://libndp.org/files/libndp-${version}.tar.gz";
15 hash = "sha256-qKshTgHcOpthUnaQU5VjfzkSmMhNd2UfDL8LEILdLdQ=";
21 url = "https://git.alpinelinux.org/aports/plain/community/libndp/0001-Patch-libndp.c.patch?id=00406a9c697d88f531962cb63e5343488a959b93";
22 hash = "sha256-1ZcXgZv3mYtt5NaK4rUMnScWVajlWQ+anzBDS5IfgJI=";
26 nativeBuildInputs = [ autoreconfHook ];
28 configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
29 "ac_cv_func_malloc_0_nonnull=yes"
32 passthru.updateScript = gitUpdater {
33 url = "https://github.com/jpirko/libndp.git";
38 homepage = "http://libndp.org/";
39 description = "Library for Neighbor Discovery Protocol";
40 mainProgram = "ndptool";
41 platforms = platforms.linux;
43 license = licenses.lgpl21;