b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
37 lines
834 B
Nix
37 lines
834 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, installShellFiles
|
|
, perl
|
|
, libiconv
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "findomain";
|
|
version = "8.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Edu4rdSHL";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-NlaQhQtGQzOaTD18NMiicQOrovRuTCUq54vxu34JqIU=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-I9OyH02JNdNgGK3918XwS5wt+11VppCTqzo50LuhnvI=";
|
|
|
|
nativeBuildInputs = [ installShellFiles perl ];
|
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
|
|
|
|
postInstall = ''
|
|
installManPage ${pname}.1
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "The fastest and cross-platform subdomain enumerator";
|
|
homepage = "https://github.com/Edu4rdSHL/findomain";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
};
|
|
}
|