vale: 1.4.3 -> 1.7.1, buildGoModule

This commit is contained in:
Will Dietz 2019-08-20 07:54:18 -05:00
parent 0c20b6a9df
commit 699a3aef6c
No known key found for this signature in database
GPG key ID: EBB0EA4124809D02

View file

@ -1,10 +1,8 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
name = "vale-${version}";
version = "1.4.3";
goPackagePath = "github.com/errata-ai/vale";
buildGoModule rec {
pname = "vale";
version = "1.7.1";
subPackages = [ "." ];
@ -12,9 +10,11 @@ buildGoPackage rec {
owner = "errata-ai";
repo = "vale";
rev = "v${version}";
sha256 = "1dgh2frf577048cacwnrl0xx5hha055z42sqq38lf07ybwyxdxms";
sha256 = "1qi3brjppiymk6as0xic2n3bhq8g8qw1z8d9a24w60x9gp52yq5m";
};
modSha256 = "0av728w22rrlw2030d09q5dz9ks58p3n4g1hx4xcs0gi33sdsdb8";
meta = with stdenv.lib; {
homepage = https://errata-ai.github.io/vale/;
description = "A syntax-aware linter for prose built with speed and extensibility in mind";