git.iko.soy/typeable/nixpkgs
on master help sign in
Merge branch 'master' into staging

* master: (39 commits) python.pkgs.pybfd: move to python-modules documentation: python 2.6 is no more documentation: python3Packages is python36Packages wireguard: 0.0.20171101 -> 0.0.20171111 php_excel: init at 1.0.2 libxl: init at 3.8.1 matrix-synapse: 0.24.1 -> 0.25.1 grafana: 4.6.1 -> 4.6.2 linux: 4.4.98 -> 4.4.99 linux: 4.9.62 -> 4.9.63 linux: 4.13.13 -> 4.13.14 nixos/zsh: add the type for enableAutosuggestions option zsh-powerlevel9k: init at 2017-11-10 fio: 3.1 -> 3.2 filebench: rehash source nano: 2.8.7 -> 2.9.0 bonnie: replace dead source link less: 520 -> 529 strace: 4.19 -> 4.20 iperf: 3.2 -> 3.3 ...

commitb089c2150675f1e8bbcf5117b484b9047d44b3f8 authorOrivej Desh <orivej@gmx.fr> dateSun 19 Nov 2017, 08:30 (9 years ago) parentc76890fa1573bb
41 files changed+491−182
doc/coding-conventions.xml+25−2 doc/languages-frameworks/python.md+1−2 lib/maintainers.nix+1 nixos/modules/installer/cd-dvd/sd-image-aarch64.nix+1−11 nixos/modules/programs/zsh/zsh.nix+1−1 nixos/modules/services/x11/desktop-managers/plasma5.nix+6−1 pkgs/applications/editors/nano/default.nix+2−2 pkgs/applications/networking/ipfs/default.nix+3−3 pkgs/applications/networking/msmtp/default.nix+2 pkgs/applications/video/kodi/default.nix+142−80 pkgs/data/icons/numix-icon-theme/default.nix+3−3 pkgs/desktops/lxde/core/lxtask/default.nix+32 pkgs/desktops/plasma-5/breeze-plymouth/default.nix+32−3 pkgs/development/compilers/dtc/default.nix+22−5 pkgs/development/libraries/catch/default.nix+3−3 pkgs/development/libraries/libjson-rpc-cpp/default.nix+3−1 pkgs/development/libraries/libxl/default.nix+26 pkgs/development/libraries/physics/fastjet/default.nix+9−4 pkgs/development/python-modules/pybfd/default.nix+25 pkgs/development/tools/misc/strace/default.nix+2−2 pkgs/development/tools/misc/uncrustify/default.nix+4−2 pkgs/misc/uboot/default.nix+23−6 pkgs/os-specific/darwin/apple-source-releases/default.nix+2 pkgs/os-specific/darwin/apple-source-releases/system_cmds/default.nix+37 pkgs/os-specific/linux/kernel/linux-4.13.nix+2−2 pkgs/os-specific/linux/kernel/linux-4.4.nix+2−2 pkgs/os-specific/linux/kernel/linux-4.9.nix+2−2 pkgs/os-specific/linux/wireguard/default.nix+2−2 pkgs/servers/matrix-synapse/default.nix+2−2 pkgs/servers/mattermost/default.nix+3−3 pkgs/servers/monitoring/grafana/default.nix+3−3 pkgs/shells/zsh-powerlevel9k/default.nix+29 pkgs/tools/filesystems/bonnie/default.nix+1−1 pkgs/tools/misc/filebench/default.nix+4−2 pkgs/tools/misc/less/default.nix+2−2 pkgs/tools/networking/iperf/3.nix+5−3 pkgs/tools/system/fio/default.nix+2−2 pkgs/top-level/all-packages.nix+7 pkgs/top-level/perl-packages.nix+2−2 pkgs/top-level/php-packages.nix+15 pkgs/top-level/python-packages.nix+1−23
doc/coding-conventions.xml+25−2
@@ -661,8 +661,6 @@ src = fetchFromGitHub {
661661</section>
662662
663663<section xml:id="sec-patches"><title>Patches</title>
664− <para>Only patches that are unique to <literal>nixpkgs</literal> should be
665− included in <literal>nixpkgs</literal> source.</para>
666664 <para>Patches available online should be retrieved using
667665 <literal>fetchpatch</literal>.</para>
668666 <para>
@@ -676,5 +674,30 @@ patches = [
676674];
677675</programlisting>
678676 </para>
677+ <para>Otherwise, you can add a <literal>.patch</literal> file to the
678+ <literal>nixpkgs</literal> repository. In the interest of keeping our
679+ maintenance burden to a minimum, only patches that are unique
680+ to <literal>nixpkgs</literal> should be added in this way.</para>
681+<para><programlisting>
682+patches = [ ./0001-changes.patch ];
683+</programlisting></para>
684+ <para>If you do need to do create this sort of patch file,
685+ one way to do so is with git:
686+ <orderedlist>
687+ <listitem><para>Move to the root directory of the source code
688+ you're patching.<screen>
689+$ cd the/program/source</screen></para></listitem>
690+ <listitem><para>If a git repository is not already present,
691+ create one and stage all of the source files.<screen>
692+$ git init
693+$ git add .</screen></para></listitem>
694+ <listitem><para>Edit some files to make whatever changes need
695+ to be included in the patch.</para></listitem>
696+ <listitem><para>Use git to create a diff, and pipe the output
697+ to a patch file:<screen>
698+$ git diff > nixpkgs/pkgs/the/package/0001-changes.patch</screen>
699+ </para></listitem>
700+ </orderedlist></para>
679701</section>
702+
680703</chapter>
doc/languages-frameworks/python.md+1−2
@@ -530,7 +530,6 @@ Based on the packages defined in `pkgs/top-level/python-packages.nix` an
530530attribute set is created for each available Python interpreter. The available
531531sets are
532532
533−* `pkgs.python26Packages`
534533* `pkgs.python27Packages`
535534* `pkgs.python34Packages`
536535* `pkgs.python35Packages`
@@ -540,7 +539,7 @@ sets are
540539and the aliases
541540
542541* `pkgs.python2Packages` pointing to `pkgs.python27Packages`
543−* `pkgs.python3Packages` pointing to `pkgs.python35Packages`
542+* `pkgs.python3Packages` pointing to `pkgs.python36Packages`
544543* `pkgs.pythonPackages` pointing to `pkgs.python2Packages`
545544
546545#### `buildPythonPackage` function
lib/maintainers.nix+1
@@ -497,6 +497,7 @@
497497 Phlogistique = "Noé Rubinstein <noe.rubinstein@gmail.com>";
498498 phreedom = "Evgeny Egorochkin <phreedom@yandex.ru>";
499499 phunehehe = "Hoang Xuan Phu <phunehehe@gmail.com>";
500+ pierrechevalier83 = "Pierre Chevalier <pierrechevalier83@gmail.com>";
500501 pierrer = "Pierre Radermecker <pierrer@pi3r.be>";
501502 pierron = "Nicolas B. Pierron <nixos@nbp.name>";
502503 piotr = "Piotr Pietraszkiewicz <ppietrasa@gmail.com>";
nixos/modules/installer/cd-dvd/sd-image-aarch64.nix+1−11
@@ -40,16 +40,6 @@ in
4040
4141 sdImage = {
4242 populateBootCommands = let
43− # Contains a couple of fixes for booting a Linux kernel, will hopefully appear upstream soon.
44− patchedUboot = pkgs.ubootRaspberryPi3_64bit.overrideAttrs (oldAttrs: {
45− src = pkgs.fetchFromGitHub {
46− owner = "dezgeg";
47− repo = "u-boot";
48− rev = "baab53ec244fe44def01948a0f10e67342d401e6";
49− sha256 = "0r5j2pc42ws3w3im0a9c6bh01czz5kapqrqp0ik9ra823cw73lxr";
50− };
51− });
52−
5343 configTxt = pkgs.writeText "config.txt" ''
5444 kernel=u-boot-rpi3.bin
5545 arm_control=0x200
@@ -57,7 +47,7 @@ in
5747 '';
5848 in ''
5949 (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
60− cp ${patchedUboot}/u-boot.bin boot/u-boot-rpi3.bin
50+ cp ${pkgs.ubootRaspberryPi3_64bit}/u-boot.bin boot/u-boot-rpi3.bin
6151 cp ${configTxt} boot/config.txt
6252 ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
6353 '';
nixos/modules/programs/zsh/zsh.nix+1−1
@@ -89,8 +89,8 @@ in
8989 description = ''
9090 Enable zsh-autosuggestions
9191 '';
92+ type = types.bool;
9293 };
93−
9494 };
9595
9696 };
nixos/modules/services/x11/desktop-managers/plasma5.nix+6−1
@@ -195,7 +195,12 @@ in
195195
196196 boot.plymouth = {
197197 theme = mkDefault "breeze";
198− themePackages = mkDefault [ pkgs.breeze-plymouth ];
198+ themePackages = mkDefault [
199+ (pkgs.breeze-plymouth.override {
200+ nixosBranding = true;
201+ nixosVersion = config.system.nixosRelease;
202+ })
203+ ];
199204 };
200205
201206 security.pam.services.kde = { allowNullPassword = true; };
pkgs/applications/editors/nano/default.nix+2−2
@@ -20,11 +20,11 @@ let
2020
2121in stdenv.mkDerivation rec {
2222 name = "nano-${version}";
23− version = "2.8.7";
23+ version = "2.9.0";
2424
2525 src = fetchurl {
2626 url = "mirror://gnu/nano/${name}.tar.xz";
27− sha256 = "0nhns59smd43mad2w6lnaxqnj4h6ifnlivi6cwydg646jm31gqzv";
27+ sha256 = "17hjgvig59a2ha2b0494bprrci3d33sayjqvxjhsnlzgr8whrlyj";
2828 };
2929
3030 nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
pkgs/applications/networking/ipfs/default.nix+3−3
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 name = "ipfs-${version}";
5− version = "0.4.11";
5+ version = "0.4.13";
66 rev = "v${version}";
77
88 goPackagePath = "github.com/ipfs/go-ipfs";
@@ -10,7 +10,7 @@ buildGoPackage rec {
1010 extraSrcPaths = [
1111 (fetchgx {
1212 inherit name src;
13− sha256 = "1n8xr9xg23wm255zjm7nxd761xapmsv11a0giks2gaibh4nps1jl";
13+ sha256 = "150lhf5999jz0nck5s0fs0fp3pgaj85s7dndh68h9caw1fwpwb4f";
1414 })
1515 ];
1616
@@ -18,7 +18,7 @@ buildGoPackage rec {
1818 owner = "ipfs";
1919 repo = "go-ipfs";
2020 inherit rev;
21− sha256 = "1qi87sq490xpj4mip1d30x4v77gkacnw4idm0mwla92pg44v6wh9";
21+ sha256 = "103mlsnqfnnqxh4phr192haaiv98d1bwpvca1sqrxz1216r5x0ik";
2222 };
2323
2424 meta = with stdenv.lib; {
pkgs/applications/networking/msmtp/default.nix+2
@@ -45,6 +45,8 @@ in stdenv.mkDerivation rec {
4545 substitute scripts/msmtpq/msmtp-queue $out/bin/msmtp-queue \
4646 --replace @msmtpq@ $out/bin/msmtpq
4747
48+ ln -s msmtp $out/bin/sendmail
49+
4850 chmod +x $out/bin/*
4951 '';
5052
pkgs/applications/video/kodi/default.nix+142−80
@@ -1,6 +1,7 @@
1−{ stdenv, lib, fetchurl, makeWrapper
1+{ stdenv, lib, fetchFromGitHub, fetchurl, autoconf, automake, libtool, makeWrapper
22, pkgconfig, cmake, gnumake, yasm, python2
3−, boost, avahi, libdvdcss, libdvdnav, libdvdread, lame, autoreconfHook
3+, libgcrypt, libgpgerror, libunistring
4+, boost, avahi, lame, autoreconfHook
45, gettext, pcre-cpp, yajl, fribidi, which
56, openssl, gperf, tinyxml2, taglib, libssh, swig, jre
67, libX11, xproto, inputproto, libxml2
@@ -16,133 +17,194 @@
1617, sqlite, mysql, nasm, gnutls, libva, wayland
1718, curl, bzip2, zip, unzip, glxinfo, xdpyinfo
1819, libcec, libcec_platform, dcadec, libuuid
19−, libcrossguid
20−, dbus_libs ? null, dbusSupport ? true
21−, udev, udevSupport ? true
22−, libusb ? null, usbSupport ? false
23−, samba ? null, sambaSupport ? true
24−, libmicrohttpd, bash
25−# TODO: would be nice to have nfsSupport (needs libnfs library)
26−, rtmpdump ? null, rtmpSupport ? true
27−, libvdpau ? null, vdpauSupport ? true
28−, libpulseaudio ? null, pulseSupport ? true
29−, joystickSupport ? true
20+, libcrossguid, libmicrohttpd
21+, bluez, doxygen, giflib, glib, harfbuzz, lcms2, libidn, libpthreadstubs, libtasn1, libXdmcp
22+, libplist, p11_kit, zlib
23+, dbusSupport ? true, dbus_libs ? null
24+, joystickSupport ? true, cwiid ? null
25+, nfsSupport ? true, libnfs ? null
26+, pulseSupport ? true, libpulseaudio ? null
27+, rtmpSupport ? true, rtmpdump ? null
28+, sambaSupport ? true, samba ? null
29+, udevSupport ? true, udev ? null
30+, usbSupport ? false, libusb ? null
31+, vdpauSupport ? true, libvdpau ? null
3032}:
3133
3234assert dbusSupport -> dbus_libs != null;
35+assert nfsSupport -> libnfs != null;
36+assert pulseSupport -> libpulseaudio != null;
37+assert rtmpSupport -> rtmpdump != null;
38+assert sambaSupport -> samba != null;
3339assert udevSupport -> udev != null;
3440assert usbSupport -> libusb != null && ! udevSupport; # libusb won't be used if udev is avaliable
35−assert sambaSupport -> samba != null;
3641assert vdpauSupport -> libvdpau != null;
37−assert pulseSupport -> libpulseaudio != null;
38−assert rtmpSupport -> rtmpdump != null;
42+
43+# TODO for Kodi 18.0
44+# - cmake is no longer in project/cmake
45+# - maybe we can remove auto{conf,make} and libtool from inputs
46+# - check if dbus support PR has been merged and add dbus as a buildInput
3947
4048let
41− kodi_version = "17.4";
49+ kodiReleaseDate = "20171115";
50+ kodiVersion = "17.6";
4251 rel = "Krypton";
43− ffmpeg_3_1_9 = fetchurl {
44− url = "https://github.com/xbmc/FFmpeg/archive/3.1.9-${rel}-${kodi_version}.tar.gz";
45− sha256 = "0rhjz505ljfg2jqbm3rd7qbcjq4vnp8h9a8vad8rjf84v3alglpa";
52+
53+ kodi_src = fetchFromGitHub {
54+ owner = "xbmc";
55+ repo = "xbmc";
56+ rev = "${kodiVersion}-${rel}";
57+ sha256 = "1pwmmbry7dajwdpmc1mdygjvxna4kl38h32d71g10yf3mdm5wmz3";
4658 };
47− # Usage of kodi fork of libdvdnav and libdvdread is necessary for functional dvd playback:
48− libdvdnav_src = fetchurl {
49− url = "https://github.com/xbmc/libdvdnav/archive/981488f.tar.gz";
50− sha256 = "312b3d15bc448d24e92f4b2e7248409525eccc4e75776026d805478e51c5ef3d";
59+
60+ kodiDependency = { name, version, rev, sha256, ... } @attrs:
61+ let
62+ attrs' = builtins.removeAttrs attrs ["name" "version" "rev" "sha256"];
63+ in stdenv.mkDerivation ({
64+ name = "kodi-${lib.toLower name}-${version}";
65+ src = fetchFromGitHub {
66+ owner = "xbmc";
67+ repo = name;
68+ inherit rev sha256;
69+ };
70+ enableParallelBuilding = true;
71+ } // attrs');
72+
73+ ffmpeg = kodiDependency rec {
74+ name = "FFmpeg";
75+ version = "3.1.11";
76+ rev = "${version}-${rel}-17.5"; # TODO: change 17.5 back to ${kodiVersion}
77+ sha256 = "0nc4sb6v1g3l11v9h5l9n44a8r40186rcbp2xg5c7vg6wcpjid13";
78+ preConfigure = ''
79+ cp ${kodi_src}/tools/depends/target/ffmpeg/{CMakeLists.txt,*.cmake} .
80+ '';
81+ buildInputs = [ gnutls libidn libtasn1 p11_kit zlib ];
82+ nativeBuildInputs = [ cmake nasm pkgconfig ];
5183 };
52− libdvdread_src = fetchurl {
53− url = "https://github.com/xbmc/libdvdread/archive/17d99db.tar.gz";
54− sha256 = "e7179b2054163652596a56301c9f025515cb08c6d6310b42b897c3ad11c0199b";
84+
85+ # we should be able to build these externally and have kodi reference them as buildInputs.
86+ # Doesn't work ATM though so we just use them for the src
87+
88+ libdvdcss = kodiDependency {
89+ name = "libdvdcss";
90+ version = "20160215";
91+ rev = "2f12236bc1c92f73c21e973363f79eb300de603f";
92+ sha256 = "198r0q73i55ga1dvyqq9nfcri0zq08b94hy8671lg14i3izx44dd";
93+ buildInputs = [ libdvdread ];
94+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
95+ };
96+
97+ libdvdnav = kodiDependency {
98+ name = "libdvdnav";
99+ version = "20170217";
100+ rev = "981488f7f27554b103cca10c1fbeba027396c94a";
101+ sha256 = "089pswc51l3avh95zl4cpsh7gh1innh7b2y4xgx840mcmy46ycr8";
102+ buildInputs = [ libdvdread ];
103+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
55104 };
105+
106+ libdvdread = kodiDependency {
107+ name = "libdvdread";
108+ version = "20160221";
109+ rev = "17d99db97e7b8f23077b342369d3c22a6250affd";
110+ sha256 = "1gr5aq1cjr3as9mnwrw29cxn4m6f6pfrxdahkdcjy70q3ldg90sl";
111+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
112+ };
113+
56114in stdenv.mkDerivation rec {
57− version = kodi_version;
58− name = "kodi-${version}";
115+ name = "kodi-${kodiVersion}";
59116
60− src = fetchurl {
61− url = "https://github.com/xbmc/xbmc/archive/${version}-${rel}.tar.gz";
62− sha256 = "1p1lxkapynjbd85ns7m4jybl4k35kxzv7105xkh03hlz8kkqc23b";
63− };
117+ src = kodi_src;
64118
65119 buildInputs = [
66− libxml2 gnutls yasm python2
120+ gnutls libidn libtasn1 nasm p11_kit
121+ libxml2 yasm python2
67122 boost libmicrohttpd
68123 gettext pcre-cpp yajl fribidi libva
69124 openssl gperf tinyxml2 taglib libssh swig jre
70− libX11 xproto inputproto which
71− libXt libXmu libXext xextproto
72− libXinerama libXrandr randrproto
73− libXtst libXfixes fixesproto
125+ libX11 xproto inputproto libXt libXmu libXext xextproto
126+ libXinerama libXrandr randrproto libXtst libXfixes fixesproto
74127 SDL SDL_image SDL_mixer alsaLib
75128 mesa glew fontconfig freetype ftgl
76− libjpeg jasper libpng libtiff wayland
129+ libjpeg jasper libpng libtiff libva wayland
77130 libmpeg2 libsamplerate libmad
78131 libogg libvorbis flac libxslt systemd
79132 lzo libcdio libmodplug libass libbluray
80− sqlite mysql.lib nasm avahi libdvdcss lame
133+ sqlite mysql.lib avahi lame
81134 curl bzip2 zip unzip glxinfo xdpyinfo
82135 libcec libcec_platform dcadec libuuid
83− libcrossguid
136+ libgcrypt libgpgerror libunistring
137+ libcrossguid cwiid libplist
138+ bluez giflib glib harfbuzz lcms2 libpthreadstubs libXdmcp
139+ ffmpeg
140+ # libdvdcss libdvdnav libdvdread
84141 ]
85− ++ lib.optional dbusSupport dbus_libs
86− ++ lib.optional udevSupport udev
87− ++ lib.optional usbSupport libusb
88− ++ lib.optional sambaSupport samba
89− ++ lib.optional vdpauSupport libvdpau
90− ++ lib.optional pulseSupport libpulseaudio
91− ++ lib.optional rtmpSupport rtmpdump
92− ++ lib.optional joystickSupport SDL2;
142+ ++ lib.optional dbusSupport dbus_libs
143+ ++ lib.optionals joystickSupport [ cwiid SDL2 ]
144+ ++ lib.optional nfsSupport libnfs
145+ ++ lib.optional pulseSupport libpulseaudio
146+ ++ lib.optional rtmpSupport rtmpdump
147+ ++ lib.optional sambaSupport samba
148+ ++ lib.optional udevSupport udev
149+ ++ lib.optional usbSupport libusb
150+ ++ lib.optional vdpauSupport libvdpau;
93151
94152 nativeBuildInputs = [
95− autoreconfHook cmake gnumake makeWrapper pkgconfig
153+ cmake
154+ doxygen
155+ makeWrapper
156+ which
157+ pkgconfig gnumake
158+ autoconf automake libtool # still needed for some components. Check if that is the case with 18.0
96159 ];
97160
98− dontUseCmakeConfigure = true;
161+ cmakeFlags = [
162+ "-Dlibdvdcss_URL=${libdvdcss.src}"
163+ "-Dlibdvdnav_URL=${libdvdnav.src}"
164+ "-Dlibdvdread_URL=${libdvdread.src}"
165+ "-DGIT_VERSION=${kodiReleaseDate}"
166+ "-DENABLE_EVENTCLIENTS=ON"
167+ "-DENABLE_INTERNAL_CROSSGUID=OFF"
168+ "-DENABLE_OPTICAL=ON"
169+ "-DLIRC_DEVICE=/run/lirc/lircd"
170+ ];
171+
172+ enableParallelBuilding = true;
173+
174+ # 14 tests fail but the biggest issue is that every test takes 30 seconds -
175+ # I'm guessing there is a thing waiting to time out
176+ doCheck = false;
99177
100178 postPatch = ''
101179 substituteInPlace xbmc/linux/LinuxTimezone.cpp \
102180 --replace 'usr/share/zoneinfo' 'etc/zoneinfo'
103− substituteInPlace tools/depends/target/ffmpeg/autobuild.sh \
104− --replace "/bin/bash" "${bash}/bin/bash -ex"
105− cp ${ffmpeg_3_1_9} tools/depends/target/ffmpeg/ffmpeg-3.1.9-${rel}-${version}.tar.gz
106− ln -s ${libdvdcss.src} tools/depends/target/libdvdcss/libdvdcss-master.tar.gz
107− cp ${libdvdnav_src} tools/depends/target/libdvdnav/libdvdnav-master.tar.gz
108− cp ${libdvdread_src} tools/depends/target/libdvdread/libdvdread-master.tar.gz
109181 '';
110182
111183 preConfigure = ''
112− patchShebangs .
113− ./bootstrap
114− # tests here fail
115− sed -i '/TestSystemInfo.cpp/d' xbmc/utils/test/{Makefile,CMakeLists.txt}
116− # tests here trigger a segfault in kodi.bin
117− sed -i '/TestWebServer.cpp/d' xbmc/network/test/{Makefile,CMakeLists.txt}
184+ cd project/cmake
118185 '';
119186
120− enableParallelBuilding = true;
121−
122− doCheck = true;
123−
124− configureFlags = [ "--enable-libcec" ]
125− ++ lib.optional (!sambaSupport) "--disable-samba"
126− ++ lib.optional vdpauSupport "--enable-vdpau"
127− ++ lib.optional pulseSupport "--enable-pulse"
128− ++ lib.optional rtmpSupport "--enable-rtmp"
129− ++ lib.optional joystickSupport "--enable-joystick";
130−
131187 postInstall = ''
132188 for p in $(ls $out/bin/) ; do
133189 wrapProgram $out/bin/$p \
134− --prefix PATH ":" "${lib.makeBinPath
135− [ python2 glxinfo xdpyinfo ]}" \
190+ --prefix PATH ":" "${lib.makeBinPath [ python2 glxinfo xdpyinfo ]}" \
136191 --prefix LD_LIBRARY_PATH ":" "${lib.makeLibraryPath
137192 [ curl systemd libmad libvdpau libcec libcec_platform rtmpdump libass SDL2 ]}"
138193 done
194+
195+ substituteInPlace $out/share/xsessions/kodi.desktop \
196+ --replace kodi-standalone $out/bin/kodi-standalone
139197 '';
140198
199+ doInstallCheck = true;
200+
201+ installCheckPhase = "$out/bin/kodi --version";
202+
141203 meta = with stdenv.lib; {
142− homepage = https://kodi.tv/;
143204 description = "Media center";
144− license = licenses.gpl2;
145− platforms = platforms.linux;
146− maintainers = with maintainers; [ domenkozar titanous edwtjo ];
205+ homepage = https://kodi.tv/;
206+ license = licenses.gpl2;
207+ platforms = platforms.linux;
208+ maintainers = with maintainers; [ domenkozar titanous edwtjo peterhoeg ];
147209 };
148210}
pkgs/data/icons/numix-icon-theme/default.nix+3−3
@@ -1,7 +1,7 @@
11{ stdenv, fetchFromGitHub }:
22
33stdenv.mkDerivation rec {
4− version = "2017-09-17";
4+ version = "2017-11-18";
55
66 package-name = "numix-icon-theme";
77
@@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
1010 src = fetchFromGitHub {
1111 owner = "numixproject";
1212 repo = package-name;
13− rev = "d0e7da93520e521bf7df7cffa3620c10a8400a7f";
14− sha256 = "1my43kv9yz9vdn51zhd13c8zavba17cqrmxkmhpx0c8xldjqfp3i";
13+ rev = "ea7f2069ca1f6190494e96aa2febcadf6248c5b4";
14+ sha256 = "1nk0mc2qycwmjqdlrsfgar5m83pyj3hf6f66pywf9706nn2yz8fv";
1515 };
1616
1717 dontBuild = true;
pkgs/desktops/lxde/core/lxtask/default.nixnew file+32
@@ -0,0 +1,32 @@
1+{ stdenv, fetchurl, pkgconfig, intltool, gtk3 }:
2+
3+stdenv.mkDerivation rec {
4+ name = "lxtask-${version}";
5+ version = "0.1.8";
6+
7+ src = fetchurl {
8+ url = "mirror://sourceforge/lxde/${name}.tar.xz";
9+ sha256 = "0h7g1fdngv939z1d05nzs86dplww5a3bpm0isxd7p1bjby047d6z";
10+ };
11+
12+ nativeBuildInputs = [ pkgconfig intltool ];
13+
14+ buildInputs = [ gtk3 ];
15+
16+ configureFlags = [ "--enable-gtk3" ];
17+
18+ meta = {
19+ description = "Lightweight and desktop independent task manager";
20+ longDescription = ''
21+ LXTask is a lightweight task manager derived from xfce4 task manager
22+ with all xfce4 dependencies removed, some bugs fixed, and some
23+ improvement of UI. Although being part of LXDE, the Lightweight X11
24+ Desktop Environment, it's totally desktop independent and only
25+ requires pure gtk+.
26+ '';
27+ homepage = https://wiki.lxde.org/en/LXTask;
28+ license = stdenv.lib.licenses.gpl2Plus;
29+ platforms = stdenv.lib.platforms.unix;
30+ maintainers = [ stdenv.lib.maintainers.romildo ];
31+ };
32+}
pkgs/desktops/plasma-5/breeze-plymouth/default.nix+32−3
@@ -1,15 +1,44 @@
11{
2− mkDerivation, lib, copyPathsToStore,
2+ mkDerivation,
3+ lib,
4+ copyPathsToStore,
35 extra-cmake-modules,
4− plymouth
6+ plymouth,
7+ nixos-icons,
8+ imagemagick,
9+ netpbm,
10+ perl,
11+ # these will typically need to be set via an override
12+ # in a NixOS context
13+ nixosBranding ? false,
14+ nixosName ? "NixOS",
15+ nixosVersion ? "",
16+ topColor ? "black",
17+ bottomColor ? "black"
518}:
619
20+let
21+ logoName = "nixos";
22+in
723mkDerivation {
824 name = "breeze-plymouth";
925 nativeBuildInputs = [ extra-cmake-modules ];
10− buildInputs = [ plymouth ];
26+ buildInputs = [ plymouth ] ++ lib.optionals nixosBranding [ imagemagick netpbm perl ];
1127 patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
28+ cmakeFlags = lib.optionals nixosBranding [
29+ "-DDISTRO_NAME=${nixosName}"
30+ "-DDISTRO_VERSION=${nixosVersion}"
31+ "-DDISTRO_LOGO=${logoName}"
32+ "-DBACKGROUND_TOP_COLOR=${topColor}"
33+ "-DBACKGROUND_BOTTOM_COLOR=${bottomColor}"
34+ ];
1235 postPatch = ''
1336 substituteInPlace cmake/FindPlymouth.cmake --subst-var out
37+ '' + lib.optionalString nixosBranding ''
38+ cp ${nixos-icons}/share/icons/hicolor/128x128/apps/nix-snowflake.png breeze/images/${logoName}.logo.png
39+
40+ # conversion for 16bit taken from the breeze-plymouth readme
41+ convert ${nixos-icons}/share/icons/hicolor/128x128/apps/nix-snowflake.png -alpha Background -background "#000000" -fill "#000000" -flatten tmp.png
42+ pngtopnm tmp.png | pnmquant 16 | pnmtopng > breeze/images/16bit/${logoName}.logo.png
1443 '';
1544}
pkgs/development/compilers/dtc/default.nix+22−5
@@ -1,18 +1,35 @@
1−{ stdenv, fetchgit, flex, bison }:
1+{ stdenv, fetchgit, fetchpatch, flex, bison, pkgconfig, python2, swig, which }:
22
33stdenv.mkDerivation rec {
44 name = "dtc-${version}";
5− version = "1.4.4";
5+ version = "1.4.5";
66
77 src = fetchgit {
88 url = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git";
99 rev = "refs/tags/v${version}";
10− sha256 = "1pxp7700b3za7q4fnsnxx6i8v66rnr8p6lyi7jf684y1hq5ynlnf";
10+ sha256 = "10y5pbkcj5gkijcgnlvrh6q2prpnvsgihb9asz3zfp66mcjwzsy3";
1111 };
1212
13− nativeBuildInputs = [ flex bison ];
13+ nativeBuildInputs = [ flex bison pkgconfig swig which ];
14+ buildInputs = [ python2 ];
1415
15− installFlags = [ "INSTALL=install" "PREFIX=$(out)" ];
16+ patches = [
17+ # Fix 32-bit build
18+ (fetchpatch {
19+ url = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git/patch/?id=497432fd2131967f349e69dc5d259072151cc4b4";
20+ sha256 = "1hrvhvz0qkck53mhacrc4rxjrvp34d8dkw7xb5lr4gpg32grvkpq";
21+ })
22+ # Fix setup.py
23+ (fetchpatch {
24+ url = "https://github.com/dezgeg/dtc/commit/d94a745148ba5c9198143ccc0f7d877fe498ab73.patch";
25+ sha256 = "0hpryx04j1swvmjisrfhvss08zzz4nxz9iv72lp4jdgg6vg0argl";
26+ })
27+ ];
28+ postPatch = ''
29+ patchShebangs pylibfdt/
30+ '';
31+
32+ installFlags = [ "INSTALL=install" "PREFIX=$(out)" "SETUP_PREFIX=$(out)" ];
1633
1734 meta = with stdenv.lib; {
1835 description = "Device Tree Compiler";
pkgs/development/libraries/catch/default.nix+3−3
@@ -2,13 +2,13 @@
22
33stdenv.mkDerivation rec {
44 name = "catch-${version}";
5− version = "1.9.6";
5+ version = "1.11.0";
66
77 src = fetchFromGitHub {
8− owner = "philsquared";
8+ owner = "catchorg";
99 repo = "Catch";
1010 rev = "v${version}";
11− sha256 = "0nqnyw6haa2771748ycag4hhjb8ni32cv4f7w3h0pji212542xan";
11+ sha256 = "0v9yw7ydvhydp78hh7cmaif4h73k5qxqpm1g7xn8i882i3s84s2s";
1212 };
1313
1414 nativeBuildInputs = [ cmake ];
pkgs/development/libraries/libjson-rpc-cpp/default.nix+3−1
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434 -DCMAKE_BUILD_TYPE=Release
3535 '';
3636
37− installPhase = ''
37+ installPhase = ''
3838 mkdir -p $out
3939
4040 function fixRunPath {
@@ -56,6 +56,8 @@ stdenv.mkDerivation rec {
5656 nativeBuildInputs = [ pkgconfig ];
5757 buildInputs = [ cmake jsoncpp argtable curl libmicrohttpd doxygen catch ];
5858
59+ enableParallelBuilding = true;
60+
5961 meta = with stdenv.lib; {
6062 description = "C++ framework for json-rpc (json remote procedure call)";
6163 homepage = https://github.com/cinemast/libjson-rpc-cpp;
pkgs/development/libraries/libxl/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, fetchurl }:
2+
3+stdenv.mkDerivation rec {
4+ name = "libxl";
5+ version = "3.8.1";
6+
7+ src = fetchurl {
8+ url = "http://www.libxl.com/download/${name}-lin-${version}.tar.gz";
9+ sha256 = "1zdbahhyhr70s8hygwp43j9z4zmglyrr782hkcm1078yvkr2f2fm";
10+ };
11+
12+ phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
13+
14+ installPhase = ''
15+ mkdir $out
16+ cp -rva include_c include_cpp license.txt $out/
17+ cp -rva lib64 $out/lib
18+ '';
19+
20+ meta = with stdenv.lib; {
21+ description = "A lbrary for parsing excel files";
22+ license = licenses.unfree;
23+ platforms = platforms.linux;
24+ maintainers = with maintainers; [ ];
25+ };
26+}
pkgs/development/libraries/physics/fastjet/default.nix+9−4
@@ -1,15 +1,20 @@
1−{ stdenv, fetchurl }:
1+{ stdenv, fetchurl, python2 }:
22
33stdenv.mkDerivation rec {
44 name = "fastjet-${version}";
5− version = "3.2.0";
5+ version = "3.3.0";
66
77 src = fetchurl {
88 url = "http://fastjet.fr/repo/fastjet-${version}.tar.gz";
9− sha256 = "1qvmab7l4ps5xd1wvmblgpzyhkbs2gff41qgyg7r7b9nlgqjgacn";
9+ sha256 = "03x75mmnlw2m0a7669k82rf9a7dgjwygf8wjbk8cdgnb82c5pnp9";
1010 };
1111
12− configureFlags = "--enable-allcxxplugins";
12+ buildInputs = [ python2 ];
13+
14+ configureFlags = [
15+ "--enable-allcxxplugins"
16+ "--enable-pyext"
17+ ];
1318
1419 enableParallelBuilding = true;
1520
pkgs/development/python-modules/pybfd/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ lib, buildPythonPackage, isPyPy, isPy3k, fetchurl, gdb, libbfd }:
2+
3+buildPythonPackage rec {
4+ name = "pybfd-0.1.1";
5+
6+ disabled = isPyPy || isPy3k;
7+
8+ src = fetchurl {
9+ url = "mirror://pypi/p/pybfd/${name}.tar.gz";
10+ sha256 = "d99b32ad077e704ddddc0b488c83cae851c14919e5cbc51715d00464a1932df4";
11+ };
12+
13+ preConfigure = ''
14+ substituteInPlace setup.py \
15+ --replace '"/usr/include"' '"${gdb}/include"' \
16+ --replace '"/usr/lib"' '"${libbfd}/lib"'
17+ '';
18+
19+ meta = {
20+ homepage = https://github.com/Groundworkstech/pybfd;
21+ description = "A Python interface to the GNU Binary File Descriptor (BFD) library";
22+ license = lib.licenses.gpl2;
23+ platforms = lib.platforms.linux;
24+ };
25+}
pkgs/development/tools/misc/strace/default.nix+2−2
@@ -2,11 +2,11 @@
22
33stdenv.mkDerivation rec {
44 name = "strace-${version}";
5− version = "4.19";
5+ version = "4.20";
66
77 src = fetchurl {
88 url = "mirror://sourceforge/strace/${name}.tar.xz";
9− sha256 = "10bjh2mrkvx41fk60b2iqv5b5k4r7a3qdsx04iyg904jqb3fp4vw";
9+ sha256 = "08y5b07vb8jc7ak5xc3x2kx1ly6xiwv1gnppcqjs81kks66i9wsv";
1010 };
1111
1212 nativeBuildInputs = [ perl ];
pkgs/development/tools/misc/uncrustify/default.nix+4−2
@@ -3,17 +3,19 @@
33stdenv.mkDerivation rec {
44 name = "${product}-${version}";
55 product = "uncrustify";
6− version = "0.64";
6+ version = "0.66";
77
88 src = fetchFromGitHub {
99 owner = product;
1010 repo = product;
1111 rev = name;
12− sha256 = "0gvgv44aqrh7cmj4ji8dpbhp47cklvajlc3s9d9z24x96dhp2v97";
12+ sha256 = "156y71yf2xxskvikbn6yjfv8xgnsrrjij08irv21z0n7nx35jgmm";
1313 };
1414
1515 nativeBuildInputs = [ cmake ];
1616
17+ enableParallelBuilding = true;
18+
1719 meta = with stdenv.lib; {
1820 description = "Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA";
1921 homepage = http://uncrustify.sourceforge.net/;
pkgs/misc/uboot/default.nix+23−6
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, bc, dtc, python2
1+{ stdenv, fetchurl, fetchpatch, bc, dtc, python2
22, hostPlatform
33}:
44
@@ -12,21 +12,38 @@ let
1212 stdenv.mkDerivation (rec {
1313
1414 name = "uboot-${defconfig}-${version}";
15− version = "2017.03";
15+ version = "2017.11";
1616
1717 src = fetchurl {
1818 url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2";
19− sha256 = "0gqihplap05dlpwdb971wsqyv01nz2vabwq5g5649gr5jczsyjzm";
19+ sha256 = "01bcsah5imy6m3fbjwhqywxg0pfk5fl8ks9ylb7kv3zmrb9qy0ba";
2020 };
2121
22− nativeBuildInputs = [ bc dtc python2 ];
23−
24− hardeningDisable = [ "all" ];
22+ patches = [
23+ (fetchpatch {
24+ url = https://github.com/dezgeg/u-boot/commit/rpi-2017-11-patch1.patch;
25+ sha256 = "067yq55vv1slv4xy346px7h329pi14abdn04chg6s1s6hmf6c1x9";
26+ })
27+ (fetchpatch {
28+ url = https://github.com/dezgeg/u-boot/commit/rpi-2017-11-patch2.patch;
29+ sha256 = "0bbw0q027xvzvdxxvpzjajg4rm30a8mb7z74b6ma9q0l7y7bi0c4";
30+ })
31+ (fetchpatch {
32+ url = https://github.com/dezgeg/u-boot/commit/pythonpath-2017-11.patch;
33+ sha256 = "162b2lglp307pzxsf9m7nnmzwxqd7xkwp5j85bm6bg1a38ngpl9v";
34+ })
35+ ];
2536
2637 postPatch = ''
2738 patchShebangs tools
2839 '';
2940
41+ nativeBuildInputs = [ bc dtc python2 ];
42+
43+ hardeningDisable = [ "all" ];
44+
45+ makeFlags = [ "DTC=dtc" ];
46+
3047 configurePhase = ''
3148 make ${defconfig}
3249 '';
pkgs/os-specific/darwin/apple-source-releases/default.nix+2
@@ -42,6 +42,7 @@ let
4242 adv_cmds = "163";
4343 file_cmds = "264.1.1";
4444 shell_cmds = "187";
45+ system_cmds = "550.6";
4546 };
4647 "osx-10.11.5" = {
4748 Libc = "1082.50.1"; # 10.11.6 still unreleased :/
@@ -240,6 +241,7 @@ let
240241 network_cmds = applePackage "network_cmds" "osx-10.11.6" "0lhi9wz84qr1r2ab3fb4nvmdg9gxn817n5ldg7zw9gnf3wwn42kw" {};
241242 file_cmds = applePackage "file_cmds" "osx-10.11.6" "1zfxbmasps529pnfdjvc13p7ws2cfx8pidkplypkswyff0nff4wp" {};
242243 shell_cmds = applePackage "shell_cmds" "osx-10.11.6" "0084k271v66h4jqp7q7rmjvv7w4mvhx3aq860qs8jbd30canm86n" {};
244+ system_cmds = applePackage "system_cmds" "osx-10.11.6" "1h46j2c5v02pkv5d9fyv6cpgyg0lczvwicrx6r9s210cl03l77jl" {};
243245
244246 libsecurity_apple_csp = libsecPackage "libsecurity_apple_csp" "osx-10.7.5" "1ngyn1ik27n4x981px3kfd1z1n8zx7r5w812b6qfjpy5nw4h746w" {};
245247 libsecurity_apple_cspdl = libsecPackage "libsecurity_apple_cspdl" "osx-10.7.5" "1svqa5fhw7p7njzf8bzg7zgc5776aqjhdbnlhpwmr5hmz5i0x8r7" {};
pkgs/os-specific/darwin/apple-source-releases/system_cmds/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ stdenv, appleDerivation, xcbuild }:
2+
3+appleDerivation rec {
4+ # xcbuild fails with:
5+ # /nix/store/fc0rz62dh8vr648qi7hnqyik6zi5sqx8-xcbuild-wrapper/nix-support/setup-hook: line 1: 9083 Segmentation fault: 11 xcodebuild OTHER_CFLAGS="$NIX_CFLAGS_COMPILE" OTHER_CPLUSPLUSFLAGS="$NIX_CFLAGS_COMPILE" OTHER_LDFLAGS="$NIX_LDFLAGS" build
6+ # buildInputs = [ xcbuild ];
7+
8+ # # temporary install phase until xcodebuild has "install" support
9+ # installPhase = ''
10+ # mkdir -p $out/bin/
11+ # install system_cmds-*/Build/Products/Release/* $out/bin/
12+
13+ # for n in 1 5 8; do
14+ # mkdir -p $out/share/man/man$n
15+ # install */*.$n $out/share/man/man$n
16+ # done
17+ # '';
18+
19+ # For now we just build sysctl because that's all I need... Please open a
20+ # PR if you need any other utils before we fix the xcodebuild.
21+ buildPhase = "cc sysctl.tproj/sysctl.c -o sysctl";
22+
23+ installPhase =
24+ ''
25+ mkdir -p $out/bin
26+ install sysctl $out/bin
27+ for n in 5 8; do
28+ mkdir -p $out/share/man/man$n
29+ install sysctl.tproj/*.$n $out/share/man/man$n
30+ done
31+ '';
32+
33+ meta = {
34+ platforms = stdenv.lib.platforms.darwin;
35+ maintainers = with stdenv.lib.maintainers; [ shlevy ];
36+ };
37+}
pkgs/os-specific/linux/kernel/linux-4.13.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
22
33import ./generic.nix (args // rec {
4− version = "4.13.13";
4+ version = "4.13.14";
55 extraMeta.branch = "4.13";
66
77 src = fetchurl {
88 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9− sha256 = "0izyma1b9bh4hfp00ph91n91zqkbwjnkdifvr4h8ipmxm0y8ig0m";
9+ sha256 = "10rjrh5yg6mdfg44xnyd5r4fc91c3b0hqf2yy7qzy7z1kr22lixs";
1010 };
1111} // (args.argsOverride or {}))
pkgs/os-specific/linux/kernel/linux-4.4.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
22
33import ./generic.nix (args // rec {
4− version = "4.4.98";
4+ version = "4.4.99";
55 extraMeta.branch = "4.4";
66
77 src = fetchurl {
88 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9− sha256 = "1mvk6vw6fjqnl01bx78viydkalgj33v2ynz4gi4yk1d357l54yar";
9+ sha256 = "0mkyipq1l0lh04shavanx61z75c5r66xh33x47pswvhr2j6mjqxf";
1010 };
1111} // (args.argsOverride or {}))
pkgs/os-specific/linux/kernel/linux-4.9.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
22
33import ./generic.nix (args // rec {
4− version = "4.9.62";
4+ version = "4.9.63";
55 extraMeta.branch = "4.9";
66
77 src = fetchurl {
88 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
9− sha256 = "0cpxhj40dxm0i9yg4hg5hwlhq4083l7i5jc3psfr6zcy5k7c5ph2";
9+ sha256 = "18rfvzsxgjr9223r3lznbrj6fh533d68nizpcz556d7x6dpkij91";
1010 };
1111} // (args.argsOverride or {}))
pkgs/os-specific/linux/wireguard/default.nix+2−2
@@ -6,11 +6,11 @@ assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "3.10";
66let
77 name = "wireguard-${version}";
88
9− version = "0.0.20171101";
9+ version = "0.0.20171111";
1010
1111 src = fetchurl {
1212 url = "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${version}.tar.xz";
13− sha256 = "0983aivw7wc5qq8didh4bdbdxcmddbpganf0z1xnqmjyls168sq9";
13+ sha256 = "0mqix3v4qqwwa7hcd0h5rcwhc7yvm9jcl8b3v1vc4sj0m637fd6r";
1414 };
1515
1616 meta = with stdenv.lib; {
pkgs/servers/matrix-synapse/default.nix+2−2
@@ -24,13 +24,13 @@ let
2424 };
2525in pythonPackages.buildPythonApplication rec {
2626 name = "matrix-synapse-${version}";
27− version = "0.24.1";
27+ version = "0.25.1";
2828
2929 src = fetchFromGitHub {
3030 owner = "matrix-org";
3131 repo = "synapse";
3232 rev = "v${version}";
33− sha256 = "08w8sawq0nj28dzi9wc4rsg9z2qv528djj4zbcs5c4yc3mylq1nq";
33+ sha256 = "110558l147n1dqpylzrdzp8spj36nack88c5kknsxn69gr8yb7j2";
3434 };
3535
3636 patches = [ ./matrix-synapse.patch ];
pkgs/servers/mattermost/default.nix+3−3
@@ -2,7 +2,7 @@
22
33buildGoPackage rec {
44 name = "mattermost-${version}";
5− version = "4.4.0";
5+ version = "4.4.1";
66
77 src = fetchFromGitHub {
88 owner = "mattermost";
@@ -13,7 +13,7 @@ buildGoPackage rec {
1313
1414 webApp = fetchurl {
1515 url = "https://releases.mattermost.com/${version}/mattermost-team-${version}-linux-amd64.tar.gz";
16− sha256 = "1ifxx17sm24c6sihg38lzpnb5x24m04bk25nn5hrw9iwc37lfzlp";
16+ sha256 = "1gnzv9xkqawi36z7v9xsy1gk16x71qf0kn8r059qvyarjlyp7888";
1717 };
1818
1919 goPackagePath = "github.com/mattermost/mattermost-server";
@@ -38,7 +38,7 @@ buildGoPackage rec {
3838 description = "Open-Source, self-hosted Slack-alternative";
3939 homepage = https://www.mattermost.org;
4040 license = with licenses; [ agpl3 asl20 ];
41− maintainers = with maintainers; [ fpletz ];
41+ maintainers = with maintainers; [ fpletz ryantm ];
4242 platforms = platforms.unix;
4343 };
4444}
pkgs/servers/monitoring/grafana/default.nix+3−3
@@ -1,7 +1,7 @@
11{ lib, buildGoPackage, fetchurl, fetchFromGitHub, phantomjs2 }:
22
33buildGoPackage rec {
4− version = "4.6.1";
4+ version = "4.6.2";
55 name = "grafana-v${version}";
66 goPackagePath = "github.com/grafana/grafana";
77
@@ -9,12 +9,12 @@ buildGoPackage rec {
99 rev = "v${version}";
1010 owner = "grafana";
1111 repo = "grafana";
12− sha256 = "1l606dbx3rfbqbr30iirsc2lkzqa2kc6160g2sn0205mdz8b31zj";
12+ sha256 = "0awf00n3rrxjyiza3mga496k1k9c4fkg6rxn9azdab1qvdkzh513";
1313 };
1414
1515 srcStatic = fetchurl {
1616 url = "https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-${version}.linux-x64.tar.gz";
17− sha256 = "04756ry3b8fyk91lzacsixha6l4q1g532krxz759d17sfrnbaz2q";
17+ sha256 = "08svlg190h5nvv701lcl3a2iak2xdmslpdwjv2w5fcdfyp7bd6ld";
1818 };
1919
2020 preBuild = "export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace";
pkgs/shells/zsh-powerlevel9k/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, fetchFromGitHub, zsh }:
2+
3+# To make use of this derivation, use
4+# `programs.zsh.promptInit = "source ${pkgs.zsh-powerlevel9k}/share/zsh-powerlevel9k/powerlevel9k.zsh-theme";`
5+
6+stdenv.mkDerivation rec {
7+ name = "powerlevel9k-${version}";
8+ version = "2017-11-10";
9+ src = fetchFromGitHub {
10+ owner = "bhilburn";
11+ repo = "powerlevel9k";
12+ rev = "87acc51acab3ed4fd33cda2386abed6f98c80720";
13+ sha256 = "0v1dqg9hvycdkcvklg2njff97xwr8rah0nyldv4xm39r77f4yfvq";
14+ };
15+
16+ installPhase= ''
17+ install -D powerlevel9k.zsh-theme --target-directory=$out/share/zsh-powerlevel9k
18+ install -D functions/* --target-directory=$out/share/zsh-powerlevel9k/functions
19+ '';
20+
21+ meta = {
22+ description = "A beautiful theme for zsh";
23+ homepage = https://github.com/bhilburn/powerlevel9k;
24+ license = stdenv.lib.licenses.mit;
25+
26+ platforms = stdenv.lib.platforms.unix;
27+ maintainers = [ stdenv.lib.maintainers.pierrechevalier83 ];
28+ };
29+}
pkgs/tools/filesystems/bonnie/default.nix+1−1
@@ -3,7 +3,7 @@
33stdenv.mkDerivation rec {
44 name = "bonnie++-1.97.3";
55 src = fetchurl {
6− url = "http://www.coker.com.au/bonnie++/experimental/${name}.tgz";
6+ url = "https://fossies.org/linux/privat/${name}.tgz";
77 sha256 = "0vkl42rsrsy95fc1ykc6g8rsdbnpxayvdaihnnkly1fww1m3hyz2";
88 };
99
pkgs/tools/misc/filebench/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl }:
1+{ stdenv, fetchurl, autoreconfHook, bison, flex }:
22
33stdenv.mkDerivation rec {
44 name = "filebench-${version}";
@@ -6,9 +6,11 @@ stdenv.mkDerivation rec {
66
77 src = fetchurl {
88 url = "mirror://sourceforge/filebench/${name}.tar.gz";
9− sha256 = "0y06f9mp4xry6j1jamqprzn963l0krqayv14yv66pm51hdh53ld1";
9+ sha256 = "13hmx67lsz367sn8lrvz1780mfczlbiz8v80gig9kpkpf009yksc";
1010 };
1111
12+ nativeBuildInputs = [ autoreconfHook bison flex ];
13+
1214 meta = with stdenv.lib; {
1315 description = "File system and storage benchmark that can generate both micro and macro workloads";
1416 homepage = https://sourceforge.net/projects/filebench/;
pkgs/tools/misc/less/default.nix+2−2
@@ -1,11 +1,11 @@
11{ stdenv, fetchurl, ncurses, lessSecure ? false }:
22
33stdenv.mkDerivation rec {
4− name = "less-520";
4+ name = "less-529";
55
66 src = fetchurl {
77 url = "http://www.greenwoodsoftware.com/less/${name}.tar.gz";
8− sha256 = "12wh0j07971j53v7irfcv0vkb7wpi7f83jll4mwjy92wc27fm2bv";
8+ sha256 = "02wspzv90cki8936m50qxk0vrribvwwqlva21nyvfx41qga2r96v";
99 };
1010
1111 configureFlags = [ "--sysconfdir=/etc" ] # Look for ‘sysless’ in /etc.
pkgs/tools/networking/iperf/3.nix+5−3
@@ -1,13 +1,15 @@
1−{ stdenv, fetchurl }:
1+{ stdenv, fetchurl, openssl }:
22
33stdenv.mkDerivation rec {
4− name = "iperf-3.2";
4+ name = "iperf-3.3";
55
66 src = fetchurl {
77 url = "http://downloads.es.net/pub/iperf/${name}.tar.gz";
8− sha256 = "07cwrl9q5pmfjlh6ilpk7hm25lpkcaf917zhpmfq918lhrpv61zj";
8+ sha256 = "1n442bjkm1dvzmcj8z1i99yrmba489yz3f5v27ybymhh4mqn4nbg";
99 };
1010
11+ buildInputs = [ openssl ];
12+
1113 postInstall = ''
1214 ln -s iperf3 $out/bin/iperf
1315 '';
pkgs/tools/system/fio/default.nix+2−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, libaio, python, zlib }:
22
33let
4− version = "3.1";
5− sha256 = "09rsfhzpi089cwpg07c8kgvs4d2n77a7mn1vj8iwjjzacs3fbllx";
4+ version = "3.2";
5+ sha256 = "1sp83lxhrwg4627bma3pkcfg8yd1w3r6p02rdldv083962ljkinm";
66in
77
88stdenv.mkDerivation rec {
pkgs/top-level/all-packages.nix+7
@@ -3175,6 +3175,8 @@ with pkgs;
31753175
31763176 libxcomp = callPackage ../development/libraries/libxcomp { };
31773177
3178+ libxl = callPackage ../development/libraries/libxl {};
3179+
31783180 libx86emu = callPackage ../development/libraries/libx86emu { };
31793181
31803182 libzmf = callPackage ../development/libraries/libzmf {};
@@ -5318,6 +5320,8 @@ with pkgs;
53185320
53195321 zsh-autosuggestions = callPackage ../shells/zsh-autosuggestions { };
53205322
5323+ zsh-powerlevel9k = callPackage ../shells/zsh-powerlevel9k { };
5324+
53215325 zstd = callPackage ../tools/compression/zstd { };
53225326 zstdmt = callPackage ../tools/compression/zstdmt { };
53235327
@@ -6489,6 +6493,8 @@ with pkgs;
64896493 gtk2 = gtk2-x11;
64906494 };
64916495
6496+ lxtask = callPackage ../desktops/lxde/core/lxtask { };
6497+
64926498 kona = callPackage ../development/interpreters/kona {};
64936499
64946500 lolcode = callPackage ../development/interpreters/lolcode { };
@@ -6634,6 +6640,7 @@ with pkgs;
66346640
66356641 # Python interpreters. All standard library modules are included except for tkinter, which is
66366642 # available as `pythonPackages.tkinter` and can be used as any other Python package.
6643+ # When switching these sets, please update docs at ../../doc/languages-frameworks/python.md
66376644 python = python2;
66386645 python2 = python27;
66396646 python3 = python36;
pkgs/top-level/perl-packages.nix+2−2
@@ -9172,10 +9172,10 @@ let self = _self // overrides; _self = with self; {
91729172 };
91739173
91749174 Moo = buildPerlPackage rec {
9175− name = "Moo-2.003000";
9175+ name = "Moo-2.003003";
91769176 src = fetchurl {
91779177 url = "mirror://cpan/authors/id/H/HA/HAARG/${name}.tar.gz";
9178− sha256 = "ccab84b1377e52922026b24b2ed51d83c439757f2b0783fffa73ac22b4fb3dd2";
9178+ sha256 = "6d858dcb376186533cfb63e45963d0464ac12832cc06fc6ed8ae796bdd8d5504";
91799179 };
91809180 buildInputs = [ TestFatal ];
91819181 propagatedBuildInputs = [ ClassMethodModifiers DevelGlobalDestruction ModuleRuntime RoleTiny SubQuote ];
pkgs/top-level/php-packages.nix+15
@@ -73,6 +73,21 @@ let
7373 ];
7474 };
7575
76+ php_excel = assert isPhp7; buildPecl rec {
77+ name = "php_excel";
78+ version = "1.0.2";
79+ phpVersion = "php7";
80+
81+ buildInputs = [ pkgs.libxl ];
82+
83+ src = pkgs.fetchurl {
84+ url = "https://github.com/iliaal/${name}/releases/download/Excel-1.0.2-PHP7/excel-${version}-${phpVersion}.tgz";
85+ sha256 = "0dpvih9gpiyh1ml22zi7hi6kslkilzby00z1p8x248idylldzs2n";
86+ };
87+
88+ configureFlags = [ "--with-excel" "--with-libxl-incdir=${pkgs.libxl}/include_c" "--with-libxl-libdir=${pkgs.libxl}/lib" ];
89+ };
90+
7691 igbinary = buildPecl {
7792 name = "igbinary-2.0.4";
7893
pkgs/top-level/python-packages.nix+1−23
@@ -15206,29 +15206,7 @@ in {
1520615206 };
1520715207 });
1520815208
15209− pybfd = buildPythonPackage rec {
15210− name = "pybfd-0.1.1";
15211−
15212− disabled = isPyPy || isPy3k;
15213−
15214− src = pkgs.fetchurl {
15215− url = "mirror://pypi/p/pybfd/${name}.tar.gz";
15216− sha256 = "d99b32ad077e704ddddc0b488c83cae851c14919e5cbc51715d00464a1932df4";
15217− };
15218−
15219− preConfigure = ''
15220− substituteInPlace setup.py \
15221− --replace '"/usr/include"' '"${pkgs.gdb}/include"' \
15222− --replace '"/usr/lib"' '"${pkgs.libbfd}/lib"'
15223− '';
15224−
15225− meta = {
15226− homepage = https://github.com/Groundworkstech/pybfd;
15227− description = "A Python interface to the GNU Binary File Descriptor (BFD) library";
15228− license = licenses.gpl2;
15229− platforms = platforms.linux;
15230− };
15231− };
15209+ pybfd = callPackage ../development/python-modules/pybfd { };
1523215210
1523315211 pyblock = stdenv.mkDerivation rec {
1523415212 name = "pyblock-${version}";