mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
cue: init at 0.0.3 (#64367)
This commit is contained in:
parent
c0773aa73c
commit
0b492c0060
2 changed files with 29 additions and 0 deletions
27
pkgs/development/tools/cue/default.nix
Normal file
27
pkgs/development/tools/cue/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue