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

stdenv.mkDerivation rec {
  name = "mstpd-svn-${toString version}";
  version = 61;

  src = fetchsvn {
    url = "svn://svn.code.sf.net/p/mstpd/code/trunk";
    rev = version;
    sha256 = "0n5vqqqq8hk6iqdz100j9ps4zkz71vyl5qgz5bzjhayab2dyq1fd";
  };

  patches = [ ./fixes.patch ];

  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 ];
  };
}