diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2019-05-05 11:24:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-05 11:24:34 +0200 |
commit | 25e05609583c0d3976eaa23761f56a6ad105ad22 (patch) | |
tree | 4e98f9826d5fc799a82f674e8f4769305bffdee2 /pkgs/os-specific/linux/mstpd | |
parent | 75d1439f8f1400a8ae3ece260693b90d99daf6d0 (diff) |
mstpd: 0.0.5.20171113 -> 0.0.7
Diffstat (limited to 'pkgs/os-specific/linux/mstpd')
-rw-r--r-- | pkgs/os-specific/linux/mstpd/default.nix | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/pkgs/os-specific/linux/mstpd/default.nix b/pkgs/os-specific/linux/mstpd/default.nix index ea5790b495b9e..492a9321a21cf 100644 --- a/pkgs/os-specific/linux/mstpd/default.nix +++ b/pkgs/os-specific/linux/mstpd/default.nix @@ -1,22 +1,28 @@ { stdenv, fetchFromGitHub, autoreconfHook }: -stdenv.mkDerivation { - name = "mstpd-0.0.5.20171113"; +stdenv.mkDerivation rec { + pname = "mstpd"; + version = "0.0.7"; src = fetchFromGitHub { - owner = "mstpd"; - repo = "mstpd"; - rev = "2522c6eed201bce8dd81e1583f28748e9c552d0d"; - sha256 = "0ckk386inwcx3776hf15w78hpw4db2rgv4zgf0i3zcylr83hhsr2"; + owner = pname; + repo = pname; + rev = version; + sha256 = "01majib6d1rixngf8c8vcrj1akf8nsqpxhdfdxxi2xwg23vx8f1a"; }; nativeBuildInputs = [ autoreconfHook ]; - installFlags = [ "DESTDIR=$(out)" ]; + configureFlags = [ + "--prefix=$(out)" + "--sysconfdir=$(out)/etc" + "--sbindir=$(out)/sbin" + "--libexecdir=$(out)/lib" + ]; meta = with stdenv.lib; { description = "Multiple Spanning Tree Protocol daemon"; - homepage = https://sourceforge.net/projects/mstpd/; + homepage = "https://github.com/mstpd/mstpd"; license = licenses.gpl2; platforms = platforms.linux; }; |