diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-06-13 08:09:40 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-06-13 08:09:40 +0200 |
commit | d6358a8d82d19eb1c887216f35533ca05c1748b7 (patch) | |
tree | 3c35454a188e20ce3d35dbfb12e3fa5e1a558f72 /pkgs/by-name/go | |
parent | 33ce263359c13fb2282a954001c6285d3e3ed42c (diff) |
go-secdump: init at 0.2.1
Tool to remotely dump secrets from the Windows registry https://github.com/jfjallid/go-secdump
Diffstat (limited to 'pkgs/by-name/go')
-rw-r--r-- | pkgs/by-name/go/go-secdump/package.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/by-name/go/go-secdump/package.nix b/pkgs/by-name/go/go-secdump/package.nix new file mode 100644 index 0000000000000..1539511a191c7 --- /dev/null +++ b/pkgs/by-name/go/go-secdump/package.nix @@ -0,0 +1,33 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "go-secdump"; + version = "0.2.1"; + + src = fetchFromGitHub { + owner = "jfjallid"; + repo = "go-secdump"; + rev = "refs/tags/${version}"; + hash = "sha256-mb44v79BH9wW8+b1Le0lyVtl5iHIEzGvgVzaf0zEG20="; + }; + + vendorHash = "sha256-xgvT+RnaTzkVql7js/Mb5vZM5BV+B3OJbCTfDWDmt7c="; + + ldflags = [ + "-s" + "-w" + ]; + + meta = with lib; { + description = "Tool to remotely dump secrets from the Windows registry"; + homepage = "https://github.com/jfjallid/go-secdump"; + changelog = "https://github.com/jfjallid/go-secdump/releases/tag/${version}"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + mainProgram = "go-secdump"; + }; +} |