1 { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "1xkfydxljdnj49p5r3mirk4k146428b6imfc9bkfps9yjn64mkgb";
16 name = "fix-strncpy-gcc9.patch";
17 url = "https://github.com/mstpd/mstpd/commit/d27d7e93485d881d8ff3a7f85309b545edbe1fc6.patch";
18 sha256 = "19456daih8l3y6m9kphjr7pj7slrqzbj6yacnlgznpxyd8y4d86y";
22 nativeBuildInputs = [ autoreconfHook ];
26 "--sysconfdir=$(out)/etc"
27 "--sbindir=$(out)/sbin"
28 "--libexecdir=$(out)/lib"
32 description = "Multiple Spanning Tree Protocol daemon";
33 homepage = "https://github.com/mstpd/mstpd";
34 license = licenses.gpl2Plus;
35 platforms = platforms.linux;