The secret-santa package

[ Tags: game, gpl, program ] [ Propose Tags ]

Secret Santa game assigner using QR-Codes 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.


[Skip to Readme]

Properties

Versions 0.1.0.0
Dependencies base (==4.*), containers (==0.4.*), diagrams-cairo (==0.6), diagrams-lib (==0.6.*), haskell-qrencode (==1.*), random (==1.*) [details]
License GPL-3
Author Rodrigo Setti
Maintainer rodrigosetti@gmail.com
Category Game
Home page https://github.com/rodrigosetti/secret-santa
Bug tracker https://github.com/rodrigosetti/secret-santa/issues
Source repository head: git clone git://github.com/rodrigosetti/secret-santa.git
Uploaded Thu Apr 11 00:07:46 UTC 2013 by RodrigoSetti
Distributions NixOS:0.1.0.0
Executables secret-santa
Downloads 385 total (8 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-21 [all 6 reports]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for secret-santa-0.1.0.0

[back to package description]

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

Image