Merge pull request #319491 from fabaff/go-secdump

go-secdump: init at 0.2.1
This commit is contained in:
Fabian Affolter 2024-06-14 09:32:11 +02:00 committed by GitHub
commit 2e845fe8fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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";
};
}