depot/third_party/nixpkgs/pkgs/by-name/re/revpfw3/package.nix
Default email 657f08b14c Project import generated by Copybara.
GitOrigin-RevId: 807e9154dcb16384b1b765ebe9cd2bba2ac287fd
2024-10-29 11:11:06 +00:00

28 lines
686 B
Nix

{
lib,
fetchgit,
rustPlatform,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "revpfw3";
version = "0.4.2";
passthru.updateScript = nix-update-script { };
src = fetchgit {
url = "https://git.tudbut.de/tudbut/revpfw3";
rev = "v${version}";
hash = "sha256-v8BtgQYdELui5Yu8kpE5f97MSo/WhNah+e1xXhZGJwM=";
};
cargoHash = "sha256-MmVN4NmwSZiWYh7uMAQ+OogJT1kRLoB2q6gVfoaer54=";
meta = {
description = "Reverse proxy to bypass the need for port forwarding";
homepage = "https://git.tudbut.de/tudbut/revpfw3";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tudbut ];
mainProgram = "revpfw3";
};
}