nixpkgs/pkgs/tools/text/vale/default.nix

26 lines
602 B
Nix
Raw Normal View History

2018-03-10 14:28:02 -08:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "vale-${version}";
2018-09-17 06:28:21 -07:00
version = "1.0.3";
2018-04-26 20:20:30 -07:00
rev = "v${version}";
2018-03-10 14:28:02 -08:00
2018-04-26 20:20:30 -07:00
goPackagePath = "github.com/errata-ai/vale";
2018-03-10 14:28:02 -08:00
src = fetchFromGitHub {
inherit rev;
2018-04-26 20:20:30 -07:00
owner = "errata-ai";
2018-03-10 14:28:02 -08:00
repo = "vale";
2018-09-17 06:28:21 -07:00
sha256 = "132zzgry19alcdn3m3q62sp2lm3yxc4kil12lm309jl7b3n0850h";
2018-03-10 14:28:02 -08:00
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
2018-09-17 06:28:21 -07:00
homepage = https://errata.ai/vale/getting-started/;
2018-03-10 14:28:02 -08:00
description = "Vale is an open source linter for prose";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}