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

48 lines
952 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";
2023-11-03 16:27:27 +00:00
version = "0.7.1";
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}";
2023-11-03 16:27:27 +00:00
hash = "sha256-X3e0icyhNPg8P6+N9k6a9WwBJ8bXRPdo3fj4cj+yY6w=";
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";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.AndersonTorres ];
};
}