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

25 lines
611 B
Nix
Raw Normal View History

2018-03-10 22:28:02 +00:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "vale-${version}";
2019-01-18 12:05:24 +00:00
version = "1.3.0";
2018-03-10 22:28:02 +00:00
2018-04-27 03:20:30 +00:00
goPackagePath = "github.com/errata-ai/vale";
2018-03-10 22:28:02 +00:00
src = fetchFromGitHub {
2018-04-27 03:20:30 +00:00
owner = "errata-ai";
2018-03-10 22:28:02 +00:00
repo = "vale";
2018-11-25 20:57:23 +00:00
rev = "v${version}";
2019-01-18 12:05:24 +00:00
sha256 = "1yfrn27z3ifdlvalgrnhdrkhxkh09xpyv681sr01wc2hxq6v3hqn";
2018-03-10 22:28:02 +00:00
};
2019-01-18 12:05:24 +00:00
doCheck = true;
2018-03-10 22:28:02 +00:00
meta = with stdenv.lib; {
2018-11-25 20:57:23 +00:00
homepage = https://errata-ai.github.io/vale/;
2019-01-18 12:05:24 +00:00
description = "A syntax-aware linter for prose built with speed and extensibility in mind";
2018-03-10 22:28:02 +00:00
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}