summary refs log tree commit diff
path: root/pkgs/tools/text/vale/default.nix
blob: 5fe4ab5d7239ac115fd5729146c75d3aeaa57b99 (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
25
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  name = "vale-${version}";
  version = "1.0.3";
  rev    = "v${version}";

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

  src = fetchFromGitHub {
    inherit rev;
    owner  = "errata-ai";
    repo   = "vale";
    sha256 = "132zzgry19alcdn3m3q62sp2lm3yxc4kil12lm309jl7b3n0850h";
  };

  goDeps = ./deps.nix;

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