summary refs log tree commit diff
path: root/pkgs/development/libraries/libedit
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-09-05 12:00:03 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-09-05 13:45:59 +0200
commit2583c70e9158c982e141e8b3a92861091b80dd14 (patch)
tree39d4e1a9c68bfb2e896b9d87ae1097fb15769a98 /pkgs/development/libraries/libedit
parent13fced071eb34a5b51563948888e3cd3acf48736 (diff)
downloadnixlib-2583c70e9158c982e141e8b3a92861091b80dd14.tar
nixlib-2583c70e9158c982e141e8b3a92861091b80dd14.tar.gz
nixlib-2583c70e9158c982e141e8b3a92861091b80dd14.tar.bz2
nixlib-2583c70e9158c982e141e8b3a92861091b80dd14.tar.lz
nixlib-2583c70e9158c982e141e8b3a92861091b80dd14.tar.xz
nixlib-2583c70e9158c982e141e8b3a92861091b80dd14.tar.zst
nixlib-2583c70e9158c982e141e8b3a92861091b80dd14.zip
libedit: 20150325-3.1 -> 20160903-3.1
Also, use a separate "dev" output. This is mostly to remove
ncurses.dev from openssh's runtime closure.
Diffstat (limited to 'pkgs/development/libraries/libedit')
-rw-r--r--pkgs/development/libraries/libedit/default.nix12
-rw-r--r--pkgs/development/libraries/libedit/freebsd-wchar.patch13
-rw-r--r--pkgs/development/libraries/libedit/freebsd.patch13
3 files changed, 7 insertions, 31 deletions
diff --git a/pkgs/development/libraries/libedit/default.nix b/pkgs/development/libraries/libedit/default.nix
index 7868c2cfd140..c61876713c10 100644
--- a/pkgs/development/libraries/libedit/default.nix
+++ b/pkgs/development/libraries/libedit/default.nix
@@ -1,17 +1,19 @@
 { stdenv, fetchurl, ncurses, groff }:
 
 stdenv.mkDerivation rec {
-  name = "libedit-20150325-3.1";
+  name = "libedit-20160903-3.1";
 
   src = fetchurl {
-    url = "http://www.thrysoee.dk/editline/${name}.tar.gz";
-    sha256 = "1if8zi9h52m80ck796an28rrqfljk2n8cn25m3fl0prwz155x2n8";
+    url = "http://thrysoee.dk/editline/${name}.tar.gz";
+    sha256 = "0rvmm8z6hal5bbp5pljp7yvkpqi4pkas1amizhvg35v0skkx5jqc";
   };
 
+  outputs = [ "out" "dev" ];
+
   # Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
   NROFF = "${groff}/bin/nroff";
 
-  patches = [ ./01-cygwin.patch ./freebsd-wchar.patch ];
+  patches = [ ./01-cygwin.patch ];
 
   propagatedBuildInputs = [ ncurses ];
 
@@ -23,7 +25,7 @@ stdenv.mkDerivation rec {
   '';
 
   meta = with stdenv.lib; {
-    homepage = "http://www.thrysoee.dk/editline/";
+    homepage = http://www.thrysoee.dk/editline/;
     description = "A port of the NetBSD Editline library (libedit)";
     license = licenses.bsd3;
     platforms = platforms.all;
diff --git a/pkgs/development/libraries/libedit/freebsd-wchar.patch b/pkgs/development/libraries/libedit/freebsd-wchar.patch
deleted file mode 100644
index 6bf7fb0ef69a..000000000000
--- a/pkgs/development/libraries/libedit/freebsd-wchar.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/chartype.h b/src/chartype.h
-index 0beee17..4ac86f3 100644
---- a/src/chartype.h
-+++ b/src/chartype.h
-@@ -44,7 +44,7 @@
-  * supports non-BMP code points without requiring UTF-16, but nothing
-  * seems to actually advertise this properly, despite Unicode 3.1 having
-  * been around since 2001... */
--#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__)
-+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__)
- #ifndef __STDC_ISO_10646__
- /* In many places it is assumed that the first 127 code points are ASCII
-  * compatible, so ensure wchar_t indeed does ISO 10646 and not some other
diff --git a/pkgs/development/libraries/libedit/freebsd.patch b/pkgs/development/libraries/libedit/freebsd.patch
deleted file mode 100644
index e230a76d709f..000000000000
--- a/pkgs/development/libraries/libedit/freebsd.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/chartype.h b/src/chartype.h
-index c35825c..be5aac0 100644
---- a/src/chartype.h
-+++ b/src/chartype.h
-@@ -44,7 +44,7 @@
-  * supports non-BMP code points without requiring UTF-16, but nothing
-  * seems to actually advertise this properly, despite Unicode 3.1 having
-  * been around since 2001... */
--#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__))
-+#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__DragonFly__) && !defined(__FreeBSD__)
- #ifndef __STDC_ISO_10646__
- /* In many places it is assumed that the first 127 code points are ASCII
-  * compatible, so ensure wchar_t indeed does ISO 10646 and not some other