Skip to content

Commit

Permalink
above: init at 2.7
Browse files Browse the repository at this point in the history
Invisible network protocol sniffer

https://github.com/casterbyte/Above
  • Loading branch information
fabaff committed Nov 26, 2024
1 parent 9ef587a commit d6d78ba
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions pkgs/by-name/ab/above/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
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";
};
}

0 comments on commit d6d78ba

Please sign in to comment.