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 13:18:24 +00:00
{ lib
, python3
, fetchFromGitHub
2023-02-04 13:18:24 +00:00
}:
let
pname = "wtfis";
2024-02-20 04:57:55 +00:00
version = "0.8.0";
2023-02-04 13:18:24 +00:00
src = fetchFromGitHub {
owner = "pirxthepilot";
repo = "wtfis";
2023-02-27 03:44:06 +00:00
rev = "refs/tags/v${version}";
2024-02-20 04:57:55 +00:00
hash = "sha256-eSmvyDr8PbB15UWIl67Qp2qHeOq+dmnP8eMsvcGypVw=";
2023-02-04 13:18:24 +00:00
};
2023-11-03 15:02:54 +00:00
in python3.pkgs.buildPythonApplication {
inherit pname version src;
2023-02-04 13:18:24 +00:00
format = "pyproject";
2023-11-03 15:02:54 +00:00
nativeBuildInputs = [
python3.pkgs.pythonRelaxDepsHook
];
2023-02-04 13:18:24 +00:00
propagatedBuildInputs = [
python3.pkgs.hatchling
python3.pkgs.pydantic
2023-11-03 15:02:54 +00:00
python3.pkgs.python-dotenv
2023-02-04 13:18:24 +00:00
python3.pkgs.rich
python3.pkgs.shodan
2023-11-03 15:02:54 +00:00
];
pythonRelaxDeps = [
"pydantic"
"python-dotenv"
"requests"
"rich"
"shodan"
"types-requests"
2023-02-04 13:18:24 +00:00
];
meta = {
homepage = "https://github.com/pirxthepilot/wtfis";
description = "Passive hostname, domain and IP lookup tool for non-robots";
mainProgram = "wtfis";
2023-02-04 13:18:24 +00:00
license = lib.licenses.mit;
maintainers = [ lib.maintainers.AndersonTorres ];
};
}