New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eunomia-font: init at 0.200 #45358
eunomia-font: init at 0.200 #45358
Conversation
These expressions have a lot of repetitive code. May I suggest to move them all into a common directory and attribute set like |
Hi @xeji, thanks for having a look. I don't think there will be many bites shaved off, while increasing complexity. The fonts are distinct and independent, unlike (for instance) ansible which is about creating multiple instances of the same. There are even two different licenses. The 'code' is already much boilerplate - unzip file from URL, put into fonts directory, done. The description and longDescription are unique for each as well. Would it be okay to leave it as is? Note that I agree having a generic fontsUnwrapper abstraction for this kind of data asset would be nice. Fonts unpacking is either looking into a folder or parsing extensions (.otf -> put into $out/shared/opentype/$fontFamilyName}, .ttf -> put into $out/shared/truetype/$fontFamilyName}, etcetera). However, writing that kind of handler is beyond my nix powers right now ... would be something to look into in the future though. |
Fine with me, it was just a suggestion to think about. |
@GrahamcOfBorg build eunomia f5_6 ferrum aileron route159 penna seshat medio tenderness |
Success on aarch64-linux (full log) Attempted: eunomia, f5_6, ferrum, aileron, route159, penna, seshat, medio, tenderness Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: eunomia, f5_6, ferrum, aileron, route159, penna, seshat, medio, tenderness Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: eunomia, f5_6, ferrum, aileron, route159, penna, seshat, medio, tenderness Partial log (click to expand)
|
Motivation for this change
Nine excellent open source fonts by same creator as Vegur font (already in Nixpkgs).
Things done
./result/bin/
)