mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
vale: 2.2.2 -> 2.3.0
https://github.com/errata-ai/vale/releases/tag/v2.3.0
This commit is contained in:
parent
3735c9ef90
commit
8659095cad
@ -2,27 +2,22 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "vale";
|
||||
version = "2.2.2";
|
||||
version = "2.3.0";
|
||||
|
||||
subPackages = [ "." ];
|
||||
outputs = ["out" "doc" "data"];
|
||||
outputs = [ "out" "data" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "errata-ai";
|
||||
repo = "vale";
|
||||
rev = "v${version}";
|
||||
sha256 = "11pgszm9cb65liczpnq04l1rx0v68jgmkzrw7ax5kln5hgnrh4kb";
|
||||
sha256 = "0jxlh8dlhhqw1mrhp42nywnp6wwpk7nw373s89lp3khhqwb1n08f";
|
||||
};
|
||||
|
||||
deleteVendor = true;
|
||||
vendorSha256 = null;
|
||||
|
||||
vendorSha256 = "150pvy94vfjvn74d63az917szixw1nhl60y1adixg8xqpcjnv9hj";
|
||||
|
||||
goPackagePath = "github.com/errata-ai/vale";
|
||||
postInstall = ''
|
||||
mkdir -p $doc/share/doc/vale
|
||||
mkdir -p $data/share/vale
|
||||
cp -r docs/* $doc/share/doc/vale
|
||||
cp -r styles $data/share/vale
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user