nixfiles/overlay/gobar/default.nix

28 lines
536 B
Nix
Raw Normal View History

{
stdenv,
fetchFromGitLab,
buildGoModule,
lib,
go,
}:
2021-12-26 14:07:09 +00:00
buildGoModule rec {
2021-12-25 17:22:53 +00:00
pname = "gobar";
version = "latest-1";
src = fetchFromGitLab {
owner = "ChaotiCryptidz";
repo = "gobar";
2022-01-29 18:06:26 +00:00
rev = "34c807423e5ea1420dbe2c08574cdc234f9b0789";
sha256 = "sha256-H+CjnkMde3rx7CoLKOluxHlYrhZGqzTnU8oOgkDEwsc=";
2021-12-25 17:22:53 +00:00
#sha256 = lib.fakeSha256;
};
runVend = false;
vendorSha256 = "sha256-37QYc+gLzCW1jefAQNy4AbabckJ4jO1sDOiUZTsLgWo=";
#vendorSha256 = lib.fakeSha256;
preBuild = ''
export HOME=$TMPDIR
'';
}