diff options
author | Nick Cao <nickcao@nichi.co> | 2023-01-15 07:39:12 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-15 07:39:12 +0800 |
commit | 6df6a45b04da7d534c4a3f3c247e608f26c107df (patch) | |
tree | dc9c6a8a57719331ae6080acf25d66cd07b1ce22 | |
parent | 267642df33dfc12736a7636f80c461ac0aac0678 (diff) | |
parent | 3b02c3754fd88f0a9bcf289943159cac244e5745 (diff) |
Merge pull request #210622 from qowoz/ecc
editorconfig-checker: 2.6.0 -> 2.7.0
-rw-r--r-- | pkgs/development/tools/misc/editorconfig-checker/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/tools/misc/editorconfig-checker/default.nix b/pkgs/development/tools/misc/editorconfig-checker/default.nix index 3accb063cc7d..1649031a7e7d 100644 --- a/pkgs/development/tools/misc/editorconfig-checker/default.nix +++ b/pkgs/development/tools/misc/editorconfig-checker/default.nix @@ -1,17 +1,17 @@ -{ lib, buildGoModule, fetchFromGitHub, installShellFiles }: +{ lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, editorconfig-checker }: buildGoModule rec { pname = "editorconfig-checker"; - version = "2.6.0"; + version = "2.7.0"; src = fetchFromGitHub { owner = "editorconfig-checker"; repo = "editorconfig-checker"; rev = version; - sha256 = "sha256-S/iIanLToWN4OsItvSLGSEhgoYRJgUt0w3QFp1+scfY="; + hash = "sha256-8qGRcyDayXx3OflhE9Kw2AXM702/2pYB3JgfpQ0UYR8="; }; - vendorSha256 = "sha256-ktyUuWW0xlhRLkertrc4/ZYCyDh/tfYBuHqIrdTkotQ="; + vendorHash = "sha256-S93ZvC92V9nrBicEv1yQ3DEuf1FmxtvFoKPR15e8VmA="; doCheck = false; @@ -23,6 +23,10 @@ buildGoModule rec { installManPage docs/editorconfig-checker.1 ''; + passthru.tests.version = testers.testVersion { + package = editorconfig-checker; + }; + meta = with lib; { description = "A tool to verify that your files are in harmony with your .editorconfig"; homepage = "https://editorconfig-checker.github.io/"; |