Add nix flake support
Created by: max-privatevoid
This allows users of Nix, the purely functional package manager to run this tool without installing, using a feature of Nix called flakes.
For example, to open a shell in which 4dl
is made available in $PATH
:
nix shell github:numpadd/4dl
Or to run the script directly:
nix run github:numpadd/4dl https://boards.4channel.org/board/threadnumber ~/Pictures/directory
Or to quickly install this program in a per-user profile:
nix profile install github:numpadd/4dl