nix-infra/pkgs/wireguard-nat-nftables/default.nix

19 lines
427 B
Nix
Raw Normal View History

{ pkgs, ... }:
let
nftablesWithPythonOverlay = final: prev: {
nftables = (prev.nftables.override { withPython = true; });
};
pkgs-overlay = pkgs.extend nftablesWithPythonOverlay;
2024-11-20 05:46:40 +01:00
in
pkgs-overlay.python310Packages.buildPythonApplication {
pname = "wireguard-nat-nftables";
version = "0.0.1";
propagatedBuildInputs = with pkgs-overlay; [
2024-11-20 05:46:40 +01:00
wireguard-tools
python310Packages.nftables
];
src = ./src;
}