mirror of
https://github.com/EdenQwQ/nixos.git
synced 2025-12-26 18:34:56 +08:00
update zju-connect; add nix-init
This commit is contained in:
parent
f3e86265f4
commit
172d990198
2 changed files with 14 additions and 9 deletions
|
|
@ -39,6 +39,7 @@
|
|||
imagemagick
|
||||
ffmpeg
|
||||
nurl
|
||||
nix-init
|
||||
wl-color-picker
|
||||
matugen
|
||||
(config.lib.misc.addFlags "--wayland-text-input-version=3" "cherry-studio" cherry-studio)
|
||||
|
|
|
|||
|
|
@ -2,26 +2,30 @@
|
|||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
...
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "zju-connect";
|
||||
version = "0.8.0";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Mythologyli";
|
||||
repo = "ZJU-Connect";
|
||||
repo = "zju-connect";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8QMdesmveXHmAKhuISmAE75La/KeybFqYSfAACfmIJE=";
|
||||
hash = "sha256-LrupxRFobVzzOiQCznnaIH17sTsnzjiMVnWDMyN0dwY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-ANb3zcZCMqg6iO79q9CQEEN8DH0cwb7bAs3YmhfGTz8=";
|
||||
vendorHash = "sha256-G+glwXw3zDA4XYWUnrkyG55PicHDutXRe7ZzdJGirZA=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "ZJU RVPN client";
|
||||
homepage = "https://github.com/Mythologyli/ZJU-Connect";
|
||||
mainProgram = "zju-connect";
|
||||
description = "ZJU RVPN 客户端的 Go 语言实现";
|
||||
homepage = "https://github.com/Mythologyli/zju-connect";
|
||||
license = lib.licenses.agpl3Only;
|
||||
maintainers = with lib.maintainers; [ EdenQwQ ];
|
||||
mainProgram = "zju-connect";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue