mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
libtasn1: enable strictDeps, enable structuredAttrs, modernize (#551847)
This commit is contained in:
@@ -32,14 +32,19 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
perl
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
doCheck = true;
|
||||
preCheck =
|
||||
if stdenv.hostPlatform.isDarwin then "export DYLD_LIBRARY_PATH=`pwd`/lib/.libs" else null;
|
||||
preCheck = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
export DYLD_LIBRARY_PATH=$(pwd)/lib/.libs
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit gnutls samba qemu;
|
||||
};
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/libtasn1/";
|
||||
description = "ASN.1 library";
|
||||
|
||||
Reference in New Issue
Block a user