nixpkgs/pkgs/by-name/ev/evillimiter/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
1.2 KiB
Nix
Raw Normal View History

2024-11-01 19:58:03 +00:00
{
lib,
fetchFromGitHub,
iproute2,
iptables,
python3Packages,
2020-12-29 22:43:57 +00:00
}:
2024-11-01 19:58:03 +00:00
python3Packages.buildPythonApplication rec {
2020-12-29 22:43:57 +00:00
pname = "evillimiter";
version = "1.5.0";
2024-11-01 19:58:03 +00:00
pyproject = true;
2020-12-29 22:43:57 +00:00
src = fetchFromGitHub {
owner = "bitbrute";
2024-11-01 19:58:03 +00:00
repo = "evillimiter";
rev = "refs/tags/v${version}";
hash = "sha256-h6BReZcDW2UYaYYVQVgV0T91/+CsGuZf+J+boUhjCtA=";
2020-12-29 22:43:57 +00:00
};
2024-11-01 19:58:03 +00:00
build-system = with python3Packages; [ setuptools-scm ];
dependencies = with python3Packages; [
2020-12-29 22:43:57 +00:00
colorama
iproute2
iptables
netaddr
netifaces
scapy
terminaltables
tqdm
];
2024-11-01 19:58:03 +00:00
# Project has no tests
2020-12-29 22:43:57 +00:00
doCheck = false;
2024-11-01 19:58:03 +00:00
meta = with lib; {
2020-12-29 22:43:57 +00:00
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";
2024-11-01 19:58:03 +00:00
license = licenses.mit;
2020-12-29 22:43:57 +00:00
maintainers = with maintainers; [ fab ];
2024-11-01 19:58:03 +00:00
mainProgram = "evillimiter";
2020-12-29 22:43:57 +00:00
};
}