snet: format using nixfmt-rfc-style, remove with lib usage

This commit is contained in:
Zhong Jianxin
2024-11-09 23:21:47 +08:00
parent d2d4c4f350
commit 298ab04967
+9 -5
View File
@@ -1,6 +1,10 @@
{ lib, buildGoModule, fetchFromGitHub }:
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule {
pname = "snet";
version = "unstable-2021-11-26";
@@ -13,11 +17,11 @@ buildGoModule rec {
vendorHash = "sha256-dubmCLeD8Fwe1msfLN+5WzdbFkfTRnZDU3F49gjWTS4=";
meta = with lib; {
meta = {
description = "Transparent proxy works on linux desktop, MacOS, router";
homepage = "https://github.com/monsterxx03/snet";
license = licenses.mit;
maintainers = with maintainers; [ azuwis ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ azuwis ];
mainProgram = "snet";
};
}