nixpkgs/pkgs/development/compilers/go-jsonnet/default.nix

27 lines
653 B
Nix
Raw Normal View History

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 {
pname = "go-jsonnet";
2020-11-26 05:56:06 +00:00
version = "0.17.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}";
2020-11-26 05:56:06 +00:00
sha256 = "1rprs8l15nbrx4dw4pdg81c5l22zhj80pl4zwqgsm4113wyyvc98";
2019-04-30 21:13:15 +01:00
};
2020-06-08 20:14:11 +01:00
vendorSha256 = "0nsm4gsbbn8myz4yfi6m7qc3iizhdambsr18iks0clkdn3mi2jn1";
2019-11-30 04:15:24 +00:00
doCheck = false;
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
};
}