tun2proxy: add changelog to meta

This commit is contained in:
Fabian Affolter 2024-10-27 17:40:17 +01:00
parent 1089c8df7a
commit 22b78d5fd6

View File

@ -3,6 +3,7 @@
rustPlatform, rustPlatform,
fetchFromGitHub, fetchFromGitHub,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "tun2proxy"; pname = "tun2proxy";
version = "0.6.0"; version = "0.6.0";
@ -10,7 +11,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tun2proxy"; owner = "tun2proxy";
repo = "tun2proxy"; repo = "tun2proxy";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-LY7vVD85GVFqARYOBDeb4fS6rL2PwPXYXIAJtwm2goo="; hash = "sha256-LY7vVD85GVFqARYOBDeb4fS6rL2PwPXYXIAJtwm2goo=";
}; };
@ -23,6 +24,7 @@ rustPlatform.buildRustPackage rec {
meta = { meta = {
homepage = "https://github.com/tun2proxy/tun2proxy"; homepage = "https://github.com/tun2proxy/tun2proxy";
description = "Tunnel (TUN) interface for SOCKS and HTTP proxies"; description = "Tunnel (TUN) interface for SOCKS and HTTP proxies";
changelog = "https://github.com/tun2proxy/tun2proxy/releases/tag/v${version}";
license = lib.licenses.mit; license = lib.licenses.mit;
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
mainProgram = "tun2proxy-bin"; mainProgram = "tun2proxy-bin";