2019-11-30 04:15:24 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-04-30 21:13:15 +01:00
|
|
|
|
2019-11-30 04:15:24 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "go-jsonnet";
|
2021-12-30 14:22:51 +00:00
|
|
|
version = "0.18.0";
|
2019-04-30 21:13:15 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "go-jsonnet";
|
2019-11-30 04:15:24 +00:00
|
|
|
rev = "v${version}";
|
2021-12-30 14:22:51 +00:00
|
|
|
sha256 = "sha256-o/IjXskGaMhvQmTsAS745anGBMI2bwHf/EOEp57H8LU=";
|
2019-04-30 21:13:15 +01:00
|
|
|
};
|
|
|
|
|
2021-12-30 14:22:51 +00:00
|
|
|
vendorSha256 = "sha256-fZBhlZrLcC4xj5uvb862lBOczGnJa9CceS3D8lUhBQo=";
|
2019-11-30 04:15:24 +00:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-03 00:29:43 +01:00
|
|
|
subPackages = [ "cmd/jsonnet" "cmd/jsonnetfmt" ];
|
2019-11-30 04:15:24 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2019-04-30 21:13:15 +01: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 21:13:15 +01:00
|
|
|
};
|
2020-07-03 00:29:43 +01:00
|
|
|
}
|