1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 01:46:30 +00:00
nixpkgs/pkgs/development/tools/cue/default.nix

30 lines
737 B
Nix
Raw Normal View History

{ buildGoModule, fetchgit, lib }:
2019-07-06 08:40:02 +01:00
buildGoModule rec {
pname = "cue";
2021-04-20 07:49:44 +01:00
version = "0.3.2";
2019-07-06 08:40:02 +01:00
src = fetchgit {
url = "https://cue.googlesource.com/cue";
rev = "v${version}";
2021-04-20 07:49:44 +01:00
sha256 = "0rfgpq4dyd3zm07vcjzn5vv0dhvvryrarxc50sd2pxagbq5cqc8l";
2019-07-06 08:40:02 +01:00
};
2021-04-08 07:44:35 +01:00
vendorSha256 = "10kvss23a8a6q26a7h1bqc3i0nskm2halsvc9wdv9zf9qsz7zjkp";
2019-07-06 08:40:02 +01:00
doCheck = false;
2019-07-06 08:40:02 +01:00
subPackages = [ "cmd/cue" ];
buildFlagsArray = [
2021-04-20 07:49:44 +01:00
"-ldflags=-s -w -X cuelang.org/go/cmd/cue/cmd.version=${version}"
2019-07-06 08:40:02 +01:00
];
meta = {
2019-11-22 02:08:54 +00:00
description = "A data constraint language which aims to simplify tasks involving defining and using data";
homepage = "https://cuelang.org/";
maintainers = with lib.maintainers; [ solson ];
license = lib.licenses.asl20;
2019-07-06 08:40:02 +01:00
};
2020-05-16 18:15:28 +01:00
}