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

25 lines
581 B
Nix
Raw Normal View History

2018-03-10 23:28:02 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "vale-${version}";
2018-11-25 21:57:23 +01:00
version = "1.2.6";
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
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}";
sha256 = "1mhynasikncwz9dkk9z27qvwk03j7q0vx0wjnqg69pd97lgrp7zp";
2018-03-10 23:28:02 +01:00
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
2018-11-25 21:57:23 +01:00
homepage = https://errata-ai.github.io/vale/;
2018-03-10 23:28:02 +01:00
description = "Vale is an open source linter for prose";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}