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.

48 lines
952 B
Nix
Raw Normal View History

2023-02-04 14:18:24 +01:00
{ lib
, python3
, fetchFromGitHub
2023-02-04 14:18:24 +01:00
}:
let
pname = "wtfis";
2023-11-03 17:27:27 +01:00
version = "0.7.1";
2023-02-04 14:18:24 +01:00
src = fetchFromGitHub {
owner = "pirxthepilot";
repo = "wtfis";
2023-02-27 04:44:06 +01:00
rev = "refs/tags/v${version}";
2023-11-03 17:27:27 +01:00
hash = "sha256-X3e0icyhNPg8P6+N9k6a9WwBJ8bXRPdo3fj4cj+yY6w=";
2023-02-04 14:18:24 +01:00
};
2023-11-03 16:02:54 +01:00
in python3.pkgs.buildPythonApplication {
inherit pname version src;
2023-02-04 14:18:24 +01:00
format = "pyproject";
2023-11-03 16:02:54 +01:00
nativeBuildInputs = [
python3.pkgs.pythonRelaxDepsHook
];
2023-02-04 14:18:24 +01:00
propagatedBuildInputs = [
python3.pkgs.hatchling
python3.pkgs.pydantic
2023-11-03 16:02:54 +01:00
python3.pkgs.python-dotenv
2023-02-04 14:18:24 +01:00
python3.pkgs.rich
python3.pkgs.shodan
2023-11-03 16:02:54 +01:00
];
pythonRelaxDeps = [
"pydantic"
"python-dotenv"
"requests"
"rich"
"shodan"
"types-requests"
2023-02-04 14:18:24 +01: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 ];
};
}