nixpkgs/pkgs/by-name/ab/above/package.nix
Fabian Affolter 9071fbfd92 above: init at 2.7
Invisible network protocol sniffer

https://github.com/casterbyte/Above
2024-11-26 10:49:04 +01:00

42 lines
871 B
Nix

{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication rec {
pname = "above";
version = "2.7";
pyproject = true;
src = fetchFromGitHub {
owner = "casterbyte";
repo = "Above";
rev = "refs/tags/v${version}";
hash = "sha256-tOSAci9aIALNCL3nLui96EdvqjNxnnuj2/dMdWLY9yI=";
};
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/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "above";
};
}