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: 75fe53799d26
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: 561959bab88c
Choose a head ref
  • 8 commits
  • 6 files changed
  • 7 contributors

Commits on Dec 5, 2018

  1. weechat: fix bad merge

    Identified in NixOS/nixpkgs@8887e1f#r239097413.
    
    9504292 accidentally reverted all the
    changes that had been made to the weechat wrapper since
    8887e1f.
    
    I removed the wrapper, then wrote it again, but this time taking the
    code from the latest version of weechat before the bad merge.
    alyssais committed Dec 5, 2018
    Copy the full SHA
    6dc9347 View commit details
  2. nextcloud: 14.0.3 -> 14.0.4

    ciil committed Dec 5, 2018
    Copy the full SHA
    ee1613a View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8942a3e View commit details

Commits on Dec 6, 2018

  1. Verified

    This commit was signed with the committer’s verified signature.
    Mic92 Jörg Thalheim
    Copy the full SHA
    8af15af View commit details
  2. Merge pull request #51571 from alyssais/weechat-merge

    weechat: fix bad merge
    Ma27 authored Dec 6, 2018

    Partially verified

    This commit is signed with the committer’s verified signature. The key has expired.
    lsix’s contribution has been verified via GPG key.
    We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
    Copy the full SHA
    42356fe View commit details
  3. Merge pull request #51599 from marsam/fix-flake8-future-import-build

    pythonPackages.flake8-future-import: fix build on Python 3.7
    worldofpeace authored Dec 6, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    lsix lsix
    Copy the full SHA
    0ab30b1 View commit details
  4. Merge pull request #51577 from mayflower/nextcloud-update

    nextcloud: 14.0.3 -> 14.0.4
    Ma27 authored Dec 6, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    0afa5cd View commit details
  5. x2goclient: 4.1.2.1 -> unstable-2018-11-30, fix build

    Averell Dalton authored and worldofpeace committed Dec 6, 2018
    Copy the full SHA
    561959b View commit details
18 changes: 9 additions & 9 deletions pkgs/applications/networking/browsers/chromium/upstream-info.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# This file is autogenerated from update.sh in the same directory.
{
beta = {
sha256 = "0nxxqfncw9ci3rhg8fiqaxy6zvh9x3j10lw8yw7c0cg2yni10qsp";
sha256bin64 = "0frcaplyzhkxzzcfcf0vigqpzixar4jg9hhrh4i8z8vx2gnxkwwy";
version = "71.0.3578.53";
sha256 = "03ddfxxzh8pxil9n28y8nkzl8x0kb5bzzjy4mihg448dflh3anq2";
sha256bin64 = "147lh1way8db0j0m6wbpfzmfsvvlsjb29cjgf7s9hljb00wqv6ay";
version = "71.0.3578.80";
};
dev = {
sha256 = "11bsn77kvjqdwpiwjf4gaindfj0sx932wp6g7cald0638wdz7pqv";
sha256bin64 = "1j5pd8imc35ch7l3jmnmjm2yda2xzdwha5im34240wm6rrdr2v2j";
version = "72.0.3610.2";
sha256 = "0whw1kq5gd07k061ycfdn7bygahbl6zqa54wkz2lqh73yknbbnj4";
sha256bin64 = "0hlfzzf7kx90jw0zin685c4haiv262hf9a4sj6fmb2yhj21hbp87";
version = "72.0.3622.0";
};
stable = {
sha256 = "0bwlq5xii26b3yngwkwb7l2mx03c30ffpym4xg0hcci8ry7zhpj4";
sha256bin64 = "1gnhjbpkp2gn3y5pingwv153bakidq60pr4fj2iq1kniyllsmmpg";
version = "70.0.3538.110";
sha256 = "03ddfxxzh8pxil9n28y8nkzl8x0kb5bzzjy4mihg448dflh3anq2";
sha256bin64 = "1rnw3whn2aaxxb4w3s2nf0wb91qjrq099550j42wig7xa71j6rz4";
version = "71.0.3578.80";
};
}
83 changes: 53 additions & 30 deletions pkgs/applications/networking/irc/weechat/wrapper.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ pythonPackages, perl, runCommand, lib, writeScriptBin, stdenv
{ stdenv, lib, runCommand, writeScriptBin, buildEnv
, pythonPackages, perl, perlPackages
}:

weechat:
@@ -10,31 +11,37 @@ let

let
perlInterpreter = perl;
config = configure {
availablePlugins = let
simplePlugin = name: { pluginFile = "${weechat.${name}}/lib/weechat/plugins/${name}.so"; };
in rec {
python = {
pluginFile = "${weechat.python}/lib/weechat/plugins/python.so";
withPackages = pkgsFun: (python // {
extraEnv = ''
export PYTHONHOME="${pythonPackages.python.withPackages pkgsFun}"
'';
});
};
perl = (simplePlugin "perl") // {
availablePlugins = let
simplePlugin = name: {pluginFile = "${weechat.${name}}/lib/weechat/plugins/${name}.so";};
in rec {
python = {
pluginFile = "${weechat.python}/lib/weechat/plugins/python.so";
withPackages = pkgsFun: (python // {
extraEnv = ''
export PATH="${perlInterpreter}/bin:$PATH"
export PYTHONHOME="${pythonPackages.python.withPackages pkgsFun}"
'';
};
tcl = simplePlugin "tcl";
ruby = simplePlugin "ruby";
guile = simplePlugin "guile";
lua = simplePlugin "lua";
});
};
};
perl = (simplePlugin "perl") // {
extraEnv = ''
export PATH="${perlInterpreter}/bin:$PATH"
'';
withPackages = pkgsFun: (perl // {
extraEnv = ''
${perl.extraEnv}
export PERL5LIB=${lib.makeFullPerlPath (pkgsFun perlPackages)}
'';
});
};
tcl = simplePlugin "tcl";
ruby = simplePlugin "ruby";
guile = simplePlugin "guile";
lua = simplePlugin "lua";
};

config = configure { inherit availablePlugins; };

inherit (config) plugins;
plugins = config.plugins or (builtins.attrValues availablePlugins);

pluginsDir = runCommand "weechat-plugins" {} ''
mkdir -p $out/plugins
@@ -43,14 +50,30 @@ let
done
'';

in (writeScriptBin "weechat" ''
#!${stdenv.shell}
export WEECHAT_EXTRA_LIBDIR=${pluginsDir}
${lib.concatMapStringsSep "\n" (p: lib.optionalString (p ? extraEnv) p.extraEnv) plugins}
exec ${weechat}/bin/weechat "$@"
'') // {
name = weechat.name;
unwrapped = weechat;
init = let
init = builtins.replaceStrings [ "\n" ] [ ";" ] (config.init or "");

mkScript = drv: lib.flip map drv.scripts (script: "/script load ${drv}/share/${script}");

scripts = builtins.concatStringsSep ";" (lib.foldl (scripts: drv: scripts ++ mkScript drv)
[ ] (config.scripts or []));
in "${scripts};${init}";

mkWeechat = bin: (writeScriptBin bin ''
#!${stdenv.shell}
export WEECHAT_EXTRA_LIBDIR=${pluginsDir}
${lib.concatMapStringsSep "\n" (p: lib.optionalString (p ? extraEnv) p.extraEnv) plugins}
exec ${weechat}/bin/${bin} "$@" --run-command ${lib.escapeShellArg init}
'') // {
inherit (weechat) name meta;
unwrapped = weechat;
};
in buildEnv {
name = "weechat-bin-env-${weechat.version}";
paths = [
(mkWeechat "weechat")
(mkWeechat "weechat-headless")
];
meta = weechat.meta;
};

19 changes: 9 additions & 10 deletions pkgs/applications/networking/remote/x2goclient/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, openssh,
makeWrapper, qtbase, qtsvg, qtx11extras, qttools, phonon }:
{ stdenv, fetchgit, cups, libssh, libXpm, nxproxy, openldap, openssh
, makeWrapper, qtbase, qtsvg, qtx11extras, qttools, phonon, pkgconfig }:

stdenv.mkDerivation rec {
name = "x2goclient-${version}";
version = "4.1.2.1";
pname = "x2goclient";
version = "unstable-2018-11-30";

src = fetchurl {
url = "https://code.x2go.org/releases/source/x2goclient/${name}.tar.gz";
sha256 = "1bzjzz2m9bqqndnk1p9p522cfapsqgkb0wllvqj9d4ir18grh60w";
src = fetchgit {
url = "git://code.x2go.org/x2goclient.git";
rev = "659655675f11ffd361ab9fb48fa77a01a1536fe8";
sha256 = "05gfs11m259bchy3k0ihqpwg9wf8lp94rbca5dzla9fjzrb7pyy4";
};

buildInputs = [ cups libssh libXpm nxproxy openldap openssh
qtbase qtsvg qtx11extras qttools phonon ];
qtbase qtsvg qtx11extras qttools phonon pkgconfig ];
nativeBuildInputs = [ makeWrapper ];

patches = [ ./qt511.patch ];

postPatch = ''
substituteInPlace Makefile \
--replace "SHELL=/bin/bash" "SHELL=$SHELL" \
15 changes: 0 additions & 15 deletions pkgs/applications/networking/remote/x2goclient/qt511.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildPythonPackage, flake8, six }:
{ lib, fetchFromGitHub, buildPythonPackage, fetchpatch, flake8, six }:

buildPythonPackage rec {
pname = "flake8-future-import";
@@ -12,6 +12,14 @@ buildPythonPackage rec {
sha256 = "00fpxa6g8cabybnciwnpsbg60zhgydc966jgwyyggw1pcg0frdqr";
};

patches = [
# Add Python 3.7 support. Remove with the next release
(fetchpatch {
url = https://github.com/xZise/flake8-future-import/commit/cace194a44d3b95c9c1ed96640bae49183acca04.patch;
sha256 = "17pkqnh035j5s5c53afs8bk49bq7lnmdwqp5k7izx7sw80z73p9r";
})
];

propagatedBuildInputs = [ flake8 six ];

meta = {
4 changes: 2 additions & 2 deletions pkgs/servers/nextcloud/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "nextcloud-${version}";
version = "14.0.3";
version = "14.0.4";

src = fetchurl {
url = "https://download.nextcloud.com/server/releases/${name}.tar.bz2";
sha256 = "1vykmvkqds1mjz9hl0xapi70s5s66xd8ysw0sczgavir7092gl6p";
sha256 = "1s20dds4sci3g981ql8kp9d1ynss5sa2y3dsbzqx4jv9f5dd2pag";
};

patches = [ (fetchpatch {