vale: use buildGoPackage

This commit is contained in:
Mario Rodas 2019-09-21 04:20:00 -05:00
parent 60a897d4c7
commit d3116ca29d

View File

@ -1,6 +1,6 @@
{ stdenv, buildGoModule, fetchFromGitHub }: { stdenv, buildGoPackage, fetchFromGitHub }:
buildGoModule rec { buildGoPackage rec {
pname = "vale"; pname = "vale";
version = "1.7.1"; version = "1.7.1";
@ -13,7 +13,7 @@ buildGoModule rec {
sha256 = "1qi3brjppiymk6as0xic2n3bhq8g8qw1z8d9a24w60x9gp52yq5m"; sha256 = "1qi3brjppiymk6as0xic2n3bhq8g8qw1z8d9a24w60x9gp52yq5m";
}; };
modSha256 = "0av728w22rrlw2030d09q5dz9ks58p3n4g1hx4xcs0gi33sdsdb8"; goPackagePath = "github.com/errata-ai/vale";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = https://errata-ai.github.io/vale/; homepage = https://errata-ai.github.io/vale/;