3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/cue/default.nix

28 lines
725 B
Nix
Raw Normal View History

{ buildGoModule, fetchgit, stdenv }:
2019-07-06 08:40:02 +01:00
buildGoModule rec {
pname = "cue";
2020-04-12 14:41:54 +01:00
version = "0.1.1";
2019-07-06 08:40:02 +01:00
src = fetchgit {
url = "https://cue.googlesource.com/cue";
rev = "v${version}";
2020-04-12 14:41:54 +01:00
sha256 = "1qbnm3qb8jz9bljw2gb5bb9g41s5lbq4xvcaj3zgi4fc3708hlji";
2019-07-06 08:40:02 +01:00
};
2020-04-10 18:58:33 +01:00
modSha256 = "0n9idgishlp4gaq12kngi42rq9rnkas7g6cj7jpkk8p30c74ki6z";
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;
};
}