zowoq 2021-08-02 09:15:04 +10:00
parent 344cfbe866
commit bbc054abae

View file

@ -5,20 +5,20 @@
buildGoModule rec { buildGoModule rec {
pname = "dasel"; pname = "dasel";
version = "1.15.0"; version = "1.16.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "TomWright"; owner = "TomWright";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-XJSWdXGa1qkkMfETUV8xx9oaMdNVFdO27/GvDvczjG8="; sha256 = "sha256-BrtTBy/Tb4xfs7UHk1acRzKZWNZJqhufHG1ItcM8TPs=";
}; };
vendorSha256 = "sha256-BdX4DO77mIf/+aBdkNVFUzClsIml1UMcgvikDbbdgcY="; vendorSha256 = "sha256-BdX4DO77mIf/+aBdkNVFUzClsIml1UMcgvikDbbdgcY=";
buildFlagsArray = '' ldflags = [
-ldflags=-s -w -X github.com/tomwright/dasel/internal.Version=${version} "-s" "-w" "-X github.com/tomwright/dasel/internal.Version=${version}"
''; ];
doInstallCheck = true; doInstallCheck = true;
installCheckPhase = '' installCheckPhase = ''