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

26 lines
577 B
Nix
Raw Normal View History

2018-03-10 22:28:02 +00:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "vale-${version}";
version = "0.10.1";
rev = "${version}";
goPackagePath = "github.com/ValeLint/vale";
src = fetchFromGitHub {
inherit rev;
owner = "ValeLint";
repo = "vale";
sha256 = "1iyc9mny3nb6j3allj3szkiygc2v3gi7l7syq9ifjrm1wknk8wrf";
};
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 ];
};
}