1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 02:46:38 +00:00
nixpkgs/pkgs/development/libraries/libtasn1/default.nix

35 lines
978 B
Nix
Raw Normal View History

2014-03-29 17:36:38 +00:00
{ stdenv, fetchurl, perl, texinfo }:
stdenv.mkDerivation rec {
name = "libtasn1-4.10";
src = fetchurl {
url = "mirror://gnu/libtasn1/${name}.tar.gz";
sha256 = "681a4d9a0d259f2125713f2e5766c5809f151b3a1392fd91390f780b4b8f5a02";
};
outputs = [ "out" "dev" "devdoc" ];
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 ];
doCheck = true;
2017-01-11 22:47:54 +00:00
meta = with stdenv.lib; {
homepage = http://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;
maintainers = with maintainers; [ wkennington ];
platforms = platforms.all;
};
}