mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-21 23:03:11 +01:00
e63ff8f837
Keep the glyphs in SVG format and build the font using a FontForge script. A part of the previous font is kept because the sources is lost. This adds a new dependency to the build system, fontforge.
20 lines
465 B
Nix
20 lines
465 B
Nix
{ pkgs ? import <nixpkgs> {
|
|
config.android_sdk.accept_license = true;
|
|
config.allowUnfree = true;
|
|
} }:
|
|
|
|
let
|
|
jdk = pkgs.openjdk8;
|
|
|
|
android = pkgs.androidenv.composeAndroidPackages {
|
|
buildToolsVersions = [ "30.0.3" ];
|
|
platformVersions = [ "30" ];
|
|
abiVersions = [ "armeabi-v7a" ];
|
|
};
|
|
|
|
in
|
|
pkgs.mkShell {
|
|
buildInputs = [ pkgs.findutils jdk android.androidsdk pkgs.fontforge ];
|
|
ANDROID_HOME = "${android.androidsdk}/libexec/android-sdk";
|
|
}
|