nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3,
4 fetchFromGitHub,
5}:
6
7python3.pkgs.buildPythonApplication (finalAttrs: {
8 pname = "above";
9 version = "2.8.1";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "casterbyte";
14 repo = "Above";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-wyXWGfthzJeHZoJe4OKe9k2BIwLae/aOUtiJpT4SfHw=";
17 };
18
19 build-system = with python3.pkgs; [ setuptools ];
20
21 dependencies = with python3.pkgs; [
22 colorama
23 scapy
24 ];
25
26 # Project has no tests
27 doCheck = false;
28
29 meta = {
30 description = "Invisible network protocol sniffer";
31 homepage = "https://github.com/casterbyte/Above";
32 changelog = "https://github.com/casterbyte/Above/releases/tag/${finalAttrs.src.tag}";
33 license = lib.licenses.asl20;
34 maintainers = with lib.maintainers; [ fab ];
35 mainProgram = "above";
36 };
37})