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;
26 description = "Small layer on top of PKCS#11 API to make PKCS#11 implementations easier";
27 homepage = "https://github.com/OpenSC/libp11";
28 license = licenses.lgpl21Plus;
29 platforms = platforms.all;