1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 15:15:36 +00:00
nixpkgs/pkgs/development/tools/cue/default.nix
2019-09-13 18:01:33 +03:00

28 lines
737 B
Nix

{ buildGoModule, fetchgit, stdenv }:
buildGoModule rec {
pname = "cue";
version = "0.0.11";
src = fetchgit {
url = "https://cue.googlesource.com/cue";
rev = "v${version}";
sha256 = "146h3nxx72n3byxr854lnxj7m33ipbmg6j9dy6dlwvqpa7rndrmp";
};
modSha256 = "1q0fjm34mbijjxg089v5330vc820nrvwdkhm02zi45rk2fpdgdqd";
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://cue.googlesource.com/cue;
maintainers = with stdenv.lib.maintainers; [ solson ];
license = stdenv.lib.licenses.asl20;
};
}