Merge pull request #250055 from risicle/ris-libcap-passthru-tests

This commit is contained in:
Artturi 2023-08-28 01:13:40 +03:00 committed by GitHub
commit 6d3f18e83e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,18 @@
{ stdenv, lib, buildPackages, fetchurl, attr, runtimeShell
, usePam ? !isStatic, pam ? null
, isStatic ? stdenv.hostPlatform.isStatic
# passthru.tests
, bind
, chrony
, htop
, libgcrypt
, libvirt
, ntp
, qemu
, squid
, tor
, uwsgi
}:
assert usePam -> pam != null;
@ -57,6 +69,20 @@ stdenv.mkDerivation rec {
mv "$lib"/lib/security "$pam/lib"
'';
passthru.tests = {
inherit
bind
chrony
htop
libgcrypt
libvirt
ntp
qemu
squid
tor
uwsgi;
};
meta = {
description = "Library for working with POSIX capabilities";
homepage = "https://sites.google.com/site/fullycapable";