commit 40bbfba45b7b76976516beda222b84d66d72e04a
parent 0395d3de0b3df32d553d174d6653a8cf437c9859
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date: Thu, 3 Jun 2021 01:31:30 +0300
Move reproxy to nixpkgs
Diffstat:
2 files changed, 0 insertions(+), 33 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -234,7 +234,6 @@ lib.makeScope newScope (
ptunnel = callPackage ./misc/ptunnel { };
pvs-studio = callPackage ./misc/pvs-studio { };
repolocli = callPackage ./misc/repolocli { };
- 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
@@ -1,32 +0,0 @@
-{ lib, buildGoModule, fetchFromGitHub }:
-
-buildGoModule rec {
- pname = "reproxy";
- version = "0.5.0";
-
- src = fetchFromGitHub {
- owner = "umputun";
- repo = pname;
- rev = "v${version}";
- hash = "sha256-xZVMwa/44/hGmZxMbHGNInMjsO/5ZXalcHZq5xgO1No=";
- };
-
- postPatch = ''
- # Requires network access
- substituteInPlace app/main_test.go \
- --replace "Test_Main" "Skip_Main"
- '';
-
- vendorSha256 = null;
-
- 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 ];
- };
-}