mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
mieru: init at 3.7.0
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
This commit is contained in:
parent
0d16d11009
commit
1ca1f67dd2
33
pkgs/by-name/mi/mieru/package.nix
Normal file
33
pkgs/by-name/mi/mieru/package.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mieru";
|
||||
version = "3.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "enfein";
|
||||
repo = "mieru";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-VFQWiihwd0YiLpgTxKUjVd+IkGivsa4jI/jb5ckjFt8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-woQoqYjdv2TZo66IwNkSHzIHFlu9JH8q/RXGyLlnTTc=";
|
||||
proxyVendor = true;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Socks5 / HTTP / HTTPS proxy to bypass censorship";
|
||||
homepage = "https://github.com/enfein/mieru";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ oluceps ];
|
||||
mainProgram = "mieru";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user