diff options
author | Peter Simons <simons@cryp.to> | 2013-12-02 12:37:24 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2013-12-02 12:37:24 +0100 |
commit | 1f626579f027be949959a7ed26e0eb0a72412fef (patch) | |
tree | 8679706fc71b6dba0c90fd892945ee364591040c /pkgs/tools/security/opensc | |
parent | 3b94410d866c44e8fdd92dbfea25e2a6eb5db4c2 (diff) | |
download | nixpkgs-1f626579f027be949959a7ed26e0eb0a72412fef.tar nixpkgs-1f626579f027be949959a7ed26e0eb0a72412fef.tar.gz nixpkgs-1f626579f027be949959a7ed26e0eb0a72412fef.tar.bz2 nixpkgs-1f626579f027be949959a7ed26e0eb0a72412fef.tar.lz nixpkgs-1f626579f027be949959a7ed26e0eb0a72412fef.tar.xz nixpkgs-1f626579f027be949959a7ed26e0eb0a72412fef.tar.zst nixpkgs-1f626579f027be949959a7ed26e0eb0a72412fef.zip |
opensc: update to version 0.13.0
Diffstat (limited to 'pkgs/tools/security/opensc')
-rw-r--r-- | pkgs/tools/security/opensc/0.11.7.nix | 28 | ||||
-rw-r--r-- | pkgs/tools/security/opensc/default.nix | 36 |
2 files changed, 36 insertions, 28 deletions
diff --git a/pkgs/tools/security/opensc/0.11.7.nix b/pkgs/tools/security/opensc/0.11.7.nix deleted file mode 100644 index 526b0276848..00000000000 --- a/pkgs/tools/security/opensc/0.11.7.nix +++ /dev/null @@ -1,28 +0,0 @@ -{stdenv, fetchurl, libtool, readline, zlib, openssl, libiconv, pcsclite, - libassuan1, pkgconfig, libXt, pinentry}: - -stdenv.mkDerivation rec { - name = "opensc-0.11.7"; - - src = fetchurl { - url = "http://www.opensc-project.org/files/opensc/${name}.tar.gz"; - sha256 = "0781qi0bsm01wdhkb1vd3ra9wkwgyjcm2w87jb2r53msply2gavd"; - }; - - configureFlags = [ "--enable-pcsc" "--enable-nsplugin" - "--with-pcsc-provider=${pcsclite}/lib/libpcsclite.so.1" - "--with-pinentry=${pinentry}/bin/pinentry" ]; - - buildInputs = [ libtool readline zlib openssl pcsclite libassuan1 pkgconfig - libXt ] ++ - stdenv.lib.optional (! stdenv.isLinux) libiconv; - - meta = { - description = "Set of libraries and utilities to access smart cards"; - homepage = http://www.opensc-project.org/opensc/; - license = "LGPL"; - maintainers = with stdenv.lib.maintainers; [viric]; - platforms = with stdenv.lib.platforms; linux; - broken = true; - }; -} diff --git a/pkgs/tools/security/opensc/default.nix b/pkgs/tools/security/opensc/default.nix new file mode 100644 index 00000000000..42303fc356a --- /dev/null +++ b/pkgs/tools/security/opensc/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchurl, libtool, readline, zlib, openssl, libiconvOrNull, pcsclite +, libassuan1, pkgconfig, libXt, docbook_xsl, libxslt, docbook_xml_dtd_412 +}: + +stdenv.mkDerivation rec { + name = "opensc-0.13.0"; + + src = fetchurl { + url = "mirror://sourceforge/opensc/${name}.tar.gz"; + sha256 = "054v11yc2lqlfqs556liw18klhkx9zyjylqcwirk4axiafp4dpmb"; + }; + + buildInputs = [ libtool readline zlib openssl pcsclite libassuan1 pkgconfig + libXt libxslt libiconvOrNull docbook_xml_dtd_412 + ]; + + configureFlags = [ + "--enable-doc" + "--enable-man" + "--enable-openssl" + "--enable-pcsc" + "--enable-readline" + "--enable-sm" + "--enable-zlib" + "--with-pcsc-provider=${pcsclite}/lib/libpcsclite.so.1" + "--with-xsl-stylesheetsdir=${docbook_xsl}/xml/xsl/docbook" + ]; + + meta = { + description = "Set of libraries and utilities to access smart cards"; + homepage = "https://github.com/OpenSC/OpenSC/wiki"; + license = stdenv.lib.licenses.lgpl21Plus; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; +} |