mstpd: 0.0.5.20171113 -> 0.0.7

This commit is contained in:
Renaud 2019-05-05 11:24:34 +02:00 committed by GitHub
parent 75d1439f8f
commit 25e0560958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 8 deletions

View File

@ -1,22 +1,28 @@
{ stdenv, fetchFromGitHub, autoreconfHook }: { stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "mstpd-0.0.5.20171113"; pname = "mstpd";
version = "0.0.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mstpd"; owner = pname;
repo = "mstpd"; repo = pname;
rev = "2522c6eed201bce8dd81e1583f28748e9c552d0d"; rev = version;
sha256 = "0ckk386inwcx3776hf15w78hpw4db2rgv4zgf0i3zcylr83hhsr2"; sha256 = "01majib6d1rixngf8c8vcrj1akf8nsqpxhdfdxxi2xwg23vx8f1a";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
installFlags = [ "DESTDIR=$(out)" ]; configureFlags = [
"--prefix=$(out)"
"--sysconfdir=$(out)/etc"
"--sbindir=$(out)/sbin"
"--libexecdir=$(out)/lib"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Multiple Spanning Tree Protocol daemon"; description = "Multiple Spanning Tree Protocol daemon";
homepage = https://sourceforge.net/projects/mstpd/; homepage = "https://github.com/mstpd/mstpd";
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.linux;
}; };