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

45 lines
913 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-06-09 23:47:41 +01:00
version = "0.10.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-06-09 23:47:41 +01:00
hash = "sha256-5mvbwIKnCk8mbjVJAmUwV1zKzGk8HVVZLiUVQXRvczA=";
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";
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 ];
};
}