25 lines
618 B
Nix
25 lines
618 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "vale-${version}";
|
|
version = "1.3.2";
|
|
|
|
goPackagePath = "github.com/errata-ai/vale";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "errata-ai";
|
|
repo = "vale";
|
|
rev = "v${version}";
|
|
sha256 = "0jpklca4m6wpndy6spj30s6ssb5y9ysyncxj7i6fg2g0m4dzzh8w";
|
|
};
|
|
|
|
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";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|