2014-03-29 17:36:38 +00:00
|
|
|
{ stdenv, fetchurl, perl, texinfo }:
|
2010-01-20 11:09:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-01-18 14:12:19 +00:00
|
|
|
name = "libtasn1-4.10";
|
2008-05-20 15:25:09 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-01-20 11:09:04 +00:00
|
|
|
url = "mirror://gnu/libtasn1/${name}.tar.gz";
|
2017-01-18 14:12:19 +00:00
|
|
|
sha256 = "681a4d9a0d259f2125713f2e5766c5809f151b3a1392fd91390f780b4b8f5a02";
|
2008-05-20 15:25:09 +01:00
|
|
|
};
|
|
|
|
|
2016-09-01 10:07:23 +01:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2015-10-07 21:24:10 +01:00
|
|
|
outputBin = "dev";
|
|
|
|
|
2017-01-11 22:47:54 +00:00
|
|
|
# Warning causes build to fail on darwin since 4.9,
|
|
|
|
# check if this can be removed in the next release.
|
|
|
|
CFLAGS = "-Wno-sign-compare";
|
|
|
|
|
2014-03-29 17:36:38 +00:00
|
|
|
buildInputs = [ perl texinfo ];
|
|
|
|
|
2010-04-13 09:56:04 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
2017-01-11 22:47:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
2010-01-20 11:09:04 +00:00
|
|
|
homepage = http://www.gnu.org/software/libtasn1/;
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "An ASN.1 library";
|
2017-01-11 22:47:54 +00: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;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
platforms = platforms.all;
|
2008-05-20 15:25:09 +01:00
|
|
|
};
|
|
|
|
}
|