depot/third_party/nixpkgs/pkgs/by-name/ni/nixos-firewall-tool/package.nix

16 lines
358 B
Nix
Raw Normal View History

{ writeShellApplication, iptables, lib }:
writeShellApplication {
name = "nixos-firewall-tool";
text = builtins.readFile ./nixos-firewall-tool.sh;
runtimeInputs = [
iptables
];
meta = with lib; {
description = "Temporarily manipulate the NixOS firewall";
license = licenses.mit;
maintainers = with maintainers; [ clerie ];
};
}