2017-12-04 16:39:44 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
2015-01-07 21:37:59 +00:00
|
|
|
|
2019-05-05 10:24:34 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mstpd";
|
2019-11-02 17:34:25 +00:00
|
|
|
version = "0.0.8";
|
2015-01-07 21:37:59 +00:00
|
|
|
|
2017-12-04 16:39:44 +00:00
|
|
|
src = fetchFromGitHub {
|
2019-05-05 10:24:34 +01:00
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-11-02 17:34:25 +00:00
|
|
|
sha256 = "1xkfydxljdnj49p5r3mirk4k146428b6imfc9bkfps9yjn64mkgb";
|
2015-01-07 21:37:59 +00:00
|
|
|
};
|
|
|
|
|
2017-12-04 16:39:44 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2015-01-07 21:37:59 +00:00
|
|
|
|
2019-05-05 10:24:34 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--prefix=$(out)"
|
|
|
|
"--sysconfdir=$(out)/etc"
|
|
|
|
"--sbindir=$(out)/sbin"
|
|
|
|
"--libexecdir=$(out)/lib"
|
|
|
|
];
|
2015-01-07 21:37:59 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Multiple Spanning Tree Protocol daemon";
|
2019-05-05 10:24:34 +01:00
|
|
|
homepage = "https://github.com/mstpd/mstpd";
|
2015-01-07 21:37:59 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|