diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-01-10 00:22:29 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-01-10 00:22:29 +0000 |
commit | 24a46bbf1261c39e008291b01bfce448bab23481 (patch) | |
tree | 2d3621dd4570e5a0d4c82e3be80743f09031f07a /pkgs/development/libraries/openct/default.nix | |
parent | 000e1c7c2273c6f1c9faaafd82c3f716174eec25 (diff) | |
download | nixpkgs-24a46bbf1261c39e008291b01bfce448bab23481.tar nixpkgs-24a46bbf1261c39e008291b01bfce448bab23481.tar.gz nixpkgs-24a46bbf1261c39e008291b01bfce448bab23481.tar.bz2 nixpkgs-24a46bbf1261c39e008291b01bfce448bab23481.tar.lz nixpkgs-24a46bbf1261c39e008291b01bfce448bab23481.tar.xz nixpkgs-24a46bbf1261c39e008291b01bfce448bab23481.tar.zst nixpkgs-24a46bbf1261c39e008291b01bfce448bab23481.zip |
Downgrading the opensc library version to 0.11.7, that required
for the Spanish national id smartcard (DNIe). Adding the opensc dnie driver. svn path=/nixpkgs/trunk/; revision=19325
Diffstat (limited to 'pkgs/development/libraries/openct/default.nix')
-rw-r--r-- | pkgs/development/libraries/openct/default.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/libraries/openct/default.nix b/pkgs/development/libraries/openct/default.nix new file mode 100644 index 00000000000..5bb332711af --- /dev/null +++ b/pkgs/development/libraries/openct/default.nix @@ -0,0 +1,21 @@ +{stdenv, fetchurl, libtool, pcsclite, libusb, pkgconfig}: + +stdenv.mkDerivation rec { + name = "openct-0.6.19"; + + src = fetchurl { + url = "http://www.opensc-project.org/files/openct/${name}.tar.gz"; + sha256 = "1y4jlr877g3lziq7i3p6pdkscqpkn1lld874q6r2hsvc39n7c88z"; + }; + + configureFlags = [ "--enable-usb" "--enable-pcsc" ]; + buildInputs = [ libtool pcsclite libusb pkgconfig ]; + + meta = { + homepage = http://www.opensc-project.org/openct/; + license = "LGPL"; + description = "Drivers for several smart card readers"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; +} |