2020-04-24 23:36:52 +00:00
|
|
|
{ buildGoModule, fetchgit, stdenv }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cue";
|
2020-06-02 18:00:15 +00:00
|
|
|
version = "0.2.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://cue.googlesource.com/cue";
|
|
|
|
rev = "v${version}";
|
2020-06-02 18:00:15 +00:00
|
|
|
sha256 = "06kag5dwkq4zsh1b52b74g3slsxlwwiap2w3709qjhrgda8w2zn3";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-06-02 18:00:15 +00:00
|
|
|
vendorSha256 = "1lhjd98n9j1cq36b5lhscb7k32qmyqg7zs6zc8yab494bm8sz89g";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/cue" ];
|
|
|
|
|
|
|
|
buildFlagsArray = [
|
|
|
|
"-ldflags=-X cuelang.org/go/cmd/cue/cmd.version=${version}"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A data constraint language which aims to simplify tasks involving defining and using data";
|
|
|
|
homepage = "https://cuelang.org/";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ solson ];
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
};
|
2020-05-29 06:06:01 +00:00
|
|
|
}
|