diff --git a/pkgs/servers/unifiedpush-common-proxies/default.nix b/pkgs/servers/unifiedpush-common-proxies/default.nix new file mode 100644 index 000000000000..3488083d34c3 --- /dev/null +++ b/pkgs/servers/unifiedpush-common-proxies/default.nix @@ -0,0 +1,25 @@ +{ lib +, fetchFromGitHub +, buildGoModule +}: + +buildGoModule rec { + pname = "unifiedpush-common-proxies"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "unifiedpush"; + repo = "common-proxies"; + rev = "v${version}"; + sha256 = "sha256-1Nl36Ldb0/DrQEKgPBsCgJk7oRCIq2m9Vb8D8wnS1g0="; + }; + + vendorSha256 = "sha256-7A2ErjqmgberMabayWEc3w53+YierfetzmT8DzHwbpE="; + + 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4e2be042f69b..54ff05cf4c47 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20536,6 +20536,8 @@ with pkgs; networkaudiod = callPackage ../servers/networkaudiod { }; + unifiedpush-common-proxies = callPackage ../servers/unifiedpush-common-proxies { }; + unit = callPackage ../servers/http/unit { }; ncdns = callPackage ../servers/dns/ncdns { };