2021-10-08 15:17:17 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "unifiedpush-common-proxies";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.5.0";
|
2021-10-08 15:17:17 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unifiedpush";
|
|
|
|
repo = "common-proxies";
|
|
|
|
rev = "v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-eonKHhaH7mAdW7ouprQivMxKPGFv0s1m/S8jGwid8kM=";
|
2021-10-08 15:17:17 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorSha256 = "sha256-s0uN6PzIaAHLvRb9T07Xvb6mMAuvKHQ4oFJtl5hsvY4=";
|
2021-10-08 15:17:17 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A set of rewrite proxies and gateways for UnifiedPush";
|
|
|
|
homepage = "https://github.com/UnifiedPush/common-proxies";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ yuka ];
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "up_rewrite";
|
2021-10-08 15:17:17 +00:00
|
|
|
};
|
|
|
|
}
|