1 { lib, stdenv, fetchurl, perl, texinfo }:
3 stdenv.mkDerivation rec {
4 name = "libtasn1-4.16.0";
7 url = "mirror://gnu/libtasn1/${name}.tar.gz";
8 sha256 = "179jskl7dmfp1rd2khkzmlibzgki4wi6hvmmwfv7q49r728b03qf";
11 outputs = [ "out" "dev" "devdoc" ];
14 nativeBuildInputs = [ texinfo perl ];
17 preCheck = if stdenv.isDarwin then
18 "export DYLD_LIBRARY_PATH=`pwd`/lib/.libs"
23 homepage = "https://www.gnu.org/software/libtasn1/";
24 description = "An ASN.1 library";
26 Libtasn1 is the ASN.1 library used by GnuTLS, GNU Shishi and some
27 other packages. The goal of this implementation is to be highly
28 portable, and only require an ANSI C89 platform.
30 license = licenses.lgpl2Plus;
31 platforms = platforms.all;