Mario Rodas 2022-07-09 04:20:00 +00:00
parent 3137fb373e
commit 4fe81e170d

View file

@ -2,7 +2,7 @@
buildGoModule rec {
pname = "vale";
version = "2.18.0";
version = "2.20.0";
subPackages = [ "cmd/vale" ];
outputs = [ "out" "data" ];
@ -11,14 +11,14 @@ buildGoModule rec {
owner = "errata-ai";
repo = "vale";
rev = "v${version}";
sha256 = "sha256-hstjE3+1QQSeS1z8fNhxTJI81liW77CdkEP+aS3c2zM=";
sha256 = "sha256-3W6bSFf23eOUyzyqUczsajBDjYaCxlgB+vg0Bf5o/X0=";
};
vendorSha256 = "sha256-zdgLWEArmtHTDM844LoSJwKp0UGoAR8bHnFOSlrrjdg=";
vendorSha256 = "sha256-ODzQkNOXEvSOhG6MoJbyxIwduFAW5FQb5hlOn3+io3A=";
postInstall = ''
mkdir -p $data/share/vale
cp -r styles $data/share/vale
cp -r testdata/styles $data/share/vale
'';
ldflags = [ "-s" "-w" "-X main.version=${version}" ];