mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
opencc: add passthru.updateScript
This commit is contained in:
parent
36fed72b3b
commit
42960d743a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user