pkg(rime-yuhaostar): Add throw for upstream bump version
This commit is contained in:
parent
fc757e6613
commit
b677b3366e
1 changed files with 7 additions and 1 deletions
|
|
@ -7,7 +7,13 @@
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "rime-yuhaostar";
|
pname = "rime-yuhaostar";
|
||||||
version = version;
|
version =
|
||||||
|
if version != "v3.8.0"
|
||||||
|
then
|
||||||
|
throw ''
|
||||||
|
Please update 宇浩输入法。
|
||||||
|
''
|
||||||
|
else version;
|
||||||
inherit src;
|
inherit src;
|
||||||
nativeBuildInputs = [unzip];
|
nativeBuildInputs = [unzip];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue