Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
840 B
Nix
45 lines
840 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
libtool,
|
|
pkg-config,
|
|
openssl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libp11";
|
|
version = "0.4.13";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenSC";
|
|
repo = "libp11";
|
|
rev = "${pname}-${version}";
|
|
sha256 = "sha256-teYXlPtCt6ifQDArbCJWGrYl9pdr6V7HVpU4HXTPIco=";
|
|
};
|
|
|
|
configureFlags = [
|
|
"--with-enginesdir=${placeholder "out"}/lib/engines"
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
libtool
|
|
];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
passthru = { inherit openssl; };
|
|
|
|
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;
|
|
};
|
|
}
|