nixpkgs/pkgs/development/libraries/libtasn1/default.nix

34 lines
882 B
Nix
Raw Normal View History

2014-03-29 17:36:38 +00:00
{ stdenv, fetchurl, perl, texinfo }:
stdenv.mkDerivation rec {
2020-02-08 15:52:40 +00:00
name = "libtasn1-4.16.0";
src = fetchurl {
url = "mirror://gnu/libtasn1/${name}.tar.gz";
2020-02-08 15:52:40 +00:00
sha256 = "179jskl7dmfp1rd2khkzmlibzgki4wi6hvmmwfv7q49r728b03qf";
};
outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";
nativeBuildInputs = [ texinfo perl ];
2014-03-29 17:36:38 +00:00
doCheck = true;
preCheck = if stdenv.isDarwin then
"export DYLD_LIBRARY_PATH=`pwd`/lib/.libs"
else
null;
2017-01-11 22:47:54 +00:00
meta = with stdenv.lib; {
homepage = https://www.gnu.org/software/libtasn1/;
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;
platforms = platforms.all;
};
}