mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
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=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "woff2" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 -t $out/share/fonts/truetype *.ttf
|
||||
install -Dm644 -t $out/share/fonts/woff2 *.woff2
|
||||
install -Dm444 -t $out/share/fonts/truetype *.ttf
|
||||
install -Dm444 -t $woff2/share/fonts/woff2 *.woff2
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "An APL and BQN font extending on APL386";
|
||||
homepage = "https://dzaima.github.io/BQN386/";
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [ skykanin ];
|
||||
platforms = platforms.all;
|
||||
license = lib.licenses.unlicense;
|
||||
maintainers = with lib.maintainers; [ skykanin ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user