2024-09-19 14:19:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchgit,
|
|
|
|
rustPlatform,
|
2024-10-29 11:11:06 +00:00
|
|
|
nix-update-script,
|
2024-09-19 14:19:46 +00:00
|
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "revpfw3";
|
2024-10-29 11:11:06 +00:00
|
|
|
version = "0.4.2";
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
2024-09-19 14:19:46 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.tudbut.de/tudbut/revpfw3";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-v8BtgQYdELui5Yu8kpE5f97MSo/WhNah+e1xXhZGJwM=";
|
|
|
|
};
|
|
|
|
|
2024-10-29 11:11:06 +00:00
|
|
|
cargoHash = "sha256-MmVN4NmwSZiWYh7uMAQ+OogJT1kRLoB2q6gVfoaer54=";
|
2024-09-19 14:19:46 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|