about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libtasn1
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libtasn1')
-rw-r--r--nixpkgs/pkgs/development/libraries/libtasn1/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libtasn1/default.nix b/nixpkgs/pkgs/development/libraries/libtasn1/default.nix
new file mode 100644
index 000000000000..341e2cd1c778
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/libtasn1/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchurl, perl, texinfo }:
+
+stdenv.mkDerivation rec {
+  name = "libtasn1-4.13";
+
+  src = fetchurl {
+    url = "mirror://gnu/libtasn1/${name}.tar.gz";
+    sha256 = "1jlc1iahj8k3haz28j55nzg7sgni5h41vqy461i1bpbx6668wlky";
+  };
+
+  outputs = [ "out" "dev" "devdoc" ];
+  outputBin = "dev";
+
+  nativeBuildInputs = [ texinfo perl ];
+
+  doCheck = true;
+
+  meta = with stdenv.lib; {
+    homepage = https://www.gnu.org/software/libtasn1/;
+    description = "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 = licenses.lgpl2Plus;
+    maintainers = with maintainers; [ wkennington ];
+    platforms = platforms.all;
+  };
+}