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