summary refs log tree commit diff
path: root/pkgs/development/libraries/libtasn1
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-01-11 23:47:54 +0100
committerDaiderd Jordan <daiderd@gmail.com>2017-01-11 23:47:54 +0100
commitb8b18925460d0697bcd6623b2029309786180b34 (patch)
tree5f617ae6278a825b18f5a42dbd45ab155dbfc642 /pkgs/development/libraries/libtasn1
parent5fa5ab0eedb1b1b03a4737e11a3f5789664c6537 (diff)
downloadnixlib-b8b18925460d0697bcd6623b2029309786180b34.tar
nixlib-b8b18925460d0697bcd6623b2029309786180b34.tar.gz
nixlib-b8b18925460d0697bcd6623b2029309786180b34.tar.bz2
nixlib-b8b18925460d0697bcd6623b2029309786180b34.tar.lz
nixlib-b8b18925460d0697bcd6623b2029309786180b34.tar.xz
nixlib-b8b18925460d0697bcd6623b2029309786180b34.tar.zst
nixlib-b8b18925460d0697bcd6623b2029309786180b34.zip
libtasn1: fix darwin build
Diffstat (limited to 'pkgs/development/libraries/libtasn1')
-rw-r--r--pkgs/development/libraries/libtasn1/default.nix25
1 files changed, 13 insertions, 12 deletions
diff --git a/pkgs/development/libraries/libtasn1/default.nix b/pkgs/development/libraries/libtasn1/default.nix
index 5ecbcc63a957..66a4dd967353 100644
--- a/pkgs/development/libraries/libtasn1/default.nix
+++ b/pkgs/development/libraries/libtasn1/default.nix
@@ -11,23 +11,24 @@ stdenv.mkDerivation rec {
   outputs = [ "out" "dev" "devdoc" ];
   outputBin = "dev";
 
+  # Warning causes build to fail on darwin since 4.9,
+  # check if this can be removed in the next release.
+  CFLAGS = "-Wno-sign-compare";
+
   buildInputs = [ perl texinfo ];
 
   doCheck = true;
 
-  meta = {
+  meta = with stdenv.lib; {
     homepage = http://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 = stdenv.lib.licenses.lgpl2Plus;
-
-    maintainers = with stdenv.lib.maintainers; [ wkennington ];
-    platforms = stdenv.lib.platforms.all;
+    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;
   };
 }