diff --git a/pkgs/servers/http/pomerium/0001-envoy-allow-specification-of-external-binary.patch b/pkgs/by-name/po/pomerium/0001-envoy-allow-specification-of-external-binary.patch similarity index 91% rename from pkgs/servers/http/pomerium/0001-envoy-allow-specification-of-external-binary.patch rename to pkgs/by-name/po/pomerium/0001-envoy-allow-specification-of-external-binary.patch index d595dc6ccae2..d43242b6cc14 100644 --- a/pkgs/servers/http/pomerium/0001-envoy-allow-specification-of-external-binary.patch +++ b/pkgs/by-name/po/pomerium/0001-envoy-allow-specification-of-external-binary.patch @@ -1,4 +1,4 @@ -From fa51c56049a99ef17d86b0327bcf66f47338da45 Mon Sep 17 00:00:00 2001 +From e82f2949b86d127aec908d90d872dfd6feb509e5 Mon Sep 17 00:00:00 2001 From: Morgan Helton Date: Sun, 26 May 2024 12:17:01 -0500 Subject: [PATCH] envoy: allow specification of external binary @@ -8,7 +8,7 @@ Subject: [PATCH] envoy: allow specification of external binary 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkg/envoy/envoy.go b/pkg/envoy/envoy.go -index 62f2d34c..879001cd 100644 +index 6639d4bd..c6ca198f 100644 --- a/pkg/envoy/envoy.go +++ b/pkg/envoy/envoy.go @@ -8,9 +8,9 @@ import ( @@ -35,7 +35,7 @@ index 62f2d34c..879001cd 100644 type serverOptions struct { services string logLevel config.LogLevel -@@ -58,17 +62,16 @@ type Server struct { +@@ -59,17 +63,16 @@ type Server struct { // NewServer creates a new server with traffic routed by envoy. func NewServer(ctx context.Context, src config.Source, builder *envoyconfig.Builder) (*Server, error) { @@ -59,5 +59,5 @@ index 62f2d34c..879001cd 100644 grpcPort: src.GetConfig().GRPCPort, httpPort: src.GetConfig().HTTPPort, -- -2.44.1 +2.46.0 diff --git a/pkgs/servers/http/pomerium/package.json b/pkgs/by-name/po/pomerium/package.json similarity index 100% rename from pkgs/servers/http/pomerium/package.json rename to pkgs/by-name/po/pomerium/package.json diff --git a/pkgs/servers/http/pomerium/default.nix b/pkgs/by-name/po/pomerium/package.nix similarity index 93% rename from pkgs/servers/http/pomerium/default.nix rename to pkgs/by-name/po/pomerium/package.nix index 8e78b8f07287..75c13df48390 100644 --- a/pkgs/servers/http/pomerium/default.nix +++ b/pkgs/by-name/po/pomerium/package.nix @@ -1,4 +1,4 @@ -{ buildGoModule +{ buildGo123Module , fetchFromGitHub , lib , envoy @@ -11,17 +11,17 @@ let inherit (lib) concatStringsSep concatMap id mapAttrsToList; in -buildGoModule rec { +buildGo123Module rec { pname = "pomerium"; - version = "0.26.1"; + version = "0.27.1"; src = fetchFromGitHub { owner = "pomerium"; repo = "pomerium"; rev = "v${version}"; - hash = "sha256-lMI6dVCTInqHsz4N0HsOVUQo8TkheAwr54FW46r+DUA="; + hash = "sha256-+RKWl/weUYktS7jUB1lYpZCBKEfh7RMfKgRDbYV8Bjs="; }; - vendorHash = "sha256-AHlnhAh4RBz8aJoFJjbX/MUDHq81xK7b7gvCyuV3gjU="; + vendorHash = "sha256-/iYUZp6EASDGApLymNuR10395PH8D3zPU+TlmmAN8Zc="; ui = mkYarnPackage { inherit version; diff --git a/pkgs/servers/http/pomerium/updater.sh b/pkgs/by-name/po/pomerium/updater.sh similarity index 100% rename from pkgs/servers/http/pomerium/updater.sh rename to pkgs/by-name/po/pomerium/updater.sh diff --git a/pkgs/by-name/po/pomerium/yarn-hash b/pkgs/by-name/po/pomerium/yarn-hash new file mode 100644 index 000000000000..6f871e034fe3 --- /dev/null +++ b/pkgs/by-name/po/pomerium/yarn-hash @@ -0,0 +1 @@ +0bdrczn8mj5iidmba7xzkcyvsnwmbvcvrc1vgks2x4pxqbfyxaiv diff --git a/pkgs/servers/http/pomerium/yarn-hash b/pkgs/servers/http/pomerium/yarn-hash deleted file mode 100644 index a631334cc391..000000000000 --- a/pkgs/servers/http/pomerium/yarn-hash +++ /dev/null @@ -1 +0,0 @@ -1xkn1zbhg4q35azlhcgc1bk1sykrawngq1fcb5r5ghgh3m2kmz76 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 131cca72e54e..271c5ee0343d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24898,7 +24898,6 @@ with pkgs; pflogsumm = callPackage ../servers/mail/postfix/pflogsumm.nix { }; - pomerium = callPackage ../servers/http/pomerium { }; pomerium-cli = callPackage ../tools/security/pomerium-cli { }; postgrey = callPackage ../servers/mail/postgrey { };