2014-03-29 10:36:38 -07:00
|
|
|
{ stdenv, fetchurl, perl, texinfo }:
|
2010-01-20 03:09:04 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-02-08 07:52:40 -08:00
|
|
|
name = "libtasn1-4.16.0";
|
2008-05-20 07:25:09 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-01-20 03:09:04 -08:00
|
|
|
url = "mirror://gnu/libtasn1/${name}.tar.gz";
|
2020-02-08 07:52:40 -08:00
|
|
|
sha256 = "179jskl7dmfp1rd2khkzmlibzgki4wi6hvmmwfv7q49r728b03qf";
|
2008-05-20 07:25:09 -07:00
|
|
|
};
|
|
|
|
|
2016-09-01 02:07:23 -07:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-10-07 13:24:10 -07:00
|
|
|
outputBin = "dev";
|
|
|
|
|
2018-07-20 10:58:06 -07:00
|
|
|
nativeBuildInputs = [ texinfo perl ];
|
2014-03-29 10:36:38 -07:00
|
|
|
|
2010-04-13 01:56:04 -07:00
|
|
|
doCheck = true;
|
2020-02-10 15:06:54 -08:00
|
|
|
preCheck = if stdenv.isDarwin then
|
|
|
|
"export DYLD_LIBRARY_PATH=`pwd`/lib/.libs"
|
|
|
|
else
|
|
|
|
null;
|
2010-04-13 01:56:04 -07:00
|
|
|
|
2017-01-11 14:47:54 -08:00
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://www.gnu.org/software/libtasn1/";
|
2014-08-24 07:21:08 -07:00
|
|
|
description = "An ASN.1 library";
|
2017-01-11 14:47:54 -08:00
|
|
|
longDescription = ''
|
|
|
|
Libtasn1 is the ASN.1 library used by GnuTLS, GNU Shishi and some
|
|
|
|
other packages. The goal of this implementation is to be highly
|
|
|
|
portable, and only require an ANSI C89 platform.
|
|
|
|
'';
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.all;
|
2008-05-20 07:25:09 -07:00
|
|
|
};
|
|
|
|
}
|