Merge pull request #318089 from katexochen/assetfinder/mods
assetfinder: migrate to buildGoModule
This commit is contained in:
commit
1d4335415b
@ -1,14 +1,12 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildGoPackage
|
, buildGoModule
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "assetfinder";
|
pname = "assetfinder";
|
||||||
version = "0.1.1";
|
version = "0.1.1";
|
||||||
|
|
||||||
goPackagePath = "github.com/tomnomnom/assetfinder";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tomnomnom";
|
owner = "tomnomnom";
|
||||||
repo = "assetfinder";
|
repo = "assetfinder";
|
||||||
@ -16,6 +14,12 @@ buildGoPackage rec {
|
|||||||
hash = "sha256-7+YF1VXBcFehKw9JzurmXNu8yeZPdqfQEuaqwtR4AuA=";
|
hash = "sha256-7+YF1VXBcFehKw9JzurmXNu8yeZPdqfQEuaqwtR4AuA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
go mod init github.com/tomnomnom/assetfinder
|
||||||
|
'';
|
||||||
|
|
||||||
|
vendorHash = null;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/tomnomnom/assetfinder";
|
homepage = "https://github.com/tomnomnom/assetfinder";
|
||||||
description = "Find domains and subdomains related to a given domain";
|
description = "Find domains and subdomains related to a given domain";
|
||||||
|
Loading…
Reference in New Issue
Block a user