2021-01-25 08:26:54 +00:00
|
|
|
{ buildGoModule, fetchgit, lib }:
|
2019-07-06 08:40:02 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cue";
|
2021-05-28 17:36:56 +01:00
|
|
|
version = "0.4.0";
|
2019-07-06 08:40:02 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://cue.googlesource.com/cue";
|
|
|
|
rev = "v${version}";
|
2021-05-28 17:36:56 +01:00
|
|
|
sha256 = "sha256-rcGEl+CMFyxZKsOKhVimhv5/ONo3xS6FjgKModZGR2o=";
|
2019-07-06 08:40:02 +01:00
|
|
|
};
|
|
|
|
|
2021-05-28 17:36:56 +01:00
|
|
|
vendorSha256 = "sha256-eSKVlBgnHR1R0j1lNwtFoIgRuj8GqoMbvuBl/N1SanY=";
|
2019-07-06 08:40:02 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-07-06 08:40:02 +01:00
|
|
|
subPackages = [ "cmd/cue" ];
|
|
|
|
|
2021-08-26 07:45:51 +01:00
|
|
|
ldflags = [
|
|
|
|
"-s" "-w" "-X cuelang.org/go/cmd/cue/cmd.version=${version}"
|
2019-07-06 08:40:02 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
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-06-01 20:11:23 +01:00
|
|
|
maintainers = [];
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.asl20;
|
2019-07-06 08:40:02 +01:00
|
|
|
};
|
2020-05-16 18:15:28 +01:00
|
|
|
}
|