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: 94b8a71dc392
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: 3e87977e3837
Choose a head ref
  • 10 commits
  • 12 files changed
  • 7 contributors

Commits on Sep 4, 2018

  1. oh-my-zsh: 2018-07-29 -> 2018-09-03

    (cherry picked from commit 98ef33e)
    NeQuissimus committed Sep 4, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    d38c50c View commit details
  2. nixos/tests/novacomd: prevent non-deterministic failure

    A sporadic failure occured on Hydra because a request was sent
    to the daemon after the systemd unit was started, but before the
    daemon was actually listening. Fix by checking for open port first.
    
    (cherry picked from commit 62086c6)
    xeji committed Sep 4, 2018
    Copy the full SHA
    1ee95ca View commit details
  3. zsh: 5.5.1 -> 5.6 (#46052)

    Security, see:
    
    https://github.com/zsh-users/zsh/blob/zsh-5.6/NEWS#L7
    (cherry picked from commit 59f5a65)
    
    Backported because it contains a CVE fix
    dtzWill authored and xeji committed Sep 4, 2018
    Copy the full SHA
    6c449eb View commit details
  4. dbus-sharp-2_0: fix build (#46060)

    (cherry picked from commit 33fa23f)
    worldofpeace authored and xeji committed Sep 4, 2018
    Copy the full SHA
    ac690fc View commit details
  5. psi: specify license (#43716)

    (cherry picked from commit 0f11259)
    orivej committed Sep 4, 2018
    Copy the full SHA
    90d0fda View commit details
  6. libsignal-protocol-c: init at 2.3.2

    (cherry picked from commit 2e0befd)
    orivej committed Sep 4, 2018
    Copy the full SHA
    375234d View commit details
  7. psi-plus: 1.2.235 -> 1.3.410

    (cherry picked from commit 6767396)
    orivej committed Sep 4, 2018
    Copy the full SHA
    ebaaaf6 View commit details
  8. swift-im: fix build with Qt 5.11 and split QtWebKit

    (cherry picked from commit 205f3e9)
    orivej committed Sep 4, 2018
    Copy the full SHA
    b25eb04 View commit details
  9. python.pkgs.pytest-fixture-config: disable tests (#46021)

    Tests seem to fail on all recent versions even outside of our build
    system. The upstream CI tests seem to somehow succeed but I wasn't able
    to reproduce that locally. For not it is probably best to disable them.
    
    (cherry picked from commit d814c98)
    andir authored and xeji committed Sep 4, 2018
    Copy the full SHA
    2c844ce View commit details
  10. go_1_11: Allow only one of GOARM={5,6,7}

    (cherry picked from commit e153a98)
    Backport of #46031 to release-18.09
    srhb committed Sep 4, 2018
    Copy the full SHA
    3e87977 View commit details
8 changes: 7 additions & 1 deletion nixos/tests/novacomd.nix
Original file line number Diff line number Diff line change
@@ -9,12 +9,16 @@ import ./make-test.nix ({ pkgs, ...} : {
};

testScript = ''
startAll;
$machine->waitForUnit("multi-user.target");
# multi-user.target wants novacomd.service, but let's make sure
$machine->waitForUnit("novacomd.service");
# Check status and try connecting with novacom
$machine->succeed("systemctl status novacomd.service >&2");
# to prevent non-deterministic failure,
# make sure the daemon is really listening
$machine->waitForOpenPort(6968);
$machine->succeed("novacom -l");
# Stop the daemon, double-check novacom fails if daemon isn't working
@@ -23,6 +27,8 @@ import ./make-test.nix ({ pkgs, ...} : {
# And back again for good measure
$machine->startJob("novacomd");
# make sure the daemon is really listening
$machine->waitForOpenPort(6968);
$machine->succeed("novacom -l");
'';
})
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{ stdenv, fetchFromGitHub, cmake
, qt5, libidn, qca2-qt5, libXScrnSaver, hunspell
, libgcrypt, libotr, html-tidy, libgpgerror
, libgcrypt, libotr, html-tidy, libgpgerror, libsignal-protocol-c
}:

stdenv.mkDerivation rec {
name = "psi-plus-${version}";
version = "1.2.235";
version = "1.3.410";

src = fetchFromGitHub {
owner = "psi-plus";
repo = "psi-plus-snapshots";
rev = "${version}";
sha256 = "0rc65gs6m3jxg407r99kikdylvrar5mq7x5m66ma604yk5igwg47";
sha256 = "02m984z2dfmlx522q9x1z0aalvi2mi48s5ghhs80hr5afnfyc5w6";
};

resources = fetchFromGitHub {
owner = "psi-plus";
repo = "resources";
rev = "8f5038380e1be884b04b5a1ad3cc3385e793f668";
sha256 = "1b8a2aixg966fzjwp9hz51rc31imyvpx014mp2fsm47k8na4470d";
rev = "c0bfb8a025eeec82cd0a23a559e0aa3da15c3ec3";
sha256 = "1q7v01w085vk7ml6gwis7j409w6f5cplpm7c0ajs4i93c4j53xdf";
};

postUnpack = ''
@@ -34,14 +34,15 @@ stdenv.mkDerivation rec {
buildInputs = [
qt5.qtbase qt5.qtmultimedia qt5.qtx11extras qt5.qttools qt5.qtwebkit
libidn qca2-qt5 libXScrnSaver hunspell
libgcrypt libotr html-tidy libgpgerror
libgcrypt libotr html-tidy libgpgerror libsignal-protocol-c
];

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "XMPP (Jabber) client";
maintainers = with maintainers; [ orivej ];
license = licenses.gpl2;
platforms = platforms.linux;
};
}
Original file line number Diff line number Diff line change
@@ -22,9 +22,10 @@ stdenv.mkDerivation rec {

enableParallelBuilding = true;

meta = {
meta = with stdenv.lib; {
description = "Psi, an XMPP (Jabber) client";
maintainers = [ stdenv.lib.maintainers.raskin ];
maintainers = [ maintainers.raskin ];
license = licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ in stdenv.mkDerivation rec {
sha256 = "0w0aiszjd58ynxpacwcgf052zpmbpcym4dhci64vbfgch6wryz0w";
};

patches = [ ./scons.patch ];
patches = [ ./qt-5.11.patch ./scons.patch ];

nativeBuildInputs = [ pkgconfig qttools scons ];

@@ -28,6 +28,8 @@ in stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = [
"-I${libxml2.dev}/include/libxml2"
"-I${miniupnpc}/include/miniupnpc"
"-I${qtwebkit.dev}/include/QtWebKit"
"-I${qtwebkit.dev}/include/QtWebKitWidgets"
];

buildPhase = ''
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- a/Swift/QtUI/UserSearch/QtUserSearchWindow.h
+++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.h
@@ -8,6 +8,7 @@

#include <set>

+#include <QAbstractItemModel>
#include <QWizard>

#include <Swiften/Base/Override.h>
2 changes: 1 addition & 1 deletion pkgs/development/compilers/go/1.11.nix
Original file line number Diff line number Diff line change
@@ -139,7 +139,7 @@ stdenv.mkDerivation rec {
else if stdenv.targetPlatform.isAarch32 then "arm"
else if stdenv.targetPlatform.isAarch64 then "arm64"
else throw "Unsupported system";
GOARM = stdenv.targetPlatform.parsed.cpu.version or "";
GOARM = toString (stdenv.lib.intersectLists [(stdenv.targetPlatform.parsed.cpu.version or "")] ["5" "6" "7"]);
GO386 = 387; # from Arch: don't assume sse2 on i686
CGO_ENABLED = 1;
GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
7 changes: 5 additions & 2 deletions pkgs/development/libraries/dbus-sharp/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub, pkgconfig, mono, autoreconfHook }:
{stdenv, fetchFromGitHub, pkgconfig, mono48, autoreconfHook }:

stdenv.mkDerivation rec {
name = "dbus-sharp-${version}";
@@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ mono ];

# Use msbuild when https://github.com/NixOS/nixpkgs/pull/43680 is merged
# See: https://github.com/NixOS/nixpkgs/pull/46060
buildInputs = [ mono48 ];

dontStrip = true;

29 changes: 29 additions & 0 deletions pkgs/development/libraries/libsignal-protocol-c/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv, fetchFromGitHub, cmake, openssl }:

stdenv.mkDerivation rec {
name = "libsignal-protocol-c";
version = "2.3.2";

src = fetchFromGitHub {
owner = "signalapp";
repo = "libsignal-protocol-c";
rev = "v${version}";
sha256 = "1qj2w4csy6j9jg1jy66n1qwysx7hgjywk4n35hlqcnh1kpa14k3p";
};

nativeBuildInputs = [ cmake ];

buildInputs = [ openssl ];

cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];

outputs = [ "out" "dev" ];

meta = with stdenv.lib; {
description = "Signal Protocol C Library";
homepage = https://github.com/signalapp/libsignal-protocol-c;
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ orivej ];
};
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, setuptools-git, pytest, six }:
, setuptools-git, pytest }:

buildPythonPackage rec {
pname = "pytest-fixture-config";
@@ -14,11 +14,7 @@ buildPythonPackage rec {

buildInputs = [ pytest ];

checkInputs = [ six ];

checkPhase = ''
py.test
'';
doCheck = false;

meta = with stdenv.lib; {
description = "Simple configuration objects for Py.test fixtures. Allows you to skip tests when their required config variables aren’t set.";
6 changes: 3 additions & 3 deletions pkgs/shells/zsh/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, ncurses, pcre }:

let
version = "5.5.1";
version = "5.6";

documentation = fetchurl {
url = "mirror://sourceforge/zsh/zsh-${version}-doc.tar.gz";
sha256 = "0bm9n7lycdzvw5hmgi4a920pqbb5yxvmyhfxx8jbign2hzgf7g01";
sha256 = "1kz57w4l0jank67a2hiz6y5idbff5avwg52zdxx3qnflkjvkn2kx";
};

in
@@ -15,7 +15,7 @@ stdenv.mkDerivation {

src = fetchurl {
url = "mirror://sourceforge/zsh/zsh-${version}.tar.gz";
sha256 = "10705qnnr3p416bwfjaip9r7yw187vczzjrk60yg79dfwy4slk3p";
sha256 = "1vik7s3q5hvazvgw4jm4b90qlk6zcry0s314xw1liarspkd721g3";
};

buildInputs = [ ncurses pcre ];
6 changes: 3 additions & 3 deletions pkgs/shells/zsh/oh-my-zsh/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@
{ stdenv, fetchgit }:

stdenv.mkDerivation rec {
version = "2018-07-29";
version = "2018-09-03";
name = "oh-my-zsh-${version}";

src = fetchgit {
url = "https://github.com/robbyrussell/oh-my-zsh";
rev = "5fa7824ea59ec12a976f348a83399e66699456ea";
sha256 = "1ry46jxk7k4ndh4gic9v7c19gsqmcag8bng92pp7vw0fj0b0ij6k";
rev = "69e637c35578305e19dbfc520e65c514180db6ef";
sha256 = "067qwvdlghjb2kcv4fydnnbwss2kb4fgn1qib88ygz82fpvb0cwf";
};

pathsToLink = [ "/share/oh-my-zsh" ];
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -10386,6 +10386,8 @@ with pkgs;

libserialport = callPackage ../development/libraries/libserialport { };

libsignal-protocol-c = callPackage ../development/libraries/libsignal-protocol-c { };

libsoundio = callPackage ../development/libraries/libsoundio {
inherit (darwin.apple_sdk.frameworks) AudioUnit;
};