nixpkgs/pkgs/tools/security/aiodnsbrute/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

41 lines
842 B
Nix

{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "aiodnsbrute";
version = "0.3.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "blark";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-cEpk71VoQJZfKeAZummkk7yjtXKSMndgo0VleYiMlWE=";
};
propagatedBuildInputs = with python3.pkgs; [
aiodns
click
tqdm
uvloop
];
# Project no tests
doCheck = false;
pythonImportsCheck = [
"aiodnsbrute.cli"
];
meta = with lib; {
description = "DNS brute force utility";
mainProgram = "aiodnsbrute";
homepage = "https://github.com/blark/aiodnsbrute";
changelog = "https://github.com/blark/aiodnsbrute/releases/tag/v${version}";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}