Merge pull request #159665 from risicle/ris-libgcrypt-passthru-deps

This commit is contained in:
Martin Weinelt 2022-02-13 22:38:44 +01:00 committed by GitHub
commit 5ce56f0374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,15 @@
{ lib, stdenv, fetchurl, gettext, libgpg-error, enableCapabilities ? false, libcap, buildPackages }:
{ lib
, stdenv
, fetchurl
, gettext
, libgpg-error
, enableCapabilities ? false, libcap
, buildPackages
# for passthru.tests
, gnupg
, libotr
, rsyslog
}:
assert enableCapabilities -> stdenv.isLinux;
@ -56,6 +67,10 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru.tests = {
inherit gnupg libotr rsyslog;
};
meta = with lib; {
homepage = "https://www.gnu.org/software/libgcrypt/";
changelog = "https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=blob;f=NEWS;hb=refs/tags/${pname}-${version}";