mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
610b499fef
The usual urls don't work.
22 lines
579 B
Nix
22 lines
579 B
Nix
{stdenv, fetchurl, libp11, pkgconfig, openssl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "engine_pkcs11-0.1.8";
|
|
|
|
src = fetchurl {
|
|
urls = [
|
|
"http://www.opensc-project.org/files/engine_pkcs11/${name}.tar.gz"
|
|
"http://www.openadk.org/distfiles/${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";
|
|
};
|
|
}
|