mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
go-graft: init at 0.2.6
This commit is contained in:
parent
cf3ab54b4a
commit
cfa642c755
28
pkgs/applications/networking/go-graft/default.nix
Normal file
28
pkgs/applications/networking/go-graft/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-graft";
|
||||
version = "0.2.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mzz2017";
|
||||
repo = "gg";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-nuRkQEqytMPxd2Wh5XeUwk4YzIxnnNEiVTxFY4GlD1E=";
|
||||
};
|
||||
|
||||
CGO_ENABLED = 0;
|
||||
|
||||
ldflags = [ "-X github.com/mzz2017/gg/cmd.Version=${version}" "-s" "-w" "-buildid=" ];
|
||||
vendorSha256 = "sha256-/ckudHo/ttNct+yrQYQEaC6hX+p+Q6M1I/cjJCgjYLk=";
|
||||
subPackages = [ "." ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command-line tool for one-click proxy in your research and development without installing v2ray or anything else";
|
||||
homepage = "https://github.com/mzz2017/gg";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ xyenon ];
|
||||
mainProgram = "gg";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -27249,6 +27249,10 @@ with pkgs;
|
||||
|
||||
google-chrome-dev = google-chrome.override { chromium = chromiumDev; channel = "dev"; };
|
||||
|
||||
go-graft = callPackage ../applications/networking/go-graft {
|
||||
buildGoModule = buildGo118Module;
|
||||
};
|
||||
|
||||
gosmore = callPackage ../applications/misc/gosmore { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
gpsbabel = libsForQt5.callPackage ../applications/misc/gpsbabel { };
|
||||
|
Loading…
Reference in New Issue
Block a user