commit
60747a54c4
@ -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