1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/os-specific/linux/mstpd/default.nix

30 lines
656 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, autoreconfHook }:
2015-01-07 21:37:59 +00:00
2019-05-05 10:24:34 +01:00
stdenv.mkDerivation rec {
pname = "mstpd";
2019-11-02 17:34:25 +00:00
version = "0.0.8";
2015-01-07 21:37:59 +00:00
src = fetchFromGitHub {
2019-05-05 10:24:34 +01:00
owner = pname;
repo = pname;
rev = version;
2019-11-02 17:34:25 +00:00
sha256 = "1xkfydxljdnj49p5r3mirk4k146428b6imfc9bkfps9yjn64mkgb";
2015-01-07 21:37:59 +00:00
};
nativeBuildInputs = [ autoreconfHook ];
2015-01-07 21:37:59 +00:00
2019-05-05 10:24:34 +01:00
configureFlags = [
"--prefix=$(out)"
"--sysconfdir=$(out)/etc"
"--sbindir=$(out)/sbin"
"--libexecdir=$(out)/lib"
];
2015-01-07 21:37:59 +00:00
meta = with stdenv.lib; {
description = "Multiple Spanning Tree Protocol daemon";
2019-05-05 10:24:34 +01:00
homepage = "https://github.com/mstpd/mstpd";
2015-01-07 21:37:59 +00:00
license = licenses.gpl2;
platforms = platforms.linux;
};
}