blob: d106ca3ef449701b5ab383dba5ae28bd32769369 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ buildGoModule, fetchgit, stdenv }:
buildGoModule rec {
pname = "cue";
version = "0.1.2";
src = fetchgit {
url = "https://cue.googlesource.com/cue";
rev = "v${version}";
sha256 = "0pmw7gnh4z5sbri8464rpwp3hbrz23zwig82nk9wdjkg1qahyy13";
};
vendorSha256 = "12w2rxp0s3i1ck0qvp2dkg9kk6pyymycdfnfxggcyg4fjshh8afg";
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;
};
}
|