2023-09-17 04:50:07 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
|
|
nftablesWithPythonOverlay = final: prev: {
|
|
|
|
nftables = (prev.nftables.override { withPython = true; });
|
|
|
|
};
|
|
|
|
pkgs-overlay = pkgs.extend nftablesWithPythonOverlay;
|
2023-09-17 21:04:22 +02:00
|
|
|
in
|
2023-09-17 04:50:07 +02:00
|
|
|
pkgs-overlay.python310Packages.buildPythonApplication {
|
|
|
|
pname = "wireguard-nat-nftables";
|
|
|
|
version = "0.0.1";
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pkgs-overlay; [
|
2023-09-17 21:04:22 +02:00
|
|
|
wireguard-tools
|
2023-09-17 04:50:07 +02:00
|
|
|
python310Packages.nftables
|
|
|
|
];
|
|
|
|
|
|
|
|
src = ./src;
|
|
|
|
}
|