depot/third_party/nixpkgs/pkgs/by-name/as/assetfinder/package.nix

29 lines
729 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, buildGoPackage
}:
buildGoPackage rec {
pname = "assetfinder";
version = "0.1.1";
goPackagePath = "github.com/tomnomnom/assetfinder";
src = fetchFromGitHub {
owner = "tomnomnom";
repo = "assetfinder";
rev = "v${version}";
hash = "sha256-7+YF1VXBcFehKw9JzurmXNu8yeZPdqfQEuaqwtR4AuA=";
};
meta = with lib; {
homepage = "https://github.com/tomnomnom/assetfinder";
description = "Find domains and subdomains related to a given domain";
mainProgram = "assetfinder";
maintainers = with maintainers; [ shard7 ];
platforms = platforms.unix;
sourceProvenance = with sourceTypes; [ fromSource binaryNativeCode ];
license = with licenses; [ mit ];
};
}