1 { lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, pkg-config
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
11 rev = "${pname}-${version}";
12 sha256 = "sha256-Xqjl12xT30ZXWYzPWNN3jWY9pxojhd7Kq0OC7rABt4M=";
16 "--with-enginesdir=${placeholder "out"}/lib/engines"
19 nativeBuildInputs = [ autoreconfHook pkg-config libtool ];
21 buildInputs = [ openssl ];
23 enableParallelBuilding = true;
25 passthru = { inherit openssl; };
28 description = "Small layer on top of PKCS#11 API to make PKCS#11 implementations easier";
29 homepage = "https://github.com/OpenSC/libp11";
30 license = licenses.lgpl21Plus;
31 platforms = platforms.all;