@hackage secret-santa0.1.0.0
Secret Santa game assigner using QR-Codes
Categories
License
GPL-3.0-only
Maintainer
rodrigosetti@gmail.com
Links
Versions
- 0.1.0.0 Thu, 11 Apr 2013
Installation
Dependencies (0)
- base >=4 && <5
- containers >=0.4 && <0.5
- diagrams-cairo ==0.6
- diagrams-lib >=0.6 && <0.7
- haskell-qrencode >=1 && <2
- random >=1 && <2 Show all…
Dependents (1)
@hackage/acme-everything
Secret Santa Assigner
Reads a list of friends from the standard input (or a file) and renders to a specified output file (or "output.pdf" if not specified) all assignments of gift givers and their corresponding receivers encoded in a QR-Code (see --help for options).
Installation
To build and install you will need Haskell's Cabal, then just do:
$ cabal install
It will automatically download the dependencies, compile, and install the
executable secret-santa in the Cabal bin path (most likely ~/.cabal/bin).
Example usage
$ secret-santa -h
Usage: secret-santa [OPTION...]
-o FILE --output=FILE output FILE
-i FILE --input=FILE input FILE
-h --help, --usage This help message
$ secret-santa -o output.pdf << EOF
Charlotte
Grayson
Elliot
Benjamin
Willian
EOF
Example output
