37 lines
805 B
Nix
37 lines
805 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, installShellFiles
|
|
, perl
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "findomain";
|
|
version = "4.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Edu4rdSHL";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-uv1boI9iaBeobo/58Di4oslh1eGLuK9HR5EwQQeWn+0=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-31OD/sv4br9cdBNqNGr4McypSGkBbKs7b7H1u7mFt3o=";
|
|
|
|
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";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
};
|
|
}
|