Merge pull request #319800 from aaronjheng/cue

cue: 0.9.0 -> 0.9.1
This commit is contained in:
Pol Dellaiera 2024-06-16 22:32:13 +02:00 committed by GitHub
commit 21c83a9e26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,13 +9,13 @@
buildGoModule rec {
pname = "cue";
version = "0.9.0";
version = "0.9.1";
src = fetchFromGitHub {
owner = "cue-lang";
repo = "cue";
rev = "v${version}";
hash = "sha256-gjuQ7sp6/GeKSqyyicOtH5Q/1xRy/7cta4KKMn2cfzQ=";
hash = "sha256-hhu66uiBkxyYRw8eruqxVifr2yftDXcYRTK5VYbjRPQ=";
};
vendorHash = "sha256-FsFignBh669E60S8l8siQHLzeSfB5X/XOHBXPMDX3Cg=";
@ -24,7 +24,11 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles ];
ldflags = [ "-s" "-w" ];
ldflags = [
"-s"
"-w"
"-X cuelang.org/go/cmd/cue/cmd.version=v${version}"
];
postInstall = ''
installShellCompletion --cmd cue \
@ -48,7 +52,7 @@ buildGoModule rec {
meta = with lib; {
description = "Data constraint language which aims to simplify tasks involving defining and using data";
homepage = "https://cuelang.org/";
license = lib.licenses.asl20;
license = licenses.asl20;
maintainers = with maintainers; [ aaronjheng ];
mainProgram = "cue";
};