2021-01-25 08:26:54 +00:00
|
|
|
{ buildGoModule, fetchgit, lib }:
|
2019-07-06 07:40:02 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cue";
|
2021-04-08 06:44:35 +00:00
|
|
|
version = "0.3.0";
|
2019-07-06 07:40:02 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://cue.googlesource.com/cue";
|
|
|
|
rev = "v${version}";
|
2021-04-08 06:44:35 +00:00
|
|
|
sha256 = "1h3809xgmn7dr57i3cnifr7r555i3zh3kfsv0gxa9nd7068w19xm";
|
2019-07-06 07:40:02 +00:00
|
|
|
};
|
|
|
|
|
2021-04-08 06:44:35 +00:00
|
|
|
vendorSha256 = "10kvss23a8a6q26a7h1bqc3i0nskm2halsvc9wdv9zf9qsz7zjkp";
|
2019-07-06 07:40:02 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-07-06 07:40:02 +00:00
|
|
|
subPackages = [ "cmd/cue" ];
|
|
|
|
|
|
|
|
buildFlagsArray = [
|
|
|
|
"-ldflags=-X cuelang.org/go/cmd/cue/cmd.version=${version}"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2019-11-22 02:08:54 +00:00
|
|
|
description = "A data constraint language which aims to simplify tasks involving defining and using data";
|
|
|
|
homepage = "https://cuelang.org/";
|
2021-01-23 12:26:19 +00:00
|
|
|
maintainers = with lib.maintainers; [ solson ];
|
|
|
|
license = lib.licenses.asl20;
|
2019-07-06 07:40:02 +00:00
|
|
|
};
|
2020-05-16 17:15:28 +00:00
|
|
|
}
|