nixpkgs-suyu/pkgs/tools/networking/findomain/default.nix

37 lines
805 B
Nix
Raw Normal View History

2019-12-30 13:56:03 +01:00
{ stdenv
, lib
, fetchFromGitHub
, rustPlatform
, installShellFiles
, perl
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "findomain";
2021-01-29 02:37:53 +01:00
version = "3.0.1";
2019-12-30 13:56:03 +01:00
src = fetchFromGitHub {
owner = "Edu4rdSHL";
repo = pname;
rev = version;
2021-01-29 02:37:53 +01:00
sha256 = "sha256-eM3XTZ/Y0Kk5bdC+xskS/btGEVrC50342YBYJdXAlDg=";
2019-12-30 13:56:03 +01:00
};
2021-01-29 02:37:53 +01:00
cargoSha256 = "sha256-U3WXb6qGGshaWJ3GIC+c3W9Y8Cz0O23J7mVojCwitlk=";
2019-12-30 13:56:03 +01: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";
license = licenses.gpl3;
maintainers = with maintainers; [ Br1ght0ne ];
2019-12-30 13:56:03 +01:00
};
}