opencc: add passthru.updateScript

This commit is contained in:
Lin Jian 2024-09-24 00:51:36 +08:00
parent 36fed72b3b
commit 42960d743a
No known key found for this signature in database
GPG Key ID: A6698D36434F75A5

View File

@ -6,6 +6,7 @@
python3,
opencc,
rapidjson,
gitUpdater,
}:
stdenv.mkDerivation rec {
@ -37,6 +38,10 @@ stdenv.mkDerivation rec {
(lib.cmakeBool "USE_SYSTEM_RAPIDJSON" true)
];
passthru = {
updateScript = gitUpdater { rev-prefix = "ver."; };
};
meta = with lib; {
homepage = "https://github.com/BYVoid/OpenCC";
license = licenses.asl20;