brise: init at 2017-09-16

This commit is contained in:
mingchuan 2017-09-13 20:37:32 +08:00 committed by Orivej Desh
parent 7a23eff831
commit 906f73fd0b
3 changed files with 173 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ stdenv, fetchFromGitHub, librime }:
stdenv.mkDerivation rec {
name = "brise-unstable-2017-09-16";
src = fetchFromGitHub {
owner = "rime";
repo = "brise";
rev = "1cfb0fe1d3a4190ce5d034f141941156dd271e80";
sha256 = "1l13j3cfwida0ycl874fizz2jwjvlxid589a1iciqa9y25k21ql7";
};
buildInputs = [ librime ];
postPatch = ''
patchShebangs scripts/*
'';
# we need to use fetchFromGitHub to fetch sub-packages before we 'make',
# since nix won't allow networking during 'make'
preBuild = import ./fetchPackages.nix fetchFromGitHub;
makeFlags = [ "BRISE_BUILD_BINARIES=yes" "PREFIX=$(out)" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Rime Schema Repository";
longDescription = ''
This software is a collection of data packages used by Rime
to support various Chinese input methods, including those based on
modern dialects or historical diasystems of the Chinese language.
'';
homepage = http://rime.im;
# Note that individual packages in this collection
# may be released under different licenses
license = licenses.gpl3;
platforms = platforms.all;
maintainers = [ maintainers.mingchuan ];
};
}

View File

@ -0,0 +1,130 @@
fetchFromGitHub:
# generated using https://gist.github.com/sifmelcara/895c71f99500b9d56d68e9a866b58821
''
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-array";
rev = "9ca2b725ae52c9b3185213e3555df1f9d4f1c53f";
sha256 = "0x3sifdpdivr8ssynjhc4g1zfl6h9hm9nh9p9zb9wkh1ky9z7kha";
}} array
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-bopomofo";
rev = "7046ffe42b46915947117f80d901fb9a6e19c1a7";
sha256 = "09w8jl2dlgp72k49x0l2jiaqb359v576kai4xww6cljgr24ng8pl";
}} bopomofo
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-cangjie";
rev = "64242be99c1e6793c9f40fef296a81d07a84e976";
sha256 = "0v5sk8zrm5p5gg8lszqm0imj9jswjlnfq87nw6m9pg5h5al230ja";
}} cangjie
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-combo-pinyin";
rev = "97a7dc4670e0f90ad28e7d67c1543f4f0adc531d";
sha256 = "0y8iyvq7z6xj3lk2ppk4ggz297wn1r2xxbv53f2710jc7gyzf04q";
}} combo-pinyin
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-double-pinyin";
rev = "1b75af4239897fd1e4c99d625b62093e66baff14";
sha256 = "0p54qx5a6rr55hl997kdcfxjczd9lcddrc5xsy7nhlfyc6108s2v";
}} double-pinyin
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-emoji";
rev = "7e527056fe055237fee59463e0d445f3909aaf0c";
sha256 = "04d35n254viw29yyjf3ml7xljmi63sqgg870swlbi5bikcx7n9jf";
}} emoji
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-essay";
rev = "595e35756d16d57d09405e243302b65b4384b5b4";
sha256 = "10kqhvrz8x17b2pf6x2x2znz5y6cj05c4rgwi1f0xhxiyrgjw9gm";
}} essay
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-ipa";
rev = "9e02f8a02e9febb7b2df25f6906881a1df934811";
sha256 = "1g4v4j1gnv1qspfz88liwj1aa4gaa3aax0x2cif4vxicsm7w372m";
}} ipa
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-jyutping";
rev = "3cc76e6e15cc05f1f94b89e750c21f87ce8fc0e4";
sha256 = "1yggz0yb84z8810s2gmsxkm9lh57fdzddx5v2rb5mqcwnimsd6ap";
}} jyutping
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-luna-pinyin";
rev = "da00c3a6f932f094666e98a09f6ce9c7d74c334c";
sha256 = "0q3g1hj9bay5865h3pz7gv46d7wfka1jdxnddxcbp4zn7gjpsd48";
}} luna-pinyin
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-middle-chinese";
rev = "6f9731bac8f289f77d35f1090159f1937e38c1f7";
sha256 = "0xd9iwk4j5043gfmp7rb57hbarfm6sxr32wiasi6p3c5g355zn89";
}} middle-chinese
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-pinyin-simp";
rev = "38c08403c22845f7e2965c1d7a1514b41755d7dc";
sha256 = "1c0cqljx3d93w27y2flxyqcfd3rd9fvixbw6mxgfjzdb3s42bn8h";
}} pinyin-simp
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-prelude";
rev = "120c2aa73b1b5e1bce904901bf13f506295004a5";
sha256 = "1aah9z58gkqrc18zadsq598ybj8ra22bgka3gma2jmi3rls2znq4";
}} prelude
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-quick";
rev = "638abf270e121bc2bfc6029a14ee85a3f4c2188b";
sha256 = "0l1pma0yxrypnb5cq7jiczy0wa42kdqsc1brqkkccdnp08pa1p1m";
}} quick
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-scj";
rev = "6b74ce14be0464bf076d7adc40aea4b120f233ec";
sha256 = "0lr92knr41mlqd1s0g2lh2h2qr8xka1s46x7iv4d6ghjf0id4gz6";
}} scj
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-soutzoe";
rev = "3ab93d1b9ca9ca7cf17ff32bb4418b7a095afc3c";
sha256 = "1glbvgzx4psasq23511k8ymd7mf1pqvm3z18nzszhs00iif66s3m";
}} soutzoe
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-stenotype";
rev = "766f22565f83f5c63c0ea195c936779ec6ae824d";
sha256 = "0jsvfq7xim99zs5imyk7rpknlaimk6nlxy38fmfxa1r843781mfd";
}} stenotype
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-stroke";
rev = "e048967a4c1b956575828f1a20e565efed4b1137";
sha256 = "10asdz5bj12pnji7afzls6jd9dn2v90l2dgdjf0jfp2kfzd6pxnl";
}} stroke
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-terra-pinyin";
rev = "e303507e728def38739f5761c50722eae1f06dd5";
sha256 = "1krbmx2iq3zw4q1x4aa9c72b9xgrnjrhyxa4h5hnq5l29p9qms4d";
}} terra-pinyin
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-wubi";
rev = "97b7d9f93378e98fd11167bd80d54c40e67076aa";
sha256 = "1cdpbqqkqjbizja0w3f7a826a5bxb39nlf9qf2130x9havmkc89z";
}} wubi
ln -sv ${fetchFromGitHub {
owner = "rime";
repo = "rime-wugniu";
rev = "de40b29f8218cc852bf82b315c7070f1d50bda02";
sha256 = "1m7miwsqpy49cgqd1bl7z5lkkirj3lc2bdwd1zqfg5zbgfwn0rp8";
}} wugniu
''

View File

@ -13082,6 +13082,8 @@ with pkgs;
bgnet = callPackage ../data/documentation/bgnet { };
brise = callPackage ../data/misc/brise { };
inherit (kdeFrameworks) breeze-icons;
cacert = callPackage ../data/misc/cacert { };