nixpkgs/pkgs/by-name/re/revpfw3/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
686 B
Nix
Raw Normal View History

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