Files

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

42 lines
860 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "above";
version = "2.8";
pyproject = true;
src = fetchFromGitHub {
owner = "casterbyte";
repo = "Above";
tag = "v${version}";
hash = "sha256-kG+eaTT72jmeC9R9IKwfd/+9oLAzHLJoKfFJhJDJzDM=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
colorama
scapy
];
postFixup = ''
mv $out/bin/above.py $out/bin/$pname
'';
# Project has no tests
doCheck = false;
meta = {
description = "Invisible network protocol sniffer";
homepage = "https://github.com/casterbyte/Above";
changelog = "https://github.com/casterbyte/Above/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "above";
};
}