blob: 492a9321a21cf9b468c6dbc281404d096b255672 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "mstpd";
version = "0.0.7";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "01majib6d1rixngf8c8vcrj1akf8nsqpxhdfdxxi2xwg23vx8f1a";
};
nativeBuildInputs = [ autoreconfHook ];
configureFlags = [
"--prefix=$(out)"
"--sysconfdir=$(out)/etc"
"--sbindir=$(out)/sbin"
"--libexecdir=$(out)/lib"
];
meta = with stdenv.lib; {
description = "Multiple Spanning Tree Protocol daemon";
homepage = "https://github.com/mstpd/mstpd";
license = licenses.gpl2;
platforms = platforms.linux;
};
}
|