The secret-santa package

[Tags: gpl, program]

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

Version0.1.0.0
Change logNone available
Dependenciesbase (==4.*), containers (==0.4.*), diagrams-cairo (==0.6), diagrams-lib (==0.6.*), haskell-qrencode (==1.*), random (==1.*) [details]
LicenseGPL-3
AuthorRodrigo Setti
Maintainerrodrigosetti@gmail.com
CategoryGame
Home pagehttps://github.com/rodrigosetti/secret-santa
Bug trackerhttps://github.com/rodrigosetti/secret-santa/issues
Source repositoryhead: git clone git://github.com/rodrigosetti/secret-santa.git
Executablessecret-santa
UploadedThu Apr 11 00:07:46 UTC 2013 by RodrigoSetti
DistributionsNixOS:0.1.0.0
Downloads223 total (10 in last 30 days)
Votes
0 []
StatusDocs not available [build log]
All reported builds failed as of 2015-05-21 [all 1 reports]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for secret-santa-0.1.0.0

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