bqn386: split woff2 fonts into a separate output
This commit is contained in:
parent
d1d1b9d6b7
commit
8650711fd8
|
@ -11,20 +11,22 @@ stdenvNoCC.mkDerivation {
|
||||||
hash = "sha256-f0MbrxdkEiOqod41U07BvdDFDbFCqJuGyDIcx2Y24D0=";
|
hash = "sha256-f0MbrxdkEiOqod41U07BvdDFDbFCqJuGyDIcx2Y24D0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "woff2" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
install -Dm644 -t $out/share/fonts/truetype *.ttf
|
install -Dm444 -t $out/share/fonts/truetype *.ttf
|
||||||
install -Dm644 -t $out/share/fonts/woff2 *.woff2
|
install -Dm444 -t $woff2/share/fonts/woff2 *.woff2
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "An APL and BQN font extending on APL386";
|
description = "An APL and BQN font extending on APL386";
|
||||||
homepage = "https://dzaima.github.io/BQN386/";
|
homepage = "https://dzaima.github.io/BQN386/";
|
||||||
license = licenses.unlicense;
|
license = lib.licenses.unlicense;
|
||||||
maintainers = with maintainers; [ skykanin ];
|
maintainers = with lib.maintainers; [ skykanin ];
|
||||||
platforms = platforms.all;
|
platforms = lib.platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue