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

25 lines
613 B
Nix
Raw Normal View History

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 {
pname = "go-jsonnet";
2019-11-30 05:15:24 +01:00
version = "0.14.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}";
sha256 = "1q0mpydh8h0zrml605q9r259y8584kbwcr9g4sqcb1n13b4d1sgp";
2019-04-30 22:13:15 +02:00
};
2019-11-30 05:15:24 +01:00
modSha256 = "1b6hz5a66hhlzpcv1badxr1b4nmk4lw0507d5jks7lqzvvwd0sxq";
subPackages = [ "cmd/jsonnet" ];
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
};
}