cue: init at 0.0.3 (#64367)

This commit is contained in:
Scott Olson 2019-07-06 01:40:02 -06:00 committed by Wael Nasreddine
parent c0773aa73c
commit 0b492c0060
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ buildGoModule, fetchgit, stdenv }:
buildGoModule rec {
pname = "cue";
version = "0.0.3";
src = fetchgit {
url = "https://cue.googlesource.com/cue";
rev = "v${version}";
sha256 = "1abvvgicr64ssiprkircih2nrbcr1yqxf1qkl21kh0ww1xfp0rw7";
};
modSha256 = "0r5vbplcfq1rsp2jnixq6lfbpcv7grf0q38na76qy7pjb57zikb6";
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;
};
}

View file

@ -740,6 +740,8 @@ in
crumbs = callPackage ../applications/misc/crumbs { };
cue = callPackage ../development/tools/cue { };
deskew = callPackage ../applications/graphics/deskew { };
detect-secrets = python3Packages.callPackage ../development/tools/detect-secrets { };