2024-11-20 05:46:40 +01:00
|
|
|
{ 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
|
2024-11-20 05:46:40 +01:00
|
|
|
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
|
2024-11-20 05:46:40 +01:00
|
|
|
python310Packages.nftables
|
|
|
|
];
|
|
|
|
|
|
|
|
src = ./src;
|
|
|
|
}
|