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: abdb93529131
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: 30adb1013c1c
Choose a head ref

Commits on Jun 26, 2020

  1. Copy the full SHA
    46520c7 View commit details
  2. Copy the full SHA
    b9928cb View commit details
  3. Copy the full SHA
    fdbf2e5 View commit details
  4. Copy the full SHA
    92e8575 View commit details

Commits on Jul 11, 2020

  1. ceph: 14.2.10 -> 15.2.4

    Johan Thomsen committed Jul 11, 2020
    Copy the full SHA
    0dea5df View commit details
  2. nixos/ceph: (test) ceph now has device monitoring and pg_autoscaler e…

    …nabled by default
    
    - the pg_autoscaler will force new empty pools down to 32 pgs
    - device monitoring metrics consumes 1 pool with 1 pg
    Johan Thomsen committed Jul 11, 2020
    Copy the full SHA
    4f39f93 View commit details

Commits on Jul 12, 2020

  1. Copy the full SHA
    5e32ec3 View commit details

Commits on Jul 13, 2020

  1. Copy the full SHA
    7994b94 View commit details
  2. Copy the full SHA
    d62c129 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    2855e9b View commit details
  4. akonadi: update patches

    ttuegel committed Jul 13, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    403e518 View commit details
  5. kdsoap: init at 1.9.0

    ttuegel committed Jul 13, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    3a732bb View commit details
  6. Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    d1ced46 View commit details
  7. kdegraphics-thumbnailers: remove obsolete patch

    This bug was fixed upstream.
    ttuegel committed Jul 13, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    527d9af View commit details
  8. Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    01cb371 View commit details
  9. messagelib: depend on qca-qt5

    ttuegel committed Jul 13, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    591eeda View commit details
  10. Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    ceebe77 View commit details

Commits on Jul 14, 2020

  1. nixosTests.gnome3: enable debug mode

    The tests fail too often on Hydra without much of a hint what went wrong. Hopefully, this will provide some clue.
    jtojnar committed Jul 14, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    13e22e4 View commit details
  2. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    1cb300a View commit details
  3. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    c90e6dd View commit details
  4. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    ddacdbc View commit details
  5. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    26de7b3 View commit details
  6. kdsoap: fix meta attributes

    ttuegel committed Jul 14, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    ttuegel Thomas Tuegel
    Copy the full SHA
    ef0a601 View commit details
  7. Merge pull request #91571 from NixOS/u/kde

    kde-applications: 19.12.3 -> 20.04.1
    ttuegel authored Jul 14, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7a8bdde View commit details
  8. Merge pull request #91359 from oxalica/rust-analyzer

    rust-analyzer: 2020-06-08 -> 2020-07-13, and fix version display
    flokli authored Jul 14, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b0a1073 View commit details
  9. Merge pull request #93089 from jtojnar/debug-gnome-tests

    nixosTests.gnome3: enable debug mode
    worldofpeace authored Jul 14, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    97054ce View commit details
  10. Merge pull request #92791 from johanot/ceph-15

    ceph: 14.2.10 -> 15.2.4
    flokli authored Jul 14, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b6c53e3 View commit details
  11. Merge pull request #93054 from r-ryantm/auto-update/intel-media-sdk

    intel-media-sdk: 20.1.1 -> 20.2.0
    ryantm authored Jul 14, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e72a18d View commit details
  12. Merge pull request #93001 from aanderse/gitolite

    nixos/gitolite: provision data directory only before service begins
    flokli authored Jul 14, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e99389a View commit details
  13. python37Packages.azure-core: 1.6.0 -> 1.7.0

    r-ryantm authored and Jon committed Jul 14, 2020
    Copy the full SHA
    30adb10 View commit details
Showing with 2,433 additions and 2,284 deletions.
  1. +17 −16 nixos/modules/services/misc/gitolite.nix
  2. +3 −3 nixos/tests/ceph-multi-node.nix
  3. +3 −3 nixos/tests/ceph-single-node.nix
  4. +2 −0 nixos/tests/gnome3-xorg.nix
  5. +2 −0 nixos/tests/gnome3.nix
  6. +58 −40 pkgs/applications/kde/akonadi/{akonadi-paths.patch → 0001-akonadi-paths.patch}
  7. +26 −0 pkgs/applications/kde/akonadi/0002-akonadi-timestamps.patch
  8. +18 −16 ...Make-Akonadi-installation-properly-relocatabl.patch → 0003-akonadi-revert-make-relocatable.patch}
  9. +0 −14 pkgs/applications/kde/akonadi/akonadi-timestamps.patch
  10. +5 −1 pkgs/applications/kde/akonadi/default.nix
  11. +0 −3 pkgs/applications/kde/akonadi/series
  12. +1 −1 pkgs/applications/kde/fetch.sh
  13. +0 −8 pkgs/applications/kde/kdegraphics-thumbnailers.nix
  14. +2 −2 pkgs/applications/kde/kdenlive.nix
  15. +6 −6 pkgs/applications/kde/kio-extras.nix
  16. +2 −2 pkgs/applications/kde/messagelib.nix
  17. +2 −2 pkgs/applications/kde/spectacle.nix
  18. +873 −865 pkgs/applications/kde/srcs.nix
  19. +2 −2 pkgs/development/libraries/intel-media-sdk/default.nix
  20. +1 −1 pkgs/development/libraries/kde-frameworks/fetch.sh
  21. +14 −2 ...es/kde-frameworks/kcmutils/{kcmutils-follow-symlinks.patch → 0001-kcmutils-follow-symlinks.patch}
  22. +3 −1 pkgs/development/libraries/kde-frameworks/kcmutils/default.nix
  23. +0 −13 pkgs/development/libraries/kde-frameworks/kcmutils/kcmutils-debug-module-loader.patch
  24. +0 −2 pkgs/development/libraries/kde-frameworks/kcmutils/series
  25. +11 −25 pkgs/development/libraries/kde-frameworks/kio/samba-search-path.patch
  26. +2 −1 pkgs/development/libraries/kde-frameworks/knewstuff.nix
  27. +328 −328 pkgs/development/libraries/kde-frameworks/srcs.nix
  28. +39 −0 pkgs/development/libraries/kdsoap/default.nix
  29. +921 −875 pkgs/development/node-packages/node-packages.nix
  30. +2 −2 pkgs/development/python-modules/azure-core/default.nix
  31. +3 −3 pkgs/development/tools/rust/rust-analyzer/default.nix
  32. +12 −0 pkgs/development/tools/rust/rust-analyzer/generic.nix
  33. +11 −8 pkgs/development/tools/rust/rust-analyzer/update.sh
  34. +12 −12 pkgs/misc/vscode-extensions/rust-analyzer/build-deps/package.json
  35. +6 −6 pkgs/tools/filesystems/ceph/0000-fix-SPDK-build-env.patch
  36. +35 −21 pkgs/tools/filesystems/ceph/default.nix
  37. +2 −0 pkgs/top-level/all-packages.nix
  38. +9 −0 pkgs/top-level/python-packages.nix
33 changes: 17 additions & 16 deletions nixos/modules/services/misc/gitolite.nix
Original file line number Diff line number Diff line change
@@ -27,7 +27,10 @@ in
type = types.str;
default = "/var/lib/gitolite";
description = ''
Gitolite home directory (used to store all the repositories).
The gitolite home directory used to store all repositories. If left as the default value
this directory will automatically be created before the gitolite server starts, otherwise
the sysadmin is responsible for ensuring the directory exists with appropriate ownership
and permissions.
'';
};

@@ -149,14 +152,6 @@ in
};
users.groups.${cfg.group}.gid = config.ids.gids.gitolite;

systemd.tmpfiles.rules = [
"d '${cfg.dataDir}' 0750 ${cfg.user} ${cfg.group} - -"
"d '${cfg.dataDir}'/.gitolite - ${cfg.user} ${cfg.group} - -"
"d '${cfg.dataDir}'/.gitolite/logs - ${cfg.user} ${cfg.group} - -"

"Z ${cfg.dataDir} 0750 ${cfg.user} ${cfg.group} - -"
];

systemd.services.gitolite-init = {
description = "Gitolite initialization";
wantedBy = [ "multi-user.target" ];
@@ -167,13 +162,19 @@ in
GITOLITE_RC_DEFAULT = "${rcDir}/gitolite.rc.default";
};

serviceConfig = {
Type = "oneshot";
User = cfg.user;
Group = cfg.group;
WorkingDirectory = "~";
RemainAfterExit = true;
};
serviceConfig = mkMerge [
(mkIf (cfg.dataDir == "/var/lib/gitolite") {
StateDirectory = "gitolite gitolite/.gitolite gitolite/.gitolite/logs";
StateDirectoryMode = "0750";
})
{
Type = "oneshot";
User = cfg.user;
Group = cfg.group;
WorkingDirectory = "~";
RemainAfterExit = true;
}
];

path = [ pkgs.gitolite pkgs.git pkgs.perl pkgs.bash pkgs.diffutils config.programs.ssh.package ];
script =
6 changes: 3 additions & 3 deletions nixos/tests/ceph-multi-node.nix
Original file line number Diff line number Diff line change
@@ -183,15 +183,15 @@ let
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
monA.succeed(
"ceph osd pool create multi-node-test 128 128",
"ceph osd pool create multi-node-test 32 32",
"ceph osd pool ls | grep 'multi-node-test'",
"ceph osd pool rename multi-node-test multi-node-other-test",
"ceph osd pool ls | grep 'multi-node-other-test'",
)
monA.wait_until_succeeds("ceph -s | grep '1 pools, 128 pgs'")
monA.wait_until_succeeds("ceph -s | grep '2 pools, 33 pgs'")
monA.succeed("ceph osd pool set multi-node-other-test size 2")
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
monA.wait_until_succeeds("ceph -s | grep '128 active+clean'")
monA.wait_until_succeeds("ceph -s | grep '33 active+clean'")
monA.fail(
"ceph osd pool ls | grep 'multi-node-test'",
"ceph osd pool delete multi-node-other-test multi-node-other-test --yes-i-really-really-mean-it",
6 changes: 3 additions & 3 deletions nixos/tests/ceph-single-node.nix
Original file line number Diff line number Diff line change
@@ -143,12 +143,12 @@ let
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
monA.succeed(
"ceph osd pool create single-node-test 128 128",
"ceph osd pool create single-node-test 32 32",
"ceph osd pool ls | grep 'single-node-test'",
"ceph osd pool rename single-node-test single-node-other-test",
"ceph osd pool ls | grep 'single-node-other-test'",
)
monA.wait_until_succeeds("ceph -s | grep '1 pools, 128 pgs'")
monA.wait_until_succeeds("ceph -s | grep '2 pools, 33 pgs'")
monA.succeed(
"ceph osd getcrushmap -o crush",
"crushtool -d crush -o decrushed",
@@ -158,7 +158,7 @@ let
"ceph osd pool set single-node-other-test size 2",
)
monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'")
monA.wait_until_succeeds("ceph -s | grep '128 active+clean'")
monA.wait_until_succeeds("ceph -s | grep '33 active+clean'")
monA.fail(
"ceph osd pool ls | grep 'multi-node-test'",
"ceph osd pool delete single-node-other-test single-node-other-test --yes-i-really-really-mean-it",
2 changes: 2 additions & 0 deletions nixos/tests/gnome3-xorg.nix
Original file line number Diff line number Diff line change
@@ -14,13 +14,15 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {

services.xserver.displayManager = {
gdm.enable = true;
gdm.debug = true;
autoLogin = {
enable = true;
user = user.name;
};
};

services.xserver.desktopManager.gnome3.enable = true;
services.xserver.desktopManager.gnome3.debug = true;
services.xserver.displayManager.defaultSession = "gnome-xorg";

virtualisation.memorySize = 1024;
2 changes: 2 additions & 0 deletions nixos/tests/gnome3.nix
Original file line number Diff line number Diff line change
@@ -13,13 +13,15 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {

services.xserver.displayManager = {
gdm.enable = true;
gdm.debug = true;
autoLogin = {
enable = true;
user = "alice";
};
};

services.xserver.desktopManager.gnome3.enable = true;
services.xserver.desktopManager.gnome3.debug = true;

virtualisation.memorySize = 1024;
};
Original file line number Diff line number Diff line change
@@ -1,27 +1,42 @@
Index: akonadi-19.08.0/src/akonadicontrol/agentmanager.cpp
===================================================================
--- akonadi-19.08.0.orig/src/akonadicontrol/agentmanager.cpp
+++ akonadi-19.08.0/src/akonadicontrol/agentmanager.cpp
@@ -78,12 +78,12 @@ AgentManager::AgentManager(bool verbose,
mStorageController = new Akonadi::ProcessControl;
mStorageController->setShutdownTimeout(15 * 1000); // the server needs more time for shutdown if we are using an internal mysqld
connect(mStorageController, &Akonadi::ProcessControl::unableToStart, this, &AgentManager::serverFailure);
- mStorageController->start(QStringLiteral("akonadiserver"), serviceArgs, Akonadi::ProcessControl::RestartOnCrash);
+ mStorageController->start(QLatin1String(NIX_OUT "/bin/akonadiserver"), serviceArgs, Akonadi::ProcessControl::RestartOnCrash);
From 90969b9b36400d47b1afe761fb8468c1acb8a04a Mon Sep 17 00:00:00 2001
From: Thomas Tuegel <ttuegel@mailbox.org>
Date: Mon, 13 Jul 2020 11:41:19 -0500
Subject: [PATCH 1/3] akonadi paths

---
src/akonadicontrol/agentmanager.cpp | 4 ++--
src/akonadicontrol/agentprocessinstance.cpp | 2 +-
src/server/storage/dbconfigmysql.cpp | 26 ++++-----------------
src/server/storage/dbconfigpostgresql.cpp | 19 +++------------
4 files changed, 11 insertions(+), 40 deletions(-)

diff --git a/src/akonadicontrol/agentmanager.cpp b/src/akonadicontrol/agentmanager.cpp
index 23b4a1f..c13b658 100644
--- a/src/akonadicontrol/agentmanager.cpp
+++ b/src/akonadicontrol/agentmanager.cpp
@@ -61,7 +61,7 @@ public:
[]() {
QCoreApplication::instance()->exit(255);
});
- start(QStringLiteral("akonadiserver"), args, RestartOnCrash);
+ start(QLatin1String(NIX_OUT "/bin/akonadiserver"), args, RestartOnCrash);
}

if (mAgentServerEnabled) {
mAgentServer = new Akonadi::ProcessControl;
connect(mAgentServer, &Akonadi::ProcessControl::unableToStart, this, &AgentManager::agentServerFailure);
- mAgentServer->start(QStringLiteral("akonadi_agent_server"), serviceArgs, Akonadi::ProcessControl::RestartOnCrash);
+ mAgentServer->start(QLatin1String(NIX_OUT "/bin/akonadi_agent_server"), serviceArgs, Akonadi::ProcessControl::RestartOnCrash);
~StorageProcessControl() override
@@ -84,7 +84,7 @@ public:
[]() {
qCCritical(AKONADICONTROL_LOG) << "Failed to start AgentServer!";
});
- start(QStringLiteral("akonadi_agent_server"), args, RestartOnCrash);
+ start(QLatin1String(NIX_OUT "/bin/akonadi_agent_server"), args, RestartOnCrash);
}
}

Index: akonadi-19.08.0/src/akonadicontrol/agentprocessinstance.cpp
===================================================================
--- akonadi-19.08.0.orig/src/akonadicontrol/agentprocessinstance.cpp
+++ akonadi-19.08.0/src/akonadicontrol/agentprocessinstance.cpp
@@ -62,7 +62,7 @@ bool AgentProcessInstance::start(const A
~AgentServerProcessControl() override
diff --git a/src/akonadicontrol/agentprocessinstance.cpp b/src/akonadicontrol/agentprocessinstance.cpp
index 4e58f7e..e8bb532 100644
--- a/src/akonadicontrol/agentprocessinstance.cpp
+++ b/src/akonadicontrol/agentprocessinstance.cpp
@@ -62,7 +62,7 @@ bool AgentProcessInstance::start(const AgentType &agentInfo)
} else {
Q_ASSERT(agentInfo.launchMethod == AgentType::Launcher);
const QStringList arguments = QStringList() << executable << identifier();
@@ -30,19 +45,19 @@ Index: akonadi-19.08.0/src/akonadicontrol/agentprocessinstance.cpp
mController->start(agentLauncherExec, arguments);
}
return true;
Index: akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
===================================================================
--- akonadi-19.08.0.orig/src/server/storage/dbconfigmysql.cpp
+++ akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
@@ -83,7 +83,6 @@ bool DbConfigMysql::init(QSettings &sett
diff --git a/src/server/storage/dbconfigmysql.cpp b/src/server/storage/dbconfigmysql.cpp
index cac40f5..527649b 100644
--- a/src/server/storage/dbconfigmysql.cpp
+++ b/src/server/storage/dbconfigmysql.cpp
@@ -83,7 +83,6 @@ bool DbConfigMysql::init(QSettings &settings)
// determine default settings depending on the driver
QString defaultHostName;
QString defaultOptions;
- QString defaultServerPath;
QString defaultCleanShutdownCommand;

#ifndef Q_OS_WIN
@@ -92,16 +91,7 @@ bool DbConfigMysql::init(QSettings &sett
@@ -92,16 +91,7 @@ bool DbConfigMysql::init(QSettings &settings)
#endif

const bool defaultInternalServer = true;
@@ -60,7 +75,7 @@ Index: akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
if (!mysqladminPath.isEmpty()) {
#ifndef Q_OS_WIN
defaultCleanShutdownCommand = QStringLiteral("%1 --defaults-file=%2/mysql.conf --socket=%3/%4 shutdown")
@@ -111,10 +101,10 @@ bool DbConfigMysql::init(QSettings &sett
@@ -111,10 +101,10 @@ bool DbConfigMysql::init(QSettings &settings)
#endif
}

@@ -73,7 +88,7 @@ Index: akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
qCDebug(AKONADISERVER_LOG) << "Found mysqlcheck: " << mMysqlCheckPath;

mInternalServer = settings.value(QStringLiteral("QMYSQL/StartServer"), defaultInternalServer).toBool();
@@ -131,7 +121,7 @@ bool DbConfigMysql::init(QSettings &sett
@@ -131,7 +121,7 @@ bool DbConfigMysql::init(QSettings &settings)
mUserName = settings.value(QStringLiteral("User")).toString();
mPassword = settings.value(QStringLiteral("Password")).toString();
mConnectionOptions = settings.value(QStringLiteral("Options"), defaultOptions).toString();
@@ -82,7 +97,7 @@ Index: akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
mCleanServerShutdownCommand = settings.value(QStringLiteral("CleanServerShutdownCommand"), defaultCleanShutdownCommand).toString();
settings.endGroup();

@@ -141,9 +131,6 @@ bool DbConfigMysql::init(QSettings &sett
@@ -141,9 +131,6 @@ bool DbConfigMysql::init(QSettings &settings)
// intentionally not namespaced as we are the only one in this db instance when using internal mode
mDatabaseName = QStringLiteral("akonadi");
}
@@ -92,7 +107,7 @@ Index: akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp

qCDebug(AKONADISERVER_LOG) << "Using mysqld:" << mMysqldPath;

@@ -152,9 +139,6 @@ bool DbConfigMysql::init(QSettings &sett
@@ -152,9 +139,6 @@ bool DbConfigMysql::init(QSettings &settings)
settings.setValue(QStringLiteral("Name"), mDatabaseName);
settings.setValue(QStringLiteral("Host"), mHostName);
settings.setValue(QStringLiteral("Options"), mConnectionOptions);
@@ -102,7 +117,7 @@ Index: akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
settings.setValue(QStringLiteral("StartServer"), mInternalServer);
settings.endGroup();
settings.sync();
@@ -209,7 +193,7 @@ bool DbConfigMysql::startInternalServer(
@@ -209,7 +193,7 @@ bool DbConfigMysql::startInternalServer()
#endif

// generate config file
@@ -111,11 +126,11 @@ Index: akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
const QString localConfig = StandardDirs::locateResourceFile("config", QStringLiteral("mysql-local.conf"));
const QString actualConfig = StandardDirs::saveDir("data") + QLatin1String("/mysql.conf");
if (globalConfig.isEmpty()) {
Index: akonadi-19.08.0/src/server/storage/dbconfigpostgresql.cpp
===================================================================
--- akonadi-19.08.0.orig/src/server/storage/dbconfigpostgresql.cpp
+++ akonadi-19.08.0/src/server/storage/dbconfigpostgresql.cpp
@@ -140,9 +140,7 @@ bool DbConfigPostgresql::init(QSettings
diff --git a/src/server/storage/dbconfigpostgresql.cpp b/src/server/storage/dbconfigpostgresql.cpp
index 09cdbd5..1c8996b 100644
--- a/src/server/storage/dbconfigpostgresql.cpp
+++ b/src/server/storage/dbconfigpostgresql.cpp
@@ -141,9 +141,7 @@ bool DbConfigPostgresql::init(QSettings &settings)
// determine default settings depending on the driver
QString defaultHostName;
QString defaultOptions;
@@ -125,7 +140,7 @@ Index: akonadi-19.08.0/src/server/storage/dbconfigpostgresql.cpp
QString defaultPgData;

#ifndef Q_WS_WIN // We assume that PostgreSQL is running as service on Windows
@@ -153,12 +151,8 @@ bool DbConfigPostgresql::init(QSettings
@@ -154,12 +152,8 @@ bool DbConfigPostgresql::init(QSettings &settings)

mInternalServer = settings.value(QStringLiteral("QPSQL/StartServer"), defaultInternalServer).toBool();
if (mInternalServer) {
@@ -139,7 +154,7 @@ Index: akonadi-19.08.0/src/server/storage/dbconfigpostgresql.cpp
defaultPgData = StandardDirs::saveDir("data", QStringLiteral("db_data"));
}

@@ -177,20 +171,14 @@ bool DbConfigPostgresql::init(QSettings
@@ -178,20 +172,14 @@ bool DbConfigPostgresql::init(QSettings &settings)
mUserName = settings.value(QStringLiteral("User")).toString();
mPassword = settings.value(QStringLiteral("Password")).toString();
mConnectionOptions = settings.value(QStringLiteral("Options"), defaultOptions).toString();
@@ -162,11 +177,14 @@ Index: akonadi-19.08.0/src/server/storage/dbconfigpostgresql.cpp
qCDebug(AKONADISERVER_LOG) << "Found pg_upgrade:" << mPgUpgradePath;
mPgData = settings.value(QStringLiteral("PgData"), defaultPgData).toString();
if (mPgData.isEmpty()) {
@@ -206,7 +194,6 @@ bool DbConfigPostgresql::init(QSettings
@@ -207,7 +195,6 @@ bool DbConfigPostgresql::init(QSettings &settings)
settings.setValue(QStringLiteral("Port"), mHostPort);
}
settings.setValue(QStringLiteral("Options"), mConnectionOptions);
- settings.setValue(QStringLiteral("ServerPath"), mServerPath);
settings.setValue(QStringLiteral("InitDbPath"), mInitDbPath);
settings.setValue(QStringLiteral("StartServer"), mInternalServer);
settings.endGroup();
--
2.25.4

26 changes: 26 additions & 0 deletions pkgs/applications/kde/akonadi/0002-akonadi-timestamps.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From b8c6a2a017321649db8fec553a644b8da2300514 Mon Sep 17 00:00:00 2001
From: Thomas Tuegel <ttuegel@mailbox.org>
Date: Mon, 13 Jul 2020 11:41:35 -0500
Subject: [PATCH 2/3] akonadi timestamps

---
src/server/storage/dbconfigmysql.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/server/storage/dbconfigmysql.cpp b/src/server/storage/dbconfigmysql.cpp
index 527649b..08c3dd4 100644
--- a/src/server/storage/dbconfigmysql.cpp
+++ b/src/server/storage/dbconfigmysql.cpp
@@ -235,8 +235,7 @@ bool DbConfigMysql::startInternalServer()
bool confUpdate = false;
QFile actualFile(actualConfig);
// update conf only if either global (or local) is newer than actual
- if ((QFileInfo(globalConfig).lastModified() > QFileInfo(actualFile).lastModified()) ||
- (QFileInfo(localConfig).lastModified() > QFileInfo(actualFile).lastModified())) {
+ if (true) {
QFile globalFile(globalConfig);
QFile localFile(localConfig);
if (globalFile.open(QFile::ReadOnly) && actualFile.open(QFile::WriteOnly)) {
--
2.25.4

Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
From bc018b4bc816a3b51deb9739bedbf8a2268d0684 Mon Sep 17 00:00:00 2001
From: gnidorah <gnidorah@users.noreply.github.com>
Date: Fri, 22 Dec 2017 17:36:03 +0300
Subject: [PATCH] Revert "Make Akonadi installation properly relocatable"
From 7afe018382cf68b477b35f87b666424d62d19ef4 Mon Sep 17 00:00:00 2001
From: Thomas Tuegel <ttuegel@mailbox.org>
Date: Mon, 13 Jul 2020 11:41:55 -0500
Subject: [PATCH 3/3] akonadi revert make relocatable

This reverts commit b2bb55f13f2ac783f89cc414de8c39f62fa2096a.
---
CMakeLists.txt | 3 ---
KF5AkonadiConfig.cmake.in | 6 +++---
2 files changed, 3 insertions(+), 6 deletions(-)

Index: akonadi-19.08.0/CMakeLists.txt
===================================================================
--- akonadi-19.08.0.orig/CMakeLists.txt
+++ akonadi-19.08.0/CMakeLists.txt
@@ -306,9 +306,6 @@ configure_package_config_file(
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d927471..83a74c0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -330,9 +330,6 @@ configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/KF5AkonadiConfig.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/KF5AkonadiConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR}
@@ -23,11 +22,11 @@ Index: akonadi-19.08.0/CMakeLists.txt
)

install(FILES
Index: akonadi-19.08.0/KF5AkonadiConfig.cmake.in
===================================================================
--- akonadi-19.08.0.orig/KF5AkonadiConfig.cmake.in
+++ akonadi-19.08.0/KF5AkonadiConfig.cmake.in
@@ -26,8 +26,8 @@ if(BUILD_TESTING)
diff --git a/KF5AkonadiConfig.cmake.in b/KF5AkonadiConfig.cmake.in
index 421e1df..e3abf27 100644
--- a/KF5AkonadiConfig.cmake.in
+++ b/KF5AkonadiConfig.cmake.in
@@ -24,8 +24,8 @@ if(BUILD_TESTING)
find_dependency(Qt5Test "@QT_REQUIRED_VERSION@")
endif()

@@ -38,7 +37,7 @@ Index: akonadi-19.08.0/KF5AkonadiConfig.cmake.in

find_dependency(Boost "@Boost_MINIMUM_VERSION@")

@@ -35,7 +35,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/KF5Ako
@@ -33,7 +33,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/KF5AkonadiTargets.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/KF5AkonadiMacros.cmake)

# The directory where akonadi-xml.xsd and kcfg2dbus.xsl are installed
@@ -47,3 +46,6 @@ Index: akonadi-19.08.0/KF5AkonadiConfig.cmake.in

####################################################################################
# CMAKE_AUTOMOC
--
2.25.4

14 changes: 0 additions & 14 deletions pkgs/applications/kde/akonadi/akonadi-timestamps.patch

This file was deleted.

6 changes: 5 additions & 1 deletion pkgs/applications/kde/akonadi/default.nix
Original file line number Diff line number Diff line change
@@ -11,7 +11,11 @@ mkDerivation {
license = [ lib.licenses.lgpl21 ];
maintainers = kdepimTeam;
};
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
patches = [
./0001-akonadi-paths.patch
./0002-akonadi-timestamps.patch
./0003-akonadi-revert-make-relocatable.patch
];
nativeBuildInputs = [ extra-cmake-modules shared-mime-info ];
buildInputs = [
kcompletion kconfigwidgets kcrash kdbusaddons kdesignerplugin ki18n
3 changes: 0 additions & 3 deletions pkgs/applications/kde/akonadi/series

This file was deleted.

2 changes: 1 addition & 1 deletion pkgs/applications/kde/fetch.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
WGET_ARGS=( http://download.kde.org/stable/release-service/19.12.3/src )
WGET_ARGS=(http://download.kde.org/stable/release-service/20.04.1/src)
8 changes: 0 additions & 8 deletions pkgs/applications/kde/kdegraphics-thumbnailers.nix
Original file line number Diff line number Diff line change
@@ -9,14 +9,6 @@ mkDerivation {
license = [ lib.licenses.lgpl21 ];
maintainers = [ lib.maintainers.ttuegel ];
};
patches = [
# Fix a bug with thumbnail.so processes hanging:
# https://bugs.kde.org/show_bug.cgi?id=404652
(fetchpatch {
url = "https://github.com/KDE/kdegraphics-thumbnailers/commit/3e2ea6e924d0e2a2cdd9bb435b06965117d6d34c.patch";
sha256 = "0fq85zhymmrq8vl0y6vgh87qf4c6fhcq704p4kpkaq7y0isxj4h1";
})
];
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ karchive kio libkexiv2 libkdcraw ];
}
4 changes: 2 additions & 2 deletions pkgs/applications/kde/kdenlive.nix
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
, frei0r
, phonon-backend-gstreamer
, qtdeclarative
, qtquickcontrols
, qtquickcontrols2
, qtscript
, qtwebkit
, rttr
@@ -60,7 +60,7 @@ mkDerivation {
mlt
phonon-backend-gstreamer
qtdeclarative
qtquickcontrols
qtquickcontrols2
qtscript
qtwebkit
shared-mime-info
12 changes: 6 additions & 6 deletions pkgs/applications/kde/kio-extras.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
mkDerivation, lib, extra-cmake-modules, kdoctools, shared-mime-info,
exiv2, kactivities, karchive, kbookmarks, kconfig, kconfigwidgets,
kcoreaddons, kdbusaddons, kguiaddons, kdnssd, kiconthemes, ki18n, kio, khtml,
kdelibs4support, kpty, syntax-highlighting, libmtp, libssh, openexr, ilmbase,
openslp, phonon, qtsvg, samba, solid, gperf
kcoreaddons, kdbusaddons, kdsoap, kguiaddons, kdnssd, kiconthemes, ki18n, kio,
khtml, kdelibs4support, kpty, syntax-highlighting, libmtp, libssh, openexr,
ilmbase, openslp, phonon, qtsvg, samba, solid, gperf
}:

mkDerivation {
@@ -15,9 +15,9 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules kdoctools shared-mime-info ];
buildInputs = [
exiv2 kactivities karchive kbookmarks kconfig kconfigwidgets kcoreaddons
kdbusaddons kguiaddons kdnssd kiconthemes ki18n kio khtml kdelibs4support
kpty syntax-highlighting libmtp libssh openexr openslp phonon qtsvg samba
solid gperf
kdbusaddons kdsoap kguiaddons kdnssd kiconthemes ki18n kio khtml
kdelibs4support kpty syntax-highlighting libmtp libssh openexr openslp
phonon qtsvg samba solid gperf
];
CXXFLAGS = [ "-I${ilmbase.dev}/include/OpenEXR" ];
}
4 changes: 2 additions & 2 deletions pkgs/applications/kde/messagelib.nix
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
grantleetheme, karchive, kcodecs, kconfig, kconfigwidgets, kcontacts,
kdepim-apps-libs, kiconthemes, kidentitymanagement, kio, kjobwidgets, kldap,
kmailtransport, kmbox, kmime, kwindowsystem, libgravatar, libkdepim, libkleo,
pimcommon, qtwebengine, qtwebkit, syntax-highlighting
pimcommon, qca-qt5, qtwebengine, qtwebkit, syntax-highlighting
}:

mkDerivation {
@@ -18,7 +18,7 @@ mkDerivation {
buildInputs = [
akonadi-notes akonadi-search gpgme grantlee grantleetheme karchive kcodecs
kconfig kconfigwidgets kdepim-apps-libs kiconthemes kio kjobwidgets kldap
kmailtransport kmbox kmime kwindowsystem libgravatar libkdepim qtwebkit
kmailtransport kmbox kmime kwindowsystem libgravatar libkdepim qca-qt5 qtwebkit
syntax-highlighting
];
propagatedBuildInputs = [
4 changes: 2 additions & 2 deletions pkgs/applications/kde/spectacle.nix
Original file line number Diff line number Diff line change
@@ -17,8 +17,8 @@ mkDerivation {
knewstuff kwayland
];
postPatch = ''
substituteInPlace desktop/org.kde.spectacle.desktop \
--replace "Exec=qdbus" "Exec=${lib.getBin qttools}/bin/qdbus"
substituteInPlace desktop/org.kde.spectacle.desktop.cmake \
--replace "Exec=@QtBinariesDir@/qdbus" "Exec=${lib.getBin qttools}/bin/qdbus"
'';
propagatedUserEnvPkgs = [ kipi-plugins libkipi ];
}
1,738 changes: 873 additions & 865 deletions pkgs/applications/kde/srcs.nix

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkgs/development/libraries/intel-media-sdk/default.nix
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@

stdenv.mkDerivation rec {
pname = "intel-media-sdk";
version = "20.1.1";
version = "20.2.0";

src = fetchurl {
url = "https://github.com/Intel-Media-SDK/MediaSDK/archive/intel-mediasdk-${version}.tar.gz";
sha256 = "1p13b4abslq31pbgqf0bzs2ixns85yfdsm94326h2vcg0q7hqc24";
sha256 = "1b138xpa73y78gxwappxkm58c9j2vqq8zy173z7n4pdwiwsx1kxc";
};

nativeBuildInputs = [ cmake pkgconfig ];
2 changes: 1 addition & 1 deletion pkgs/development/libraries/kde-frameworks/fetch.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
WGET_ARGS=( https://download.kde.org/stable/frameworks/5.68/ )
WGET_ARGS=(https://download.kde.org/stable/frameworks/5.71/)
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
From 4d5dcc309fba688aa1db8dd915a0abdf07f61e81 Mon Sep 17 00:00:00 2001
From: Thomas Tuegel <ttuegel@mailbox.org>
Date: Mon, 13 Jul 2020 11:23:36 -0500
Subject: [PATCH] kcmutils follow symlinks

---
src/kpluginselector.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/kpluginselector.cpp b/src/kpluginselector.cpp
index 137c865..097ab75 100644
index 46deef5..2eacb9f 100644
--- a/src/kpluginselector.cpp
+++ b/src/kpluginselector.cpp
@@ -303,7 +303,7 @@ void KPluginSelector::addPlugins(const QString &componentName,
@@ -309,7 +309,7 @@ void KPluginSelector::addPlugins(const QString &componentName,
QStringList desktopFileNames;
const QStringList dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, componentName + QStringLiteral("/kpartplugins"), QStandardPaths::LocateDirectory);
for (const QString &dir : dirs) {
@@ -11,3 +20,6 @@ index 137c865..097ab75 100644
while (it.hasNext()) {
desktopFileNames.append(it.next());
}
--
2.25.4

Original file line number Diff line number Diff line change
@@ -14,5 +14,7 @@ mkDerivation {
qtdeclarative
];
propagatedBuildInputs = [ kconfigwidgets kservice ];
patches = (copyPathsToStore (lib.readPathsFromFile ./. ./series));
patches = [
./0001-kcmutils-follow-symlinks.patch
];
}

This file was deleted.

2 changes: 0 additions & 2 deletions pkgs/development/libraries/kde-frameworks/kcmutils/series

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
Index: kio-5.17.0/src/core/ksambashare.cpp
===================================================================
--- kio-5.17.0.orig/src/core/ksambashare.cpp
+++ kio-5.17.0/src/core/ksambashare.cpp
@@ -67,13 +67,18 @@ KSambaSharePrivate::~KSambaSharePrivate(

diff --git a/src/core/ksambashare.cpp b/src/core/ksambashare.cpp
index 1895783..9fe7286 100644
--- a/src/core/ksambashare.cpp
+++ b/src/core/ksambashare.cpp
@@ -73,8 +73,7 @@ KSambaSharePrivate::~KSambaSharePrivate()
bool KSambaSharePrivate::isSambaInstalled()
{
- if (QFile::exists(QStringLiteral("/usr/sbin/smbd"))
- || QFile::exists(QStringLiteral("/usr/local/sbin/smbd"))) {
- return true;
+ const QByteArray pathEnv = qgetenv("PATH");
+ if (!pathEnv.isEmpty()) {
+ QLatin1Char pathSep(':');
+ QStringList paths = QFile::decodeName(pathEnv).split(pathSep, QString::SkipEmptyParts);
+ for (QStringList::iterator it = paths.begin(); it != paths.end(); ++it) {
+ it->append(QStringLiteral("/smbd"));
+ if (QFile::exists(*it)) {
+ return true;
+ }
+ }
const bool daemonExists =
- !QStandardPaths::findExecutable(QStringLiteral("smbd"),
- {QStringLiteral("/usr/sbin/"), QStringLiteral("/usr/local/sbin/")}).isEmpty();
+ !QStandardPaths::findExecutable(QStringLiteral("smbd")).isEmpty();
if (!daemonExists) {
qCDebug(KIO_CORE_SAMBASHARE) << "KSambaShare: Could not find smbd";
}

- //qDebug() << "Samba is not installed!";
-
return false;
}

3 changes: 2 additions & 1 deletion pkgs/development/libraries/kde-frameworks/knewstuff.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
mkDerivation, lib, fetchpatch,
extra-cmake-modules,
attica, karchive, kcompletion, kconfig, kcoreaddons, ki18n, kiconthemes,
kio, kitemviews, kservice, ktextwidgets, kwidgetsaddons, kxmlgui, qtbase,
kio, kitemviews, kpackage, kservice, ktextwidgets, kwidgetsaddons, kxmlgui, qtbase,
qtdeclarative, kirigami2,
}:

@@ -12,6 +12,7 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
karchive kcompletion kconfig kcoreaddons ki18n kiconthemes kio kitemviews
kpackage
ktextwidgets kwidgetsaddons qtbase qtdeclarative kirigami2
];
propagatedBuildInputs = [ attica kservice kxmlgui ];
656 changes: 328 additions & 328 deletions pkgs/development/libraries/kde-frameworks/srcs.nix

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions pkgs/development/libraries/kdsoap/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{ mkDerivation, lib, fetchurl
, cmake
, qtbase
}:

let
version = "1.9.0";
in

mkDerivation {
pname = "kdsoap";
inherit version;
meta = {
description = "A Qt-based client-side and server-side SOAP component";
longDescription = ''
KD Soap is a Qt-based client-side and server-side SOAP component.
It can be used to create client applications for web services and also
provides the means to create web services without the need for any further
component such as a dedicated web server.
'';
license = with lib.licenses; [ gpl2 gpl3 lgpl21 ];
maintainers = [ lib.maintainers.ttuegel ];
};
src = fetchurl {
url = "https://github.com/KDAB/KDSoap/releases/download/kdsoap-${version}/kdsoap-${version}.tar.gz";
sha256 = "0a28k48cmagqxhaayyrqnxsx1zbvw4f06dgs16kl33xhbinn5fg3";
};
outputs = [ "out" "dev" ];
nativeBuildInputs = [ cmake ];
buildInputs = [ qtbase ];
postInstall = ''
moveToOutput bin/kdwsdl2cpp "$dev"
sed -i "$out/lib/cmake/KDSoap/KDSoapTargets.cmake" \
-e "/^ INTERFACE_INCLUDE_DIRECTORIES/ c INTERFACE_INCLUDE_DIRECTORIES \"$dev/include\""
sed -i "$out/lib/cmake/KDSoap/KDSoapTargets-release.cmake" \
-e "s@$out/bin@$dev/bin@"
'';
}
1,796 changes: 921 additions & 875 deletions pkgs/development/node-packages/node-packages.nix

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkgs/development/python-modules/azure-core/default.nix
Original file line number Diff line number Diff line change
@@ -12,14 +12,14 @@
}:

buildPythonPackage rec {
version = "1.6.0";
version = "1.7.0";
pname = "azure-core";
disabled = isPy27;

src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "d10b74e783cff90d56360e61162afdd22276d62dc9467e657ae866449eae7648";
sha256 = "0p6pzpgfxr0c95gqr8ryq779an13x84vlm3zhvwlgx47l90a4vd6";
};

propagatedBuildInputs = [
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/rust-analyzer/default.nix
Original file line number Diff line number Diff line change
@@ -2,10 +2,10 @@

{
rust-analyzer-unwrapped = callPackage ./generic.nix rec {
rev = "2020-06-08";
rev = "2020-07-13";
version = "unstable-${rev}";
sha256 = "0ywwsb717d1rwcy2yij58sj123pan0fb80sbsiqqprcln0aaspip";
cargoSha256 = "1c6rmrhx7q4qcanr26yzlwc2rp1hh55m80jn56hy6hfcvwcdaij4";
sha256 = "1mfhqq3wr2pxyr571xsyhlw4ikiqc0m7w6i31qmj4xq59klc003h";
cargoSha256 = "09abiyc4cr47qxmvmc2az0addwxny0wpg9gilg8s8awgx1irxcqc";
};

rust-analyzer = callPackage ./wrapper.nix {} {
12 changes: 12 additions & 0 deletions pkgs/development/tools/rust/rust-analyzer/generic.nix
Original file line number Diff line number Diff line change
@@ -24,6 +24,8 @@ rustPlatform.buildRustPackage {
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin
[ darwin.apple_sdk.frameworks.CoreServices ];

RUST_ANALYZER_REV = rev;

inherit doCheck;
# Skip tests running `rustup` for `cargo fmt`.
preCheck = ''
@@ -33,6 +35,16 @@ rustPlatform.buildRustPackage {
export RUST_SRC_PATH=${rustPlatform.rustcSrc}
'';

# Temporary disabled until #93119 is fixed.
doInstallCheck = false;
installCheckPhase = ''
runHook preInstallCheck
versionOutput="$($out/bin/rust-analyzer --version)"
echo "'rust-analyzer --version' returns: $versionOutput"
[[ "$versionOutput" == "rust-analyzer ${rev}" ]]
runHook postInstallCheck
'';

meta = with stdenv.lib; {
description = "An experimental modular compiler frontend for the Rust language";
homepage = "https://github.com/rust-analyzer/rust-analyzer";
19 changes: 11 additions & 8 deletions pkgs/development/tools/rust/rust-analyzer/update.sh
Original file line number Diff line number Diff line change
@@ -49,13 +49,16 @@ sed "s/cargoSha256 = \".*\"/cargoSha256 = \"$cargo_sha256\"/" \
build_deps="../../../../misc/vscode-extensions/rust-analyzer/build-deps"
# We need devDependencies to build vsix.
jq '{ name, version, dependencies: (.dependencies + .devDependencies) }' "$node_src/package.json" \
>"$build_deps/package.json"
>"$build_deps/package.json.new"

# FIXME: Lock the version of @type/vscode, the latest one (1.43.0) will cause build failure.
vscode_lock_ver="$(jq '.dependencies."@types/vscode".version' --raw-output "$node_src/package-lock.json")"
jq '.dependencies."@types/vscode" = "'$vscode_lock_ver'"' "$build_deps/package.json" >"$build_deps/package.json.new"
mv "$build_deps"/package.json{.new,}
if cmp --quiet "$build_deps"/package.json{.new,}; then
echo "package.json not changed, skip updating nodePackages"
rm "$build_deps"/package.json.new
else
echo "package.json changed, updating nodePackages"
mv "$build_deps"/package.json{.new,}

pushd "../../../node-packages"
./generate.sh
popd
pushd "../../../node-packages"
./generate.sh
popd
fi
24 changes: 12 additions & 12 deletions pkgs/misc/vscode-extensions/rust-analyzer/build-deps/package.json
Original file line number Diff line number Diff line change
@@ -4,23 +4,23 @@
"dependencies": {
"node-fetch": "^2.6.0",
"vscode-languageclient": "7.0.0-next.1",
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@types/glob": "^7.1.1",
"@rollup/plugin-commonjs": "^13.0.0",
"@rollup/plugin-node-resolve": "^8.1.0",
"@types/glob": "^7.1.2",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.5",
"@types/node": "~12.7.0",
"@types/node-fetch": "^2.5.7",
"@types/vscode": "1.45.0",
"@typescript-eslint/eslint-plugin": "^3.0.0",
"@typescript-eslint/parser": "^3.0.0",
"eslint": "^7.0.0",
"@types/vscode": "^1.44.1",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"eslint": "^7.3.1",
"glob": "^7.1.6",
"mocha": "^7.1.2",
"rollup": "^2.10.7",
"mocha": "^8.0.1",
"rollup": "^2.18.1",
"tslib": "^2.0.0",
"typescript": "^3.9.3",
"typescript": "^3.9.5",
"typescript-formatter": "^7.2.2",
"vsce": "^1.75.0",
"vscode-test": "^1.3.0"
"vscode-test": "^1.4.0"
}
}
12 changes: 6 additions & 6 deletions pkgs/tools/filesystems/ceph/0000-fix-SPDK-build-env.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
--- a/cmake/modules/BuildSPDK.cmake 2018-08-09 09:22:34.950684960 +0200
+++ b/cmake/modules/BuildSPDK.cmake 2018-08-09 09:21:59.986964224 +0200
@@ -16,7 +16,7 @@
--- a/cmake/modules/BuildSPDK.cmake
+++ b/cmake/modules/BuildSPDK.cmake
@@ -35,7 +35,7 @@ macro(build_spdk)
# unset $CFLAGS, otherwise it will interfere with how SPDK sets
# its include directory.
# unset $LDFLAGS, otherwise SPDK will fail to mock some functions.
- BUILD_COMMAND env -i PATH=$ENV{PATH} CC=${CMAKE_C_COMPILER} $(MAKE) EXTRA_CFLAGS="-fPIC"
+ BUILD_COMMAND env PATH=$ENV{PATH} CC=${CMAKE_C_COMPILER} $(MAKE) EXTRA_CFLAGS="-fPIC" C_OPT="-mssse3"
- BUILD_COMMAND env -i PATH=$ENV{PATH} CC=${CMAKE_C_COMPILER} ${make_cmd} EXTRA_CFLAGS="${spdk_CFLAGS}"
+ BUILD_COMMAND env -i PATH=$ENV{PATH} CC=${CMAKE_C_COMPILER} ${make_cmd} EXTRA_CFLAGS="${spdk_CFLAGS}" C_OPT="-mssse3"
BUILD_IN_SOURCE 1
INSTALL_COMMAND "true")
ExternalProject_Get_Property(spdk-ext source_dir)
unset(make_cmd)
56 changes: 35 additions & 21 deletions pkgs/tools/filesystems/ceph/default.nix
Original file line number Diff line number Diff line change
@@ -75,6 +75,26 @@ let
none = [ ];
};

getMeta = description: {
homepage = "https://ceph.com/";
inherit description;
license = with licenses; [ lgpl21 gpl2 bsd3 mit publicDomain ];
maintainers = with maintainers; [ adev ak johanot krav ];
platforms = [ "x86_64-linux" ];
};

ceph-common = python3Packages.buildPythonPackage rec{
pname = "ceph-common";
inherit src version;

sourceRoot = "ceph-${version}/src/python-common";

checkInputs = [ python3Packages.pytest ];
propagatedBuildInputs = with python3Packages; [ pyyaml six ];

meta = getMeta "Ceph common module for code shared by manager modules";
};

ceph-python-env = python3Packages.python.withPackages (ps: [
ps.sphinx
ps.flask
@@ -83,27 +103,33 @@ let
ps.virtualenv
# Libraries needed by the python tools
ps.Mako
ceph-common
ps.cherrypy
ps.dateutil
ps.jsonpatch
ps.pecan
ps.prettytable
ps.pyjwt
ps.webob
ps.bcrypt
# scipy > 1.3 breaks diskprediction_local, leading to mgr hang on startup
# Bump (and get rid of scipy_1_3) once these issues are resolved:
# https://tracker.ceph.com/issues/42764 https://tracker.ceph.com/issues/45147
ps.scipy_1_3
ps.six
ps.pyyaml
]);
sitePackages = ceph-python-env.python.sitePackages;

version = "14.2.10";
version = "15.2.4";
src = fetchurl {
url = "http://download.ceph.com/tarballs/ceph-${version}.tar.gz";
sha256 = "0jy5dp4r1bqk1l7nrv8l8zpl984k61p3vkvf73ygcn03bxyjjlax";
};
in rec {
ceph = stdenv.mkDerivation {
pname = "ceph";
inherit version;

src = fetchurl {
url = "http://download.ceph.com/tarballs/ceph-${version}.tar.gz";
sha256 = "0bbs3ag8zav283qpxrrndhvh2z01ykm6126fmwrbc1c5f9jfjq39";
};
inherit src version;

patches = [
./0000-fix-SPDK-build-env.patch
@@ -173,25 +199,13 @@ in rec {

doCheck = false; # uses pip to install things from the internet

meta = {
homepage = "https://ceph.com/";
description = "Distributed storage system";
license = with licenses; [ lgpl21 gpl2 bsd3 mit publicDomain ];
maintainers = with maintainers; [ adev ak krav johanot srhb ];
platforms = [ "x86_64-linux" ];
};
meta = getMeta "Distributed storage system";

passthru.version = version;
};

ceph-client = runCommand "ceph-client-${version}" {
meta = {
homepage = "https://ceph.com/";
description = "Tools needed to mount Ceph's RADOS Block Devices";
license = with licenses; [ lgpl21 gpl2 bsd3 mit publicDomain ];
maintainers = with maintainers; [ adev ak johanot krav ];
platforms = [ "x86_64-linux" ];
};
meta = getMeta "Tools needed to mount Ceph's RADOS Block Devices";
} ''
mkdir -p $out/{bin,etc,${sitePackages}}
cp -r ${ceph}/bin/{ceph,.ceph-wrapped,rados,rbd,rbdmap} $out/bin
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -14493,6 +14493,8 @@ in

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

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

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

kreport = callPackage ../development/libraries/kreport { };
9 changes: 9 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -5919,6 +5919,15 @@ in {
});
in if pythonOlder "3.5" then scipy_1_2 else scipy_;

scipy_1_3 = self.scipy.overridePythonAttrs(oldAttrs: rec {
version = "1.3.3";
src = oldAttrs.src.override {
inherit version;
sha256 = "02iqb7ws7fw5fd1a83hx705pzrw1imj7z0bphjsl4bfvw254xgv4";
};
doCheck = false;
});

scikitimage = callPackage ../development/python-modules/scikit-image { };

scikitlearn = let