2018-03-10 22:28:02 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "vale-${version}";
|
2018-04-27 04:20:30 +01:00
|
|
|
version = "0.11.2";
|
|
|
|
rev = "v${version}";
|
2018-03-10 22:28:02 +00:00
|
|
|
|
2018-04-27 04:20:30 +01:00
|
|
|
goPackagePath = "github.com/errata-ai/vale";
|
2018-03-10 22:28:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
2018-04-27 04:20:30 +01:00
|
|
|
owner = "errata-ai";
|
2018-03-10 22:28:02 +00:00
|
|
|
repo = "vale";
|
2018-04-27 04:20:30 +01:00
|
|
|
sha256 = "0zs6bdwnc5fpa0skw1xhdwg6jzsc7wcb8lsfj235jc8jd2w13mvm";
|
2018-03-10 22:28:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
description = "Vale is an open source linter for prose";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|