go-jsonnet: init at v0.13.0

This commit is contained in:
Nahum Shalman
2019-06-05 13:39:56 -04:00
committed by Nahum Shalman
parent 0bf6841a21
commit e3e32c2028
4 changed files with 88 additions and 0 deletions
@@ -0,0 +1,33 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "go-jsonnet-${version}";
version = "0.13.0";
goPackagePath = "github.com/google/go-jsonnet";
# regenerate deps.nix using following steps:
#
# go get -u github.com/google/go-jsonnet
# cd $GOPATH/src/github.com/google/go-jsonnet
# git checkout <version>
# dep init
# dep2nix
goDeps = ./deps.nix;
src = fetchFromGitHub {
rev = "v${version}";
owner = "google";
repo = "go-jsonnet";
sha256 = "0x95sqhrw4pscxq0q8781wix0w881k9my5kn5nf6k0fg1d6qlgiy";
fetchSubmodules = true;
};
meta = {
description = "An implementation of Jsonnet in pure Go";
maintainers = with lib.maintainers; [ nshalman ];
license = lib.licenses.asl20;
homepage = https://github.com/google/go-jsonnet;
platforms = lib.platforms.unix;
};
}