2019-12-30 12:56:03 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, rustPlatform
|
|
|
|
, installShellFiles
|
|
|
|
, perl
|
|
|
|
, Security
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "findomain";
|
2021-03-19 14:03:49 +00:00
|
|
|
version = "4.0.1";
|
2019-12-30 12:56:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Edu4rdSHL";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-03-19 14:03:49 +00:00
|
|
|
sha256 = "sha256-uv1boI9iaBeobo/58Di4oslh1eGLuK9HR5EwQQeWn+0=";
|
2019-12-30 12:56:03 +00:00
|
|
|
};
|
|
|
|
|
2021-03-19 14:03:49 +00:00
|
|
|
cargoSha256 = "sha256-31OD/sv4br9cdBNqNGr4McypSGkBbKs7b7H1u7mFt3o=";
|
2019-12-30 12:56:03 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ installShellFiles perl ];
|
|
|
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
installManPage ${pname}.1
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The fastest and cross-platform subdomain enumerator";
|
|
|
|
homepage = "https://github.com/Edu4rdSHL/findomain";
|
2021-03-20 22:08:39 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2019-12-30 12:56:03 +00:00
|
|
|
};
|
|
|
|
}
|