depot/third_party/nixpkgs/pkgs/tools/networking/wtfis/default.nix
Default email 686ce24904 Project import generated by Copybara.
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
2023-02-16 18:41:37 +01:00

41 lines
860 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, python3
}:
let
pname = "wtfis";
version = "0.5.1";
in python3.pkgs.buildPythonApplication {
inherit pname version;
src = fetchFromGitHub {
owner = "pirxthepilot";
repo = "wtfis";
rev = "v${version}";
hash = "sha256-XoQ/iJTdZoekA5guxI8POG4NEhN8Up3OuIz344G75ao=";
};
patches = [
# TODO: get rid of that newbie patch
./000-pyproject-remove-versions.diff
];
format = "pyproject";
propagatedBuildInputs = [
python3.pkgs.hatchling
python3.pkgs.pydantic
python3.pkgs.rich
python3.pkgs.shodan
python3.pkgs.python-dotenv
];
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 ];
};
}