linux-router-without-wifi: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-01-15 09:52:57 +01:00 committed by GitHub
parent de3e6bd4e9
commit 1c9d9ef3a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,21 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper
{ lib
, stdenv
, fetchFromGitHub
, makeWrapper
# --- Runtime Dependencies ---
, bash, procps, iproute2, dnsmasq, iptables
, coreutils, flock, gawk, getopt, gnugrep, gnused, which
, bash
, procps
, iproute2
, dnsmasq
, iptables
, coreutils
, flock
, gawk
, getopt
, gnugrep
, gnused
, which
# `nmcli` is not required for create_ap.
# Use NetworkManager by default because it is very likely already present
, useNetworkManager ? true
@ -10,7 +23,8 @@
# --- WiFi Hotspot Dependencies ---
, useWifiDependencies ? true
, hostapd, iw
, hostapd
, iw
# You only need this if 'iw' can not recognize your adapter.
, useWirelessTools ? true
, wirelesstools # for iwconfig
@ -31,11 +45,13 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "garywill";
repo = "linux-router";
rev = "${version}";
sha256 = "sha256-Ote/arHCU6qiTXdK2RXv9848aeW6rcBsrb6nfxIzQLs=";
rev = "refs/tags/${version}";
hash = "sha256-Ote/arHCU6qiTXdK2RXv9848aeW6rcBsrb6nfxIzQLs=";
};
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [
makeWrapper
];
dontBuild = true;
@ -74,7 +90,8 @@ stdenv.mkDerivation rec {
- DNS proxy
- Compatible with NetworkManager (automatically set interface as unmanaged)
'';
license = licenses.lgpl21;
changelog = "https://github.com/garywill/linux-router/releases/tag/${version}";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ x3ro ];
platforms = platforms.linux;
};