mdk3-master: unbreak on GCC 14, modernize (#388527)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
wirelesstools,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mdk3-master";
|
||||
version = "6-unstable-2015-05-24";
|
||||
|
||||
@@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
runtimeDependencies = [ wirelesstools ];
|
||||
|
||||
# fix
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
make -C osdep install
|
||||
@@ -26,13 +29,13 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "MDK3 fork able to force reboot Access Points";
|
||||
homepage = "https://github.com/charlesxsh/mdk3-master";
|
||||
changelog = "https://github.com/charlesxsh/mdk3-master/blob/${src.rev}/CHANGELOG";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ pinpox ];
|
||||
changelog = "https://github.com/charlesxsh/mdk3-master/blob/${finalAttrs.src.rev}/CHANGELOG";
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ pinpox ];
|
||||
mainProgram = "mdk3";
|
||||
platforms = platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user