mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
48b7647cb6
The go-smb dependency has OS-specific source files without a darwin-specific one
35 lines
791 B
Nix
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;
|
|
};
|
|
}
|