2019-11-30 05:15:24 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-04-30 22:13:15 +02:00
|
|
|
|
2019-11-30 05:15:24 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "go-jsonnet";
|
2020-06-08 21:14:11 +02:00
|
|
|
version = "0.16.0";
|
2019-04-30 22:13:15 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "go-jsonnet";
|
2019-11-30 05:15:24 +01:00
|
|
|
rev = "v${version}";
|
2020-06-08 21:14:11 +02:00
|
|
|
sha256 = "17606gc75wnkm64am4hmlv7m3fy2hi8rnzadp6nrgpcd6rl26m83";
|
2019-04-30 22:13:15 +02:00
|
|
|
};
|
|
|
|
|
2020-06-08 21:14:11 +02:00
|
|
|
vendorSha256 = "0nsm4gsbbn8myz4yfi6m7qc3iizhdambsr18iks0clkdn3mi2jn1";
|
2019-11-30 05:15:24 +01:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-03 01:29:43 +02:00
|
|
|
subPackages = [ "cmd/jsonnet" "cmd/jsonnetfmt" ];
|
2019-11-30 05:15:24 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2019-04-30 22:13:15 +02:00
|
|
|
description = "An implementation of Jsonnet in pure Go";
|
2019-11-30 05:15:24 +01:00
|
|
|
homepage = "https://github.com/google/go-jsonnet";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nshalman ];
|
2019-04-30 22:13:15 +02:00
|
|
|
};
|
2020-07-03 01:29:43 +02:00
|
|
|
}
|