depot/pkgs/by-name/ev/evillimiter/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

50 lines
1.2 KiB
Nix

{
lib,
fetchFromGitHub,
iproute2,
iptables,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "evillimiter";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "bitbrute";
repo = "evillimiter";
rev = "refs/tags/v${version}";
hash = "sha256-h6BReZcDW2UYaYYVQVgV0T91/+CsGuZf+J+boUhjCtA=";
};
build-system = with python3Packages; [ setuptools-scm ];
dependencies = with python3Packages; [
colorama
iproute2
iptables
netaddr
netifaces
scapy
terminaltables
tqdm
];
# Project has no tests
doCheck = false;
meta = with lib; {
description = "Tool that monitors, analyzes and limits the bandwidth";
longDescription = ''
A tool to monitor, analyze and limit the bandwidth (upload/download) of
devices on your local network without physical or administrative access.
evillimiter employs ARP spoofing and traffic shaping to throttle the
bandwidth of hosts on the network.
'';
homepage = "https://github.com/bitbrute/evillimiter";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "evillimiter";
};
}