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

View file

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