about summary refs log tree commit diff
path: root/pkgs/tools/text/vale/default.nix
blob: dc2e330e013448ce23ccd6989bac6fd05757ce87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "vale-${version}";
  version = "1.2.6";

  goPackagePath = "github.com/errata-ai/vale";

  src = fetchFromGitHub {
    owner  = "errata-ai";
    repo   = "vale";
    rev    = "v${version}";
    sha256 = "1mhynasikncwz9dkk9z27qvwk03j7q0vx0wjnqg69pd97lgrp7zp";
  };

  goDeps = ./deps.nix;

  meta = with stdenv.lib; {
    homepage = https://errata-ai.github.io/vale/;
    description = "Vale is an open source linter for prose";
    license = licenses.mit;
    maintainers = [ maintainers.marsam ];
  };
}