2020-03-27 07:33:21 +00:00
|
|
|
{ buildGoModule, fetchgit, stdenv }:
|
2019-07-06 08:40:02 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cue";
|
2020-05-16 18:15:28 +01:00
|
|
|
version = "0.1.2";
|
2019-07-06 08:40:02 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://cue.googlesource.com/cue";
|
|
|
|
rev = "v${version}";
|
2020-05-16 18:15:28 +01:00
|
|
|
sha256 = "0pmw7gnh4z5sbri8464rpwp3hbrz23zwig82nk9wdjkg1qahyy13";
|
2019-07-06 08:40:02 +01:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "12w2rxp0s3i1ck0qvp2dkg9kk6pyymycdfnfxggcyg4fjshh8afg";
|
2019-07-06 08:40:02 +01: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/";
|
2019-07-06 08:40:02 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ solson ];
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
};
|
2020-05-16 18:15:28 +01:00
|
|
|
}
|