Commit bff13ed2 authored by Robert Scott's avatar Robert Scott
Browse files

libcap: add some key reverse-dependencies to passthru.tests

parent eed52c3d
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
{ 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";