Skip to content

Instantly share code, notes, and snippets.

@arianvp
Created October 20, 2019 10:34
Show Gist options
  • Save arianvp/7111375cd44d51bb036f413c62ab4a61 to your computer and use it in GitHub Desktop.
Save arianvp/7111375cd44d51bb036f413c62ab4a61 to your computer and use it in GitHub Desktop.
self: super: {
apl385 = super.stdenv.mkDerivation {
name = "apl385";
src = super.fetchurl {
url = "http://apl385.com/fonts/apl385.zip";
sha256 = "132qfsnx0v6qf8x8iy3flivv449nz42nnpkwjysmz65w6wqxpk1g";
};
buildInputs = [ super.unzip ];
installPhase = ''
out1=$out/share/fonts/apl385
mkdir -p $out1
cp ./Apl385.ttf $out1
'';
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment