nixpkgs/pkgs/os-specific/linux/mstpd/default.nix
Andreas Rammhold 8ab4eb1b4c
mstpd: svn 61 -> 0.0.5.20171113
Also fetches package from it's new home on GitHub and fixes compilation
with gcc-7 (#31747).
2017-12-07 11:30:10 +01:00

25 lines
647 B
Nix

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