Skip to content

Commit

Permalink
update to 0.13.1 and remove deprecated vendorSha256 (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney authored Jan 10, 2024
1 parent 277b596 commit fcbf731
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 16 deletions.
6 changes: 3 additions & 3 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
with pkgs;
buildGoModule rec {
pname = "jsonnet-language-server";
version = "0.13.0";
version = "0.13.1";

ldflags = ''
-X main.version=${version}
'';
src = lib.cleanSource ../.;
vendorSha256 = "/mfwBHaouYN8JIxPz720/7MlMVh+5EEB+ocnYe4B020=";
vendorHash = "sha256-+9Eh40kkyZc9mS4m6BqK5PweFRUA0iWgsG/h2jZJr5w=";

meta = with lib; {
description = "A Language Server Protocol server for Jsonnet";
homepage = "https://github.com/grafana/jsonnet-language-server";
license = licenses.agpl3;
maintainers = with maintainers; [ jdbaldry ];
maintainers = with maintainers; [ jdbaldry trevorwhitney ];
};
}
30 changes: 24 additions & 6 deletions nix/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions nix/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@
outputs = { self, nixpkgs, flake-utils }:
{
overlay =
(
final: prev: {
jsonnet-language-server = prev.callPackage ./default.nix { pkgs = prev; };
snitch = prev.callPackage ./snitch.nix { pkgs = prev; };
}
);
final: prev: {
jsonnet-language-server = prev.callPackage ./default.nix { pkgs = prev; };
snitch = prev.callPackage ./snitch.nix { pkgs = prev; };
};
} // (
flake-utils.lib.eachDefaultSystem (
system:
Expand Down
1 change: 1 addition & 0 deletions nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ mkShell {
go_1_19
golangci-lint
gopls
jsonnet-language-server
nix-prefetch
snitch
];
Expand Down
2 changes: 1 addition & 1 deletion nix/snitch.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildGoModule rec {
rev = version;
sha256 = "sha256-bflHSWN/BH4TSTTP4M3DldVwkV8MUSVCO15eYJTtTi0=";
};
vendorSha256 = "sha256-QAbxld0UY7jO9ommX7VrPKOWEiFPmD/xw02EZL6628A=";
vendorHash = "sha256-QAbxld0UY7jO9ommX7VrPKOWEiFPmD/xw02EZL6628A=";

meta = with lib; {
description = "Language agnostic tool that collects TODOs in the source code and reports them as Issues";
Expand Down

0 comments on commit fcbf731

Please sign in to comment.