2019-11-30 04:15:24 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-04-30 20:13:15 +00:00
|
|
|
|
2019-11-30 04:15:24 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "go-jsonnet";
|
2020-02-11 08:12:43 +00:00
|
|
|
version = "0.15.0";
|
2019-04-30 20:13:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "go-jsonnet";
|
2019-11-30 04:15:24 +00:00
|
|
|
rev = "v${version}";
|
2020-02-11 08:12:43 +00:00
|
|
|
sha256 = "0l6cwky2xl7m8nnc9abp76bhkdcf2ldbbv3r8p30xv2yr5wd1j8i";
|
2019-04-30 20:13:15 +00:00
|
|
|
};
|
|
|
|
|
2019-11-30 04:15:24 +00:00
|
|
|
modSha256 = "1b6hz5a66hhlzpcv1badxr1b4nmk4lw0507d5jks7lqzvvwd0sxq";
|
|
|
|
|
|
|
|
subPackages = [ "cmd/jsonnet" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2019-04-30 20:13:15 +00:00
|
|
|
description = "An implementation of Jsonnet in pure Go";
|
2019-11-30 04:15:24 +00:00
|
|
|
homepage = "https://github.com/google/go-jsonnet";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nshalman ];
|
2019-04-30 20:13:15 +00:00
|
|
|
};
|
|
|
|
}
|