Files

30 lines
757 B
Nix

{
lib,
buildGo126Module,
fetchFromGitHub,
}:
buildGo126Module rec {
pname = "default-creds-tui";
version = "1.0.0";
src = fetchFromGitHub {
owner = "anotherhadi";
repo = "default-creds-tui";
rev = "v${version}";
hash = "sha256-6wKQJgY84L4KUULgfOMTYriOOEt2lOph3bGPJ+LtIB0=";
};
vendorHash = "sha256-t7jZbEbssx3hdttBjBOAqUIrSWafz4rES11g86JOrSg=";
ldflags = ["-s" "-w" "-X main.version=${version}"];
meta = with lib; {
description = "Find default credentials for many devices and software, without leaving the terminal";
homepage = "https://github.com/anotherhadi/default-creds-tui";
license = licenses.mit;
platforms = platforms.unix;
maintainers = [];
mainProgram = "default-creds-tui";
};
}