summary refs log tree commit diff
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2023-01-14 13:43:41 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2023-01-14 13:46:54 +1000
commit3b02c3754fd88f0a9bcf289943159cac244e5745 (patch)
tree87d9839c9f6b7ade1f53f964a71b1cb7578867e0
parentb754048874f404f9a952efc3dfc7d7fd9f307689 (diff)
downloadnixpkgs-3b02c3754fd88f0a9bcf289943159cac244e5745.tar
nixpkgs-3b02c3754fd88f0a9bcf289943159cac244e5745.tar.gz
nixpkgs-3b02c3754fd88f0a9bcf289943159cac244e5745.tar.bz2
nixpkgs-3b02c3754fd88f0a9bcf289943159cac244e5745.tar.lz
nixpkgs-3b02c3754fd88f0a9bcf289943159cac244e5745.tar.xz
nixpkgs-3b02c3754fd88f0a9bcf289943159cac244e5745.tar.zst
nixpkgs-3b02c3754fd88f0a9bcf289943159cac244e5745.zip
editorconfig-checker: 2.6.0 -> 2.7.0
https://github.com/editorconfig-checker/editorconfig-checker/releases/tag/2.7.0
-rw-r--r--pkgs/development/tools/misc/editorconfig-checker/default.nix12
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 3accb063cc7..1649031a7e7 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/";