nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit d7e14677641a81e19903ee1f8d3434166a9a960c
parent a9047b13094f1d658f97279d4861d71729203993
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Wed, 21 Apr 2021 12:00:33 +0300

Add reproxy

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/misc/reproxy/default.nix | 27+++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -244,6 +244,7 @@ lib.makeScope newScope ( }; ptunnel = callPackage ./misc/ptunnel { }; pvs-studio = callPackage ./misc/pvs-studio { }; + reproxy = callPackage ./misc/reproxy { }; taskcoach = callPackage ./misc/taskcoach { }; xfractint = callPackage ./misc/xfractint { }; xtr = callPackage ./misc/xtr { }; diff --git a/pkgs/misc/reproxy/default.nix b/pkgs/misc/reproxy/default.nix @@ -0,0 +1,27 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "reproxy"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "umputun"; + repo = pname; + rev = "v${version}"; + sha256 = "1ai72c7yj9328ssj4hhklg7zrkpb1b0l315infbdzkchc82p7wwj"; + }; + + vendorSha256 = null; + + doCheck = false; + + postInstall = "mv $out/bin/{app,reproxy}"; + + meta = with lib; { + description = "Simple edge server / reverse proxy"; + homepage = "http://reproxy.io/"; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}