nixpkgs/pkgs/os-specific/linux/mstpd/default.nix
William A. Kennington III 7c6cbdc145 mstpd: Add derivation
2015-01-07 13:38:04 -08:00

25 lines
613 B
Nix

{ 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 = http://sourceforge.net/projects/mstpd/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];
};
}