proycon / vocage

A minimalistic spaced-repetion vocabulary trainer (flashcards) for the terminal
GNU General Public License v3.0
142 stars 10 forks source link

build: add nix flake #12

Closed teto closed 1 year ago

teto commented 1 year ago

Hi,

I submitted this on sr.ht but I am more comfortable using github. This PR allows to build covage with the nix package manager. The nice thing is you can run nix run github:proycon/vocage and be able to run master (after a local build if it's not in cache).

The files dont have to live at the root of the repo (though that's more convenient), they could live in a "contrib" subfolder for instance.

proycon commented 1 year ago

Thanks, I have merged the patch you sent via sourcehut already: https://github.com/proycon/vocage/commit/b805ff29c2343de14cdae419edc919d38ad1ce1a