editorconfig-checker: 3.5.0 -> 3.6.0
https://github.com/editorconfig-checker/editorconfig-checker/releases/tag/v3.6.0 Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
@@ -7,24 +7,25 @@
|
||||
editorconfig-checker,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "editorconfig-checker";
|
||||
version = "3.5.0";
|
||||
version = "3.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "editorconfig-checker";
|
||||
repo = "editorconfig-checker";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-wU9LGkhY/MWCK5kvKxU1JvPnP2esiS/4E19n6GnWLfQ=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-HQYZXwxysGpbNDAzgAruzBtSlPxfwrLuzirkZSV2Xhs=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-qOIwhi2btNcqfyrg0Z2ZvmM5+FE9lMrpP7l4SRzKkXg=";
|
||||
vendorHash = "sha256-zlARI7bKf+4bdgCha9AlDZyTRbrOHtmvHeExJWhB85I=";
|
||||
|
||||
# Tests run on source and don't expect vendor dir.
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
ldflags = [ "-X main.version=${version}" ];
|
||||
ldflags = [ "-X main.version=${finalAttrs.version}" ];
|
||||
|
||||
postInstall = ''
|
||||
installManPage docs/editorconfig-checker.1
|
||||
@@ -34,15 +35,15 @@ buildGoModule rec {
|
||||
package = editorconfig-checker;
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/editorconfig-checker/editorconfig-checker/releases/tag/${src.rev}";
|
||||
meta = {
|
||||
changelog = "https://github.com/editorconfig-checker/editorconfig-checker/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Tool to verify that your files are in harmony with your .editorconfig";
|
||||
mainProgram = "editorconfig-checker";
|
||||
homepage = "https://editorconfig-checker.github.io/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
uri-canva
|
||||
zowoq
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user