nixpkgs/pkgs/servers/unifiedpush-common-proxies/default.nix
Fabián Heredia Montiel ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00

26 lines
651 B
Nix

{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "unifiedpush-common-proxies";
version = "1.5.0";
src = fetchFromGitHub {
owner = "unifiedpush";
repo = "common-proxies";
rev = "v${version}";
sha256 = "sha256-eonKHhaH7mAdW7ouprQivMxKPGFv0s1m/S8jGwid8kM=";
};
vendorHash = "sha256-s0uN6PzIaAHLvRb9T07Xvb6mMAuvKHQ4oFJtl5hsvY4=";
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 ];
mainProgram = "up_rewrite";
};
}