mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
Adding engine_pkcs11, a openssl engine for pkcs11 implementations for smartcards.
svn path=/nixpkgs/trunk/; revision=19324
This commit is contained in:
parent
ebee637aaf
commit
000e1c7c22
18
pkgs/development/libraries/enginepkcs11/default.nix
Normal file
18
pkgs/development/libraries/enginepkcs11/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{stdenv, fetchurl, libp11, pkgconfig, openssl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "engine_pkcs11-0.1.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.opensc-project.org/files/engine_pkcs11/${name}.tar.gz";
|
||||
sha256 = "1rd20rxy12rfx3kwwvk5sqvc1ll87z60rqak1ksfwbf4wx0pwzfy";
|
||||
};
|
||||
|
||||
buildInputs = [ libp11 pkgconfig openssl ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.opensc-project.org/engine_pkcs11/;
|
||||
license = "BSD";
|
||||
description = "Engine for OpenSSL to use smart cards in PKCS#11 format";
|
||||
};
|
||||
}
|
18
pkgs/development/libraries/libp11/default.nix
Normal file
18
pkgs/development/libraries/libp11/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{stdenv, fetchurl, libtool, openssl, pkgconfig}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libp11-0.2.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.opensc-project.org/files/libp11/${name}.tar.gz";
|
||||
sha256 = "0kaz5qafaxm0ycywmajl166c29fh9cz89b8i043jqsbxlpzf4hdp";
|
||||
};
|
||||
|
||||
buildInputs = [ libtool openssl pkgconfig ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.opensc-project.org/libp11/;
|
||||
license = "LGPL";
|
||||
description = "Small layer on top of PKCS#11 API to make PKCS#11 implementations easier";
|
||||
};
|
||||
}
|
|
@ -3265,6 +3265,10 @@ let
|
|||
inherit (gnome) glib;
|
||||
};
|
||||
|
||||
enginepkcs11 = import ../development/libraries/enginepkcs11 {
|
||||
inherit fetchurl stdenv libp11 pkgconfig openssl;
|
||||
};
|
||||
|
||||
exiv2 = import ../development/libraries/exiv2 {
|
||||
inherit fetchurl stdenv zlib;
|
||||
};
|
||||
|
@ -4057,6 +4061,10 @@ let
|
|||
inherit fetchurl stdenv libgcrypt;
|
||||
};
|
||||
|
||||
libp11 = import ../development/libraries/libp11 {
|
||||
inherit fetchurl stdenv libtool openssl pkgconfig;
|
||||
};
|
||||
|
||||
libpcap = import ../development/libraries/libpcap {
|
||||
inherit fetchurl stdenv flex bison;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue