mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge staging-next into staging
This commit is contained in:
commit
e34a522374
@ -5,6 +5,8 @@
|
||||
cmake,
|
||||
python3,
|
||||
opencc,
|
||||
rapidjson,
|
||||
gitUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -27,6 +29,19 @@ stdenv.mkDerivation rec {
|
||||
opencc # opencc_dict
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
rapidjson
|
||||
];
|
||||
|
||||
# TODO use more system dependencies
|
||||
cmakeFlags = [
|
||||
(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