mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
assetfinder: migrate to buildGoModule
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
ed61e2bd1b
commit
b3972247de
@ -1,14 +1,12 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGoPackage
|
||||
, buildGoModule
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "assetfinder";
|
||||
version = "0.1.1";
|
||||
|
||||
goPackagePath = "github.com/tomnomnom/assetfinder";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tomnomnom";
|
||||
repo = "assetfinder";
|
||||
@ -16,6 +14,12 @@ buildGoPackage rec {
|
||||
hash = "sha256-7+YF1VXBcFehKw9JzurmXNu8yeZPdqfQEuaqwtR4AuA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
go mod init github.com/tomnomnom/assetfinder
|
||||
'';
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/tomnomnom/assetfinder";
|
||||
description = "Find domains and subdomains related to a given domain";
|
||||
|
Loading…
Reference in New Issue
Block a user