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

28 lines
737 B
Nix
Raw Normal View History

2019-07-06 08:40:02 +01:00
{ buildGoModule, fetchgit, stdenv }:
buildGoModule rec {
pname = "cue";
2019-09-13 15:43:01 +01:00
version = "0.0.11";
2019-07-06 08:40:02 +01:00
src = fetchgit {
url = "https://cue.googlesource.com/cue";
rev = "v${version}";
2019-09-13 15:43:01 +01:00
sha256 = "146h3nxx72n3byxr854lnxj7m33ipbmg6j9dy6dlwvqpa7rndrmp";
2019-07-06 08:40:02 +01:00
};
2019-09-13 15:43:01 +01:00
modSha256 = "1q0fjm34mbijjxg089v5330vc820nrvwdkhm02zi45rk2fpdgdqd";
2019-07-06 08:40:02 +01:00
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;
};
}