mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 15:44:20 +00:00
066db11215
This reverts commit4e6bf03504
, reversing changes made toafd997aab6
. Instead we propagate those frameworks from the compiler again
28 lines
726 B
Nix
28 lines
726 B
Nix
{ buildGoModule, fetchgit, stdenv }:
|
|
|
|
buildGoModule rec {
|
|
pname = "cue";
|
|
version = "0.0.15";
|
|
|
|
src = fetchgit {
|
|
url = "https://cue.googlesource.com/cue";
|
|
rev = "v${version}";
|
|
sha256 = "0mipzci2zjp6yh4lxg9jrdxn03ska188zg3jl6g1zr8rn0ry274h";
|
|
};
|
|
|
|
modSha256 = "04dapx75zwi8cv1pj3c6266znrhwihv3df4izm3gjk34r2i07q6s";
|
|
|
|
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://cuelang.org/";
|
|
maintainers = with stdenv.lib.maintainers; [ solson ];
|
|
license = stdenv.lib.licenses.asl20;
|
|
};
|
|
}
|