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: 635debeadd6b
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: 89ae3d6a8397
Choose a head ref
  • 9 commits
  • 6 files changed
  • 7 contributors

Commits on May 5, 2019

  1. Verified

    This commit was signed with the committer’s verified signature.
    vcunat Vladimír Čunát
    Copy the full SHA
    280edf5 View commit details

Commits on May 11, 2019

  1. Copy the full SHA
    8f133f1 View commit details
  2. Copy the full SHA
    d314dac View commit details
  3. python37Packages.confluent-kafka: 0.11.6 -> 1.0.0

    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-confluent-kafka/versions
    r-ryantm authored and marsam committed May 11, 2019
    Copy the full SHA
    855a6f2 View commit details
  4. Verified

    This commit was signed with the committer’s verified signature.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    b7a6a7c View commit details
  5. Merge pull request #61001 from ryan4729/qscintilla-macos

    qscintilla: add qtmacextras to propagatedBuildInputs on darwin
    c0bw3b authored May 11, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    c162ccf View commit details
  6. Merge pull request #61313 from eadwu/pythonPackages.zstd/1.4.0.0

    pythonPackages.zstd: 1.3.8.1 -> 1.4.0.0
    veprbl authored May 11, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    b6ed6e4 View commit details
  7. Merge pull request #59941 from romildo/fix.deepin.dde-polkit-agent

    deepin.dde-polkit-agent: set plugins dir from environment variable
    romildo authored May 11, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    db1236e View commit details
  8. Merge pull request #59648 from r-ryantm/auto-update/python3.7-conflue…

    …nt-kafka
    
    python37Packages.confluent-kafka: 0.11.6 -> 1.0.0
    marsam authored May 11, 2019
    Copy the full SHA
    89ae3d6 View commit details
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
From 4f457d38e9e75bc97ee7dba633bf0cdd61b8cd5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?= <malaquias@gmail.com>
Date: Fri, 19 Apr 2019 22:01:16 -0300
Subject: [PATCH] Use an environment variable to find plugins

---
pluginmanager.cpp | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/pluginmanager.cpp b/pluginmanager.cpp
index 0c03237..79bdf86 100644
--- a/pluginmanager.cpp
+++ b/pluginmanager.cpp
@@ -34,13 +34,19 @@ QList<QButtonGroup*> PluginManager::reduceGetOptions(const QString &actionID)
void PluginManager::load()
{

- QDir dir("/usr/lib/polkit-1-dde/plugins/");
- QFileInfoList pluginFiles = dir.entryInfoList((QStringList("*.so")));
+ QStringList pluginsDirs = QProcessEnvironment::systemEnvironment().value("DDE_POLKIT_PLUGINS_DIRS").split(QDir::listSeparator(), QString::SkipEmptyParts);
+ pluginsDirs.append("/usr/lib/polkit-1-dde/plugins/");

- for (const QFileInfo &pluginFile : pluginFiles) {
- AgentExtension *plugin = loadFile(pluginFile.absoluteFilePath());
- if (plugin)
- m_plugins << plugin;
+ for (const QString &dirName : pluginsDirs) {
+ QDir dir(dirName);
+
+ QFileInfoList pluginFiles = dir.entryInfoList((QStringList("*.so")));
+
+ for (const QFileInfo &pluginFile : pluginFiles) {
+ AgentExtension *plugin = loadFile(pluginFile.absoluteFilePath());
+ if (plugin)
+ m_plugins << plugin;
+ }
}
}

--
2.21.0

4 changes: 4 additions & 0 deletions pkgs/desktops/deepin/dde-polkit-agent/default.nix
Original file line number Diff line number Diff line change
@@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
polkit-qt
];

patches = [
./dde-polkit-agent.plugins-dir.patch
];

postPatch = ''
searchHardCodedPaths
patchShebangs translate_generation.sh
6 changes: 4 additions & 2 deletions pkgs/development/libraries/qscintilla/default.nix
Original file line number Diff line number Diff line change
@@ -20,8 +20,10 @@ stdenv.mkDerivation rec {
sha256 = "04678skipydx68zf52vznsfmll2v9aahr66g50lcqbr6xsmgr1yi";
};

buildInputs = [ (if withQt5 then qtbase else qt4) ]
++ lib.optional (withQt5 && stdenv.isDarwin) qtmacextras;
buildInputs = [ (if withQt5 then qtbase else qt4) ];

propagatedBuildInputs = lib.optional (withQt5 && stdenv.isDarwin) qtmacextras;

nativeBuildInputs = [ unzip ]
++ (if withQt5 then [ qmake ] else [ qmake4Hook ])
++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
12 changes: 6 additions & 6 deletions pkgs/development/python-modules/confluent-kafka/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures}:
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures, enum34 }:

buildPythonPackage rec {
version = "0.11.6";
version = "1.0.0";
pname = "confluent-kafka";

src = fetchPypi {
inherit pname version;
sha256 = "1dvzlafgr4g0n7382s5bgbls3f9wrgr0yxd70yyxl59wddwzfii7";
sha256 = "a7427944af963410479c2aaae27cc9d28db39c9a93299f14dcf16df80092c63a";
};

buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro futures ]) ;
buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ enum34 avro futures ]) ;

# Tests fail for python3 under this pypi release
doCheck = if isPy3k then false else true;
# No tests in PyPi Tarball
doCheck = false;

meta = with stdenv.lib; {
description = "Confluent's Apache Kafka client for Python";
13 changes: 4 additions & 9 deletions pkgs/development/python-modules/streamz/default.nix
Original file line number Diff line number Diff line change
@@ -14,19 +14,13 @@

buildPythonPackage rec {
pname = "streamz";
version = "0.5.0";
version = "0.5.1";

src = fetchPypi {
inherit pname version;
sha256 = "cfdd42aa62df299f550768de5002ec83112136a34b44441db9d633b2df802fb4";
sha256 = "80c9ded1d6e68d3b78339deb6e9baf93a633d84b4a8875221e337ac06890103f";
};

# Pytest 4.x fails to collect streamz-dataframe tests.
# Removing them in v0.5.0. TODO: re-enable in a future release
postPatch = ''
rm -rf streamz/dataframe/tests/*.py
'';

checkInputs = [ pytest networkx distributed confluent-kafka graphviz ];
propagatedBuildInputs = [
tornado
@@ -35,8 +29,9 @@ buildPythonPackage rec {
six
];

# Disable test_tcp_async because fails on sandbox build
checkPhase = ''
pytest
pytest --deselect=streamz/tests/test_sources.py::test_tcp_async
'';

meta = with lib; {
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/zstd/default.nix
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@

buildPythonPackage rec {
pname = "zstd";
version = "1.3.8.1";
version = "1.4.0.0";

src = fetchPypi {
inherit pname version;
sha256 = "d89e884da59c35e480439f1663cb3cb4cf372e42ba0eb0bdf22b9625414702a3";
sha256 = "01prq9rwz1gh42idnj2162w79dzs8gf3ac8pn12lz347w280kjbk";
};

postPatch = ''