lapce: Add passthru.updateScript

This commit is contained in:
Aidan Gauland
2022-11-25 18:33:01 +13:00
parent 47d50d7842
commit 45ccb6df0e

View File

@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, gitUpdater
, rustPlatform
, cmake
, pkg-config
@@ -75,6 +76,10 @@ rustPlatform.buildRustPackage rec {
categories = [ "Development" "Utility" "TextEditor" ];
}) ];
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = with lib; {
description = "Lightning-fast and Powerful Code Editor written in Rust";
homepage = "https://github.com/lapce/lapce";