git.iko.soy/typeable/nixpkgs
on master help sign in
Revert "Revert "Merge pull request #9543 from NixOS/staging.post-15.06""

This reverts commit 741bf840dad05cd1728481045466811ae8ae8281. This reverts the fallout from reverting the major changes.

commit6602f49495c94e8533c8b482698bcf570a8d8933 authorWilliam A. Kennington III <william@wkennington.com> dateSat 14 Nov 2015, 12:32 (11 years ago) parente4feccc
42 files changed+579−140
doc/haskell-users-guide.md+21 lib/maintainers.nix+2 nixos/modules/services/mail/opensmtpd.nix+19−1 nixos/modules/services/networking/networkmanager.nix+2−3 nixos/modules/tasks/network-interfaces.nix+1−1 pkgs/applications/audio/audacity/default.nix+5−3 pkgs/applications/audio/jackmix/default.nix+35 pkgs/applications/graphics/gimp/plugins/default.nix+1−1 pkgs/applications/graphics/hugin/default.nix+2−2 pkgs/applications/networking/ids/daq/default.nix+4−2 pkgs/applications/networking/iptraf-ng/default.nix+44 pkgs/applications/version-management/git-and-tools/git-hub/default.nix+15−15 pkgs/applications/version-management/subversion/default.nix+14−2 pkgs/applications/video/smplayer/default.nix+4−4 pkgs/build-support/build-fhs-chrootenv/env.nix+8 pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix+6−1 pkgs/development/libraries/glpk/default.nix+2−2 pkgs/development/libraries/libdnet/default.nix+2−2 pkgs/development/libraries/libunwind/native.nix−17 pkgs/development/libraries/neon/default.nix+3−2 pkgs/development/web/nodejs/default-arch.patch+24 pkgs/development/web/nodejs/default.nix+4−3 pkgs/development/web/nodejs/no-xcode.patch−21 pkgs/development/web/nodejs/pkg-libpath.patch+13 pkgs/development/web/nodejs/v0_10.nix+1−1 pkgs/misc/jackaudio/jack1.nix+2−1 pkgs/misc/urbit/default.nix+42 pkgs/os-specific/linux/miraclecast/default.nix+26 pkgs/os-specific/linux/nvidiabl/default.nix+2 pkgs/os-specific/linux/nvidiabl/linux4compat.patch+22 pkgs/os-specific/linux/syslinux/default.nix+1−2 pkgs/os-specific/linux/syslinux/gcc5-fix.patch−26 pkgs/os-specific/linux/systemd/default.nix+2−1 pkgs/servers/mail/opensmtpd/default.nix+5−2 pkgs/servers/mail/opensmtpd/extras.nix+79 pkgs/servers/mail/opensmtpd/proc_path.diff+76 pkgs/tools/filesystems/duff/default.nix+9−10 pkgs/tools/graphics/enblend-enfuse/default.nix+6−4 pkgs/tools/misc/heatseeker/default.nix+28 pkgs/top-level/all-packages.nix+21−6 pkgs/top-level/go-packages.nix+21 pkgs/top-level/perl-packages.nix+5−5
doc/haskell-users-guide.md+21
@@ -666,6 +666,27 @@ to find out the store path of the system's zlib library. Now, you can
666666 The same thing applies to `cabal configure`, of course, if you're
667667 building with `cabal-install` instead of Stack.
668668
669+## Creating statically linked binaries
670+
671+There are two levels of static linking. The first option is to configure the
672+build with the Cabal flag `--disable-executable-dynamic`. In Nix expressions,
673+this can be achieved by setting the attribute:
674+
675+ enableSharedExecutables = false;
676+
677+That gives you a binary with statically linked Haskell libraries and
678+dynamically linked system libraries.
679+
680+To link both Haskell libraries and system libraries statically, the additional
681+flags `--ghc-option=-optl=-static --ghc-option=-optl=-pthread` need to be used.
682+In Nix, this is accomplished with:
683+
684+ configureFlags = [ "--ghc-option=-optl=-static" "--ghc-option=-optl=-pthread" ];
685+
686+It's important to realize, however, that most system libraries in Nix are built
687+as shared libraries only, i.e. there is just no static library available that
688+Cabal could link!
689+
669690
670691# Other resources
671692
lib/maintainers.nix+2
@@ -150,6 +150,7 @@
150150 jwilberding = "Jordan Wilberding <jwilberding@afiniate.com>";
151151 jzellner = "Jeff Zellner <jeffz@eml.cc>";
152152 kamilchm = "Kamil Chmielewski <kamil.chm@gmail.com>";
153+ kampfschlaefer = "Arnold Krille <arnold@arnoldarts.de>";
153154 khumba = "Bryan Gardiner <bog@khumba.net>";
154155 kkallio = "Karn Kallio <tierpluspluslists@gmail.com>";
155156 koral = "Koral <koral@mailoo.org>";
@@ -188,6 +189,7 @@
188189 meditans = "Carlo Nucera <meditans@gmail.com>";
189190 meisternu = "Matt Miemiec <meister@krutt.org>";
190191 michelk = "Michel Kuhlmann <michel@kuhlmanns.info>";
192+ michaelpj = "Michael Peyton Jones <michaelpj@gmail.com>";
191193 mirdhyn = "Merlin Gaillard <mirdhyn@gmail.com>";
192194 mschristiansen = "Mikkel Christiansen <mikkel@rheosystems.com>";
193195 modulistic = "Pablo Costa <modulistic@gmail.com>";
nixos/modules/services/mail/opensmtpd.nix+19−1
@@ -46,6 +46,17 @@ in {
4646 is left empty, the OpenSMTPD server will not start.
4747 '';
4848 };
49+
50+ procPackages = mkOption {
51+ type = types.listOf types.path;
52+ default = [];
53+ description = ''
54+ Packages to search for filters, tables, queues, and schedulers.
55+
56+ Add OpenSMTPD-extras here if you want to use the filters, etc. from
57+ that package.
58+ '';
59+ };
4960 };
5061
5162 };
@@ -72,12 +83,19 @@ in {
7283 };
7384 };
7485
75− systemd.services.opensmtpd = {
86+ systemd.services.opensmtpd = let
87+ procEnv = pkgs.buildEnv {
88+ name = "opensmtpd-procs";
89+ paths = [ opensmtpd ] ++ cfg.procPackages;
90+ pathsToLink = [ "/libexec/opensmtpd" ];
91+ };
92+ in {
7693 wantedBy = [ "multi-user.target" ];
7794 wants = [ "network.target" ];
7895 after = [ "network.target" ];
7996 preStart = "mkdir -p /var/spool";
8097 serviceConfig.ExecStart = "${opensmtpd}/sbin/smtpd -d -f ${conf} ${args}";
98+ environment.OPENSMTPD_PROC_PATH = "${procEnv}/libexec/opensmtpd";
8199 };
82100
83101 environment.systemPackages = [ (pkgs.runCommand "opensmtpd-sendmail" {} ''
nixos/modules/services/networking/networkmanager.nix+2−3
@@ -72,11 +72,10 @@ let
7272 ${coreutils}/bin/rm -f $tmp $tmp.ns
7373 '';
7474
75− # pre-up and pre-down hooks were added in NM 0.9.10, but we still use 0.9.0
7675 dispatcherTypesSubdirMap = {
7776 "basic" = "";
78− /*"pre-up" = "pre-up.d/";
79− "pre-down" = "pre-down.d/";*/
77+ "pre-up" = "pre-up.d/";
78+ "pre-down" = "pre-down.d/";
8079 };
8180
8281in {
nixos/modules/tasks/network-interfaces.nix+1−1
@@ -59,7 +59,7 @@ let
5959 # place the interface which is named after the device at the beginning.
6060 wlanListDeviceFirst = device: interfaces:
6161 if hasAttr device interfaces
62− then [{"${device}"=interfaces.device; _iName=device;}] ++ mapAttrsToList (n: v: v//{_iName=n;}) (filterAttrs (n: _: n!=device) interfaces)
62+ then mapAttrsToList (n: v: v//{_iName=n;}) (filterAttrs (n: _: n==device) interfaces) ++ mapAttrsToList (n: v: v//{_iName=n;}) (filterAttrs (n: _: n!=device) interfaces)
6363 else mapAttrsToList (n: v: v // {_iName = n;}) interfaces;
6464
6565 # udev script that configures a physical wlan device and adds virtual interfaces
pkgs/applications/audio/audacity/default.nix+5−3
@@ -1,6 +1,6 @@
11{ stdenv, fetchurl, wxGTK, pkgconfig, gettext, gtk, glib, zlib, perl, intltool,
22 libogg, libvorbis, libmad, alsaLib, libsndfile, soxr, flac, lame,
3− expat, libid3tag, ffmpeg /*, portaudio - given up fighting their portaudio.patch */
3+ expat, libid3tag, ffmpeg, soundtouch /*, portaudio - given up fighting their portaudio.patch */
44 }:
55
66stdenv.mkDerivation rec {
@@ -19,11 +19,13 @@ stdenv.mkDerivation rec {
1919 rm -r lib-src-rm/
2020 '';
2121
22+ configureFlags = "--with-libsamplerate";
23+
2224 buildInputs = [
2325 pkgconfig gettext wxGTK gtk expat alsaLib
2426 libsndfile soxr libid3tag
25− ffmpeg libmad lame libvorbis flac
26− ]; #ToDo: soundtouch, detach sbsms
27+ ffmpeg libmad lame libvorbis flac soundtouch
28+ ]; #ToDo: detach sbsms
2729
2830 dontDisableStatic = true;
2931 doCheck = true;
pkgs/applications/audio/jackmix/default.nixnew file+35
@@ -0,0 +1,35 @@
1+{ stdenv, fetchurl, pkgs, jack ? pkgs.libjack2 }:
2+
3+stdenv.mkDerivation rec {
4+ name = "jackmix-0.5.2";
5+ src = fetchurl {
6+ url = https://github.com/kampfschlaefer/jackmix/archive/v0.5.2.tar.gz;
7+ sha256 = "18f5v7g66mgarhs476frvayhch7fy4nyjf2xivixc061ipn0m82j";
8+ };
9+
10+ buildInputs = [
11+ pkgs.pkgconfig
12+ pkgs.scons
13+ pkgs.kde4.qt4
14+ pkgs.lash
15+ jack
16+ ];
17+
18+ buildPhase = ''
19+ scons
20+ '';
21+ installPhase = ''
22+ mkdir -p $out/bin
23+ cp jackmix/jackmix $out/bin
24+ '';
25+
26+ meta = {
27+ description = "Matrix-Mixer for the Jack-Audio-connection-Kit";
28+ homepage = http://www.arnoldarts.de/jackmix/;
29+ license = stdenv.lib.licenses.gpl2;
30+ maintainers = [ stdenv.lib.maintainers.kampfschlaefer ];
31+ platforms = stdenv.lib.platforms.linux;
32+ };
33+}
34+
35+
pkgs/applications/graphics/gimp/plugins/default.nix+1−1
@@ -245,7 +245,7 @@ rec {
245245
246246 /* =============== simple script files ==================== */
247247
248− # also have a look at enblendenfuse in all-packages.nix
248+ # also have a look at enblend-enfuse in all-packages.nix
249249 exposureBlend = scriptDerivation {
250250 name = "exposure-blend";
251251 src = fetchurl {
pkgs/applications/graphics/hugin/default.nix+2−2
@@ -1,7 +1,7 @@
11{ stdenv, cmake, fetchurl, gnumake, pkgconfig
22, boost, gettext, tclap, wxGTK
33, freeglut, glew, libXi, libXmu, mesa
4−, autopanosiftc, enblendenfuse, exiv2, ilmbase, lensfun, libpng, libtiff
4+, autopanosiftc, enblend-enfuse, exiv2, ilmbase, lensfun, libpng, libtiff
55, openexr, panotools, perlPackages
66}:
77
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
2929
3030 # commandline tools needed by the hugin batch processor
3131 # you may have to tell hugin (in the preferences) where these binaries reside
32− propagatedUserEnvPackages = [ autopanosiftc enblendenfuse gnumake
32+ propagatedUserEnvPackages = [ autopanosiftc enblend-enfuse gnumake
3333 perlPackages.ImageExifTool
3434 ];
3535
pkgs/applications/networking/ids/daq/default.nix+4−2
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, flex, bison, libpcap}:
1+{stdenv, fetchurl, flex, bison, libpcap, libdnet, libnfnetlink, libnetfilter_queue}:
22
33stdenv.mkDerivation rec {
44 name = "daq-2.0.5";
@@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
99 sha256 = "0vdwb0r9kdlgj4g0i0swafbc7qik0zmks17mhqji8cl7hpdva13p";
1010 };
1111
12− buildInputs = [ flex bison libpcap ];
12+ buildInputs = [ flex bison libpcap libdnet libnfnetlink libnetfilter_queue];
13+
14+ configureFlags = "--enable-nfq-module=yes --with-dnet-includes=${libdnet}/includes --with-dnet-libraries=${libdnet}/lib";
1315
1416 meta = {
1517 description = "Data AcQuisition library (DAQ), for packet I/O";
pkgs/applications/networking/iptraf-ng/default.nixnew file+44
@@ -0,0 +1,44 @@
1+{ stdenv, fetchurl, ncurses }:
2+
3+stdenv.mkDerivation rec {
4+ version = "1.1.4";
5+ name = "iptraf-ng-${version}";
6+
7+ src = fetchurl {
8+ url = "https://fedorahosted.org/releases/i/p/iptraf-ng/${name}.tar.gz";
9+ sha256 = "02gb8z9h2s6s1ybyikywz7jgb1mafdx88hijfasv3khcgkq0q53r";
10+ };
11+
12+ buildInputs = [ ncurses ];
13+
14+ configurePhase = ''
15+ ./configure --prefix=$out/usr --sysconfdir=$out/etc \
16+ --localstatedir=$out/var --sbindir=$out/bin
17+ '';
18+
19+ meta = {
20+ description = "A console-based network monitoring utility (fork of iptraf)";
21+ longDescription = ''
22+ IPTraf-ng is a console-based network monitoring utility. IPTraf-ng
23+ gathers data like TCP connection packet and byte counts, interface
24+ statistics and activity indicators, TCP/UDP traffic breakdowns, and LAN
25+ station packet and byte counts. IPTraf-ng features include an IP traffic
26+ monitor which shows TCP flag information, packet and byte counts, ICMP
27+ details, OSPF packet types, and oversized IP packet warnings; interface
28+ statistics showing IP, TCP, UDP, ICMP, non-IP and other IP packet counts,
29+ IP checksum errors, interface activity and packet size counts; a TCP and
30+ UDP service monitor showing counts of incoming and outgoing packets for
31+ common TCP and UDP application ports, a LAN statistics module that
32+ discovers active hosts and displays statistics about their activity; TCP,
33+ UDP and other protocol display filters so you can view just the traffic
34+ you want; logging; support for Ethernet, FDDI, ISDN, SLIP, PPP, and
35+ loopback interfaces; and utilization of the built-in raw socket interface
36+ of the Linux kernel, so it can be used on a wide variety of supported
37+ network cards.
38+ '';
39+ homepage = https://fedorahosted.org/iptraf-ng/;
40+ license = stdenv.lib.licenses.gpl2;
41+ platforms = stdenv.lib.platforms.linux;
42+ maintainers = [ stdenv.lib.maintainers.devhell ];
43+ };
44+}
pkgs/applications/version-management/git-and-tools/git-hub/default.nix+15−15
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub, docutils, python }:
22
33let version = "0.9.0"; in
4−stdenv.mkDerivation {
4+stdenv.mkDerivation rec {
55 name = "git-hub-${version}";
66
77 src = fetchFromGitHub {
@@ -11,20 +11,6 @@ stdenv.mkDerivation {
1111 owner = "sociomantic";
1212 };
1313
14− meta = with stdenv.lib; {
15− inherit version;
16− description = "Git command line interface to GitHub";
17− longDescription = ''
18− A simple command line interface to GitHub, enabling most useful GitHub
19− tasks (like creating and listing pull request or issues) to be accessed
20− directly through the Git command line.
21− '';
22− homepage = https://github.com/sociomantic/git-hub;
23− license = licenses.gpl3Plus;
24− platforms = with platforms; linux;
25− maintainers = with maintainers; [ nckx ];
26− };
27−
2814 buildInputs = [ python ];
2915 nativeBuildInputs = [ docutils ];
3016
@@ -41,4 +27,18 @@ stdenv.mkDerivation {
4127 # Remove inert ftdetect vim plugin and a README that's a man page subset:
4228 rm -r $out/share/{doc,vim}
4329 '';
30+
31+ meta = with stdenv.lib; {
32+ inherit version;
33+ inherit (src.meta) homepage;
34+ description = "Git command line interface to GitHub";
35+ longDescription = ''
36+ A simple command line interface to GitHub, enabling most useful GitHub
37+ tasks (like creating and listing pull request or issues) to be accessed
38+ directly through the Git command line.
39+ '';
40+ license = licenses.gpl3Plus;
41+ platforms = platforms.linux;
42+ maintainers = with maintainers; [ nckx ];
43+ };
4444}
pkgs/applications/version-management/subversion/default.nix+14−2
@@ -8,6 +8,7 @@
88, stdenv, fetchurl, apr, aprutil, zlib, sqlite
99, apacheHttpd ? null, expat, swig ? null, jdk ? null, python ? null, perl ? null
1010, sasl ? null, serf ? null
11+, branch ? "1.9"
1112}:
1213
1314assert bdbSupport -> aprutil.bdbSupport;
@@ -15,15 +16,26 @@ assert httpServer -> apacheHttpd != null;
1516assert pythonBindings -> swig != null && python != null;
1617assert javahlBindings -> jdk != null && perl != null;
1718
19+let
20+ config = {
21+ "1.9".ver_min = "2";
22+ "1.9".sha1 = "fb9db3b7ddf48ae37aa8785872301b59bfcc7017";
23+
24+ "1.8".ver_min = "14";
25+ "1.8".sha1 = "0698efc58373e7657f6dd3ce13cab7b002ffb497";
26+ };
27+in
28+assert builtins.hasAttr branch config;
29+
1830stdenv.mkDerivation (rec {
1931
20− version = "1.9.2";
32+ version = "${branch}." + config.${branch}.ver_min;
2133
2234 name = "subversion-${version}";
2335
2436 src = fetchurl {
2537 url = "mirror://apache/subversion/${name}.tar.bz2";
26− sha1 = "fb9db3b7ddf48ae37aa8785872301b59bfcc7017";
38+ inherit (config.${branch}) sha1;
2739 };
2840
2941 buildInputs = [ zlib apr aprutil sqlite ]
pkgs/applications/video/smplayer/default.nix+4−4
@@ -1,16 +1,16 @@
1−{ stdenv, fetchurl, qt4 }:
1+{ stdenv, fetchurl, qt5 }:
22
33stdenv.mkDerivation rec {
4− name = "smplayer-14.9.0.6690";
4+ name = "smplayer-15.9.0";
55
66 src = fetchurl {
77 url = "mirror://sourceforge/smplayer/${name}.tar.bz2";
8− sha256 = "0nmw69kg8rqvl9icyx1r1v1pyxg6560363l0kyqyja18j79a3j2y";
8+ sha256 = "1yx6kikaj9v5aj8aavvrcklx283wl6wrnpl905hjc7v03kgp1ac5";
99 };
1010
1111 patches = [ ./basegui.cpp.patch ];
1212
13− buildInputs = [ qt4 ];
13+ buildInputs = [ qt5.script ];
1414
1515 preConfigure = ''
1616 makeFlags="PREFIX=$out"
pkgs/build-support/build-fhs-chrootenv/env.nix+8
@@ -157,11 +157,19 @@ let
157157 setupLibDirs = if isTargetBuild then setupLibDirs_target
158158 else setupLibDirs_multi;
159159
160+ setupIncludeDir = ''
161+ if [ -x "${staticUsrProfileTarget}/include" ]
162+ then
163+ ln -s "${staticUsrProfileTarget}/include"
164+ fi
165+ '';
166+
160167 # the target profile is the actual profile that will be used for the chroot
161168 setupTargetProfile = ''
162169 mkdir -m0755 usr
163170 cd usr
164171 ${setupLibDirs}
172+ ${setupIncludeDir}
165173 for i in bin sbin share include; do
166174 cp -r "${staticUsrProfileTarget}/$i" $i
167175 done
pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix+6−1
@@ -20,7 +20,7 @@
2020{ lib, fetchurl, writeScript, ruby, libxml2, libxslt, python, stdenv, which
2121, libiconv, postgresql, v8_3_16_14, clang, sqlite, zlib, imagemagick
2222, pkgconfig , ncurses, xapian, gpgme, utillinux, fetchpatch, tzdata, icu, libffi
23−, cmake, libssh2, openssl, mysql
23+, cmake, libssh2, openssl, mysql, darwin
2424}:
2525
2626let
@@ -70,6 +70,7 @@ in
7070 "--with-exslt-lib=${libxslt}/lib"
7171 "--with-exslt-include=${libxslt}/include"
7272 ] ++ lib.optional stdenv.isDarwin "--with-iconv-dir=${libiconv}";
73+ buildInputs = lib.optional stdenv.isDarwin darwin.libobjc;
7374 };
7475
7576 pg = attrs: {
@@ -119,6 +120,10 @@ in
119120 '';
120121 };
121122
123+ unf_ext = attrs: {
124+ buildInputs = lib.optional stdenv.isDarwin darwin.libobjc;
125+ };
126+
122127 xapian-ruby = attrs: {
123128 # use the system xapian
124129 buildInputs = [ xapian pkgconfig zlib ];
pkgs/development/libraries/glpk/default.nix+2−2
@@ -1,11 +1,11 @@
11{ fetchurl, stdenv }:
22
33stdenv.mkDerivation rec {
4− name = "glpk-4.52.1";
4+ name = "glpk-4.56";
55
66 src = fetchurl {
77 url = "mirror://gnu/glpk/${name}.tar.gz";
8− sha256 = "0nz9ngmx23c8gbjr8l8ygnfaanxj2mwbl8awpg630bgrkxdnhc9j";
8+ sha256 = "0syzix6qvpn0fzp08c84c8snansf1cam5vd0dk2w91mz2c85d18h";
99 };
1010
1111 doCheck = true;
pkgs/development/libraries/libdnet/default.nix+2−2
@@ -10,10 +10,10 @@ stdenv.mkDerivation {
1010 sha1 = "71302be302e84fc19b559e811951b5d600d976f8";
1111 };
1212
13− configureFlags = [ "--enable-shared" ]; # shared libs required by hyenae
14−
1513 buildInputs = [ automake autoconf libtool ];
1614
15+ CFLAGS="-fPIC";
16+
1717 # .so endings are missing (quick and dirty fix)
1818 postInstall = ''
1919 for i in $out/lib/*; do
pkgs/development/libraries/libunwind/native.nixdeleted−17
@@ -1,17 +0,0 @@
1−{ stdenv }:
2−
3−assert stdenv.isDarwin;
4−
5−stdenv.mkDerivation {
6− name = "libunwind-native";
7−
8− unpackPhase = ":";
9− dontBuild = true;
10−
11− installPhase = ''
12− mkdir -p $out/lib
13− cat /usr/lib/system/libunwind.dylib > $out/lib/libunwind.dylib
14− '';
15−
16− meta.platforms = stdenv.lib.platforms.darwin;
17−}
pkgs/development/libraries/neon/default.nix+3−2
@@ -14,11 +14,12 @@ let
1414in
1515
1616stdenv.mkDerivation rec {
17− name = "neon-0.29.6";
17+ version = "0.30.1";
18+ name = "neon-${version}";
1819
1920 src = fetchurl {
2021 url = "http://www.webdav.org/neon/${name}.tar.gz";
21− sha256 = "0hzbjqdx1z8zw0vmbknf159wjsxbcq8ii0wgwkqhxj3dimr0nr4w";
22+ sha256 = "1pawhk02x728xn396a1kcivy9gqm94srmgad6ymr9l0qvk02dih0";
2223 };
2324
2425 patches = optionals stdenv.isDarwin [ ./0.29.6-darwin-fix-configure.patch ];
pkgs/development/web/nodejs/default-arch.patchnew file+24
@@ -0,0 +1,24 @@
1+diff -Naur a/tools/gyp/pylib/gyp/xcode_emulation.py b/tools/gyp/pylib/gyp/xcode_emulation.py
2+--- a/tools/gyp/pylib/gyp/xcode_emulation.py 2014-01-23 06:05:51.000000000 +0100
3++++ b/tools/gyp/pylib/gyp/xcode_emulation.py 2014-02-04 17:49:48.000000000 +0100
4+@@ -1018,12 +1033,16 @@
5+ # Since the value returned by this function is only used when ARCHS is not
6+ # set, then on iOS we return "i386", as the default xcode project generator
7+ # does not set ARCHS if it is not set in the .gyp file.
8+- if self.isIOS:
9++
10++ try:
11++ if self.isIOS:
12++ return 'i386'
13++ version, build = self._XcodeVersion()
14++ if version >= '0500':
15++ return 'x86_64'
16+ return 'i386'
17+- version, build = self._XcodeVersion()
18+- if version >= '0500':
19++ except:
20+ return 'x86_64'
21+- return 'i386'
22+
23+ class MacPrefixHeader(object):
24+ """A class that helps with emulating Xcode's GCC_PREFIX_HEADER feature.
pkgs/development/web/nodejs/default.nix+4−3
@@ -38,12 +38,13 @@ in stdenv.mkDerivation {
3838 dontDisableStatic = true;
3939 prePatch = ''
4040 patchShebangs .
41+ sed -i 's/raise.*No Xcode or CLT version detected.*/version = "7.0.0"/' tools/gyp/pylib/gyp/xcode_emulation.py
4142 '';
4243
43− patches = stdenv.lib.optional stdenv.isDarwin ./no-xcode.patch;
44+ patches = stdenv.lib.optionals stdenv.isDarwin [ ./no-xcode.patch ./pkg-libpath.patch ];
4445
45− buildInputs = [ python which http-parser zlib libuv openssl python ]
46− ++ (optional stdenv.isLinux utillinux)
46+ buildInputs = [ python which zlib libuv openssl python ]
47+ ++ optionals stdenv.isLinux [ utillinux http-parser ]
4748 ++ optionals stdenv.isDarwin [ pkgconfig openssl libtool ];
4849 setupHook = ./setup-hook.sh;
4950
pkgs/development/web/nodejs/no-xcode.patch−21
@@ -70,24 +70,3 @@ diff -Naur a/tools/gyp/pylib/gyp/xcode_emulation.py b/tools/gyp/pylib/gyp/xcode_
7070
7171 def AdjustLibraries(self, libraries, config_name=None):
7272 """Transforms entries like 'Cocoa.framework' in libraries into entries like
73−@@ -1018,12 +1033,16 @@
74− # Since the value returned by this function is only used when ARCHS is not
75− # set, then on iOS we return "i386", as the default xcode project generator
76− # does not set ARCHS if it is not set in the .gyp file.
77−- if self.isIOS:
78−+
79−+ try:
80−+ if self.isIOS:
81−+ return 'i386'
82−+ version, build = self._XcodeVersion()
83−+ if version >= '0500':
84−+ return 'x86_64'
85− return 'i386'
86−- version, build = self._XcodeVersion()
87−- if version >= '0500':
88−+ except:
89− return 'x86_64'
90−- return 'i386'
91−
92− class MacPrefixHeader(object):
93− """A class that helps with emulating Xcode's GCC_PREFIX_HEADER feature.
pkgs/development/web/nodejs/pkg-libpath.patchnew file+13
@@ -0,0 +1,13 @@
1+diff --git a/configure b/configure
2+index d199975..66d903b 100755
3+--- a/configure
4++++ b/configure
5+@@ -734,7 +734,7 @@ def configure_library(lib, output):
6+ # libpath needs to be provided ahead libraries
7+ if pkg_libpath:
8+ output['libraries'] += (
9+- filter(None, map(str.strip, pkg_cflags.split('-L'))))
10++ pkg_libpath.split())
11+
12+ default_libs = getattr(options, shared_lib + '_libname')
13+ default_libs = map('-l{0}'.format, default_libs.split(','))
pkgs/development/web/nodejs/v0_10.nix+1−1
@@ -42,7 +42,7 @@ in stdenv.mkDerivation {
4242 patchShebangs .
4343 '';
4444
45− patches = stdenv.lib.optional stdenv.isDarwin ./no-xcode.patch;
45+ patches = stdenv.lib.optionals stdenv.isDarwin [ ./default-arch.patch ./no-xcode.patch ];
4646
4747 postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
4848 (cd tools/gyp; patch -Np1 -i ${../../python-modules/gyp/no-darwin-cflags.patch})
pkgs/misc/jackaudio/jack1.nix+2−1
@@ -27,7 +27,8 @@ stdenv.mkDerivation rec {
2727 '';
2828
2929 nativeBuildInputs = [ pkgconfig ];
30− buildInputs = [ optAlsaLib optDb optLibuuid optLibffado optCelt ];
30+ buildInputs = [ optAlsaLib optDb optLibffado optCelt ];
31+ propagatedBuildInputs = [ optLibuuid ];
3132
3233 meta = with stdenv.lib; {
3334 description = "JACK audio connection kit";
pkgs/misc/urbit/default.nixnew file+42
@@ -0,0 +1,42 @@
1+{ stdenv, fetchgit, gcc, gmp, libsigsegv, openssl, automake, autoconf, ragel,
2+ cmake, re2c, libtool, ncurses, perl, zlib, python }:
3+
4+stdenv.mkDerivation rec {
5+
6+ name = "urbit-${version}";
7+ version = "2015.09.26";
8+
9+ src = fetchgit {
10+ url = "https://github.com/urbit/urbit.git";
11+ rev = "c9592664c797b2dd74f26886528656f8a7058640";
12+ sha256 = "0sgrxnmpqh54mgar81wlb6gff8c0pc24p53xwxr448g5shvnzjx9";
13+ };
14+
15+ buildInputs = with stdenv.lib; [
16+ gcc gmp libsigsegv openssl automake autoconf ragel cmake re2c libtool
17+ ncurses perl zlib python
18+ ];
19+
20+ configurePhase = ''
21+ :
22+ '';
23+
24+ buildPhase = ''
25+ sed -i 's/-lcurses/-lncurses/' Makefile
26+ mkdir -p $out
27+ cp -r . $out/
28+ cd $out
29+ make
30+ '';
31+
32+ installPhase = ''
33+ :
34+ '';
35+
36+ meta = with stdenv.lib; {
37+ description = "an operating function";
38+ homepage = http://urbit.org/preview/~2015.9.25/materials;
39+ license = licenses.mit;
40+ maintainers = with maintainers; [ mudri ];
41+ };
42+}
pkgs/os-specific/linux/miraclecast/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, udev, systemd, glib, readline }:
2+
3+with stdenv.lib;
4+stdenv.mkDerivation rec {
5+ name = "miraclecast-0.0-git-20151002";
6+
7+ src = fetchFromGitHub {
8+ owner = "albfan";
9+ repo = "miraclecast";
10+ rev = "30b8c2d22391423f76ba582aaaa1e0936869103a";
11+ sha256 = "0i076n76kq64fayc7v06gr1853pk5r6ms86m57vd1xsjd0r9wyxd";
12+ };
13+
14+ # INFO: It is important to list 'systemd' first as for now miraclecast
15+ # links against a customized systemd. Otherwise, a systemd package from
16+ # a propagatedBuildInput could take precedence.
17+ buildInputs = [ systemd autoreconfHook pkgconfig udev glib readline ];
18+
19+ meta = {
20+ homepage = https://github.com/albfan/miraclecast;
21+ description = "Connect external monitors via Wi-Fi";
22+ license = licenses.lgpl21Plus;
23+ maintainers = with maintainers; [ tstrobel ];
24+ platforms = platforms.linux;
25+ };
26+}
pkgs/os-specific/linux/nvidiabl/default.nix+2
@@ -8,6 +8,8 @@ stdenv.mkDerivation {
88 sha256 = "1c7ar39wc8jpqh67sw03lwnyp0m9l6dad469ybqrgcywdiwxspwj";
99 };
1010
11+ patches = [ ./linux4compat.patch ];
12+
1113 preConfigure = ''
1214 sed -i 's|/sbin/depmod|#/sbin/depmod|' Makefile
1315 '';
pkgs/os-specific/linux/nvidiabl/linux4compat.patchnew file+22
@@ -0,0 +1,22 @@
1+From 2bf6f08b2492cc04a2c39fdcb22a2d0c18963d1c Mon Sep 17 00:00:00 2001
2+From: sonic414 <sonic414@gmail.com>
3+Date: Tue, 28 Apr 2015 19:30:15 +0530
4+Subject: [PATCH] strnicmp to strncasecmp in Linux 4.0.0
5+
6+---
7+ nvidiabl-module.c | 2 +-
8+ 1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+diff --git a/nvidiabl-module.c b/nvidiabl-module.c
11+index b789ea4..b306579 100644
12+--- a/nvidiabl-module.c
13++++ b/nvidiabl-module.c
14+@@ -214,7 +214,7 @@ static int __init nvidiabl_init(void)
15+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,39)
16+
17+ for (iii = 0 ; iii < sizeof(backlight_type_ids) ; iii++) {
18+- if (strnicmp(bl_type, backlight_type_ids[iii].id, sizeof(bl_type)) == 0) {
19++ if (strncasecmp(bl_type, backlight_type_ids[iii].id, sizeof(bl_type)) == 0) {
20+ props.type = backlight_type_ids[iii].type;
21+ printk(KERN_INFO "nvidiabl: backlight type is %s\n", backlight_type_ids[iii].id);
22+ }
pkgs/os-specific/linux/syslinux/default.nix+1−2
@@ -8,8 +8,7 @@ stdenv.mkDerivation rec {
88 sha256 = "03l5iifwlg1wyb4yh98i0b7pd4j55a1c9y74q1frs47a5dnrilr6";
99 };
1010
11− # gcc5-fix should be in 6.04+, so remove if it fails to apply.
12− patches = [ ./perl-deps.patch ./gcc5-fix.patch ];
11+ patches = [ ./perl-deps.patch ];
1312
1413 buildInputs = [ nasm perl libuuid ];
1514
pkgs/os-specific/linux/syslinux/gcc5-fix.patchdeleted−26
@@ -1,26 +0,0 @@
1−diff --git a/com32/include/menu.h b/com32/include/menu.h
2−index bc0182f..b0251e4 100644
3−--- a/com32/include/menu.h
4−+++ b/com32/include/menu.h
5−@@ -195,7 +195,7 @@ void local_cursor_enable(bool);
6−
7− static inline int my_isspace(char c)
8− {
9−- return (unsigned char)c <= ' ';
10−+ return (unsigned char)c <= ' ' || (unsigned char)c == '\x7f';
11− }
12−
13− int my_isxdigit(char c);
14−diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c
15−index b7814be..a433fad 100644
16−--- a/com32/menu/readconfig.c
17−+++ b/com32/menu/readconfig.c
18−@@ -299,7 +299,7 @@ static char *copy_sysappend_string(char *dst, const char *src)
19− char c;
20−
21− while ((c = *src++)) {
22−- if (c <= ' ' && c == '\x7f') {
23−+ if (my_isspace(c)) {
24− if (!was_space)
25− *dst++ = '_';
26− was_space = true;
pkgs/os-specific/linux/systemd/default.nix+2−1
@@ -4,6 +4,7 @@
44, kexectools, libmicrohttpd, linuxHeaders, libseccomp
55, autoreconfHook, gettext, docbook_xsl, docbook_xml_dtd_42, docbook_xml_dtd_45
66, pythonPackages ? null, pythonSupport ? false
7+, enableKDbus ? false
78}:
89
910assert stdenv.isLinux;
@@ -65,7 +66,7 @@ stdenv.mkDerivation rec {
6566 "--with-sysvinit-path="
6667 "--with-sysvrcnd-path="
6768 "--with-rc-local-script-path-stop=/etc/halt.local"
68− ];
69+ ] ++ stdenv.lib.optional enableKDbus "--enable-kdbus";
6970
7071 preConfigure =
7172 ''
pkgs/servers/mail/opensmtpd/default.nix+5−2
@@ -4,16 +4,18 @@
44
55stdenv.mkDerivation rec {
66 name = "opensmtpd-${version}";
7− version = "5.4.5p1";
7+ version = "5.7.1p1";
88
99 nativeBuildInputs = [ autoconf automake libtool bison ];
1010 buildInputs = [ libasr libevent zlib openssl db pam ];
1111
1212 src = fetchurl {
1313 url = "http://www.opensmtpd.org/archives/${name}.tar.gz";
14− sha256 = "15sicrpqsgg72igdckkwpmbgrapcjbfjsdrvm0zl8z13kgp6r4ks";
14+ sha256 = "67e9dd9682ca8c181e84e66c76245a4a8f6205834f915a2c021cdfeb22049e3a";
1515 };
1616
17+ patches = [ ./proc_path.diff ];
18+
1719 configureFlags = [
1820 "--sysconfdir=/etc"
1921 "--localstatedir=/var"
@@ -24,6 +26,7 @@ stdenv.mkDerivation rec {
2426 "--with-privsep-user=smtpd"
2527 "--with-queue-user=smtpq"
2628 "--with-ca-file=/etc/ssl/certs/ca-certificates.crt"
29+ "--with-libevent-dir=${libevent}"
2730 ];
2831
2932 installFlags = [
pkgs/servers/mail/opensmtpd/extras.nixnew file+79
@@ -0,0 +1,79 @@
1+{ stdenv, fetchurl, openssl, libevent, libasr,
2+ python2, pkgconfig, lua5, perl, mariadb, postgresql, sqlite, hiredis }:
3+stdenv.mkDerivation rec {
4+ name = "opensmtpd-extras-${version}";
5+ version = "5.7.1";
6+
7+ src = fetchurl {
8+ url = "https://www.opensmtpd.org/archives/${name}.tar.gz";
9+ sha256 = "1kld4hxgz792s0cb2gl7m2n618ikzqkj88w5dhaxdrxg4x2c4vdm";
10+ };
11+
12+ nativeBuildInputs = [ pkgconfig ];
13+ buildInputs = [ openssl libevent
14+ libasr python2 lua5 perl mariadb postgresql sqlite hiredis ];
15+
16+ configureFlags = [
17+ "--sysconfdir=/etc"
18+ "--localstatedir=/var"
19+ "--with-privsep-user=smtpd"
20+ "--with-libevent-dir=${libevent}"
21+
22+ "--with-filter-clamav"
23+ "--with-filter-dkim-signer"
24+ "--with-filter-dnsbl"
25+ "--with-filter-monkey"
26+ "--with-filter-pause"
27+ "--with-filter-regex"
28+ "--with-filter-spamassassin"
29+ "--with-filter-stub"
30+ "--with-filter-trace"
31+ "--with-filter-void"
32+ "--with-queue-null"
33+ "--with-queue-ram"
34+ "--with-queue-stub"
35+ "--with-table-ldap"
36+ "--with-table-socketmap"
37+ "--with-table-passwd"
38+ "--with-table-stub"
39+ "--with-scheduler-ram"
40+ "--with-scheduler-stub"
41+
42+ ] ++ stdenv.lib.optional (python2 != null) [
43+ "--with-python=${python2}"
44+ "--with-filter-python"
45+ "--with-queue-python"
46+ "--with-table-python"
47+ "--with-scheduler-python"
48+
49+ ] ++ stdenv.lib.optional (lua5 != null) [
50+ "--with-lua=${pkgconfig}"
51+ "--with-filter-lua"
52+
53+ ] ++ stdenv.lib.optional (perl != null) [
54+ "--with-perl=${perl}"
55+ "--with-filter-perl"
56+
57+ ] ++ stdenv.lib.optional (mariadb != null) [
58+ "--with-table-mysql"
59+
60+ ] ++ stdenv.lib.optional (postgresql != null) [
61+ "--with-table-postgres"
62+
63+ ] ++ stdenv.lib.optional (sqlite != null) [
64+ "--with-table-sqlite"
65+
66+ ] ++ stdenv.lib.optional (hiredis != null) [
67+ "--with-table-redis"
68+ ];
69+
70+ NIX_CFLAGS_COMPILE = stdenv.lib.optional (hiredis != null) [ "-I${hiredis}/include/hiredis" ];
71+
72+ meta = with stdenv.lib; {
73+ homepage = https://www.opensmtpd.org/;
74+ description = "Extra plugins for the OpenSMTPD mail server";
75+ license = licenses.isc;
76+ platforms = platforms.unix;
77+ maintainers = with maintainers; [ gebner ];
78+ };
79+}
pkgs/servers/mail/opensmtpd/proc_path.diffnew file+76
@@ -0,0 +1,76 @@
1+diff -Naur opensmtpd-5.7.1p1/smtpd/parse.y opensmtpd-5.7.1p1.patched/smtpd/parse.y
2+--- opensmtpd-5.7.1p1/smtpd/parse.y 2015-06-30 10:13:34.000000000 +0200
3++++ opensmtpd-5.7.1p1.patched/smtpd/parse.y 2015-09-26 08:41:17.012472516 +0200
4+@@ -2519,13 +2519,19 @@
5+ {
6+ struct filter_conf *f;
7+ char *path;
8++ const char *proc_path;
9+
10+ if (dict_get(&conf->sc_filters, name)) {
11+ yyerror("filter \"%s\" already defined", name);
12+ return (NULL);
13+ }
14+
15+- if (asprintf(&path, "%s/filter-%s", PATH_LIBEXEC, prog) == -1) {
16++ proc_path = getenv("OPENSMTPD_PROC_PATH");
17++ if (proc_path == NULL) {
18++ proc_path = PATH_LIBEXEC;
19++ }
20++
21++ if (asprintf(&path, "%s/filter-%s", proc_path, prog) == -1) {
22+ yyerror("filter \"%s\" asprintf failed", name);
23+ return (0);
24+ }
25+diff -Naur opensmtpd-5.7.1p1/smtpd/smtpd.c opensmtpd-5.7.1p1.patched/smtpd/smtpd.c
26+--- opensmtpd-5.7.1p1/smtpd/smtpd.c 2015-06-30 10:13:34.000000000 +0200
27++++ opensmtpd-5.7.1p1.patched/smtpd/smtpd.c 2015-09-26 08:41:16.998472557 +0200
28+@@ -854,6 +854,7 @@
29+ char path[PATH_MAX];
30+ char name[PATH_MAX];
31+ char *arg;
32++ char *proc_path;
33+
34+ if (strlcpy(name, conf, sizeof(name)) >= sizeof(name)) {
35+ log_warnx("warn: %s-proc: conf too long", key);
36+@@ -864,7 +865,12 @@
37+ if (arg)
38+ *arg++ = '\0';
39+
40+- if (snprintf(path, sizeof(path), PATH_LIBEXEC "/%s-%s", key, name) >=
41++ proc_path = getenv("OPENSMTPD_PROC_PATH");
42++ if (proc_path == NULL) {
43++ proc_path = PATH_LIBEXEC;
44++ }
45++
46++ if (snprintf(path, sizeof(path), "%s/%s-%s", proc_path, key, name) >=
47+ (ssize_t)sizeof(path)) {
48+ log_warn("warn: %s-proc: exec path too long", key);
49+ return (-1);
50+diff -Naur opensmtpd-5.7.1p1/smtpd/table.c opensmtpd-5.7.1p1.patched/smtpd/table.c
51+--- opensmtpd-5.7.1p1/smtpd/table.c 2015-06-30 10:13:34.000000000 +0200
52++++ opensmtpd-5.7.1p1.patched/smtpd/table.c 2015-09-26 08:41:17.005472536 +0200
53+@@ -201,6 +201,7 @@
54+ struct table_backend *tb;
55+ char buf[LINE_MAX];
56+ char path[LINE_MAX];
57++ const char *proc_path;
58+ size_t n;
59+ struct stat sb;
60+
61+@@ -215,8 +216,14 @@
62+ if (name && table_find(name, NULL))
63+ fatalx("table_create: table \"%s\" already defined", name);
64+
65++ proc_path = getenv("OPENSMTPD_PROC_PATH");
66++ if (proc_path == NULL) {
67++ proc_path = PATH_LIBEXEC;
68++ }
69++
70+ if ((tb = table_backend_lookup(backend)) == NULL) {
71+- if ((size_t)snprintf(path, sizeof(path), PATH_LIBEXEC "/table-%s",
72++ if ((size_t)snprintf(path, sizeof(path), "%s/table-%s",
73++ proc_path,
74+ backend) >= sizeof(path)) {
75+ fatalx("table_create: path too long \""
76+ PATH_LIBEXEC "/table-%s\"", backend);
pkgs/tools/filesystems/duff/default.nix+9−10
@@ -1,12 +1,14 @@
11{ stdenv, fetchFromGitHub, autoreconfHook, gettext }:
22
3−let version = "0.5.2"; in
3+# The last release (0.5.2) is more than 2 years old and lacks features like -D,
4+# limiting its usefulness. Upstream appears comatose if not dead.
5+let version = "2014-07-03"; in
46stdenv.mkDerivation {
57 name = "duff-${version}";
68
79 src = fetchFromGitHub {
8− sha256 = "0yfm910wjj6z0f0cg68x59ykf4ql5m49apzy8sra00f8kv4lpn53";
9− rev = version;
10+ sha256 = "1k2dx38pjzc5d624vw1cs5ipj9fprsm5vqv55agksc29m63lswnx";
11+ rev = "f26d4837768b062a3f98fa075c791d9c8a0bb75c";
1012 repo = "duff";
1113 owner = "elmindreda";
1214 };
@@ -14,10 +16,6 @@ stdenv.mkDerivation {
1416 nativeBuildInputs = [ autoreconfHook gettext ];
1517
1618 preAutoreconf = ''
17− # duff is currently badly packaged, requiring us to do extra work here that
18− # should be done upstream. If that is ever fixed, this entire phase can be
19− # removed along with all buildInputs.
20−
2119 # gettexttize rightly refuses to run non-interactively:
2220 cp ${gettext}/bin/gettextize .
2321 substituteInPlace gettextize \
@@ -30,14 +28,15 @@ stdenv.mkDerivation {
3028 enableParallelBuilding = true;
3129
3230 meta = with stdenv.lib; {
31+ inherit version;
3332 description = "Quickly find duplicate files";
34− homepage = http://duff.dreda.org/;
35− license = licenses.zlib;
3633 longDescription = ''
3734 Duff is a Unix command-line utility for quickly finding duplicates in
3835 a given set of files.
3936 '';
37+ homepage = http://duff.dreda.org/;
38+ license = licenses.zlib;
39+ platforms = platforms.all;
4040 maintainers = with maintainers; [ nckx ];
41− platforms = with platforms; all;
4241 };
4342}
pkgs/tools/graphics/enblend-enfuse/default.nix+6−4
@@ -1,22 +1,24 @@
11{ stdenv, fetchurl
22, boost, freeglut, glew, gsl, lcms2, libpng, libtiff, libxmi, mesa, vigra
3−, pkgconfig, perl }:
3+, help2man, pkgconfig, perl }:
44
5+let version = "4.1.4"; in
56stdenv.mkDerivation rec {
6− name = "enblend-enfuse-4.1.3";
7+ name = "enblend-enfuse-${version}";
78
89 src = fetchurl {
910 url = "mirror://sourceforge/enblend/${name}.tar.gz";
10− sha256 = "1b7r1nnwaind0344ckwggy0ghl0ipbk9jzylsxcjfl05rnasw00w";
11+ sha256 = "0208x01i129hqylmy6jh3krwdac47mx6fi8xccjm9h35c18c7xl5";
1112 };
1213
1314 buildInputs = [ boost freeglut glew gsl lcms2 libpng libtiff libxmi mesa vigra ];
1415
15− nativeBuildInputs = [ perl pkgconfig ];
16+ nativeBuildInputs = [ help2man perl pkgconfig ];
1617
1718 enableParallelBuilding = true;
1819
1920 meta = {
21+ inherit version;
2022 homepage = http://enblend.sourceforge.net/;
2123 description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";
2224 license = stdenv.lib.licenses.gpl2;
pkgs/tools/misc/heatseeker/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ stdenv, fetchFromGitHub, rustPlatform }:
2+
3+with rustPlatform;
4+
5+buildRustPackage rec {
6+ name = "heatseeker-${version}";
7+ version = "1.3.0";
8+
9+ depsSha256 = "03jap7myf85xgx9270sws8x57nl04a1wx8szrk9qx24s9vnnjcnh";
10+
11+ src = fetchFromGitHub {
12+ owner = "rschmitt";
13+ repo = "heatseeker";
14+ rev = "v${version}";
15+ sha256 = "1xdvwgmh9lwv82hv1qg82bjv2iplnvva6lzbg7dyhbszhv7rhkbl";
16+ };
17+
18+ # some tests require a tty, this variable turns them off for Travis CI,
19+ # which we can also make use of
20+ TRAVIS= "true";
21+
22+ meta = with stdenv.lib; {
23+ description = "A general-purpose fuzzy selector";
24+ homepage = https://github.com/rschmitt/heatseeker;
25+ license = stdenv.lib.licenses.mit;
26+ maintainers = [ maintainers.michaelpj ];
27+ };
28+}
pkgs/top-level/all-packages.nix+21−6
@@ -848,6 +848,8 @@ let
848848
849849 gmic = callPackage ../tools/graphics/gmic { };
850850
851+ heatseeker = callPackage ../tools/misc/heatseeker { };
852+
851853 mathics = pythonPackages.mathics;
852854
853855 mcrl = callPackage ../tools/misc/mcrl { };
@@ -1374,7 +1376,7 @@ let
13741376
13751377 emv = callPackage ../tools/misc/emv { };
13761378
1377− enblendenfuse = callPackage ../tools/graphics/enblend-enfuse { };
1379+ enblend-enfuse = callPackage ../tools/graphics/enblend-enfuse { };
13781380
13791381 encfs = callPackage ../tools/filesystems/encfs { };
13801382
@@ -5066,7 +5068,6 @@ let
50665068 fetchurl = fetchurlBoot;
50675069 };
50685070
5069− # Make perl522 the default once gnulib is updated to support it.
50705071 perl = perl520;
50715072
50725073 php = php56;
@@ -7534,11 +7535,9 @@ let
75347535 libusbmuxd = callPackage ../development/libraries/libusbmuxd { };
75357536
75367537 libunwind = if stdenv.isDarwin
7537− then libunwindNative
7538+ then darwin.libunwind
75387539 else callPackage ../development/libraries/libunwind { };
75397540
7540− libunwindNative = callPackage ../development/libraries/libunwind/native.nix {};
7541−
75427541 libuvVersions = recurseIntoAttrs (callPackage ../development/libraries/libuv {
75437542 automake = automake113x; # fails with 14
75447543 inherit (darwin.apple_sdk.frameworks) ApplicationServices CoreServices;
@@ -9225,6 +9224,7 @@ let
92259224 openresty = callPackage ../servers/http/openresty { };
92269225
92279226 opensmtpd = callPackage ../servers/mail/opensmtpd { };
9227+ opensmtpd-extras = callPackage ../servers/mail/opensmtpd/extras.nix { };
92289228
92299229 openxpki = callPackage ../servers/openxpki { };
92309230
@@ -10331,7 +10331,13 @@ let
1033110331
1033210332 sysklogd = callPackage ../os-specific/linux/sysklogd { };
1033310333
10334− syslinux = callPackage ../os-specific/linux/syslinux { };
10334+ syslinux = callPackage ../os-specific/linux/syslinux {
10335+ # Using GCC5 with 6.03 creates a broken isolinux.bin
10336+ # Make sure to test booting the livecd on a bios system
10337+ # if changing this override.
10338+ # nixos.tests.bootBiosCdrom is useful for this.
10339+ stdenv = overrideCC stdenv gcc48;
10340+ };
1033510341
1033610342 sysstat = callPackage ../os-specific/linux/sysstat { };
1033710343
@@ -11978,6 +11984,8 @@ let
1197811984
1197911985 iptraf = callPackage ../applications/networking/iptraf { };
1198011986
11987+ iptraf-ng = callPackage ../applications/networking/iptraf-ng { };
11988+
1198111989 irssi = callPackage ../applications/networking/irc/irssi { };
1198211990
1198311991 irssi_fish = callPackage ../applications/networking/irc/irssi/fish { };
@@ -11998,6 +12006,9 @@ let
1199812006
1199912007 jackmeter = callPackage ../applications/audio/jackmeter { };
1200012008
12009+ jackmix = callPackage ../applications/audio/jackmix { };
12010+ jackmix_jack1 = jackmix.override { jack = jack1; };
12011+
1200112012 jalv = callPackage ../applications/audio/jalv { };
1200212013
1200312014 jedit = callPackage ../applications/editors/jedit { };
@@ -14252,6 +14263,7 @@ let
1425214263 libcanberra = libcanberra_kde;
1425314264 boost = boost155;
1425414265 kdelibs = kdeApps_15_08.kdelibs;
14266+ subversionClient = subversionClient.override { branch = "1.8"; };
1425514267 }
1425614268 ../desktops/kde-4.14;
1425714269
@@ -15292,6 +15304,8 @@ let
1529215304
1529315305 tvheadend = callPackage ../servers/tvheadend { };
1529415306
15307+ urbit = callPackage ../misc/urbit { };
15308+
1529515309 utf8proc = callPackage ../development/libraries/utf8proc { };
1529615310
1529715311 vault = goPackages.vault.bin // { outputs = [ "bin" ]; };
@@ -15455,6 +15469,7 @@ aliases = with self; rec {
1545515469 clangAnalyzer = clang-analyzer; # added 2015-02-20
1545615470 cool-old-term = cool-retro-term; # added 2015-01-31
1545715471 cv = progress; # added 2015-09-06
15472+ enblendenfuse = enblend-enfuse; # 2015-09-30
1545815473 exfat-utils = exfat; # 2015-09-11
1545915474 firefoxWrapper = firefox-wrapper;
1546015475 fuse_exfat = exfat; # 2015-09-11
pkgs/top-level/go-packages.nix+21
@@ -740,6 +740,27 @@ let
740740 subPackages = [ "./" ]; # don't try to build test fixtures
741741 };
742742
743+ git-lfs = buildFromGitHub {
744+ rev = "v1.0.0";
745+ owner = "github";
746+ repo = "git-lfs";
747+ sha256 = "1zlg3rm5yxak6d88brffv1wpj0iq4qgzn6sgg8xn0pbnzxjd1284";
748+
749+ # Tests fail with 'lfstest-gitserver.go:46: main redeclared in this block'
750+ excludedPackages = [ "test" ];
751+
752+ preBuild = ''
753+ pushd go/src/github.com/github/git-lfs
754+ go generate ./commands
755+ popd
756+ '';
757+
758+ postInstall = ''
759+ mkdir -p $bin/share
760+ mv $bin/bin/{man,script} $bin/share
761+ '';
762+ };
763+
743764 glide = buildFromGitHub {
744765 rev = "0.6.1";
745766 owner = "Masterminds";
pkgs/top-level/perl-packages.nix+5−5
@@ -716,15 +716,15 @@ let self = _self // overrides; _self = with self; {
716716 };
717717
718718 Cairo = buildPerlPackage rec {
719− name = "Cairo-1.105";
719+ name = "Cairo-1.106";
720720 src = fetchurl {
721721 url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
722− sha256 = "0im025wy1346w7b7hi6im08bfn6x4ma0cxmjz6xnk8riizm1s84q";
722+ sha256 = "1i25kks408c54k2zxskvg54l5k3qadzm8n72ffga9jy7ic0h6j76";
723723 };
724724 buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig pkgs.cairo ];
725725 meta = {
726726 homepage = http://gtk2-perl.sourceforge.net/;
727− description = "Perl interface to the cairo 2d vector graphics library";
727+ description = "Perl interface to the cairo 2D vector graphics library";
728728 maintainers = with maintainers; [ nckx ];
729729 license = stdenv.lib.licenses.lgpl21Plus;
730730 };
@@ -4944,10 +4944,10 @@ let self = _self // overrides; _self = with self; {
49444944 };
49454945
49464946 Glib = buildPerlPackage rec {
4947− name = "Glib-1.313";
4947+ name = "Glib-1.314";
49484948 src = fetchurl {
49494949 url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
4950− sha256 = "162g342bhzy2ca4xwk63j10q9jycsps0s8l8y8pda70m7zcmr7xj";
4950+ sha256 = "13lhyksm7fgj6rgrgs06kr0hinbyhiq3lfr6gd2qal1j2w0rwzml";
49514951 };
49524952 buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig pkgs.glib ];
49534953 meta = {