Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f98b4b0fda37
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 074b7e3ebca3
Choose a head ref

Commits on Mar 20, 2019

  1. nvidia_x11: 418.43 -> 418.56

    eadwu committed Mar 20, 2019
    Copy the full SHA
    928d51a View commit details

Commits on Mar 27, 2019

  1. arora: Add license

    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    matthiasbeyer committed Mar 27, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    delroth Pierre Bourdon
    Copy the full SHA
    a8630ee View commit details
  2. aspectj: Add license

    Source: https://git.eclipse.org/c/aspectj/org.aspectj.git/tree/docs/build.xml#n7
    
    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    matthiasbeyer committed Mar 27, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9daa25f View commit details
  3. atanks: Add license

    Source: https://sourceforge.net/p/atanks/atanks/ci/master/tree/COPYING
    
    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    matthiasbeyer committed Mar 27, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    54f4958 View commit details
  4. checkinstall: Add license

    Source: http://checkinstall.izto.org/docs/LICENSE
    
    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    matthiasbeyer committed Mar 27, 2019
    Copy the full SHA
    3499210 View commit details

Commits on Apr 2, 2019

  1. nixos/roundcube: only configure postgres config if localhost is used …

    …as database
    
    When using a different database, the evaluation fails as
    `config.services.postgresql.package` is only set if `services.postgresql` is enabled.
    
    Also, the systemd service shouldn't have a relation to postgres if a
    remote database is used.
    Ma27 committed Apr 2, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    6b6348e View commit details
  2. roundcube: don't resolve symlinks in update.sh

    A side-effect of this is that the derivation required a rewrite in order
    to apply the patch properly.
    Ma27 committed Apr 2, 2019
    Copy the full SHA
    324e6db View commit details

Commits on Apr 5, 2019

  1. Copy the full SHA
    0dd9a8f View commit details

Commits on Apr 6, 2019

  1. fanficfare: 3.1.1 -> 3.6.0

    Switch to Python 3 and fetching from Pypi
    jtojnar committed Apr 6, 2019
    Copy the full SHA
    621c4b8 View commit details

Commits on Apr 7, 2019

  1. Copy the full SHA
    8203fba View commit details

Commits on Apr 8, 2019

  1. Copy the full SHA
    74e3bf3 View commit details

Commits on Apr 9, 2019

  1. Copy the full SHA
    5e19cec View commit details
  2. wireshark: fix darwin build

    Fixing the cycle in the cmake files is also needed on darwin.
    LnL7 authored and teto committed Apr 9, 2019
    Copy the full SHA
    064bcdb View commit details
  3. wireshark: fix Wireshark.app on darwin

    Generalize install_name_tool fixup calls for Wireshark.app to avoid breaking
    when version numbers change.
    LnL7 authored and teto committed Apr 9, 2019
    Copy the full SHA
    a97e16e View commit details
  4. powershell: 6.1.2 -> 6.2.0

    yrashk committed Apr 9, 2019
    Copy the full SHA
    9cc80bc View commit details
  5. clisp: Add license

    Source: http://ftp.gnu.org/pub/gnu/clisp/release/latest/clisp-2.49.tar.gz
    File: GNU-GPL
    
    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    matthiasbeyer committed Apr 9, 2019
    Copy the full SHA
    60752be View commit details
  6. Copy the full SHA
    3eb4e95 View commit details
  7. Copy the full SHA
    952d983 View commit details
  8. gegl_0_4: 0.4.12 → 0.4.14

    Upgrade, clean up and remove intltool, which is not used since 0.3.22.
    jtojnar committed Apr 9, 2019
    Copy the full SHA
    1fffbf8 View commit details
  9. Copy the full SHA
    810b6e2 View commit details
  10. Merge pull request #56776 from teto/wireshark3

    wireshark: 2.6.6 -> 3.0.1 [RDY]
    LnL7 authored Apr 9, 2019
    Copy the full SHA
    9222e53 View commit details
  11. Merge pull request #59200 from yrashk/powershell-6.2.0

    powershell: 6.1.2 -> 6.2.0
    xeji authored Apr 9, 2019
    Copy the full SHA
    c1a94a6 View commit details
  12. python37Packages.pymediainfo: 3.0 -> 3.1 (#57436)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python3.7-pymediainfo/versions
    r-ryantm authored and xeji committed Apr 9, 2019
    Copy the full SHA
    494752a View commit details
  13. polyml: 5.7.1 -> 5.8 (#58753)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/polyml/versions
    r-ryantm authored and xeji committed Apr 9, 2019
    Copy the full SHA
    ea0a329 View commit details
  14. python37Packages.uproot-methods: 0.4.3 -> 0.4.4 (#58850)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python3.7-uproot-methods/versions
    r-ryantm authored and xeji committed Apr 9, 2019
    Copy the full SHA
    4f186d2 View commit details
  15. owncloud-client: 2.5.3.11470 -> 2.5.4.11654 (#58738)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/owncloud-client/versions
    r-ryantm authored and xeji committed Apr 9, 2019
    Copy the full SHA
    c51fcbc View commit details
  16. Merge pull request #59213 from lsix/update_django_2_1

    pythonPackages.django_2_1: 2.1.7 -> 2.1.8
    xeji authored Apr 9, 2019
    Copy the full SHA
    d0eb7e8 View commit details
  17. Copy the full SHA
    8db38cd View commit details
  18. cpulimit: 2.5 -> 2.6

    rycee committed Apr 9, 2019
    Copy the full SHA
    c641c1b View commit details
  19. Merge pull request #59108 from willtim/master

     mixxx: 2.1.5 -> 2.2.0 (#53643) - QT5 version
    markuskowa authored Apr 9, 2019
    Copy the full SHA
    5f62136 View commit details
  20. containerd: 1.2.5 -> 1.2.6

    Signed-off-by: Vincent Demeester <vincent@sbr.pm>
    vdemeester committed Apr 9, 2019
    Copy the full SHA
    6adf0f3 View commit details
  21. Copy the full SHA
    2e35154 View commit details
  22. Merge pull request #58804 from Ma27/roundcube-fixes

    roundcube: minor fixes
    globin authored Apr 9, 2019
    Copy the full SHA
    f370553 View commit details
  23. mysql-workbench: 8.0.14 -> 8.0.15 (#57328)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/mysql-workbench/versions
    r-ryantm authored and xeji committed Apr 9, 2019
    Copy the full SHA
    dc717bd View commit details
  24. i2pd: 2.23.0 -> 2.24.0 (#58696)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/i2pd/versions
    r-ryantm authored and xeji committed Apr 9, 2019
    Copy the full SHA
    36bb2e3 View commit details
  25. Merge pull request #59223 from vdemeester/update-containerd

    containerd: 1.2.5 -> 1.2.6
    xeji authored Apr 9, 2019
    Copy the full SHA
    644ff0b View commit details
  26. libnfs: 3.0.0 -> 4.0.0 (#57285)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/libnfs/versions
    r-ryantm authored and xeji committed Apr 9, 2019
    Copy the full SHA
    325fa0d View commit details
  27. Merge pull request #59210 from taku0/flashplayer-32.0.0.171

    flashplayer: 32.0.0.156 -> 32.0.0.171
    xeji authored Apr 9, 2019
    Copy the full SHA
    68106fa View commit details
  28. Merge pull request #52320 from r-ryantm/auto-update/fanficfare

    fanficfare: 3.1.1 -> 3.6.0
    xeji authored Apr 9, 2019
    Copy the full SHA
    ca33a4f View commit details
  29. Merge pull request #59180 from jtojnar/gimp-2.10.10

    gimp: 2.10.8 → 2.10.10
    jtojnar authored Apr 9, 2019
    Copy the full SHA
    9002989 View commit details
  30. Copy the full SHA
    d6afe8c View commit details
  31. Merge pull request #57991 from eadwu/nvidia_x11/418.56

    nvidia_x11: 418.43 -> 418.56
    c0bw3b authored Apr 9, 2019
    Copy the full SHA
    2d7cf06 View commit details
  32. ocserv: 0.12.2 -> 0.12.3 (#58730)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/ocserv/versions
    r-ryantm authored and timokau committed Apr 9, 2019
    Copy the full SHA
    72a198f View commit details
  33. Merge pull request #53460 from markuskowa/upd-v4lutils

    v4l-utils: 1.16.2 -> 1.16.5
    markuskowa authored Apr 9, 2019
    Copy the full SHA
    074b7e3 View commit details
Showing with 227 additions and 137 deletions.
  1. +24 −20 nixos/modules/services/mail/roundcube.nix
  2. +8 −8 pkgs/applications/audio/mixxx/default.nix
  3. +4 −4 pkgs/applications/graphics/gimp/default.nix
  4. +2 −2 pkgs/applications/misc/mysql-workbench/default.nix
  5. +1 −0 pkgs/applications/networking/browsers/arora/default.nix
  6. +2 −2 pkgs/applications/networking/browsers/chromium/plugins.nix
  7. +5 −5 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
  8. +3 −3 pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
  9. +1 −1 pkgs/applications/networking/instant-messengers/pidgin/default.nix
  10. +2 −2 pkgs/applications/networking/owncloud-client/default.nix
  11. +27 −34 pkgs/applications/networking/sniffers/wireshark/default.nix
  12. +2 −2 pkgs/applications/virtualization/containerd/default.nix
  13. +1 −0 pkgs/development/compilers/aspectj/default.nix
  14. +1 −0 pkgs/development/interpreters/clisp/default.nix
  15. +34 −9 pkgs/development/libraries/gegl/4.0.nix
  16. +2 −2 pkgs/development/libraries/libnfs/default.nix
  17. +2 −2 pkgs/development/python-modules/django/2_1.nix
  18. +2 −2 pkgs/development/python-modules/pymediainfo/default.nix
  19. +2 −2 pkgs/development/python-modules/uproot-methods/default.nix
  20. +22 −0 pkgs/development/python-modules/zerorpc/default.nix
  21. +1 −0 pkgs/games/atanks/default.nix
  22. +4 −4 pkgs/os-specific/linux/nvidia-x11/default.nix
  23. +2 −2 pkgs/os-specific/linux/v4l-utils/default.nix
  24. +27 −0 pkgs/servers/roundcube/0001-Don-t-resolve-symlinks-when-trying-to-find-INSTALL_P.patch
  25. +15 −8 pkgs/servers/roundcube/default.nix
  26. +3 −3 pkgs/shells/powershell/default.nix
  27. +2 −2 pkgs/tools/misc/cpulimit/default.nix
  28. +2 −2 pkgs/tools/networking/i2pd/default.nix
  29. +2 −2 pkgs/tools/networking/ocserv/default.nix
  30. +1 −0 pkgs/tools/package-management/checkinstall/default.nix
  31. +16 −10 pkgs/tools/text/fanficfare/default.nix
  32. +3 −4 pkgs/top-level/all-packages.nix
  33. +2 −0 pkgs/top-level/python-packages.nix
44 changes: 24 additions & 20 deletions nixos/modules/services/mail/roundcube.nix
Original file line number Diff line number Diff line change
@@ -141,27 +141,31 @@ in

systemd.services.roundcube-setup = let
pgSuperUser = config.services.postgresql.superUser;
in {
requires = [ "postgresql.service" ];
after = [ "postgresql.service" ];
wantedBy = [ "multi-user.target" ];
path = [ config.services.postgresql.package ];
script = ''
mkdir -p /var/lib/roundcube
if [ ! -f /var/lib/roundcube/db-created ]; then
if [ "${cfg.database.host}" = "localhost" ]; then
${pkgs.sudo}/bin/sudo -u ${pgSuperUser} psql postgres -c "create role ${cfg.database.username} with login password '${cfg.database.password}'";
${pkgs.sudo}/bin/sudo -u ${pgSuperUser} psql postgres -c "create database ${cfg.database.dbname} with owner ${cfg.database.username}";
in mkMerge [
(mkIf (cfg.database.host == "localhost") {
requires = [ "postgresql.service" ];
after = [ "postgresql.service" ];
path = [ config.services.postgresql.package ];
})
{
wantedBy = [ "multi-user.target" ];
script = ''
mkdir -p /var/lib/roundcube
if [ ! -f /var/lib/roundcube/db-created ]; then
if [ "${cfg.database.host}" = "localhost" ]; then
${pkgs.sudo}/bin/sudo -u ${pgSuperUser} psql postgres -c "create role ${cfg.database.username} with login password '${cfg.database.password}'";
${pkgs.sudo}/bin/sudo -u ${pgSuperUser} psql postgres -c "create database ${cfg.database.dbname} with owner ${cfg.database.username}";
fi
PGPASSWORD=${cfg.database.password} ${pkgs.postgresql}/bin/psql -U ${cfg.database.username} \
-f ${cfg.package}/SQL/postgres.initial.sql \
-h ${cfg.database.host} ${cfg.database.dbname}
touch /var/lib/roundcube/db-created
fi
PGPASSWORD=${cfg.database.password} ${pkgs.postgresql}/bin/psql -U ${cfg.database.username} \
-f ${cfg.package}/SQL/postgres.initial.sql \
-h ${cfg.database.host} ${cfg.database.dbname}
touch /var/lib/roundcube/db-created
fi
${pkgs.php}/bin/php ${cfg.package}/bin/update.sh
'';
serviceConfig.Type = "oneshot";
};
${pkgs.php}/bin/php ${cfg.package}/bin/update.sh
'';
serviceConfig.Type = "oneshot";
}
];
};
}
16 changes: 8 additions & 8 deletions pkgs/applications/audio/mixxx/default.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{ stdenv, fetchFromGitHub, makeWrapper, chromaprint, fetchpatch
, fftw, flac, faad2, glibcLocales, mp4v2
, libid3tag, libmad, libopus, libshout, libsndfile, libusb1, libvorbis
, opusfile
, pkgconfig, portaudio, portmidi, protobuf, qt4, rubberband, scons, sqlite
, taglib, upower, vampSDK
, libGLU, libxcb, lilv, lv2, opusfile
, pkgconfig, portaudio, portmidi, protobuf, qtbase, qtscript, qtsvg
, qtx11extras, rubberband, scons, sqlite, taglib, upower, vampSDK
}:

stdenv.mkDerivation rec {
name = "mixxx-${version}";
version = "2.1.5";
version = "2.2.0";

src = fetchFromGitHub {
owner = "mixxxdj";
repo = "mixxx";
rev = "release-${version}";
sha256 = "0h14pwglz03sdmgzviypv1qa1xfjclrnhyqaq5nd60j47h4z39dr";
sha256 = "1rp2nyhz2j695k5kk0m94x30akwrlr9jgs0n4pi4snnvjpwmbfp9";
};

nativeBuildInputs = [ makeWrapper ];

buildInputs = [
chromaprint fftw flac faad2 glibcLocales mp4v2 libid3tag libmad libopus libshout libsndfile
libusb1 libvorbis opusfile pkgconfig portaudio portmidi protobuf qt4
rubberband scons sqlite taglib upower vampSDK
libusb1 libvorbis libxcb libGLU lilv lv2 opusfile pkgconfig portaudio portmidi protobuf qtbase qtscript qtsvg
qtx11extras rubberband scons sqlite taglib upower vampSDK
];

sconsFlags = [
"build=release"
"qtdir=${qt4}"
"qtdir=${qtbase}"
"faad=1"
"opus=1"
];
8 changes: 4 additions & 4 deletions pkgs/applications/graphics/gimp/default.nix
Original file line number Diff line number Diff line change
@@ -8,12 +8,12 @@
let
inherit (python2Packages) pygtk wrapPython python;
in stdenv.mkDerivation rec {
name = "gimp-${version}";
version = "2.10.8";
pname = "gimp";
version = "2.10.10";

src = fetchurl {
url = "http://download.gimp.org/pub/gimp/v${stdenv.lib.versions.majorMinor version}/${name}.tar.bz2";
sha256 = "16sb4kslwin2jbgdb4nhks78pd0af8mvj8g5hap3hj946p7w2jfq";
url = "http://download.gimp.org/pub/gimp/v${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "0xwck5nbpb945s1cyij3kfqw1pchbhx8i5vf5hgywyjw4r1z5l8j";
};

nativeBuildInputs = [ pkgconfig intltool gettext wrapPython ];
4 changes: 2 additions & 2 deletions pkgs/applications/misc/mysql-workbench/default.nix
Original file line number Diff line number Diff line change
@@ -13,12 +13,12 @@ let
inherit (python2.pkgs) paramiko pycairo pyodbc;
in stdenv.mkDerivation rec {
pname = "mysql-workbench";
version = "8.0.14";
version = "8.0.15";
name = "${pname}-${version}";

src = fetchurl {
url = "http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-${version}-src.tar.gz";
sha256 = "0mz615drx18h0frc6fq9nknqbpq7lr0xlsfmxd5irw2jz629lj76";
sha256 = "0ca93azasya5xiw6j2map8drmxf445qqydpvrb512kjfqdiv67x6";
};

patches = [
1 change: 1 addition & 0 deletions pkgs/applications/networking/browsers/arora/default.nix
Original file line number Diff line number Diff line change
@@ -21,5 +21,6 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.phreedom ];
description = "A cross-platform Qt4 Webkit browser";
homepage = https://github.com/Arora/arora;
license = with licenses; [ gpl2 gpl3 ];
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/networking/browsers/chromium/plugins.nix
Original file line number Diff line number Diff line change
@@ -100,11 +100,11 @@ let

flash = stdenv.mkDerivation rec {
name = "flashplayer-ppapi-${version}";
version = "32.0.0.156";
version = "32.0.0.171";

src = fetchzip {
url = "https://fpdownload.adobe.com/pub/flashplayer/pdc/${version}/flash_player_ppapi_linux.x86_64.tar.gz";
sha256 = "0mf2p3qk82s2nwz1x8g92434wpdqgnd9jj8w88z4qksa9qhbbfh7";
sha256 = "1rqf1kidpf2jqf20dw3hscrapdpm2j751742i6xnvj9mp66nczyg";
stripRoot = false;
};

Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ let
in
stdenv.mkDerivation rec {
name = "flashplayer-${version}";
version = "32.0.0.156";
version = "32.0.0.171";

src = fetchurl {
url =
@@ -85,14 +85,14 @@ stdenv.mkDerivation rec {
sha256 =
if debug then
if arch == "x86_64" then
"0h16vdar4p8zj6w57ihll71xjr9sy7hdiq4qwvvqndah5c4ym8xl"
"0dl2kxsn4wh3243qkwyq13ikbmz6ljg95a1v02cylz36kpfl51iv"
else
"06l59zid6n4b606254r937cvk95pyymlczadh4cpl6l4xncspdy6"
"1v9imcyml55qlvp0cibi5r5kl0rcivzvmnqgw8ph3xjm1yrxw3fr"
else
if arch == "x86_64" then
"0b3qssn1fgm2v715l6nksqmwly7j9asgqh9yqjhpp7jsb84bvzk4"
"1f3nl4qkws16q2yw940vvb0zmmwxks1blm4ida65hlda6f9zfq3h"
else
"03qdwrlvs4090s9b9fn2l6g3wsbi6q81jf59s1s5gh7qhi4i0lhy";
"0df9nbxyn4wl4ap333mgnnmy994xj7i5hz07sw83pszlz3pjkc0m";
};

nativeBuildInputs = [ unzip ];
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@

stdenv.mkDerivation rec {
name = "flashplayer-standalone-${version}";
version = "32.0.0.156";
version = "32.0.0.171";

src = fetchurl {
url =
@@ -60,9 +60,9 @@ stdenv.mkDerivation rec {
"https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz";
sha256 =
if debug then
"0fzs2x8yxpykkza1r3yn17hmrdz51c7qigbm5qifvw59q9zl15i9"
"0z4fkqbq1s63lpzfkyxllwx2wpizbabr4zim1dn7n59ld75vjxq8"
else
"11733155aznijwhnc5wv0v6wmw9g1akbqwl07kx3lam571s8aywr";
"0nvgcdmgvgbj6axrh0yzkk437bxwsaxl0mvfkcyyz1hxnq51dvvg";
};

nativeBuildInputs = [ unzip ];
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ let unwrapped = stdenv.mkDerivation rec {

postInstall = ''
wrapProgram $out/bin/pidgin \
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
'';

meta = with stdenv.lib; {
4 changes: 2 additions & 2 deletions pkgs/applications/networking/owncloud-client/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "owncloud-client-${version}";
version = "2.5.3.11470";
version = "2.5.4.11654";

src = fetchurl {
url = "https://download.owncloud.com/desktop/stable/owncloudclient-${version}.tar.xz";
sha256 = "0cznis8qadsnlgm046lxn8vmbxli6zp4b8nk93n53mkfxlcw355n";
sha256 = "0gsnry0786crbnpgg3f1vcqw6mwbz6svhm6mw3767qi4lb33jm31";
};

nativeBuildInputs = [ pkgconfig cmake ];
61 changes: 27 additions & 34 deletions pkgs/applications/networking/sniffers/wireshark/default.nix
Original file line number Diff line number Diff line change
@@ -1,45 +1,41 @@
{ stdenv, fetchurl, pkgconfig, pcre, perl, flex, bison, gettext, libpcap, libnl, c-ares
, gnutls, libgcrypt, libgpgerror, geoip, openssl, lua5, python, libcap, glib
, gnutls, libgcrypt, libgpgerror, geoip, openssl, lua5, python3, libcap, glib
, libssh, zlib, cmake, extra-cmake-modules, fetchpatch, makeWrapper
, withGtk ? false, gtk3 ? null, librsvg ? null, gsettings-desktop-schemas ? null, wrapGAppsHook ? null
, withQt ? true, qt5 ? null
, ApplicationServices, SystemConfiguration, gmp
}:

assert withGtk -> !withQt && gtk3 != null;
assert withQt -> !withGtk && qt5 != null;
assert withQt -> qt5 != null;

with stdenv.lib;

let
version = "2.6.6";
variant = if withGtk then "gtk" else if withQt then "qt" else "cli";
version = "3.0.1";
variant = if withQt then "qt" else "cli";

in stdenv.mkDerivation {
name = "wireshark-${variant}-${version}";
outputs = [ "out" "dev" ];

src = fetchurl {
url = "https://www.wireshark.org/download/src/all-versions/wireshark-${version}.tar.xz";
sha256 = "0qz8a1ays63712pq1v7nnw7c57zlqkcifq7himfv5nsv0zm36ya8";
sha256 = "13605bpnnbqsdr8ybqnscbz9g422zmyymn4q5aci28vc1wylr1l6";
};

cmakeFlags = [
"-DBUILD_wireshark_gtk=${if withGtk then "ON" else "OFF"}"
"-DBUILD_wireshark=${if withQt then "ON" else "OFF"}"
"-DENABLE_QT5=${if withQt then "ON" else "OFF"}"
"-DENABLE_APPLICATION_BUNDLE=${if withQt && stdenv.isDarwin then "ON" else "OFF"}"
];

nativeBuildInputs = [
bison cmake extra-cmake-modules flex pkgconfig
] ++ optional withGtk wrapGAppsHook;
];

buildInputs = [
gettext pcre perl libpcap lua5 libssh openssl libgcrypt
libgpgerror gnutls geoip c-ares python glib zlib makeWrapper
libgpgerror gnutls geoip c-ares python3 glib zlib makeWrapper
] ++ optionals withQt (with qt5; [ qtbase qtmultimedia qtsvg qttools ])
++ optionals withGtk [ gtk3 librsvg gsettings-desktop-schemas ]
++ optionals stdenv.isLinux [ libcap libnl ]
++ optionals stdenv.isDarwin [ SystemConfiguration ApplicationServices gmp ]
++ optionals (withQt && stdenv.isDarwin) (with qt5; [ qtmacextras ]);
@@ -60,32 +56,29 @@ in stdenv.mkDerivation {
export LD_LIBRARY_PATH="$PWD/run"
'';

postInstall = if stdenv.isDarwin then ''
${optionalString withQt ''
mkdir -p $out/Applications
mv $out/bin/Wireshark.app $out/Applications/Wireshark.app
for so in $out/Applications/Wireshark.app/Contents/PlugIns/wireshark/*.so; do
install_name_tool $so -change libwireshark.10.dylib $out/lib/libwireshark.10.dylib
install_name_tool $so -change libwiretap.7.dylib $out/lib/libwiretap.7.dylib
install_name_tool $so -change libwsutil.8.dylib $out/lib/libwsutil.8.dylib
done
wrapProgram $out/Applications/Wireshark.app/Contents/MacOS/Wireshark \
postInstall = ''
# to remove "cycle detected in the references"
mkdir -p $dev/lib/wireshark
mv $out/lib/wireshark/cmake $dev/lib/wireshark
'' + (if stdenv.isDarwin && withQt then ''
mkdir -p $out/Applications
mv $out/bin/Wireshark.app $out/Applications/Wireshark.app
for f in $(find $out/Applications/Wireshark.app/Contents/PlugIns -name "*.so"); do
for dylib in $(otool -L $f | awk '/^\t*lib/ {print $1}'); do
install_name_tool -change "$dylib" "$out/lib/$dylib" "$f"
done
done
wrapProgram $out/Applications/Wireshark.app/Contents/MacOS/Wireshark \
--set QT_PLUGIN_PATH ${qt5.qtbase.bin}/${qt5.qtbase.qtPluginPrefix}
''}
'' else optionalString (withQt || withGtk) ''
${optionalString withGtk ''
install -Dm644 -t $out/share/applications ../wireshark-gtk.desktop
''}
${optionalString withQt ''
install -Dm644 -t $out/share/applications ../wireshark.desktop
wrapProgram $out/bin/wireshark \
'' else optionalString withQt ''
install -Dm644 -t $out/share/applications ../wireshark.desktop
wrapProgram $out/bin/wireshark \
--set QT_PLUGIN_PATH ${qt5.qtbase.bin}/${qt5.qtbase.qtPluginPrefix}
''}
substituteInPlace $out/share/applications/*.desktop \
--replace "Exec=wireshark" "Exec=$out/bin/wireshark"
--replace "Exec=wireshark" "Exec=$out/bin/wireshark"
install -Dm644 ../image/wsicon.svg $out/share/icons/wireshark.svg
mkdir $dev/include/{epan/{wmem,ftypes,dfilter},wsutil,wiretap} -pv
@@ -98,7 +91,7 @@ in stdenv.mkDerivation {
cp ../epan/dfilter/*.h $dev/include/epan/dfilter/
cp ../wsutil/*.h $dev/include/wsutil/
cp ../wiretap/*.h $dev/include/wiretap
'';
'');

enableParallelBuilding = true;

4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/containerd/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@ with lib;

buildGoPackage rec {
name = "containerd-${version}";
version = "1.2.5";
version = "1.2.6";

src = fetchFromGitHub {
owner = "containerd";
repo = "containerd";
rev = "v${version}";
sha256 = "0npbzixf3c0jvzm159vygvkydrr8h36c9sq50yv0mdinrys2bvg0";
sha256 = "0sp5mn5wd3xma4svm6hf67hyhiixzkzz6ijhyjkwdrc4alk81357";
};

goPackagePath = "github.com/containerd/containerd";
1 change: 1 addition & 0 deletions pkgs/development/compilers/aspectj/default.nix
Original file line number Diff line number Diff line change
@@ -16,5 +16,6 @@ stdenv.mkDerivation rec {
homepage = http://www.eclipse.org/aspectj/;
description = "A seamless aspect-oriented extension to the Java programming language";
platforms = stdenv.lib.platforms.unix;
license = stdenv.lib.licenses.epl10;
};
}
1 change: 1 addition & 0 deletions pkgs/development/interpreters/clisp/default.nix
Original file line number Diff line number Diff line change
@@ -99,5 +99,6 @@ stdenv.mkDerivation rec {
platforms = stdenv.lib.platforms.unix;
# problems on Darwin: https://github.com/NixOS/nixpkgs/issues/20062
broken = stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isAarch64;
license = stdenv.lib.licenses.gpl2;
};
}
Loading