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