blob: eb577a7f5a17ac1c30ed23af48b4cceeb4994367 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, pkg-config
, openssl }:
stdenv.mkDerivation rec {
pname = "libp11";
version = "0.4.11";
src = fetchFromGitHub {
owner = "OpenSC";
repo = "libp11";
rev = "${pname}-${version}";
sha256 = "0hcl706i04nw5c1sj7l6sj6m0yjq6qijz345v498jll58fp5wif8";
};
configureFlags = [
"--with-enginesdir=${placeholder "out"}/lib/engines"
];
nativeBuildInputs = [ autoreconfHook pkg-config libtool ];
buildInputs = [ openssl ];
enableParallelBuilding = true;
meta = with lib; {
description = "Small layer on top of PKCS#11 API to make PKCS#11 implementations easier";
homepage = "https://github.com/OpenSC/libp11";
license = licenses.lgpl21Plus;
platforms = platforms.all;
};
}
|