1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/tools/networking/findomain/default.nix

38 lines
838 B
Nix
Raw Normal View History

2019-12-30 07:56:03 -05:00
{ stdenv
, lib
, fetchFromGitHub
, rustPlatform
, installShellFiles
, perl
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "findomain";
2020-03-28 18:32:33 -04:00
version = "1.4.5";
2019-12-30 07:56:03 -05:00
src = fetchFromGitHub {
owner = "Edu4rdSHL";
repo = pname;
rev = version;
2020-03-28 18:32:33 -04:00
sha256 = "1p4ddyqg1v27hf19n1ksmfvj5s6z2c8i13syb0anhlyzqy576hwb";
2019-12-30 07:56:03 -05:00
};
2020-03-28 18:32:33 -04:00
cargoSha256 = "0mdcj4almwziq1ph3imfdx41a96xq19sbjm7wsm9lxlzhvv256br";
2019-12-30 07:56:03 -05: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; [ filalex77 ];
platforms = platforms.all;
};
}