pcsc-cyberjack: Init at 3.99.5_SP09
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 commit is contained in:
parent
70246d7cfa
commit
fa559de8af
|
@ -0,0 +1,30 @@
|
|||
{ stdenv, fetchurl, pkgconfig, libusb, pcsclite }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pcsc-cyberjack-${version}";
|
||||
version = "3.99.5_SP09";
|
||||
|
||||
src = with stdenv.lib; let
|
||||
splittedVer = splitString "_" version;
|
||||
mainVer = if length splittedVer >= 1 then head splittedVer else version;
|
||||
spVer = optionalString (length splittedVer >= 1) ("." + last splittedVer);
|
||||
tarballVersion = "${mainVer}final${spVer}";
|
||||
in fetchurl {
|
||||
url = "http://support.reiner-sct.de/downloads/LINUX/V${version}"
|
||||
+ "/pcsc-cyberjack-${tarballVersion}.tar.bz2";
|
||||
sha256 = "1m1r26q0k2hrxfi73j4v25qfh20x4b1hcbcpgjgv7qxa33dbi30z";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libusb pcsclite ];
|
||||
|
||||
configureFlags = [ "--with-usbdropdir=\${prefix}/pcsc/drivers" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "REINER SCT cyberJack USB chipcard reader user space driver";
|
||||
homepage = "http://www.reiner-sct.com/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ aszlig ];
|
||||
};
|
||||
}
|
|
@ -2883,6 +2883,8 @@ in
|
|||
inherit (perlPackages) pcscperl Glib Gtk2 Pango;
|
||||
};
|
||||
|
||||
pcsc-cyberjack = callPackage ../tools/security/pcsc-cyberjack { };
|
||||
|
||||
pdf2djvu = callPackage ../tools/typesetting/pdf2djvu { };
|
||||
|
||||
pdf2svg = callPackage ../tools/graphics/pdf2svg { };
|
||||
|
|
Loading…
Reference in New Issue