Merge pull request #88055 from zowoq/editorconfig-checker

editorconfig-checker: 2.0.3 -> 2.0.4
This commit is contained in:
Mario Rodas 2020-05-19 08:56:54 -05:00 committed by GitHub
commit de40e1e4d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,25 @@
{ buildGoModule, fetchFromGitHub, lib }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec {
pname = "editorconfig-checker";
version = "2.0.3";
version = "2.0.4";
src = fetchFromGitHub {
owner = "editorconfig-checker";
repo = "editorconfig-checker";
rev = "${version}";
sha256 = "1gn7q6wg7byhr1l5ly60rbb700xrww9slbq7gbxbw5c1fl0pp3yk";
sha256 = "1y90yz8da0iqig3m0kbjcicwblkirbbx0s3agpmz2pdca6y2ijwi";
};
vendorSha256 = "1w5hsdmi95v7qj3fc4jkjapw8cnh41f09wbbzcfmfmvygrii7z16";
vendorSha256 = "1lyrqrm3pyfv470dmymbkb3vpvp0i2zsndp7qw34fbhp2gnay5kh";
nativeBuildInputs = [ installShellFiles ];
buildFlagsArray = [ "-ldflags=-X main.version=${version}" ];
postInstall = ''
installManPage docs/editorconfig-checker.1
'';
meta = with lib; {
description = "A tool to verify that your files are in harmony with your .editorconfig";
@ -19,4 +27,4 @@ buildGoModule rec {
license = licenses.mit;
maintainers = with maintainers; [ uri-canva ];
};
}
}