2020-03-27 08:33:21 +01:00
|
|
|
{ buildGoModule, fetchgit, stdenv }:
|
2019-07-06 09:40:02 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "cue";
|
2019-12-13 13:21:09 +01:00
|
|
|
version = "0.0.15";
|
2019-07-06 09:40:02 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://cue.googlesource.com/cue";
|
|
|
|
rev = "v${version}";
|
2019-12-13 13:21:09 +01:00
|
|
|
sha256 = "0mipzci2zjp6yh4lxg9jrdxn03ska188zg3jl6g1zr8rn0ry274h";
|
2019-07-06 09:40:02 +02:00
|
|
|
};
|
|
|
|
|
2019-11-22 03:08:54 +01:00
|
|
|
modSha256 = "04dapx75zwi8cv1pj3c6266znrhwihv3df4izm3gjk34r2i07q6s";
|
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;
|
|
|
|
};
|
|
|
|
}
|