mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
abdf5dc772
It is is now provided automatically, when `pythonRelaxDeps` or `pythonRemoveDeps` is defined through `mk-python-derivation`.
45 lines
913 B
Nix
45 lines
913 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
let
|
|
pname = "wtfis";
|
|
version = "0.10.0";
|
|
src = fetchFromGitHub {
|
|
owner = "pirxthepilot";
|
|
repo = "wtfis";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-5mvbwIKnCk8mbjVJAmUwV1zKzGk8HVVZLiUVQXRvczA=";
|
|
};
|
|
in python3.pkgs.buildPythonApplication {
|
|
inherit pname version src;
|
|
|
|
format = "pyproject";
|
|
|
|
propagatedBuildInputs = [
|
|
python3.pkgs.hatchling
|
|
python3.pkgs.pydantic
|
|
python3.pkgs.python-dotenv
|
|
python3.pkgs.rich
|
|
python3.pkgs.shodan
|
|
];
|
|
|
|
pythonRelaxDeps = [
|
|
"pydantic"
|
|
"python-dotenv"
|
|
"requests"
|
|
"rich"
|
|
"shodan"
|
|
"types-requests"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/pirxthepilot/wtfis";
|
|
description = "Passive hostname, domain and IP lookup tool for non-robots";
|
|
mainProgram = "wtfis";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.AndersonTorres ];
|
|
};
|
|
}
|