Merge pull request #178040 from fabaff/nmap-formatter-bump
nmap-formatter: 0.3.0 -> 1.0.2
This commit is contained in:
commit
a523fc3d1a
1 changed files with 3 additions and 9 deletions
|
@ -5,22 +5,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "nmap-formatter";
|
pname = "nmap-formatter";
|
||||||
version = "0.3.0";
|
version = "1.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vdjagilev";
|
owner = "vdjagilev";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-tG91Cutk+RCBPv4Rf8CVnZa5Wh8qgsxEL0C6WIoEdsw=";
|
hash = "sha256-ePhm1qwluHhMC0oS/qEHkZv04nAdh2IDSkIW507MLjo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-WXX1b8fPcwIE40w+Kzd7ZuSRXPiYtolRXC/Z8Kc9H2s=";
|
vendorSha256 = "sha256-zkPXjCC+ZdR14O60ZaGFYdEZVxQ5z99HVmLOR10qqfg=";
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
# Fix hard-coded release
|
|
||||||
substituteInPlace cmd/root.go \
|
|
||||||
--replace "0.2.0" "${version}"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool that allows you to convert nmap output";
|
description = "Tool that allows you to convert nmap output";
|
||||||
|
|
Loading…
Reference in a new issue