nixpkgs/pkgs/by-name/wt/wtfis/package.nix

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

49 lines
979 B
Nix
Raw Normal View History

2023-02-04 16:18:24 +03:00
{ lib
, python3
, fetchFromGitHub
2023-02-04 16:18:24 +03:00
}:
let
pname = "wtfis";
2024-05-11 05:39:47 +03:00
version = "0.9.1";
2023-02-04 16:18:24 +03:00
src = fetchFromGitHub {
owner = "pirxthepilot";
repo = "wtfis";
2023-02-27 06:44:06 +03:00
rev = "refs/tags/v${version}";
2024-05-11 05:39:47 +03:00
hash = "sha256-nVcF7mPoWL5PNLh0W4FBPE7WVU72FidHpBZqMNl+Fd4=";
2023-02-04 16:18:24 +03:00
};
2023-11-03 18:02:54 +03:00
in python3.pkgs.buildPythonApplication {
inherit pname version src;
2023-02-04 16:18:24 +03:00
format = "pyproject";
2023-11-03 18:02:54 +03:00
nativeBuildInputs = [
python3.pkgs.pythonRelaxDepsHook
];
2023-02-04 16:18:24 +03:00
propagatedBuildInputs = [
python3.pkgs.hatchling
python3.pkgs.pydantic
2023-11-03 18:02:54 +03:00
python3.pkgs.python-dotenv
2023-02-04 16:18:24 +03:00
python3.pkgs.rich
python3.pkgs.shodan
2023-11-03 18:02:54 +03:00
];
pythonRelaxDeps = [
"pydantic"
"python-dotenv"
"requests"
"rich"
"shodan"
"types-requests"
2023-02-04 16:18:24 +03:00
];
meta = {
homepage = "https://github.com/pirxthepilot/wtfis";
description = "Passive hostname, domain and IP lookup tool for non-robots";
mainProgram = "wtfis";
2023-02-04 16:18:24 +03:00
license = lib.licenses.mit;
maintainers = [ lib.maintainers.AndersonTorres ];
};
}