mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 18:23:44 +00:00
Merge pull request #250055 from risicle/ris-libcap-passthru-tests
This commit is contained in:
commit
6d3f18e83e
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user