d0d8e8fc71
GitOrigin-RevId: d3f7e969b9860fb80750147aeb56dab1c730e756
36 lines
809 B
Nix
36 lines
809 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.gpl3Plus;
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
|
};
|
|
}
|