python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libp11 / default.nix
blob70a433ddc280716a6b04daa415a6170a39e25edb
1 { lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, pkg-config
2 , openssl }:
4 stdenv.mkDerivation rec {
5   pname = "libp11";
6   version = "0.4.12";
8   src = fetchFromGitHub {
9     owner = "OpenSC";
10     repo = "libp11";
11     rev = "${pname}-${version}";
12     sha256 = "sha256-Xqjl12xT30ZXWYzPWNN3jWY9pxojhd7Kq0OC7rABt4M=";
13   };
15   configureFlags = [
16     "--with-enginesdir=${placeholder "out"}/lib/engines"
17   ];
19   nativeBuildInputs = [ autoreconfHook pkg-config libtool ];
21   buildInputs = [ openssl ];
23   enableParallelBuilding = true;
25   meta = with lib; {
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;
30   };