libcbor: add some key reverse dependencies to passthru.tests
This commit is contained in:
parent
eaa0e34921
commit
5732c263b7
@ -1,4 +1,15 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, cmocka }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, cmocka
|
||||
|
||||
# for passthru.tests
|
||||
, libfido2
|
||||
, mysql80
|
||||
, openssh
|
||||
, systemd
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libcbor";
|
||||
@ -18,6 +29,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [ "-DCMAKE_INSTALL_LIBDIR=lib" "-DBUILD_SHARED_LIBS=on" ];
|
||||
|
||||
passthru.tests = {
|
||||
inherit libfido2 mysql80;
|
||||
openssh = (openssh.override { withFIDO = true; });
|
||||
systemd = (systemd.override {
|
||||
withFido2 = true;
|
||||
withCryptsetup = true;
|
||||
});
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "CBOR protocol implementation for C and others";
|
||||
homepage = "https://github.com/PJK/libcbor";
|
||||
|
Loading…
Reference in New Issue
Block a user