summary refs log tree commit diff
path: root/pkgs/os-specific/linux/mstpd/default.nix
blob: e9d654add49eeceba73b4994a5f388127fb66589 (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
{ stdenv, fetchFromGitHub, autoreconfHook }:

stdenv.mkDerivation {
  name = "mstpd-0.0.5.20171113";

  src = fetchFromGitHub {
    owner = "mstpd";
    repo = "mstpd";
    rev = "2522c6eed201bce8dd81e1583f28748e9c552d0d";
    sha256 = "0ckk386inwcx3776hf15w78hpw4db2rgv4zgf0i3zcylr83hhsr2";
  };

  nativeBuildInputs = [ autoreconfHook ];

  installFlags = [ "DESTDIR=$(out)" ];

  meta = with stdenv.lib; {
    description = "Multiple Spanning Tree Protocol daemon";
    homepage = https://sourceforge.net/projects/mstpd/;
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = with maintainers; [ wkennington ];
  };
}