From 8e3a1e09c07868bb20dc68dd063032b81fba4d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 20 Jan 2010 11:09:04 +0000 Subject: [PATCH] GNU Libtasn1 2.4. svn path=/nixpkgs/trunk/; revision=19566 --- .../libraries/libtasn1/default.nix | 27 +++++++++++++------ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/pkgs/development/libraries/libtasn1/default.nix b/pkgs/development/libraries/libtasn1/default.nix index e70bdd23dc1d..e259c7b6e439 100644 --- a/pkgs/development/libraries/libtasn1/default.nix +++ b/pkgs/development/libraries/libtasn1/default.nix @@ -1,15 +1,26 @@ -{stdenv, fetchurl}: +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "libtasn1-2.4"; -stdenv.mkDerivation { - name = "libtasn1-1.5"; - src = fetchurl { - url = mirror://gnu/gnutls/libtasn1-1.5.tar.gz; - sha256 = "1p4m9in144ypk6ndqw46sfz0njx6wccp0zlxjvigxry8034zbn6s"; + url = "mirror://gnu/libtasn1/${name}.tar.gz"; + sha256 = "03qz9wnx3643wvy10603syx97mi634z6bhdwznzmqcsq6hwg5g69"; }; meta = { - homepage = http://josefsson.org/libtasn1/; - description = "An ASN.1 library"; + homepage = http://www.gnu.org/software/libtasn1/; + description = "GNU Libtasn1, an ASN.1 library"; + + 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 = "LGPLv2+"; + + maintainers = [ stdenv.lib.maintainers.ludo ]; + platforms = stdenv.lib.platforms.all; }; }