ChrisBuilds / terminaltexteffects

TerminalTextEffects (TTE) is a terminal visual effects engine, application, and Python library.
https://chrisbuilds.github.io/terminaltexteffects/
MIT License
2.82k stars 49 forks source link

Add nix build method #25

Closed Dich0tomy closed 3 months ago

Dich0tomy commented 4 months ago

This PR adds a flake and default.nix, allowing Nix users to use this project

For people who want to use this right now, you can refer to this code as follows:

github:ChrisBuilds/terminaltexteffects/pull/25/head#default

Or use my fork directly before merge:

github:Dich0tomy/terminaltexteffects/feat/add-nix-build-method

But note that this ref is volatile and the branch will get deleted after this PR gets merged.

ChrisBuilds commented 4 months ago

I'll look over this when I get some free time. Looks pretty straight forward, though I have no experience with NixOS. Thanks.

ChrisBuilds commented 4 months ago

What sort of maintenance would this need? Thanks.

Dich0tomy commented 4 months ago

Because of the fact that you use poetry it doesn't really need much, but if you will happen to use some libraries that depend on system installed libraries or will add things like shell completions or other resources that should be installed to different locations on the system the code would probably need a few tweaks to accommodate for that - I would be more than happy to carry them out, though, the super cool effects on my terminal are worth it </3.