uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
32
pkgs/tools/networking/frp/default.nix
Normal file
32
pkgs/tools/networking/frp/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ buildGoModule, lib, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "frp";
|
||||
version = "0.42.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fatedier";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Ubc9jRZ+rkJ5TelizP6z9Hef6TkypfGMhZN+H4Awdqc=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-5ljUbEvynNo1AxGpJq9B0bTFgzVfgVZbsqXcPBERLMI=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
subPackages = [ "cmd/frpc" "cmd/frps" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast reverse proxy";
|
||||
longDescription = ''
|
||||
frp is a fast reverse proxy to help you expose a local server behind a
|
||||
NAT or firewall to the Internet. As of now, it supports TCP and UDP, as
|
||||
well as HTTP and HTTPS protocols, where requests can be forwarded to
|
||||
internal services by domain name. frp also has a P2P connect mode.
|
||||
'';
|
||||
homepage = "https://github.com/fatedier/frp";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ Br1ght0ne ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue