aspell: deprecate phases
This commit is contained in:
parent
b80e2fa509
commit
e7a35cdb31
1 changed files with 8 additions and 2 deletions
|
@ -153,7 +153,7 @@ let
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
phases = [ "preBuild" "buildPhase" "installPhase" ];
|
dontUnpack = true;
|
||||||
} // args);
|
} // args);
|
||||||
|
|
||||||
in rec {
|
in rec {
|
||||||
|
@ -905,7 +905,11 @@ in rec {
|
||||||
|
|
||||||
langInputs = [ en ];
|
langInputs = [ en ];
|
||||||
|
|
||||||
buildPhase = "cat $src | aspell-affix en-computers --dont-validate-words --lang=en";
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
cat $src | aspell-affix en-computers --dont-validate-words --lang=en
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
installPhase = "aspell-install en-computers";
|
installPhase = "aspell-install en-computers";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -930,8 +934,10 @@ in rec {
|
||||||
langInputs = [ en ];
|
langInputs = [ en ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
cat $src1 | aspell-plain en_US-science --dont-validate-words --lang=en
|
cat $src1 | aspell-plain en_US-science --dont-validate-words --lang=en
|
||||||
cat $src2 | aspell-plain en_GB-science --dont-validate-words --lang=en
|
cat $src2 | aspell-plain en_GB-science --dont-validate-words --lang=en
|
||||||
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
installPhase = "aspell-install en_US-science en_GB-science";
|
installPhase = "aspell-install en_US-science en_GB-science";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue