nixpkgs/pkgs/by-name/go/go-secdump/package.nix
Olivér Falvai 48b7647cb6
go-secdump: mark as Linux-only
The go-smb dependency has OS-specific source files without a darwin-specific one
2024-09-29 21:47:24 +02:00

35 lines
791 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "go-secdump";
version = "0.3.0";
src = fetchFromGitHub {
owner = "jfjallid";
repo = "go-secdump";
rev = "refs/tags/${version}";
hash = "sha256-RdbrxnyP9QKkrWRLxnWljlwjJHbK++f/U0WdyB9XDc0=";
};
vendorHash = "sha256-RvbK0ps/5Jg/IAk71WGYEcjM6LrbCSkUueSOUFeELis=";
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";
platforms = lib.platforms.linux;
};
}