···15151616<para>Following new services were added since the last release:
17171818-<!--<itemizedlist>
1919-2020-</itemizedlist>-->
1818+<itemizedlist>
1919+<listitem><para><literal>brltty</literal></para></listitem>
2020+</itemizedlist>
2121</para>
22222323<para>When upgrading from a previous release, please be aware of the
+1-1
nixos/modules/installer/tools/nixos-install.sh
···263263264264265265# Ask the user to set a root password.
266266-if [ "$(chroot $mountPoint nix-instantiate --eval '<nixpkgs/nixos>' -A config.users.mutableUsers)" = true ] && [ -t 1 ] ; then
266266+if [ "$(chroot $mountPoint nix-instantiate --eval '<nixpkgs/nixos>' -A config.users.mutableUsers)" = true ] && [ -t 0 ] ; then
267267 echo "setting root password..."
268268 chroot $mountPoint /var/setuid-wrappers/passwd
269269fi
···22222323 meta = {
2424 homepage = "http://rudel.sourceforge.net/";
2525- description = "Rudel is a collaborative editing environment for GNU Emacs";
2525+ description = "A collaborative editing environment for GNU Emacs";
2626 license = "GPL";
2727 };
2828}
+1-1
pkgs/applications/editors/zed/default.nix
···7979 '';
80808181 meta = {
8282- description = "Zed is a fully offline-capable, open source, keyboard-focused, text and code editor for power users";
8282+ description = "A fully offline-capable, open source, keyboard-focused, text and code editor for power users";
8383 license = stdenv.lib.licenses.mit;
8484 homepage = http://zedapp.org/;
8585 maintainers = [ stdenv.lib.maintainers.matejc ];
···12121313 meta = {
1414 homepage = http://www.krename.net;
1515- description = "KRename is a powerful batch renamer for KDE";
1515+ description = "A powerful batch renamer for KDE";
1616 inherit (kdelibs.meta) platforms;
1717 maintainers = [ stdenv.lib.maintainers.urkud ];
1818 };
+1-1
pkgs/applications/misc/pwsafe/default.nix
···6262 '';
63636464 meta = with stdenv.lib; {
6565- description = "Password Safe is a password database utility";
6565+ description = "A password database utility";
66666767 longDescription = ''
6868 Password Safe is a password database utility. Like many other
···1111 buildInputs = [pkgconfig libParserUtils libwapcaplet];
12121313 meta = {
1414- description = "libCSS is a CSS parser and selection engine, written in C"; # used by netsurf
1414+ description = "A CSS parser and selection engine, written in C"; # used by netsurf
1515 homepage = http://www.netsurf-browser.org/projects/libcss/;
1616 license = stdenv.lib.licenses.mit;
1717 maintainers = [args.lib.maintainers.marcweber];
···1111 buildInputs = [pkgconfig];
12121313 meta = {
1414- description = "LibParserUtils is a library for building efficient parsers, written in C";
1414+ description = "A library for building efficient parsers, written in C";
1515 homepage = http://www.netsurf-browser.org/projects/libparserutils/;
1616 license = stdenv.lib.licenses.mit;
1717 maintainers = [args.lib.maintainers.marcweber];
···1111 buildInputs = [];
12121313 meta = {
1414- description = "Libnsbmp is a decoding library for BMP and ICO image file formats"; # used by netsurf
1414+ description = "A decoding library for BMP and ICO image file formats"; # used by netsurf
1515 homepage = http://www.netsurf-browser.org/projects/libnsbmp/;
1616 license = stdenv.lib.licenses.mit;
1717 maintainers = [args.lib.maintainers.marcweber];
···11+{ stdenv, fetchurl, makeWrapper, hadoop, jre, bash }:
22+33+stdenv.mkDerivation rec {
44+55+ name = "pig-0.14.0";
66+77+ src = fetchurl {
88+ url = "mirror://apache/pig/${name}/${name}.tar.gz";
99+ sha256 = "183in34cj93ny3lhqyq76g9pjqgw1qlwakk5v6x847vrlkfndska";
1010+1111+ };
1212+1313+ buildInputs = [ makeWrapper ];
1414+1515+ installPhase = ''
1616+ mkdir -p $out
1717+ mv * $out
1818+1919+ # no need for the windows batch script
2020+ rm $out/bin/pig.cmd $out/bin/pig.py
2121+2222+ for n in $out/{bin,sbin}"/"*; do
2323+ wrapProgram $n \
2424+ --prefix PATH : "${jre}/bin:${bash}/bin" \
2525+ --set JAVA_HOME "${jre}" --set HADOOP_PREFIX "${hadoop}"
2626+ done
2727+ '';
2828+2929+ meta = with stdenv.lib; {
3030+ homepage = "http://pig.apache.org/";
3131+ description = "High-level language for Apache Hadoop";
3232+ license = licenses.asl20;
3333+3434+ longDescription = ''
3535+ Apache Pig is a platform for analyzing large data sets that consists of a
3636+ high-level language for expressing data analysis programs, coupled with
3737+ infrastructure for evaluating these programs. The salient property of Pig
3838+ programs is that their structure is amenable to substantial parallelization,
3939+ which in turns enables them to handle very large data sets.
4040+ '';
4141+4242+ platforms = platforms.linux;
4343+ maintainers = [ maintainers.skeidel ];
4444+ };
4545+}
···3232 NIX_CFLAGS_COMPILE = "-I${ilmbase}/include/OpenEXR";
33333434 meta = {
3535- description = "Calligra Suite is a set of applications written to help you to accomplish your work. Calligra includes efficient and capable office components: Words for text processing, Sheets for computations, Stage for presentations, Plan for planning, Flow for flowcharts, Kexi for database creation, Krita for painting and raster drawing, and Karbon for vector graphics.";
3535+ description = "A suite of productivity applications";
3636+ longDescription = ''
3737+ Calligra Suite is a set of applications written to help
3838+ you to accomplish your work. Calligra includes efficient
3939+ and capable office components: Words for text processing,
4040+ Sheets for computations, Stage for presentations, Plan for
4141+ planning, Flow for flowcharts, Kexi for database creation,
4242+ Krita for painting and raster drawing, and Karbon for
4343+ vector graphics.
4444+ '';
3645 homepage = http://calligra.org;
3746 maintainers = with stdenv.lib.maintainers; [ urkud phreedom ];
3847 inherit (kdelibs.meta) platforms;
+1-1
pkgs/applications/science/logic/yices/default.nix
···3333 '';
34343535 meta = {
3636- description = "Yices is a high-performance theorem prover and SMT solver";
3636+ description = "A high-performance theorem prover and SMT solver";
3737 homepage = "http://yices.csl.sri.com";
3838 license = stdenv.lib.licenses.unfreeRedistributable;
3939 platforms = stdenv.lib.platforms.linux;
···25252626 meta = {
2727 homepage = "http://procode.org/stgit/";
2828- description = "StGit is a patch manager implemented on top of Git";
2828+ description = "A patch manager implemented on top of Git";
2929 license = "GPL";
30303131 maintainers = with stdenv.lib.maintainers; [ simons the-kenny ];
···2020 '';
21212222 meta = with stdenv.lib; {
2323- description = "i3lock is a simple screen locker like slock";
2323+ description = "A simple screen locker like slock";
2424 homepage = http://i3wm.org/i3lock/;
2525 maintainers = with maintainers; [ garbas malyn ];
2626 license = licenses.bsd3;
+1-1
pkgs/applications/window-managers/i3/status.nix
···1515 installFlags = "PREFIX=\${out}";
16161717 meta = {
1818- description = "i3 is a tiling window manager";
1818+ description = "A tiling window manager";
1919 homepage = http://i3wm.org;
2020 maintainers = [ stdenv.lib.maintainers.garbas ];
2121 license = stdenv.lib.licenses.bsd3;
+1-1
pkgs/data/documentation/zeal/default.nix
···3636 enableParallelBuilding = true;
37373838 meta = {
3939- description = "Zeal is a simple offline API documentation browser";
3939+ description = "A simple offline API documentation browser";
4040 longDescription = ''
4141 Zeal is a simple offline API documentation browser inspired by Dash (OS X
4242 app), available for Linux and Windows.
+1-1
pkgs/data/fonts/powerline-fonts/default.nix
···23232424 meta = with stdenv.lib; {
2525 homepage = https://github.com/powerline/fonts;
2626- description = "Patched fonts for Powerline users.";
2626+ description = "Patched fonts for Powerline users";
2727 longDescription = ''
2828 Pre-patched and adjusted fonts for usage with the Powerline plugin.
2929 '';
···1414 '';
15151616 meta = {
1717- description = "Econnman is a user interface for the connman network connection manager";
1717+ description = "A user interface for the connman network connection manager";
1818 homepage = http://enlightenment.org/;
1919 maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ];
2020 platforms = stdenv.lib.platforms.linux;
+1-1
pkgs/desktops/kde-4.14/kdeedu/artikulate.nix
···33 buildInputs = [ kdelibs qt_gstreamer1 ];
4455 meta = {
66- description = "Artikulate is a pronunciation learning program for KDE.";
66+ description = "A pronunciation learning program for KDE";
77 };
88}
···2727 ];
2828 meta = {
2929 homepage = "http://elm-lang.org";
3030- description = "Values to help with elm-package, elm-make, and elm-lang.org.";
3030+ description = "Values to help with elm-package, elm-make, and elm-lang.org";
3131 license = self.stdenv.lib.licenses.bsd3;
3232 platforms = self.ghc.meta.platforms;
3333 };
+255
pkgs/development/compilers/gcc/5.1/builder.sh
···11+source $stdenv/setup
22+33+44+export NIX_FIXINC_DUMMY=$NIX_BUILD_TOP/dummy
55+mkdir $NIX_FIXINC_DUMMY
66+77+88+if test "$staticCompiler" = "1"; then
99+ EXTRA_LDFLAGS="-static"
1010+else
1111+ EXTRA_LDFLAGS=""
1212+fi
1313+1414+# GCC interprets empty paths as ".", which we don't want.
1515+if test -z "$CPATH"; then unset CPATH; fi
1616+if test -z "$LIBRARY_PATH"; then unset LIBRARY_PATH; fi
1717+echo "\$CPATH is \`$CPATH'"
1818+echo "\$LIBRARY_PATH is \`$LIBRARY_PATH'"
1919+2020+if test "$noSysDirs" = "1"; then
2121+2222+ if test -e $NIX_CC/nix-support/orig-libc; then
2323+2424+ # Figure out what extra flags to pass to the gcc compilers
2525+ # being generated to make sure that they use our glibc.
2626+ extraFlags="$(cat $NIX_CC/nix-support/libc-cflags)"
2727+ extraLDFlags="$(cat $NIX_CC/nix-support/libc-ldflags) $(cat $NIX_CC/nix-support/libc-ldflags-before)"
2828+2929+ # Use *real* header files, otherwise a limits.h is generated
3030+ # that does not include Glibc's limits.h (notably missing
3131+ # SSIZE_MAX, which breaks the build).
3232+ export NIX_FIXINC_DUMMY=$(cat $NIX_CC/nix-support/orig-libc)/include
3333+3434+ # The path to the Glibc binaries such as `crti.o'.
3535+ glibc_libdir="$(cat $NIX_CC/nix-support/orig-libc)/lib"
3636+3737+ else
3838+ # Hack: support impure environments.
3939+ extraFlags="-isystem /usr/include"
4040+ extraLDFlags="-L/usr/lib64 -L/usr/lib"
4141+ glibc_libdir="/usr/lib"
4242+ export NIX_FIXINC_DUMMY=/usr/include
4343+ fi
4444+4545+ extraFlags="-I$NIX_FIXINC_DUMMY $extraFlags"
4646+ extraLDFlags="-L$glibc_libdir -rpath $glibc_libdir $extraLDFlags"
4747+4848+ # BOOT_CFLAGS defaults to `-g -O2'; since we override it below,
4949+ # make sure to explictly add them so that files compiled with the
5050+ # bootstrap compiler are optimized and (optionally) contain
5151+ # debugging information (info "(gccinstall) Building").
5252+ if test -n "$dontStrip"; then
5353+ extraFlags="-O2 -g $extraFlags"
5454+ else
5555+ # Don't pass `-g' at all; this saves space while building.
5656+ extraFlags="-O2 $extraFlags"
5757+ fi
5858+5959+ EXTRA_FLAGS="$extraFlags"
6060+ for i in $extraLDFlags; do
6161+ EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,$i"
6262+ done
6363+6464+ if test -n "$targetConfig"; then
6565+ # Cross-compiling, we need gcc not to read ./specs in order to build
6666+ # the g++ compiler (after the specs for the cross-gcc are created).
6767+ # Having LIBRARY_PATH= makes gcc read the specs from ., and the build
6868+ # breaks. Having this variable comes from the default.nix code to bring
6969+ # gcj in.
7070+ unset LIBRARY_PATH
7171+ unset CPATH
7272+ if test -z "$crossStageStatic"; then
7373+ EXTRA_TARGET_CFLAGS="-B${libcCross}/lib -idirafter ${libcCross}/include"
7474+ EXTRA_TARGET_LDFLAGS="-Wl,-L${libcCross}/lib -Wl,-rpath,${libcCross}/lib -Wl,-rpath-link,${libcCross}/lib"
7575+ fi
7676+ else
7777+ if test -z "$NIX_CC_CROSS"; then
7878+ EXTRA_TARGET_CFLAGS="$EXTRA_FLAGS"
7979+ EXTRA_TARGET_CXXFLAGS="$EXTRA_FLAGS"
8080+ EXTRA_TARGET_LDFLAGS="$EXTRA_LDFLAGS"
8181+ else
8282+ # This the case of cross-building the gcc.
8383+ # We need special flags for the target, different than those of the build
8484+ # Assertion:
8585+ test -e $NIX_CC_CROSS/nix-support/orig-libc
8686+8787+ # Figure out what extra flags to pass to the gcc compilers
8888+ # being generated to make sure that they use our glibc.
8989+ extraFlags="$(cat $NIX_CC_CROSS/nix-support/libc-cflags)"
9090+ extraLDFlags="$(cat $NIX_CC_CROSS/nix-support/libc-ldflags) $(cat $NIX_CC_CROSS/nix-support/libc-ldflags-before)"
9191+9292+ # Use *real* header files, otherwise a limits.h is generated
9393+ # that does not include Glibc's limits.h (notably missing
9494+ # SSIZE_MAX, which breaks the build).
9595+ NIX_FIXINC_DUMMY_CROSS=$(cat $NIX_CC_CROSS/nix-support/orig-libc)/include
9696+9797+ # The path to the Glibc binaries such as `crti.o'.
9898+ glibc_dir="$(cat $NIX_CC_CROSS/nix-support/orig-libc)"
9999+ glibc_libdir="$glibc_dir/lib"
100100+ configureFlags="$configureFlags --with-native-system-header-dir=$glibc_dir/include"
101101+102102+ extraFlags="-I$NIX_FIXINC_DUMMY_CROSS $extraFlags"
103103+ extraLDFlags="-L$glibc_libdir -rpath $glibc_libdir $extraLDFlags"
104104+105105+ EXTRA_TARGET_CFLAGS="$extraFlags"
106106+ for i in $extraLDFlags; do
107107+ EXTRA_TARGET_LDFLAGS="$EXTRA_TARGET_LDFLAGS -Wl,$i"
108108+ done
109109+ fi
110110+ fi
111111+112112+ # CFLAGS_FOR_TARGET are needed for the libstdc++ configure script to find
113113+ # the startfiles.
114114+ # FLAGS_FOR_TARGET are needed for the target libraries to receive the -Bxxx
115115+ # for the startfiles.
116116+ makeFlagsArray+=( \
117117+ NATIVE_SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \
118118+ SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \
119119+ CFLAGS_FOR_BUILD="$EXTRA_FLAGS $EXTRA_LDFLAGS" \
120120+ CXXFLAGS_FOR_BUILD="$EXTRA_FLAGS $EXTRA_LDFLAGS" \
121121+ CFLAGS_FOR_TARGET="$EXTRA_TARGET_CFLAGS $EXTRA_TARGET_LDFLAGS" \
122122+ CXXFLAGS_FOR_TARGET="$EXTRA_TARGET_CFLAGS $EXTRA_TARGET_LDFLAGS" \
123123+ FLAGS_FOR_TARGET="$EXTRA_TARGET_CFLAGS $EXTRA_TARGET_LDFLAGS" \
124124+ LDFLAGS_FOR_BUILD="$EXTRA_FLAGS $EXTRA_LDFLAGS" \
125125+ LDFLAGS_FOR_TARGET="$EXTRA_TARGET_LDFLAGS $EXTRA_TARGET_LDFLAGS" \
126126+ )
127127+128128+ if test -z "$targetConfig"; then
129129+ makeFlagsArray+=( \
130130+ BOOT_CFLAGS="$EXTRA_FLAGS $EXTRA_LDFLAGS" \
131131+ BOOT_LDFLAGS="$EXTRA_TARGET_CFLAGS $EXTRA_TARGET_LDFLAGS" \
132132+ )
133133+ fi
134134+135135+ if test -n "$targetConfig" -a "$crossStageStatic" == 1; then
136136+ # We don't want the gcc build to assume there will be a libc providing
137137+ # limits.h in this stagae
138138+ makeFlagsArray+=( \
139139+ LIMITS_H_TEST=false \
140140+ )
141141+ else
142142+ makeFlagsArray+=( \
143143+ LIMITS_H_TEST=true \
144144+ )
145145+ fi
146146+fi
147147+148148+if test -n "$targetConfig"; then
149149+ # The host strip will destroy some important details of the objects
150150+ dontStrip=1
151151+fi
152152+153153+providedPreConfigure="$preConfigure";
154154+preConfigure() {
155155+ if test -n "$newlibSrc"; then
156156+ tar xvf "$newlibSrc" -C ..
157157+ ln -s ../newlib-*/newlib newlib
158158+ # Patch to get armvt5el working:
159159+ sed -i -e 's/ arm)/ arm*)/' newlib/configure.host
160160+ fi
161161+162162+ # Bug - they packaged zlib
163163+ if test -d "zlib"; then
164164+ # This breaks the build without-headers, which should build only
165165+ # the target libgcc as target libraries.
166166+ # See 'configure:5370'
167167+ rm -Rf zlib
168168+ fi
169169+170170+ if test -f "$NIX_CC/nix-support/orig-libc"; then
171171+ # Patch the configure script so it finds glibc headers. It's
172172+ # important for example in order not to get libssp built,
173173+ # because its functionality is in glibc already.
174174+ glibc_headers="$(cat $NIX_CC/nix-support/orig-libc)/include"
175175+ sed -i \
176176+ -e "s,glibc_header_dir=/usr/include,glibc_header_dir=$glibc_headers", \
177177+ gcc/configure
178178+ fi
179179+180180+ if test -n "$crossMingw" -a -n "$crossStageStatic"; then
181181+ mkdir -p ../mingw
182182+ # --with-build-sysroot expects that:
183183+ cp -R $libcCross/include ../mingw
184184+ configureFlags="$configureFlags --with-build-sysroot=`pwd`/.."
185185+ fi
186186+187187+ # Eval the preConfigure script from nix expression.
188188+ eval "$providedPreConfigure"
189189+190190+ # Perform the build in a different directory.
191191+ mkdir ../build
192192+ cd ../build
193193+ configureScript=../$sourceRoot/configure
194194+}
195195+196196+197197+postConfigure() {
198198+ # Don't store the configure flags in the resulting executables.
199199+ sed -e '/TOPLEVEL_CONFIGURE_ARGUMENTS=/d' -i Makefile
200200+}
201201+202202+203203+preInstall() {
204204+ # Make ‘lib64’ a symlink to ‘lib’.
205205+ if [ -n "$is64bit" -a -z "$enableMultilib" ]; then
206206+ mkdir -p $out/lib
207207+ ln -s lib $out/lib64
208208+ fi
209209+}
210210+211211+212212+postInstall() {
213213+ # Remove precompiled headers for now. They are very big and
214214+ # probably not very useful yet.
215215+ find $out/include -name "*.gch" -exec rm -rf {} \; -prune
216216+217217+ # Remove `fixincl' to prevent a retained dependency on the
218218+ # previous gcc.
219219+ rm -rf $out/libexec/gcc/*/*/install-tools
220220+ rm -rf $out/lib/gcc/*/*/install-tools
221221+222222+ # More dependencies with the previous gcc or some libs (gccbug stores the build command line)
223223+ rm -rf $out/bin/gccbug
224224+ # Take out the bootstrap-tools from the rpath, as it's not needed at all having $out
225225+ for i in $out/libexec/gcc/*/*/*; do
226226+ if PREV_RPATH=`patchelf --print-rpath $i`; then
227227+ patchelf --set-rpath `echo $PREV_RPATH | sed 's,:[^:]*bootstrap-tools/lib,,'` $i
228228+ fi
229229+ done
230230+231231+ # Get rid of some "fixed" header files
232232+ rm -rf $out/lib/gcc/*/*/include/root
233233+234234+ # Replace hard links for i686-pc-linux-gnu-gcc etc. with symlinks.
235235+ for i in $out/bin/*-gcc*; do
236236+ if cmp -s $out/bin/gcc $i; then
237237+ ln -sfn gcc $i
238238+ fi
239239+ done
240240+241241+ for i in $out/bin/c++ $out/bin/*-c++* $out/bin/*-g++*; do
242242+ if cmp -s $out/bin/g++ $i; then
243243+ ln -sfn g++ $i
244244+ fi
245245+ done
246246+247247+ # Disable RANDMMAP on grsec, which causes segfaults when using
248248+ # precompiled headers.
249249+ # See https://bugs.gentoo.org/show_bug.cgi?id=301299#c31
250250+ paxmark r $out/libexec/gcc/*/*/{cc1,cc1plus}
251251+252252+ eval "$postInstallGhdl"
253253+}
254254+255255+genericBuild
+526
pkgs/development/compilers/gcc/5.1/default.nix
···11+{ stdenv, fetchurl, noSysDirs
22+, langC ? true, langCC ? true, langFortran ? false
33+, langObjC ? stdenv.isDarwin
44+, langObjCpp ? stdenv.isDarwin
55+, langJava ? false
66+, langAda ? false
77+, langVhdl ? false
88+, langGo ? false
99+, profiledCompiler ? false
1010+, staticCompiler ? false
1111+, enableShared ? true
1212+, texinfo ? null
1313+, perl ? null # optional, for texi2pod (then pod2man); required for Java
1414+, gmp, mpfr, libmpc, gettext, which
1515+, libelf # optional, for link-time optimizations (LTO)
1616+, isl ? null # optional, for the Graphite optimization framework.
1717+, zlib ? null, boehmgc ? null
1818+, zip ? null, unzip ? null, pkgconfig ? null
1919+, gtk ? null, libart_lgpl ? null
2020+, libX11 ? null, libXt ? null, libSM ? null, libICE ? null, libXtst ? null
2121+, libXrender ? null, xproto ? null, renderproto ? null, xextproto ? null
2222+, libXrandr ? null, libXi ? null, inputproto ? null, randrproto ? null
2323+, x11Support ? langJava
2424+, gnatboot ? null
2525+, enableMultilib ? false
2626+, enablePlugin ? true # whether to support user-supplied plug-ins
2727+, name ? "gcc"
2828+, cross ? null
2929+, binutilsCross ? null
3030+, libcCross ? null
3131+, crossStageStatic ? true
3232+, gnat ? null
3333+, libpthread ? null, libpthreadCross ? null # required for GNU/Hurd
3434+, stripped ? true
3535+, gnused ? null
3636+}:
3737+3838+assert langJava -> zip != null && unzip != null
3939+ && zlib != null && boehmgc != null
4040+ && perl != null; # for `--enable-java-home'
4141+assert langAda -> gnatboot != null;
4242+assert langVhdl -> gnat != null;
4343+4444+# LTO needs libelf and zlib.
4545+assert libelf != null -> zlib != null;
4646+4747+# Make sure we get GNU sed.
4848+assert stdenv.isDarwin -> gnused != null;
4949+5050+# The go frontend is written in c++
5151+assert langGo -> langCC;
5252+5353+with stdenv.lib;
5454+with builtins;
5555+5656+let version = "5.1.0";
5757+5858+ # Whether building a cross-compiler for GNU/Hurd.
5959+ crossGNU = cross != null && cross.config == "i586-pc-gnu";
6060+6161+ enableParallelBuilding = true;
6262+6363+ patches = [ ]
6464+ ++ optional (cross != null) ./libstdc++-target.patch
6565+ ++ optional noSysDirs ./no-sys-dirs.patch
6666+ # The GNAT Makefiles did not pay attention to CFLAGS_FOR_TARGET for its
6767+ # target libraries and tools.
6868+ ++ optional langAda ./gnat-cflags.patch
6969+ ++ optional langFortran ./gfortran-driving.patch;
7070+7171+ javaEcj = fetchurl {
7272+ # The `$(top_srcdir)/ecj.jar' file is automatically picked up at
7373+ # `configure' time.
7474+7575+ # XXX: Eventually we might want to take it from upstream.
7676+ url = "ftp://sourceware.org/pub/java/ecj-4.3.jar";
7777+ sha256 = "0jz7hvc0s6iydmhgh5h2m15yza7p2rlss2vkif30vm9y77m97qcx";
7878+ };
7979+8080+ # Antlr (optional) allows the Java `gjdoc' tool to be built. We want a
8181+ # binary distribution here to allow the whole chain to be bootstrapped.
8282+ javaAntlr = fetchurl {
8383+ url = http://www.antlr.org/download/antlr-4.4-complete.jar;
8484+ sha256 = "02lda2imivsvsis8rnzmbrbp8rh1kb8vmq4i67pqhkwz7lf8y6dz";
8585+ };
8686+8787+ xlibs = [
8888+ libX11 libXt libSM libICE libXtst libXrender libXrandr libXi
8989+ xproto renderproto xextproto inputproto randrproto
9090+ ];
9191+9292+ javaAwtGtk = langJava && x11Support;
9393+9494+ /* Platform flags */
9595+ platformFlags = let
9696+ gccArch = stdenv.platform.gcc.arch or null;
9797+ gccCpu = stdenv.platform.gcc.cpu or null;
9898+ gccAbi = stdenv.platform.gcc.abi or null;
9999+ gccFpu = stdenv.platform.gcc.fpu or null;
100100+ gccFloat = stdenv.platform.gcc.float or null;
101101+ gccMode = stdenv.platform.gcc.mode or null;
102102+ withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
103103+ withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
104104+ withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
105105+ withFpu = if gccFpu != null then " --with-fpu=${gccFpu}" else "";
106106+ withFloat = if gccFloat != null then " --with-float=${gccFloat}" else "";
107107+ withMode = if gccMode != null then " --with-mode=${gccMode}" else "";
108108+ in
109109+ withArch +
110110+ withCpu +
111111+ withAbi +
112112+ withFpu +
113113+ withFloat +
114114+ withMode;
115115+116116+ /* Cross-gcc settings */
117117+ crossMingw = cross != null && cross.libc == "msvcrt";
118118+ crossDarwin = cross != null && cross.libc == "libSystem";
119119+ crossConfigureFlags = let
120120+ gccArch = stdenv.cross.gcc.arch or null;
121121+ gccCpu = stdenv.cross.gcc.cpu or null;
122122+ gccAbi = stdenv.cross.gcc.abi or null;
123123+ gccFpu = stdenv.cross.gcc.fpu or null;
124124+ gccFloat = stdenv.cross.gcc.float or null;
125125+ gccMode = stdenv.cross.gcc.mode or null;
126126+ withArch = if gccArch != null then " --with-arch=${gccArch}" else "";
127127+ withCpu = if gccCpu != null then " --with-cpu=${gccCpu}" else "";
128128+ withAbi = if gccAbi != null then " --with-abi=${gccAbi}" else "";
129129+ withFpu = if gccFpu != null then " --with-fpu=${gccFpu}" else "";
130130+ withFloat = if gccFloat != null then " --with-float=${gccFloat}" else "";
131131+ withMode = if gccMode != null then " --with-mode=${gccMode}" else "";
132132+ in
133133+ "--target=${cross.config}" +
134134+ withArch +
135135+ withCpu +
136136+ withAbi +
137137+ withFpu +
138138+ withFloat +
139139+ withMode +
140140+ (if crossMingw && crossStageStatic then
141141+ " --with-headers=${libcCross}/include" +
142142+ " --with-gcc" +
143143+ " --with-gnu-as" +
144144+ " --with-gnu-ld" +
145145+ " --with-gnu-ld" +
146146+ " --disable-shared" +
147147+ " --disable-nls" +
148148+ " --disable-debug" +
149149+ " --enable-sjlj-exceptions" +
150150+ " --enable-threads=win32" +
151151+ " --disable-win32-registry"
152152+ else if crossStageStatic then
153153+ " --disable-libssp --disable-nls" +
154154+ " --without-headers" +
155155+ " --disable-threads " +
156156+ " --disable-libmudflap " +
157157+ " --disable-libgomp " +
158158+ " --disable-libquadmath" +
159159+ " --disable-shared" +
160160+ " --disable-libatomic " + # libatomic requires libc
161161+ " --disable-decimal-float" # libdecnumber requires libc
162162+ else
163163+ (if crossDarwin then " --with-sysroot=${libcCross}/share/sysroot"
164164+ else " --with-headers=${libcCross}/include") +
165165+ # Ensure that -print-prog-name is able to find the correct programs.
166166+ (stdenv.lib.optionalString (crossMingw || crossDarwin) (
167167+ " --with-as=${binutilsCross}/bin/${cross.config}-as" +
168168+ " --with-ld=${binutilsCross}/bin/${cross.config}-ld"
169169+ )) +
170170+ " --enable-__cxa_atexit" +
171171+ " --enable-long-long" +
172172+ (if crossMingw then
173173+ " --enable-threads=win32" +
174174+ " --enable-sjlj-exceptions" +
175175+ " --enable-hash-synchronization" +
176176+ " --disable-libssp" +
177177+ " --disable-nls" +
178178+ " --with-dwarf2" +
179179+ # I think noone uses shared gcc libs in mingw, so we better do the same.
180180+ # In any case, mingw32 g++ linking is broken by default with shared libs,
181181+ # unless adding "-lsupc++" to any linking command. I don't know why.
182182+ " --disable-shared" +
183183+ # To keep ABI compatibility with upstream mingw-w64
184184+ " --enable-fully-dynamic-string"
185185+ else (if cross.libc == "uclibc" then
186186+ # In uclibc cases, libgomp needs an additional '-ldl'
187187+ # and as I don't know how to pass it, I disable libgomp.
188188+ " --disable-libgomp" else "") +
189189+ " --enable-threads=posix" +
190190+ " --enable-nls" +
191191+ " --disable-decimal-float") # No final libdecnumber (it may work only in 386)
192192+ );
193193+ stageNameAddon = if crossStageStatic then "-stage-static" else "-stage-final";
194194+ crossNameAddon = if cross != null then "-${cross.config}" + stageNameAddon else "";
195195+196196+ bootstrap = cross == null && !stdenv.isArm && !stdenv.isMips;
197197+198198+in
199199+200200+# We need all these X libraries when building AWT with GTK+.
201201+assert x11Support -> (filter (x: x == null) ([ gtk libart_lgpl ] ++ xlibs)) == [];
202202+203203+stdenv.mkDerivation ({
204204+ name = "${name}${if stripped then "" else "-debug"}-${version}" + crossNameAddon;
205205+206206+ builder = ./builder.sh;
207207+208208+ src = fetchurl {
209209+ url = "mirror://gnu/gcc/gcc-${version}/gcc-${version}.tar.bz2";
210210+ sha256 = "1bd5vj4px3s8nlakbgrh38ynxq4s654m6nxz7lrj03mvkkwgvnmp";
211211+ };
212212+213213+ inherit patches;
214214+215215+ postPatch =
216216+ if (stdenv.isGNU
217217+ || (libcCross != null # e.g., building `gcc.crossDrv'
218218+ && libcCross ? crossConfig
219219+ && libcCross.crossConfig == "i586-pc-gnu")
220220+ || (crossGNU && libcCross != null))
221221+ then
222222+ # On GNU/Hurd glibc refers to Hurd & Mach headers and libpthread is not
223223+ # in glibc, so add the right `-I' flags to the default spec string.
224224+ assert libcCross != null -> libpthreadCross != null;
225225+ let
226226+ libc = if libcCross != null then libcCross else stdenv.glibc;
227227+ gnu_h = "gcc/config/gnu.h";
228228+ extraCPPDeps =
229229+ libc.propagatedBuildInputs
230230+ ++ stdenv.lib.optional (libpthreadCross != null) libpthreadCross
231231+ ++ stdenv.lib.optional (libpthread != null) libpthread;
232232+ extraCPPSpec =
233233+ concatStrings (intersperse " "
234234+ (map (x: "-I${x}/include") extraCPPDeps));
235235+ extraLibSpec =
236236+ if libpthreadCross != null
237237+ then "-L${libpthreadCross}/lib ${libpthreadCross.TARGET_LDFLAGS}"
238238+ else "-L${libpthread}/lib";
239239+ in
240240+ '' echo "augmenting \`CPP_SPEC' in \`${gnu_h}' with \`${extraCPPSpec}'..."
241241+ sed -i "${gnu_h}" \
242242+ -es'|CPP_SPEC *"\(.*\)$|CPP_SPEC "${extraCPPSpec} \1|g'
243243+244244+ echo "augmenting \`LIB_SPEC' in \`${gnu_h}' with \`${extraLibSpec}'..."
245245+ sed -i "${gnu_h}" \
246246+ -es'|LIB_SPEC *"\(.*\)$|LIB_SPEC "${extraLibSpec} \1|g'
247247+248248+ echo "setting \`NATIVE_SYSTEM_HEADER_DIR' and \`STANDARD_INCLUDE_DIR' to \`${libc}/include'..."
249249+ sed -i "${gnu_h}" \
250250+ -es'|#define STANDARD_INCLUDE_DIR.*$|#define STANDARD_INCLUDE_DIR "${libc}/include"|g'
251251+ ''
252252+ else if cross != null || stdenv.cc.libc != null then
253253+ # On NixOS, use the right path to the dynamic linker instead of
254254+ # `/lib/ld*.so'.
255255+ let
256256+ libc = if libcCross != null then libcCross else stdenv.cc.libc;
257257+ in
258258+ '' echo "fixing the \`GLIBC_DYNAMIC_LINKER' and \`UCLIBC_DYNAMIC_LINKER' macros..."
259259+ for header in "gcc/config/"*-gnu.h "gcc/config/"*"/"*.h
260260+ do
261261+ grep -q LIBC_DYNAMIC_LINKER "$header" || continue
262262+ echo " fixing \`$header'..."
263263+ sed -i "$header" \
264264+ -e 's|define[[:blank:]]*\([UCG]\+\)LIBC_DYNAMIC_LINKER\([0-9]*\)[[:blank:]]"\([^\"]\+\)"$|define \1LIBC_DYNAMIC_LINKER\2 "${libc}\3"|g'
265265+ done
266266+ ''
267267+ else null;
268268+269269+ inherit noSysDirs staticCompiler langJava crossStageStatic
270270+ libcCross crossMingw;
271271+272272+ nativeBuildInputs = [ texinfo which gettext ]
273273+ ++ (optional (perl != null) perl)
274274+ ++ (optional javaAwtGtk pkgconfig);
275275+276276+ buildInputs = [ gmp mpfr libmpc libelf ]
277277+ ++ (optional (isl != null) isl)
278278+ ++ (optional (zlib != null) zlib)
279279+ ++ (optionals langJava [ boehmgc zip unzip ])
280280+ ++ (optionals javaAwtGtk ([ gtk libart_lgpl ] ++ xlibs))
281281+ ++ (optionals (cross != null) [binutilsCross])
282282+ ++ (optionals langAda [gnatboot])
283283+ ++ (optionals langVhdl [gnat])
284284+285285+ # The builder relies on GNU sed (for instance, Darwin's `sed' fails with
286286+ # "-i may not be used with stdin"), and `stdenvNative' doesn't provide it.
287287+ ++ (optional stdenv.isDarwin gnused)
288288+ ;
289289+290290+ NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isSunOS "-lm -ldl";
291291+292292+ preConfigure = stdenv.lib.optionalString (stdenv.isSunOS && stdenv.is64bit) ''
293293+ export NIX_LDFLAGS=`echo $NIX_LDFLAGS | sed -e s~$prefix/lib~$prefix/lib/amd64~g`
294294+ export LDFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $LDFLAGS_FOR_TARGET"
295295+ export CXXFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CXXFLAGS_FOR_TARGET"
296296+ export CFLAGS_FOR_TARGET="-Wl,-rpath,$prefix/lib/amd64 $CFLAGS_FOR_TARGET"
297297+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
298298+ if SDKROOT=$(/usr/bin/xcrun --show-sdk-path); then
299299+ configureFlagsArray+=(--with-native-system-header-dir=$SDKROOT/usr/include)
300300+ makeFlagsArray+=( \
301301+ CFLAGS_FOR_BUILD=-F$SDKROOT/System/Library/Frameworks \
302302+ CFLAGS_FOR_TARGET=-F$SDKROOT/System/Library/Frameworks \
303303+ FLAGS_FOR_TARGET=-F$SDKROOT/System/Library/Frameworks \
304304+ )
305305+ fi
306306+ '';
307307+308308+ dontDisableStatic = true;
309309+310310+ configureFlags = "
311311+ ${if stdenv.isSunOS then
312312+ " --enable-long-long --enable-libssp --enable-threads=posix --disable-nls --enable-__cxa_atexit " +
313313+ # On Illumos/Solaris GNU as is preferred
314314+ " --with-gnu-as --without-gnu-ld "
315315+ else ""}
316316+ --enable-lto
317317+ ${if enableMultilib then "--disable-libquadmath" else "--disable-multilib"}
318318+ ${if enableShared then "" else "--disable-shared"}
319319+ ${if enablePlugin then "--enable-plugin" else "--disable-plugin"}
320320+ ${optionalString (isl != null) "--with-isl=${isl}"}
321321+ ${if langJava then
322322+ "--with-ecj-jar=${javaEcj} " +
323323+324324+ # Follow Sun's layout for the convenience of IcedTea/OpenJDK. See
325325+ # <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-April/008888.html>.
326326+ "--enable-java-home --with-java-home=\${prefix}/lib/jvm/jre "
327327+ else ""}
328328+ ${if javaAwtGtk then "--enable-java-awt=gtk" else ""}
329329+ ${if langJava && javaAntlr != null then "--with-antlr-jar=${javaAntlr}" else ""}
330330+ --with-gmp=${gmp}
331331+ --with-mpfr=${mpfr}
332332+ --with-mpc=${libmpc}
333333+ ${if libelf != null then "--with-libelf=${libelf}" else ""}
334334+ --disable-libstdcxx-pch
335335+ --without-included-gettext
336336+ --with-system-zlib
337337+ --enable-static
338338+ --enable-languages=${
339339+ concatStrings (intersperse ","
340340+ ( optional langC "c"
341341+ ++ optional langCC "c++"
342342+ ++ optional langFortran "fortran"
343343+ ++ optional langJava "java"
344344+ ++ optional langAda "ada"
345345+ ++ optional langVhdl "vhdl"
346346+ ++ optional langGo "go"
347347+ ++ optional langObjC "objc"
348348+ ++ optional langObjCpp "obj-c++"
349349+ ++ optionals crossDarwin [ "objc" "obj-c++" ]
350350+ )
351351+ )
352352+ }
353353+ ${if (stdenv ? glibc && cross == null)
354354+ then " --with-native-system-header-dir=${stdenv.glibc}/include"
355355+ else ""}
356356+ ${if langAda then " --enable-libada" else ""}
357357+ ${if cross == null && stdenv.isi686 then "--with-arch=i686" else ""}
358358+ ${if cross != null then crossConfigureFlags else ""}
359359+ ${if !bootstrap then "--disable-bootstrap" else ""}
360360+ ${if cross == null then platformFlags else ""}
361361+ ";
362362+363363+ targetConfig = if cross != null then cross.config else null;
364364+365365+ buildFlags = if bootstrap then
366366+ (if profiledCompiler then "profiledbootstrap" else "bootstrap")
367367+ else "";
368368+369369+ installTargets =
370370+ if stripped
371371+ then "install-strip"
372372+ else "install";
373373+374374+ crossAttrs = let
375375+ xgccArch = stdenv.cross.gcc.arch or null;
376376+ xgccCpu = stdenv.cross.gcc.cpu or null;
377377+ xgccAbi = stdenv.cross.gcc.abi or null;
378378+ xgccFpu = stdenv.cross.gcc.fpu or null;
379379+ xgccFloat = stdenv.cross.gcc.float or null;
380380+ xwithArch = if xgccArch != null then " --with-arch=${xgccArch}" else "";
381381+ xwithCpu = if xgccCpu != null then " --with-cpu=${xgccCpu}" else "";
382382+ xwithAbi = if xgccAbi != null then " --with-abi=${xgccAbi}" else "";
383383+ xwithFpu = if xgccFpu != null then " --with-fpu=${xgccFpu}" else "";
384384+ xwithFloat = if xgccFloat != null then " --with-float=${xgccFloat}" else "";
385385+ in {
386386+ AR = "${stdenv.cross.config}-ar";
387387+ LD = "${stdenv.cross.config}-ld";
388388+ CC = "${stdenv.cross.config}-gcc";
389389+ CXX = "${stdenv.cross.config}-gcc";
390390+ AR_FOR_TARGET = "${stdenv.cross.config}-ar";
391391+ LD_FOR_TARGET = "${stdenv.cross.config}-ld";
392392+ CC_FOR_TARGET = "${stdenv.cross.config}-gcc";
393393+ NM_FOR_TARGET = "${stdenv.cross.config}-nm";
394394+ CXX_FOR_TARGET = "${stdenv.cross.config}-g++";
395395+ # If we are making a cross compiler, cross != null
396396+ NIX_CC_CROSS = if cross == null then "${stdenv.ccCross}" else "";
397397+ dontStrip = true;
398398+ configureFlags = ''
399399+ ${if enableMultilib then "" else "--disable-multilib"}
400400+ ${if enableShared then "" else "--disable-shared"}
401401+ ${if langJava then "--with-ecj-jar=${javaEcj.crossDrv}" else ""}
402402+ ${if javaAwtGtk then "--enable-java-awt=gtk" else ""}
403403+ ${if langJava && javaAntlr != null then "--with-antlr-jar=${javaAntlr.crossDrv}" else ""}
404404+ --with-gmp=${gmp.crossDrv}
405405+ --with-mpfr=${mpfr.crossDrv}
406406+ --disable-libstdcxx-pch
407407+ --without-included-gettext
408408+ --with-system-zlib
409409+ --enable-languages=${
410410+ concatStrings (intersperse ","
411411+ ( optional langC "c"
412412+ ++ optional langCC "c++"
413413+ ++ optional langFortran "fortran"
414414+ ++ optional langJava "java"
415415+ ++ optional langAda "ada"
416416+ ++ optional langVhdl "vhdl"
417417+ ++ optional langGo "go"
418418+ )
419419+ )
420420+ }
421421+ ${if langAda then " --enable-libada" else ""}
422422+ --target=${stdenv.cross.config}
423423+ ${xwithArch}
424424+ ${xwithCpu}
425425+ ${xwithAbi}
426426+ ${xwithFpu}
427427+ ${xwithFloat}
428428+ '';
429429+ buildFlags = "";
430430+ };
431431+432432+433433+ # Needed for the cross compilation to work
434434+ AR = "ar";
435435+ LD = "ld";
436436+ # http://gcc.gnu.org/install/specific.html#x86-64-x-solaris210
437437+ CC = if stdenv.system == "x86_64-solaris" then "gcc -m64" else "gcc";
438438+439439+ # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find
440440+ # the library headers and binaries, regarless of the language being
441441+ # compiled.
442442+443443+ # Note: When building the Java AWT GTK+ peer, the build system doesn't
444444+ # honor `--with-gmp' et al., e.g., when building
445445+ # `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just
446446+ # add them to $CPATH and $LIBRARY_PATH in this case.
447447+ #
448448+ # Likewise, the LTO code doesn't find zlib.
449449+450450+ CPATH = concatStrings
451451+ (intersperse ":" (map (x: x + "/include")
452452+ (optionals (zlib != null) [ zlib ]
453453+ ++ optionals langJava [ boehmgc ]
454454+ ++ optionals javaAwtGtk xlibs
455455+ ++ optionals javaAwtGtk [ gmp mpfr ]
456456+ ++ optional (libpthread != null) libpthread
457457+ ++ optional (libpthreadCross != null) libpthreadCross
458458+459459+ # On GNU/Hurd glibc refers to Mach & Hurd
460460+ # headers.
461461+ ++ optionals (libcCross != null && libcCross ? "propagatedBuildInputs" )
462462+ libcCross.propagatedBuildInputs)));
463463+464464+ LIBRARY_PATH = concatStrings
465465+ (intersperse ":" (map (x: x + "/lib")
466466+ (optionals (zlib != null) [ zlib ]
467467+ ++ optionals langJava [ boehmgc ]
468468+ ++ optionals javaAwtGtk xlibs
469469+ ++ optionals javaAwtGtk [ gmp mpfr ]
470470+ ++ optional (libpthread != null) libpthread)));
471471+472472+ EXTRA_TARGET_CFLAGS =
473473+ if cross != null && libcCross != null
474474+ then "-idirafter ${libcCross}/include"
475475+ else null;
476476+477477+ EXTRA_TARGET_LDFLAGS =
478478+ if cross != null && libcCross != null
479479+ then "-B${libcCross}/lib -Wl,-L${libcCross}/lib" +
480480+ (optionalString (libpthreadCross != null)
481481+ " -L${libpthreadCross}/lib -Wl,${libpthreadCross.TARGET_LDFLAGS}")
482482+ else null;
483483+484484+ passthru =
485485+ { inherit langC langCC langObjC langObjCpp langAda langFortran langVhdl langGo version; isGNU = true; };
486486+487487+ inherit enableParallelBuilding enableMultilib;
488488+489489+ inherit (stdenv) is64bit;
490490+491491+ meta = {
492492+ homepage = http://gcc.gnu.org/;
493493+ license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
494494+ description = "GNU Compiler Collection, version ${version}"
495495+ + (if stripped then "" else " (with debugging info)");
496496+497497+ longDescription = ''
498498+ The GNU Compiler Collection includes compiler front ends for C, C++,
499499+ Objective-C, Fortran, OpenMP for C/C++/Fortran, Java, and Ada, as well
500500+ as libraries for these languages (libstdc++, libgcj, libgomp,...).
501501+502502+ GCC development is a part of the GNU Project, aiming to improve the
503503+ compiler used in the GNU system including the GNU/Linux variant.
504504+ '';
505505+506506+ maintainers = with stdenv.lib.maintainers; [ viric shlevy simons ];
507507+508508+ # gnatboot is not available out of linux platforms, so we disable the darwin build
509509+ # for the gnat (ada compiler).
510510+ platforms =
511511+ stdenv.lib.platforms.linux ++
512512+ stdenv.lib.platforms.freebsd ++
513513+ optionals (langAda == false) stdenv.lib.platforms.darwin;
514514+ };
515515+}
516516+517517+// optionalAttrs (cross != null && cross.libc == "msvcrt" && crossStageStatic) {
518518+ makeFlags = [ "all-gcc" "all-target-libgcc" ];
519519+ installTargets = "install-gcc install-target-libgcc";
520520+}
521521+522522+# Strip kills static libs of other archs (hence cross != null)
523523+// optionalAttrs (!stripped || cross != null) { dontStrip = true; NIX_STRIP_DEBUG = 0; }
524524+525525+// optionalAttrs (enableMultilib) { dontMoveLib64 = true; }
526526+)
···11+This patch fixes interaction with Libtool.
22+See <http://thread.gmane.org/gmane.comp.gcc.patches/258777>, for details.
33+44+--- a/gcc/fortran/gfortranspec.c
55++++ b/gcc/fortran/gfortranspec.c
66+@@ -461,8 +461,15 @@ For more information about these matters, see the file named COPYING\n\n"));
77+ {
88+ fprintf (stderr, _("Driving:"));
99+ for (i = 0; i < g77_newargc; i++)
1010++ {
1111++ if (g77_new_decoded_options[i].opt_index == OPT_l)
1212++ /* Make sure no white space is inserted after `-l'. */
1313++ fprintf (stderr, " -l%s",
1414++ g77_new_decoded_options[i].canonical_option[1]);
1515++ else
1616+ fprintf (stderr, " %s",
1717+ g77_new_decoded_options[i].orig_option_with_args_text);
1818++ }
1919+ fprintf (stderr, "\n");
2020+ }
···11+diff --git a/libada/Makefile.in b/libada/Makefile.in
22+index f5057a0..337e0c6 100644
33+--- a/libada/Makefile.in
44++++ b/libada/Makefile.in
55+@@ -55,7 +55,7 @@ GCC_WARN_CFLAGS = $(LOOSE_WARN)
66+ WARN_CFLAGS = @warn_cflags@
77+88+ TARGET_LIBGCC2_CFLAGS=
99+-GNATLIBCFLAGS= -g -O2
1010++GNATLIBCFLAGS= -g -O2 $(CFLAGS)
1111+ GNATLIBCFLAGS_FOR_C = $(GNATLIBCFLAGS) $(TARGET_LIBGCC2_CFLAGS) -fexceptions \
1212+ -DIN_RTS @have_getipinfo@
1313+1414+--- a/gcc/ada/gcc-interface/Makefile.in
1515++++ b/gcc/ada/gcc-interface/Makefile.in
1616+@@ -105,7 +105,7 @@ ADAFLAGS = -W -Wall -gnatpg -gnata
1717+ SOME_ADAFLAGS =-gnata
1818+ FORCE_DEBUG_ADAFLAGS = -g
1919+ GNATLIBFLAGS = -gnatpg -nostdinc
2020+-GNATLIBCFLAGS = -g -O2
2121++GNATLIBCFLAGS = -g -O2 $(CFLAGS_FOR_TARGET)
2222+ # Pretend that _Unwind_GetIPInfo is available for the target by default. This
2323+ # should be autodetected during the configuration of libada and passed down to
2424+ # here, but we need something for --disable-libada and hope for the best.
2525+@@ -193,7 +193,7 @@ RTSDIR = rts$(subst /,_,$(MULTISUBDIR))
2626+ # Link flags used to build gnat tools. By default we prefer to statically
2727+ # link with libgcc to avoid a dependency on shared libgcc (which is tricky
2828+ # to deal with as it may conflict with the libgcc provided by the system).
2929+-GCC_LINK_FLAGS=-static-libgcc
3030++GCC_LINK_FLAGS=-static-libgcc $(CFLAGS_FOR_TARGET)
3131+3232+ # End of variables for you to override.
3333+
···122122 };
123123124124 homepage = "https://github.com/ghcjs/ghcjs";
125125- description = "GHCJS is a Haskell to JavaScript compiler that uses the GHC API";
125125+ description = "A Haskell to JavaScript compiler that uses the GHC API";
126126 license = stdenv.lib.licenses.bsd3;
127127 platforms = ghc.meta.platforms;
128128 maintainers = with stdenv.lib.maintainers; [ jwiegley cstrahan ];
+1-1
pkgs/development/compilers/gwt/2.4.0.nix
···18181919 meta = {
2020 homepage = http://code.google.com/webtoolkit/;
2121- description = "Google Web Toolkit (GWT) is a development toolkit for building and optimizing complex browser-based applications";
2121+ description = "A development toolkit for building and optimizing complex browser-based applications";
2222 };
2323}
+1-1
pkgs/development/compilers/scala/2.10.nix
···2121 '';
22222323 meta = {
2424- description = "Scala is a general purpose programming language";
2424+ description = "A general purpose programming language";
2525 longDescription = ''
2626 Scala is a general purpose programming language designed to express
2727 common programming patterns in a concise, elegant, and type-safe way.
+1-1
pkgs/development/compilers/scala/2.9.nix
···1818 '';
19192020 meta = {
2121- description = "Scala is a general purpose programming language";
2121+ description = "A general purpose programming language";
2222 longDescription = ''
2323 Scala is a general purpose programming language designed to express
2424 common programming patterns in a concise, elegant, and type-safe way.
+1-1
pkgs/development/compilers/yap/default.nix
···15151616 meta = {
1717 homepage = "http://www.dcc.fc.up.pt/~vsc/Yap/";
1818- description = "Yap Prolog System is a ISO-compatible high-performance Prolog compiler";
1818+ description = "A ISO-compatible high-performance Prolog compiler";
1919 license = stdenv.lib.licenses.artistic2;
20202121 maintainers = [ stdenv.lib.maintainers.simons ];
+1-1
pkgs/development/coq-modules/bedrock/default.nix
···28282929 meta = with stdenv.lib; {
3030 homepage = http://plv.csail.mit.edu/bedrock/;
3131- description = "Bedrock is a library that turns Coq into a tool much like classical verification systems";
3131+ description = "A library that turns Coq into a tool much like classical verification systems";
3232 maintainers = with maintainers; [ jwiegley ];
3333 platforms = coq.meta.platforms;
3434 };
+1-1
pkgs/development/coq-modules/fiat/default.nix
···33333434 meta = with stdenv.lib; {
3535 homepage = http://plv.csail.mit.edu/fiat/;
3636- description = "Fiat is a library for the Coq proof assistant for synthesizing efficient correct-by-construction programs from declarative specifications";
3636+ description = "A library for the Coq proof assistant for synthesizing efficient correct-by-construction programs from declarative specifications";
3737 maintainers = with maintainers; [ jwiegley ];
3838 platforms = coq.meta.platforms;
3939 };
+1-1
pkgs/development/coq-modules/flocq/default.nix
···25252626 meta = with stdenv.lib; {
2727 homepage = http://flocq.gforge.inria.fr/;
2828- description = "Flocq (Floats for Coq) is a floating-point formalization for the Coq system";
2828+ description = "A floating-point formalization for the Coq system";
2929 license = licenses.lgpl3;
3030 maintainers = with maintainers; [ jwiegley ];
3131 platforms = coq.meta.platforms;
+1-1
pkgs/development/coq-modules/paco/default.nix
···23232424 meta = with stdenv.lib; {
2525 homepage = http://plv.mpi-sws.org/paco/;
2626- description = "Paco is a Coq library implementing parameterized coinduction";
2626+ description = "A Coq library implementing parameterized coinduction";
2727 maintainers = with maintainers; [ jwiegley ];
2828 platforms = coq.meta.platforms;
2929 };
+1-1
pkgs/development/coq-modules/tlc/default.nix
···21212222 meta = with stdenv.lib; {
2323 homepage = http://www.chargueraud.org/softs/tlc/;
2424- description = "TLC is a general purpose Coq library that provides an alternative to Coq's standard library";
2424+ description = "A general purpose Coq library that provides an alternative to Coq's standard library";
2525 maintainers = with maintainers; [ jwiegley ];
2626 platforms = coq.meta.platforms;
2727 };
+1-1
pkgs/development/coq-modules/ynot/default.nix
···24242525 meta = with stdenv.lib; {
2626 homepage = http://ynot.cs.harvard.edu/;
2727- description = "Ynot is a library for writing and verifying imperative programs";
2727+ description = "A library for writing and verifying imperative programs";
2828 maintainers = with maintainers; [ jwiegley ];
2929 platforms = coq.meta.platforms;
3030 };
···1717 buildInputs = [ unzip cmake boost ];
18181919 meta = with stdenv.lib; {
2020- description = "Open Asset Import Library is a library to import various 3D model formats";
2020+ description = "A library to import various 3D model formats";
2121 homepage = http://assimp.sourceforge.net/;
2222 license = licenses.bsd3;
2323 maintainers = with maintainers; [ emery ];
+4-6
pkgs/development/libraries/c-ares/default.nix
···88 sha256 = "1nyka87yf2jfd0y6sspll0yxwb8zi7kyvajrdbjmh4axc5s1cw1x";
99 };
10101111- meta = {
1111+ meta = with stdenv.lib; {
1212 description = "A C library for asynchronous DNS requests";
1313-1413 homepage = http://c-ares.haxx.se;
1515-1616- license = stdenv.lib.licenses.mit;
1717-1818- maintainers = [ stdenv.lib.maintainers.shlevy ];
1414+ license = licenses.mit;
1515+ platforms = platforms.all;
1616+ maintainers = with maintainers; [ shlevy ];
1917 };
2018}
+1-1
pkgs/development/libraries/fcgi/default.nix
···1313 postInstall = "ln -s . $out/include/fastcgi";
14141515 meta = with stdenv.lib; {
1616- description = "FastCGI is a language independent, scalable, open extension to CG";
1616+ description = "A language independent, scalable, open extension to CG";
1717 homepage = http://www.fastcgi.com/;
1818 license = "FastCGI see LICENSE.TERMS";
1919 platforms = platforms.all;
+1-1
pkgs/development/libraries/fox/fox-1.6.nix
···22222323 meta = {
2424 branch = "1.6";
2525- description = "FOX is a C++ based class library for building Graphical User Interfaces";
2525+ description = "A C++ based class library for building Graphical User Interfaces";
2626 longDescription = ''
2727 FOX stands for Free Objects for X.
2828 It is a C++ based class library for building Graphical User Interfaces.
+1-1
pkgs/development/libraries/giflib/5.0.nix
···991010 buildInputs = [ xmlto docbook_xml_dtd_412 docbook_xsl libxml2 ];
1111 meta = {
1212- description = "giflib is a library for reading and writing gif images";
1212+ description = "A library for reading and writing gif images";
1313 platforms = stdenv.lib.platforms.unix;
1414 license = stdenv.lib.licenses.mit;
1515 maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
+1-1
pkgs/development/libraries/giflib/5.1.nix
···991010 buildInputs = [ xmlto docbook_xml_dtd_412 docbook_xsl libxml2 ];
1111 meta = {
1212- description = "giflib is a library for reading and writing gif images";
1212+ description = "A library for reading and writing gif images";
1313 platforms = stdenv.lib.platforms.unix;
1414 license = stdenv.lib.licenses.mit;
1515 maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
+22
pkgs/development/libraries/isl/0.14.1.nix
···11+{ stdenv, fetchurl, gmp }:
22+33+stdenv.mkDerivation rec {
44+ name = "isl-0.14.1";
55+66+ src = fetchurl {
77+ url = "http://isl.gforge.inria.fr/${name}.tar.xz";
88+ sha256 = "0xa6xagah5rywkywn19rzvbvhfvkmylhcxr6z9z7bz29cpiwk0l8";
99+ };
1010+1111+ buildInputs = [ gmp ];
1212+1313+ enableParallelBuilding = true;
1414+1515+ meta = {
1616+ homepage = http://www.kotnet.org/~skimo/isl/;
1717+ license = stdenv.lib.licenses.lgpl21;
1818+ description = "A library for manipulating sets and relations of integer points bounded by linear constraints";
1919+ maintainers = [ stdenv.lib.maintainers.shlevy ];
2020+ platforms = stdenv.lib.platforms.all;
2121+ };
2222+}
+4-2
pkgs/development/libraries/jansson/default.nix
···88 sha256 = "1mvq9p85khsl818i4vbszyfab0fd45mdrwrxjkzw05mk1xcyc1br";
99 };
10101111- meta = {
1111+ meta = with stdenv.lib; {
1212 homepage = "http://www.digip.org/jansson/";
1313 description = "C library for encoding, decoding and manipulating JSON data";
1414- license = stdenv.lib.licenses.mit;
1414+ license = licenses.mit;
1515+ platforms = platforms.all;
1616+ maintainers = with maintainers; [ wkennington ];
1517 };
1618}
+1-1
pkgs/development/libraries/lame/default.nix
···5353 ];
54545555 meta = {
5656- description = "LAME is a high quality MPEG Audio Layer III (MP3) encoder";
5656+ description = "A high quality MPEG Audio Layer III (MP3) encoder";
5757 homepage = http://lame.sourceforge.net;
5858 license = licenses.lgpl2;
5959 maintainers = with maintainers; [ codyopel ];
···1212 };
13131414 meta = with stdenv.lib; {
1515- description = "NPAPI-SDK is a bundle of NPAPI headers by Mozilla";
1515+ description = "A bundle of NPAPI headers by Mozilla";
16161717 homepage = https://code.google.com/p/npapi-sdk/;
1818 license = licenses.bsd3;
···9292 '';
93939494 meta = {
9595- description = "A toolkit for the simulation of the passage of particles through matter.";
9595+ description = "A toolkit for the simulation of the passage of particles through matter";
9696 longDescription = ''
9797 Geant4 is a toolkit for the simulation of the passage of particles through matter.
9898 Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science.
···129129 '';
130130131131 meta = {
132132- description = "Data files for the Geant4 toolkit.";
132132+ description = "Data files for the Geant4 toolkit";
133133 homepage = http://www.geant4.org;
134134 license = stdenv.lib.licenses.g4sl;
135135 maintainers = [ ];
···4545 '';
46464747 meta = {
4848- description = "Python bindings and utilities for Geant4.";
4848+ description = "Python bindings and utilities for Geant4";
4949 longDescription = ''
5050 Geant4 is a toolkit for the simulation of the passage of particles through matter.
5151 Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science.
···2424 enableParallelBuilding = true;
25252626 meta = {
2727- description = "This project is a QML port of qtermwidget";
2727+ description = "A QML port of qtermwidget";
2828 homepage = "https://github.com/Swordifish90/qmltermwidget";
2929 license = with stdenv.lib.licenses; [ gpl2 ];
3030 platforms = stdenv.lib.platforms.linux;
+1-1
pkgs/development/libraries/urt/default.nix
···56565757 meta = {
5858 homepage = http://www.cs.utah.edu/gdc/projects/urt/;
5959- description = "The Utah Raster Toolkit is a library for dealing with raster images";
5959+ description = "A library for dealing with raster images";
6060 };
6161}
+1-1
pkgs/development/lisp-modules/lisp-packages.nix
···9898 clx-truetype = buildLispPackage rec {
9999 baseName = "clx-truetype";
100100 version = "git-20141112";
101101- description = "clx-truetype is pure common lisp solution for antialiased TrueType font rendering using CLX and XRender extension";
101101+ description = "A pure Common Lisp solution for antialiased TrueType font rendering using CLX and the XRender extension";
102102 deps = [cl-fad cl-store cl-vectors clx trivial-features zpb-ttf];
103103 # Source type: git
104104 src = pkgs.fetchgit {
···29293030 meta = {
3131 homepage = http://gmetadom.sourceforge.net/;
3232- description = "GMetaDOM is a collection of librares, each library providing a DOM implementation";
3232+ description = "A collection of librares, each library providing a DOM implementation";
3333 license = stdenv.lib.licenses.lgpl21Plus;
3434 maintainers = [ stdenv.lib.maintainers.roconnor ];
3535 };
···17171818 meta = {
1919 homepage = "http://ocaml-text.forge.ocamlcore.org/";
2020- description = "OCaml-Text is a library for dealing with ``text'', i.e. sequence of unicode characters, in a convenient way. ";
2020+ description = "A library for convenient text manipulation";
2121 license = stdenv.lib.licenses.bsd3;
2222 platforms = ocaml.meta.platforms;
2323 };
···12121313 meta = {
1414 homepage = http://sourceforge.net/projects/checkbaskisms/;
1515- description = "Performs basic checks on shell scripts for the presence of non portable syntax";
1515+ description = "Check shell scripts for non-portable syntax";
1616 license = stdenv.lib.licenses.gpl2;
1717 };
1818
+1-1
pkgs/development/tools/ocaml/camlidl/default.nix
···3737 '';
38383939 meta = {
4040- description = "CamlIDL is a stub code generator and COM binding for Objective Caml";
4040+ description = "A stub code generator and COM binding for Objective Caml";
4141 homepage = "${webpage}";
4242 license = "LGPL";
4343 maintainers = [ stdenv.lib.maintainers.roconnor ];
+9-7
pkgs/development/tools/parsing/hammer/default.nix
···1515 installPhase = "scons prefix=$out install";
16161717 meta = with stdenv.lib; {
1818- description = "Hammer is a parsing library";
1919- longDescription = "Hammer is a parsing library. Like many modern parsing libraries,
2020- it provides a parser combinator interface for writing grammars
2121- as inline domain-specific languages, but Hammer also provides a
2222- variety of parsing backends. It's also bit-oriented rather than
2323- character-oriented, making it ideal for parsing binary data such
2424- as images, network packets, audio, and executables.";
1818+ description = "A bit-oriented parser combinator library";
1919+ longDescription = ''
2020+ Hammer is a parsing library. Like many modern parsing libraries,
2121+ it provides a parser combinator interface for writing grammars
2222+ as inline domain-specific languages, but Hammer also provides a
2323+ variety of parsing backends. It's also bit-oriented rather than
2424+ character-oriented, making it ideal for parsing binary data such
2525+ as images, network packets, audio, and executables.
2626+ '';
2527 homepage = https://github.com/UpstandingHackers/hammer;
2628 license = licenses.gpl2;
2729 platforms = platforms.linux;
···2727 '';
28282929 meta = {
3030- description = "SuperTuxKart is a Free 3D kart racing game";
3030+ description = "A Free 3D kart racing game";
3131 longDescription = ''
3232 SuperTuxKart is a Free 3D kart racing game, with many tracks,
3333 characters and items for you to try, similar in spirit to Mario
+5-5
pkgs/misc/emulators/cdemu/base.nix
···1616 configurePhase = ''
1717 cmake ../${name} -DCMAKE_INSTALL_PREFIX=$out -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=ON
1818 '';
1919- meta = {
2020- description = "A Software suite designed to emulate an optical drive and disc (including CD-ROMs and DVD-ROMs) on the Linux operating system";
1919+ meta = with stdenv.lib; {
2020+ description = "A suite of tools for emulating optical drives and discs";
2121 longDescription = ''
2222 CDEmu consists of:
2323···29293030 Optical media emulated by CDemu can be mounted within Linux. Automounting is also allowed.
3131 '';
3232- homepage = "http://cdemu.sourceforge.net/";
3333- license = stdenv.lib.licenses.gpl2Plus;
3434- platforms = stdenv.lib.platforms.linux;
3232+ homepage = http://cdemu.sourceforge.net/;
3333+ license = licenses.gpl2Plus;
3434+ platforms = platforms.linux;
3535 maintainers = [ "Rok Mandeljc <mrok AT users DOT sourceforge DOT net>" ];
3636 };
3737} // drvParams)
···36363737 meta = with stdenv.lib; {
3838 homepage = http://fusionio.com;
3939- description = "Fusionio command line utilities.";
3939+ description = "Fusionio command line utilities";
4040 license = licenses.unfree;
4141 platforms = [ "x86_64-linux" ];
4242 broken = stdenv.system != "x86_64-linux";
+1-1
pkgs/os-specific/linux/hal-flash/default.nix
···14141515 meta = with stdenv.lib; {
1616 homepage = https://github.com/cshorler/hal-flash;
1717- description = "libhal stub library to satisfy the Flash Player DRM requirements.";
1717+ description = "libhal stub library to satisfy the Flash Player DRM requirements";
1818 longDescription =
1919 ''
2020 Stub library based loosely upon libhal.[ch] from the hal-0.5.14
···11{ stdenv, fetchFromGitHub }:
2233-let version = "116"; in
33+let version = "117"; in
44stdenv.mkDerivation {
55 name = "mcelog-${version}";
6677 src = fetchFromGitHub {
88- sha256 = "0nr3b924ardz9c1skna8finrjq22ac2vihp3zck9jixc9d5mvrmf";
88+ sha256 = "0szc5s0bag16ypna336spwb5fagwbxaparn0h78w73wv05kcvwqw";
99 rev = "v${version}";
1010 repo = "mcelog";
1111 owner = "andikleen";
+2-2
pkgs/servers/mail/exim/default.nix
···5454 '';
55555656 meta = {
5757- homepage = "http://exim.org/";
5858- description = "A mail transfer agent (MTA) for hosts that are running Unix or Unix-like operating systems";
5757+ homepage = http://exim.org/;
5858+ description = "A mail transfer agent (MTA)";
5959 license = stdenv.lib.licenses.gpl3;
6060 platforms = stdenv.lib.platforms.linux;
6161 maintainers = [ stdenv.lib.maintainers.tv ];
+1-1
pkgs/servers/nosql/hyperdex/busybee.nix
···2121 preConfigure = "autoreconf -i";
22222323 meta = with stdenv.lib; {
2424- description = "BusyBee is a high-performance messaging layer.";
2424+ description = "A high-performance messaging layer";
2525 homepage = https://github.com/rescrv/busybee;
2626 license = licenses.bsd3;
2727 };
+1-1
pkgs/servers/nosql/hyperdex/default.nix
···5050 preConfigure = "autoreconf -fi";
51515252 meta = with stdenv.lib; {
5353- description = "HyperDex is a scalable, searchable key-value store";
5353+ description = "A scalable, searchable key-value store";
5454 homepage = http://hyperdex.org;
5555 license = licenses.bsd3;
5656 };
+1-1
pkgs/servers/nosql/hyperdex/replicant.nix
···2525 preConfigure = "autoreconf -i";
26262727 meta = with stdenv.lib; {
2828- description = "A system for maintaining replicated state machines.";
2828+ description = "A system for maintaining replicated state machines";
2929 homepage = https://github.com/rescrv/Replicant;
3030 license = licenses.bsd3;
3131 };
+1-1
pkgs/servers/sql/monetdb/default.nix
···3434 '';
35353636 meta = {
3737- description = "MonetDB is a open-source database system for high-performance applications in data mining, OLAP, GIS, XML Query, text and multimedia retrieval";
3737+ description = "A open-source database system for high-performance applications in data mining, OLAP, GIS, XML Query, text and multimedia retrieval";
3838 homepage = http://monetdb.cwi.nl/;
3939 license = "MonetDB Public License"; # very similar to Mozilla public license (MPL) Version see 1.1 http://monetdb.cwi.nl/Legal/MonetDBLicense-1.1.html
4040 };
···100100 '';
101101102102 meta = {
103103- description = "Storebackup is a backup suite that stores files on other disks";
103103+ description = "A backup suite that stores files on other disks";
104104 homepage = http://savannah.nongnu.org/projects/storebackup;
105105 license = stdenv.lib.licenses.gpl3Plus;
106106 maintainers = [stdenv.lib.maintainers.marcweber];
+28-5
pkgs/tools/cd-dvd/dvdisaster/default.nix
···11{ stdenv, fetchurl, pkgconfig, which, gettext, intltool
22, glib, gtk2
33+, enableSoftening ? true
34}:
4556stdenv.mkDerivation rec {
···1011 sha256 = "e9787dea39aeafa38b26604752561bc895083c17b588489d857ac05c58be196b";
1112 };
12131414+ patches = stdenv.lib.optional enableSoftening [
1515+ ./encryption.patch
1616+ ./dvdrom.patch
1717+ ];
1818+1319 postPatch = ''
1420 patchShebangs ./
2121+ sed -i 's/dvdisaster48.png/dvdisaster/' contrib/dvdisaster.desktop
1522 '';
16231724 # Explicit --docdir= is required for on-line help to work:
···2229 glib gtk2
2330 ];
24312525- meta = {
3232+ postInstall = ''
3333+ mkdir -pv $out/share/applications
3434+ cp contrib/dvdisaster.desktop $out/share/applications/
3535+3636+ for size in 16 24 32 48 64; do
3737+ mkdir -pv $out/share/icons/hicolor/"$size"x"$size"/apps/
3838+ cp contrib/dvdisaster"$size".png $out/share/icons/hicolor/"$size"x"$size"/apps/dvdisaster.png
3939+ done
4040+ '';
4141+4242+ meta = with stdenv.lib; {
2643 homepage = http://dvdisaster.net/;
2727- description =
2828- "Stores data on CD/DVD/BD in a way that it is fully recoverable even " +
2929- "after some read errors have developed";
3030- license = stdenv.lib.licenses.gpl2;
4444+ description = "Data loss/scratch/aging protection for CD/DVD media";
4545+ longDescription = ''
4646+ Dvdisaster provides a margin of safety against data loss on CD and
4747+ DVD media caused by scratches or aging media. It creates error correction
4848+ data which is used to recover unreadable sectors if the disc becomes
4949+ damaged at a later time.
5050+ '';
5151+ license = licenses.gpl2;
5252+ platforms = platforms.linux;
5353+ maintainers = with maintainers; [ jgeerds ];
3154 };
3255}
···49495050 meta = {
5151 homepage = http://help.yandex.com/disk/cli-clients.xml;
5252- description = "Yandex.Disk is a free cloud file storage service";
5252+ description = "A free cloud file storage service";
5353 maintainers = with stdenv.lib.maintainers; [smironov];
5454 platforms = ["i686-linux" "x86_64-linux"];
5555 license = stdenv.lib.licenses.unfree;
+33
pkgs/tools/misc/brltty/default.nix
···11+{ stdenv, fetchurl, pkgconfig, alsaSupport, alsaLib ? null, bluez }:
22+33+assert alsaSupport -> alsaLib != null;
44+55+stdenv.mkDerivation rec {
66+ name = "brltty-5.2";
77+88+ src = fetchurl {
99+ url = "http://brltty.com/archive/${name}.tar.gz";
1010+ sha256 = "1zaab5pxkqrv081n23p3am445d30gk0km4azqdirvcpw9z15q0cz";
1111+ };
1212+1313+ buildInputs = [ pkgconfig alsaLib bluez ]
1414+ ++ stdenv.lib.optional alsaSupport alsaLib;
1515+1616+ meta = {
1717+ description = "Access software for a blind person using a braille display";
1818+ longDescription = ''
1919+ BRLTTY is a background process (daemon) which provides access to the Linux/Unix
2020+ console (when in text mode) for a blind person using a refreshable braille display.
2121+ It drives the braille display, and provides complete screen review functionality.
2222+ Some speech capability has also been incorporated.
2323+ '';
2424+ homepage = http://www.brltty.com/;
2525+ license = stdenv.lib.licenses.gpl2;
2626+ maintainers = [ stdenv.lib.maintainers.bramd ];
2727+ platforms = stdenv.lib.platforms.all;
2828+ };
2929+3030+ patchPhase = ''
3131+ substituteInPlace configure --replace /sbin/ldconfig ldconfig
3232+ '';
3333+}
+1-1
pkgs/tools/networking/airfield/default.nix
···2929 passthru.names = ["Airfield"];
30303131 meta = {
3232- description = "Airfield is a web-interface for hipache-proxy";
3232+ description = "A web-interface for hipache-proxy";
3333 license = licenses.mit;
3434 homepage = https://github.com/emblica/airfield;
3535 maintainers = with maintainers; [offline];
+1-1
pkgs/tools/networking/bwm-ng/default.nix
···1111 buildInputs = [ ncurses ];
12121313 meta = with stdenv.lib; {
1414- description = "Bandwidth Monitor NG is a small and simple console-based live network and disk io bandwidth monitor";
1414+ description = "A small and simple console-based live network and disk io bandwidth monitor";
1515 homepage = "http://www.gropp.org/?id=projects&sub=bwm-ng";
1616 license = licenses.gpl2;
1717 platforms = platforms.unix;
+2-2
pkgs/tools/networking/curl/default.nix
···1616assert c-aresSupport -> c-ares != null;
17171818stdenv.mkDerivation rec {
1919- name = "curl-7.42.0";
1919+ name = "curl-7.42.1";
20202121 src = fetchurl {
2222 url = "http://curl.haxx.se/download/${name}.tar.bz2";
2323- sha256 = "13yhcqfksy2vwc4sjv97nv3cbd2pb2a8lnvv8g46qp1gail7sm9j";
2323+ sha256 = "11y8racpj6m4j9w7wa9sifmqvdgf22nk901sfkbxzhhy75rmk472";
2424 };
25252626 # Zlib and OpenSSL must be propagated because `libcurl.la' contains
+1-1
pkgs/tools/security/aide/default.nix
···19192020 meta = with stdenv.lib; {
2121 homepage = "http://aide.sourceforge.net/";
2222- description = "Advanced Intrusion Detection Environment (AIDE) is a file and directory integrity checker";
2222+ description = "A file and directory integrity checker";
2323 license = licenses.free;
2424 maintainers = [ maintainers.tstrobel ];
2525 platforms = platforms.linux;
+1-1
pkgs/tools/text/html2text/default.nix
···2121 '';
22222323 meta = {
2424- description = "A command line utility, written in C++, that converts HTML documents into plain text";
2424+ description = "Convert HTML to plain text";
2525 homepage = http://www.mbayer.de/html2text/;
2626 license = stdenv.lib.licenses.gpl2Plus;
2727 platforms = stdenv.lib.platforms.linux;