nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.11 26 lines 653 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "go-jsonnet"; 5 version = "0.17.0"; 6 7 src = fetchFromGitHub { 8 owner = "google"; 9 repo = "go-jsonnet"; 10 rev = "v${version}"; 11 sha256 = "1rprs8l15nbrx4dw4pdg81c5l22zhj80pl4zwqgsm4113wyyvc98"; 12 }; 13 14 vendorSha256 = "0nsm4gsbbn8myz4yfi6m7qc3iizhdambsr18iks0clkdn3mi2jn1"; 15 16 doCheck = false; 17 18 subPackages = [ "cmd/jsonnet" "cmd/jsonnetfmt" ]; 19 20 meta = with lib; { 21 description = "An implementation of Jsonnet in pure Go"; 22 homepage = "https://github.com/google/go-jsonnet"; 23 license = licenses.asl20; 24 maintainers = with maintainers; [ nshalman ]; 25 }; 26}