25 lines
513 B
Nix
25 lines
513 B
Nix
{
|
|
fetchFromGitLab,
|
|
buildGoModule,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "gobar";
|
|
version = "latest-1";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "ChaotiCryptidz";
|
|
repo = "gobar";
|
|
rev = "34c807423e5ea1420dbe2c08574cdc234f9b0789";
|
|
sha256 = "sha256-H+CjnkMde3rx7CoLKOluxHlYrhZGqzTnU8oOgkDEwsc=";
|
|
#sha256 = lib.fakeSha256;
|
|
};
|
|
|
|
runVend = false;
|
|
vendorSha256 = "sha256-37QYc+gLzCW1jefAQNy4AbabckJ4jO1sDOiUZTsLgWo=";
|
|
#vendorSha256 = lib.fakeSha256;
|
|
|
|
preBuild = ''
|
|
export HOME=$TMPDIR
|
|
'';
|
|
}
|