22 lines
525 B
Nix
22 lines
525 B
Nix
{ stdenv, fetchFromGitLab, buildGoModule, lib, go }:
|
|
buildGoModule rec {
|
|
pname = "gobar";
|
|
version = "latest-1";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "ChaotiCryptidz";
|
|
repo = "gobar";
|
|
rev = "91fc4594aa3c2689fc099d1a9944d63eb1954368";
|
|
sha256 = "sha256-lj5Brztxh69xOHN+WMn8Ti0Zg+gI/NeuE9NezcSYFRA=";
|
|
#sha256 = lib.fakeSha256;
|
|
};
|
|
|
|
runVend = false;
|
|
vendorSha256 = "sha256-37QYc+gLzCW1jefAQNy4AbabckJ4jO1sDOiUZTsLgWo=";
|
|
#vendorSha256 = lib.fakeSha256;
|
|
|
|
preBuild = ''
|
|
export HOME=$TMPDIR
|
|
'';
|
|
}
|