3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/cue/default.nix
2020-05-14 07:22:21 +01:00

27 lines
727 B
Nix

{ buildGoModule, fetchgit, stdenv }:
buildGoModule rec {
pname = "cue";
version = "0.1.1";
src = fetchgit {
url = "https://cue.googlesource.com/cue";
rev = "v${version}";
sha256 = "1qbnm3qb8jz9bljw2gb5bb9g41s5lbq4xvcaj3zgi4fc3708hlji";
};
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;
};
}