Some libraries using PCSC-Lite still tend to refer to /var/run/pcscd
instead of /run/pcscd, so let's make sure this won't happen.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @viric, @wkennington
It's a driver module for PCSC-Lite, which allows to use the USB readers
from REINER SCT, a reader that is very commonly used in Germany for
online banking and for reading/writing data from/to the national
identity card.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This allows to override the directory where PCSC-Lite searches for USB
drivers at runtime and should make our NixOS module much more clean so
that we don't need to imperatively stitch together plugin directories
anymore.
I'm using a GNU extension for the ternary operator to avoid computing
getenv("PCSCLITE_HP_DROPDIR") twice:
https://gcc.gnu.org/onlinedocs/gcc/Conditionals.html#Conditionals
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @viric, @wkennington
We're going to create a closure of plugins for aqbanking, so that it's
easier to adapt the gwenhywfar search path to include these store paths.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
As of 4.15.3, gwenhywfar works with the latest version of GNUTLS, so we
no longer need to reside to using an older version.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
The promised updater, which feeds sources.nix and should help updating
all the aqbanking libraries at the same time.
I was very reluctant to write the updater entirely in Nix as I've done a
while ago for Chromium, because this would involve ugly hacks to do so.
That's why I've done a more conservative approach here, only using
nix-instantiate to get the contents of the current sources.nix.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
The upstream URLs unfortunately aren't canonical, so let's have a
sources.nix which contains the release IDs used by the upstream sites to
associate a version of a particular package.
We're then going to create an updater script which should update the
sources.nix from there on.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
This should make it easier to deduplicate things, such as fetching
upstream sources and the plugin paths, because after all these libraries
are aqbanking-related and maintained by the same author on the same
site.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
Another library that is part of aqbanking and needed in order to access
various chip cards. It's essentially useful for doing online banking via
FinTS/HBCI without PIN/TAN (or iTAN, mobileTAN, whatnot...).
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Having something like $out/lib/gwenhywfar/plugins/60 when on Nix is a
bit pointless, because we won't have something like a central plugin
directory which could contain plugins for older library versions.
Another reason to strip the effective shared object version is that we
really want to avoid the need to track and update the SO version on
every single update.
This makes it way easier to add support for libchipcard and/or other
related packages/plugins.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
Upstream changelog for version 5.5.1 through 5.6.10 is in German only
and also not very detailled, so here is a comparison from a GitHub
mirror I've found:
https://github.com/cstim/aqbanking/compare/5.5.1...e129e64472a2
I've also used a similar scheme to what I've been using for gwenhywfar,
so that we can soon unify all of the aqbanking & related libraries.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
Upstream changelog for version 4.11 through 4.12 doesn't seem to be
available anymore and the change summaries from the project page are in
German, but here's a comparison from a GitHub mirror I've found:
https://github.com/cstim/gwenhywfar/compare/4.11.1beta...4055683538b6
I've shortened the URL to not include the file name in the URL itself
because we use the name attribute in fetchurl to force the name anyway.
A quick way to find out about the upstream download URLs is:
curl 'http://www.aquamaniac.de/sites/download/packages.php?package=01&showall=1' \
| sed -nre 's/^.*<a\>.*\<href="([^"]+)".*/\1/p'
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @cillianderoiste, @urkud
Also do various refactorings:
- Use `fetchFromRepoOrCz`
- Use `isGlibc` to check for glibc stdenv
- Multiple outputs
- Apply PaX marking
Also adopt the package.
This update was generated by hackage2nix v20160406-30-g704cd27 using the following inputs:
- Hackage: 5f6653ffd9
- LTS Haskell: 042ef2187b
- Stackage Nightly: a2b989788f