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: dff0034a8b4f
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: e14d5a2cf125
Choose a head ref

Commits on Aug 26, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    benjamn Ben Newman
    Copy the full SHA
    6d58308 View commit details
  2. bazel: pass -stdlibc=libc++ correctly

    Fixes #93787
    matthewbauer committed Aug 26, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    benjamn Ben Newman
    Copy the full SHA
    3777a4a View commit details

Commits on Aug 27, 2020

  1. Verified

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

Commits on Aug 28, 2020

  1. Copy the full SHA
    92ad78e View commit details
  2. build-bazel-package: add dontAddBazelOpts arg

    This adds an option to skip adding --copt and --linkopt to Bazel
    flags. In some cases, Bazel doesn’t like these flags, like when a
    custom toolchain is being used (as opposed to the builtin one. The
    compiler can still get the dependencies since it is invoked through
    gcc wrapper and picks up the NIX_CFLAGS_COMPILE / NIX_LDFLAGS.
    matthewbauer committed Aug 28, 2020
    Copy the full SHA
    27fb209 View commit details
  3. cudnn: skip libcudnn_cnn_infer.so, instead of removing

    This is needed to build the CUDNN samples, so we should make sure it
    winds up in $out/lib. The library is too big to support patchelf, so
    we need to skip it. Most programs will still get the opengl path
    because it also links to other libraries.
    matthewbauer committed Aug 28, 2020
    Copy the full SHA
    ed950bb View commit details

Commits on Sep 1, 2020

  1. qcad: 3.24.3.10 -> 3.25.0.0

    * update upstream version to 3.25.0.0
    * fix the application desktop file to use the right binary name
    * make building more robust when qt version changes, automatically try
      to copy qtscriptgenerator directory
    yvesf committed Sep 1, 2020
    Copy the full SHA
    1f96216 View commit details
  2. nixos/gpaste: return sessionPath

    GPaste ships keybindings for gnome-control-center. Those depend on GSettings schemas
    but there is currently no mechanism for loading schemas other than using global ones
    from $XDG_DATA_DIRS. Eventually, I want to add such mechanism but until then,
    let's return the impure sessionPath option that was removed in
    NixOS/nixpkgs@f63d94e
    jtojnar committed Sep 1, 2020
    Copy the full SHA
    3b68a75 View commit details

Commits on Sep 2, 2020

  1. Merge pull request #96925 from jtojnar/gpaste-session-path

    nixos/gpaste: return sessionPath
    worldofpeace authored Sep 2, 2020
    Copy the full SHA
    8739e42 View commit details
  2. Zettlr: init at 1.7.5

    Fixes  #81516
    tfmoraes authored and Jon committed Sep 2, 2020
    Copy the full SHA
    7f9acb7 View commit details
  3. Copy the full SHA
    9c6f11f View commit details
  4. Merge pull request #96500 from r-ryantm/auto-update/python2.7-elastic…

    …search
    
    python27Packages.elasticsearch: 7.8.1 -> 7.9.1
    risicle authored Sep 2, 2020
    Copy the full SHA
    3e687bf View commit details
  5. portfolio: 0.48.0 -> 0.48.1

    oyren authored and Jon committed Sep 2, 2020
    Copy the full SHA
    43afce4 View commit details
  6. Merge pull request #96563 from obsidiansystems/skip-cudnn_cnn_infer-i…

    …nstead-of-removing
    
    cudnn: skip libcudnn_cnn_infer.so, instead of removing
    matthewbauer authored Sep 2, 2020
    Copy the full SHA
    8e6f466 View commit details
  7. Copy the full SHA
    304de03 View commit details
  8. Merge pull request #96562 from obsidiansystems/bazel-add-dont-add-baz…

    …el-opts
    
    build-bazel-package: add dontAddBazelOpts arg
    matthewbauer authored Sep 2, 2020
    Copy the full SHA
    3a9b91b View commit details
  9. Copy the full SHA
    e1d6f7c View commit details
  10. Copy the full SHA
    634d404 View commit details
  11. gitAndTools.gita: 0.10.9 -> 0.10.10

    yoctocell authored and Jon committed Sep 2, 2020
    Copy the full SHA
    008f45f View commit details
  12. Merge pull request #96310 from yvesf/qcad-3.25.0.0

    update qcad to 3.25.0.0
    risicle authored Sep 2, 2020
    Copy the full SHA
    0d820de View commit details
  13. go_1_14: 1.14.7 -> 1.14.8

    zowoq committed Sep 2, 2020
    Copy the full SHA
    eef5656 View commit details
  14. pythonPackages.httpcore: init at 0.10.2

    risicle authored and Jon committed Sep 2, 2020
    Copy the full SHA
    e98facb View commit details
  15. pythonPackages.httpx: 0.12.1 -> 0.14.2

    slim down some no longer needed dependencies
    risicle authored and Jon committed Sep 2, 2020
    Copy the full SHA
    063692b View commit details
  16. pythonPackages.starlette: 0.13.6 -> 0.13.8

    remove outdated comment
    risicle authored and Jon committed Sep 2, 2020
    Copy the full SHA
    4f61203 View commit details
  17. pythonPackages.asgi-csrf: init at 0.7

    risicle authored and Jon committed Sep 2, 2020
    Copy the full SHA
    ce47cdb View commit details
  18. pythonPackages.mergedeep: init at 1.3.0

    risicle authored and Jon committed Sep 2, 2020
    Copy the full SHA
    4e94600 View commit details
  19. pythonPackages.datasette: 0.39 -> 0.46

    enable more tests that now seem to work
    risicle authored and Jon committed Sep 2, 2020
    Copy the full SHA
    f1b9dcd View commit details
  20. Merge pull request #96561 from jonringer/fix-jupyterhub-ldapauthentic…

    …ator
    
    python3Packages.jupyterhub-ldapauthenticator: 1.3.1 -> 1.3.2, fix build
    risicle authored Sep 2, 2020
    Copy the full SHA
    a2842c7 View commit details
  21. dep2nix: regenerate deps.nix

    zowoq committed Sep 2, 2020
    Copy the full SHA
    1b235b4 View commit details
  22. leaps: regenerate deps.nix

    zowoq committed Sep 2, 2020
    Copy the full SHA
    e14d5a2 View commit details
Showing with 549 additions and 408 deletions.
  1. +2 −0 nixos/modules/programs/gpaste.nix
  2. +13 −0 pkgs/applications/misc/qcad/application-dir.patch
  3. +9 −7 pkgs/applications/misc/qcad/default.nix
  4. +38 −0 pkgs/applications/misc/zettlr/default.nix
  5. +2 −2 pkgs/applications/networking/instant-messengers/pantalaimon/default.nix
  6. +2 −2 pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
  7. +2 −2 pkgs/applications/office/portfolio/default.nix
  8. +3 −2 pkgs/applications/version-management/git-and-tools/gita/default.nix
  9. +22 −12 pkgs/build-support/build-bazel-package/default.nix
  10. +2 −2 pkgs/development/compilers/go/1.14.nix
  11. +9 −8 pkgs/development/libraries/science/math/cudnn/generic.nix
  12. +31 −0 pkgs/development/python-modules/asgi-csrf/default.nix
  13. +13 −11 pkgs/development/python-modules/datasette/default.nix
  14. +2 −2 pkgs/development/python-modules/elasticsearch/default.nix
  15. +34 −0 pkgs/development/python-modules/httpcore/default.nix
  16. +10 −14 pkgs/development/python-modules/httpx/default.nix
  17. +2 −2 pkgs/development/python-modules/jupyterhub-ldapauthenticator/default.nix
  18. +2 −2 pkgs/development/python-modules/matrix-nio/default.nix
  19. +26 −0 pkgs/development/python-modules/mergedeep/default.nix
  20. +3 −7 pkgs/development/python-modules/starlette/default.nix
  21. +4 −0 pkgs/development/tools/build-managers/bazel/bazel_0_26/default.nix
  22. +4 −0 pkgs/development/tools/build-managers/bazel/bazel_0_29/default.nix
  23. +4 −0 pkgs/development/tools/build-managers/bazel/bazel_1/default.nix
  24. +4 −0 pkgs/development/tools/build-managers/bazel/bazel_3/default.nix
  25. +128 −144 pkgs/development/tools/dep2nix/deps.nix
  26. +165 −185 pkgs/development/tools/leaps/deps.nix
  27. +7 −4 pkgs/top-level/all-packages.nix
  28. +6 −0 pkgs/top-level/python-packages.nix
2 changes: 2 additions & 0 deletions nixos/modules/programs/gpaste.nix
Original file line number Diff line number Diff line change
@@ -30,5 +30,7 @@ with lib;
environment.systemPackages = [ pkgs.gnome3.gpaste ];
services.dbus.packages = [ pkgs.gnome3.gpaste ];
systemd.packages = [ pkgs.gnome3.gpaste ];
# gnome-control-center crashes in Keyboard Shortcuts pane without the GSettings schemas.
services.xserver.desktopManager.gnome3.sessionPath = [ pkgs.gnome3.gpaste ];
};
}
13 changes: 13 additions & 0 deletions pkgs/applications/misc/qcad/application-dir.patch
Original file line number Diff line number Diff line change
@@ -33,3 +33,16 @@ index c6c31cbf5..c51b59ce6 100644
}

int RSettings::getSnapRange() {
diff --git a/qcad.desktop b/qcad.desktop
index 93c5e9720..2d0e6bf32 100644
--- a/qcad.desktop
+++ b/qcad.desktop
@@ -48,7 +48,7 @@ Comment[sv]=2D CAD-system
Comment[sl]=Sistem 2D CAD
Comment[uk]=2D САПР
Comment[tr]=2D CAD Sistemi
-Exec=qcad %F
+Exec=qcad-bin %F
X-MultipleArgs=true
Icon=qcad_icon
Terminal=false
16 changes: 9 additions & 7 deletions pkgs/applications/misc/qcad/default.nix
Original file line number Diff line number Diff line change
@@ -11,25 +11,27 @@

mkDerivationWith stdenv.mkDerivation rec {
pname = "qcad";
version = "3.24.3.10";
version = "3.25.0.0";

src = fetchFromGitHub {
owner = "qcad";
repo = "qcad";
rev = "v${version}";
sha256 = "0izyn4y1ffq1mgxs5dymkrqih6n6v9ifrcpyk1z2vyhbm5xx4qsa";
sha256 = "07qph2645m1wi9yi04ixdvx8dli03q1vimj3laqdmnpipi54lljc";
};

patches = [
./application-dir.patch
];

postPatch = ''
mkdir src/3rdparty/qt-labs-qtscriptgenerator-${qt5.qtbase.version}
cp \
src/3rdparty/qt-labs-qtscriptgenerator-5.12.3/qt-labs-qtscriptgenerator-5.12.3.pro \
src/3rdparty/qt-labs-qtscriptgenerator-${qt5.qtbase.version}/qt-labs-qtscriptgenerator-${qt5.qtbase.version}.pro
'';
if ! [ -d src/3rdparty/qt-labs-qtscriptgenerator-${qt5.qtbase.version} ]; then
mkdir src/3rdparty/qt-labs-qtscriptgenerator-${qt5.qtbase.version}
cp \
src/3rdparty/qt-labs-qtscriptgenerator-5.14.0/qt-labs-qtscriptgenerator-5.14.0.pro \
src/3rdparty/qt-labs-qtscriptgenerator-${qt5.qtbase.version}/qt-labs-qtscriptgenerator-${qt5.qtbase.version}.pro
fi
'';

qmakeFlags = [
"MUPARSER_DIR=${muparser}"
38 changes: 38 additions & 0 deletions pkgs/applications/misc/zettlr/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ appimageTools, lib, fetchurl, gtk3, gsettings-desktop-schemas}:

# Based on https://gist.github.com/msteen/96cb7df66a359b827497c5269ccbbf94 and joplin-desktop nixpkgs.
let
pname = "zettlr";
version = "1.7.5";
name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/Zettlr/Zettlr/releases/download/v${version}/Zettlr-${version}-x86_64.appimage";
sha256 = "040lx01ywdpla34d4abkmh51kchr11s17la6fk6yq77y8zb87xzi";
};
appimageContents = appimageTools.extractType2 {
inherit name src;
};
in appimageTools.wrapType2 rec {
inherit name src;

profile = ''
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS
'';

multiPkgs = null; # no 32bit needed
extraPkgs = appimageTools.defaultFhsEnvArgs.multiPkgs;
extraInstallCommands = ''
mv $out/bin/{${name},${pname}}
install -m 444 -D ${appimageContents}/zettlr.desktop $out/share/applications/zettlr.desktop
install -m 444 -D ${appimageContents}/zettlr.png $out/share/icons/hicolor/512x512/apps/zettlr.png
substituteInPlace $out/share/applications/zettlr.desktop --replace 'Exec=AppRun' 'Exec=${pname}'
'';

meta = with lib; {
description = "A markdown editor for writing academic texts and taking notes";
homepage = "https://www.zettlr.com";
platforms = [ "x86_64-linux" ];
license = licenses.gpl3;
maintainers = with maintainers; [ tfmoraes ];
};
}
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@

buildPythonApplication rec {
pname = "pantalaimon";
version = "0.6.5";
version = "0.7.0";

disabled = pythonOlder "3.6";

@@ -19,7 +19,7 @@ buildPythonApplication rec {
owner = "matrix-org";
repo = pname;
rev = version;
sha256 = "1pjrq71fkpvsc79nwhxhwjkqvqhj5wsnnwvsgslghaajdaw3n6wd";
sha256 = "0cx8sqajf5lh8w61yy1l6ry67rv1b45xp264zkw3s7ip80i4ylb2";
};

propagatedBuildInputs = [
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ let
else "");
in stdenv.mkDerivation rec {
pname = "signal-desktop";
version = "1.34.5"; # Please backport all updates to the stable channel.
version = "1.35.1"; # Please backport all updates to the stable channel.
# All releases have a limited lifetime and "expire" 90 days after the release.
# When releases "expire" the application becomes unusable until an update is
# applied. The expiration date for the current release can be extracted with:
@@ -35,7 +35,7 @@ in stdenv.mkDerivation rec {

src = fetchurl {
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
sha256 = "1s8nksrkfivsf9r460ifxsf8l7bnc1zix5yj39kvnx0mbync8lg1";
sha256 = "1nxj7h8yrp2sbxxd49q9xdh1zsqixcd01i83lr492f4322cg1yjf";
};

nativeBuildInputs = [
4 changes: 2 additions & 2 deletions pkgs/applications/office/portfolio/default.nix
Original file line number Diff line number Diff line change
@@ -24,11 +24,11 @@ let
in
stdenv.mkDerivation rec {
pname = "PortfolioPerformance";
version = "0.48.0";
version = "0.48.1";

src = fetchurl {
url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz";
sha256 = "12skl08isz2f1a6ksmcw7sm82xk909y636ch8jp80lglb21i0q1j";
sha256 = "0xhxp4iglggv6rqwsg0xjn8z46v910rj372abkaviwa3cqzf7gdb";
};

nativeBuildInputs = [
Original file line number Diff line number Diff line change
@@ -9,11 +9,11 @@
}:

buildPythonApplication rec {
version = "0.10.9";
version = "0.10.10";
pname = "gita";

src = fetchFromGitHub {
sha256 = "0wilyf4nnn2jyxrfqs8krya3zvhj6x36szsp9xhb6h08g1ihzp5i";
sha256 = "0k7hicncbrqvhmpq1w3v1309bqij6izw31xs8xcb8is85dvi754h";
rev = "v${version}";
repo = "gita";
owner = "nosarthur";
@@ -45,6 +45,7 @@ buildPythonApplication rec {

postInstall = ''
installShellCompletion --bash --name gita ${src}/.gita-completion.bash
installShellCompletion --zsh --name gita ${src}/.gita-completion.zsh
'';

meta = with lib; {
34 changes: 22 additions & 12 deletions pkgs/build-support/build-bazel-package/default.nix
Original file line number Diff line number Diff line change
@@ -37,6 +37,12 @@ args@{
# Debian-specific /usr/share/java paths, but doesn't in the configured build).
, fetchConfigured ? false

# Don’t add Bazel --copt and --linkopt from NIX_CFLAGS_COMPILE /
# NIX_LDFLAGS. This is necessary when using a custom toolchain which
# Bazel wants all headers / libraries to come from, like when using
# CROSSTOOL. Weirdly, we can still get the flags through the wrapped
# compiler.
, dontAddBazelOpts ? false
, ...
}:

@@ -170,6 +176,8 @@ in stdenv.mkDerivation (fBuildAttrs // {
done
'' + fBuildAttrs.preConfigure or "";

inherit dontAddBazelOpts;

buildPhase = fBuildAttrs.buildPhase or ''
runHook preBuild
@@ -181,20 +189,22 @@ in stdenv.mkDerivation (fBuildAttrs // {
#
copts=()
host_copts=()
for flag in $NIX_CFLAGS_COMPILE; do
copts+=( "--copt=$flag" )
host_copts+=( "--host_copt=$flag" )
done
for flag in $NIX_CXXSTDLIB_COMPILE; do
copts+=( "--copt=$flag" )
host_copts+=( "--host_copt=$flag" )
done
linkopts=()
host_linkopts=()
for flag in $NIX_LDFLAGS; do
linkopts+=( "--linkopt=-Wl,$flag" )
host_linkopts+=( "--host_linkopt=-Wl,$flag" )
done
if [ -z "''${dontAddBazelOpts:-}" ]; then
for flag in $NIX_CFLAGS_COMPILE; do
copts+=( "--copt=$flag" )
host_copts+=( "--host_copt=$flag" )
done
for flag in $NIX_CXXSTDLIB_COMPILE; do
copts+=( "--copt=$flag" )
host_copts+=( "--host_copt=$flag" )
done
for flag in $NIX_LDFLAGS; do
linkopts+=( "--linkopt=-Wl,$flag" )
host_linkopts+=( "--host_linkopt=-Wl,$flag" )
done
fi
BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \
USER=homeless-shelter \
4 changes: 2 additions & 2 deletions pkgs/development/compilers/go/1.14.nix
Original file line number Diff line number Diff line change
@@ -31,11 +31,11 @@ in

stdenv.mkDerivation rec {
pname = "go";
version = "1.14.7";
version = "1.14.8";

src = fetchurl {
url = "https://dl.google.com/go/go${version}.src.tar.gz";
sha256 = "1qrhdjdzi1knchk1wmlaqgkqhxkq2niw14b931rhqrk36m1r4hq6";
sha256 = "0sp3ss9mqcysc3h7ynwxhdjq4g0id9y6liakwy2cy27mapxi79nr";
};

# perl is used for testing go vet
17 changes: 9 additions & 8 deletions pkgs/development/libraries/science/math/cudnn/generic.nix
Original file line number Diff line number Diff line change
@@ -32,19 +32,20 @@ stdenv.mkDerivation {
mkdir -p $out
cp -a include $out/include
cp -a lib64 $out/lib64
${lib.optionalString (lib.versionAtLeast version "8") ''
# patchelf fails on libcudnn_cnn_infer due to it being too big.
# I'm hoping it's not needed for most programs.
# (https://github.com/NixOS/patchelf/issues/222)
rm -f $out/lib64/libcudnn_cnn_infer*
''}
'';

# Set RUNPATH so that libcuda in /run/opengl-driver(-32)/lib can be found.
# See the explanation in addOpenGLRunpath.
postFixup = ''
addOpenGLRunpath $out/lib/lib*.so
for lib in $out/lib/lib*.so; do
# patchelf fails on libcudnn_cnn_infer due to it being too big.
# Most programs will still get the RPATH since they link to
# other things.
# (https://github.com/NixOS/patchelf/issues/222)
if [ "$(basename $lib)" != libcudnn_cnn_infer.so ]; then
addOpenGLRunpath $lib
fi
done
'';

propagatedBuildInputs = [
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/asgi-csrf/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ stdenv, buildPythonPackage, isPy27, fetchFromGitHub, itsdangerous, python-multipart
, pytest, starlette, httpx, pytest-asyncio }:

buildPythonPackage rec {
version = "0.7";
pname = "asgi-csrf";
disabled = isPy27;

# PyPI tarball doesn't include tests directory
src = fetchFromGitHub {
owner = "simonw";
repo = pname;
rev = version;
sha256 = "1vf4lh007790836cp3hd6wf8wsgj045dcg0w1cm335p08zz6j4k7";
};

propagatedBuildInputs = [ itsdangerous python-multipart ];

checkInputs = [ pytest starlette httpx pytest-asyncio ];
checkPhase = ''
pytest test_asgi_csrf.py
'';
pythonImportsCheck = [ "asgi_csrf" ];

meta = with stdenv.lib; {
description = "ASGI middleware for protecting against CSRF attacks";
license = licenses.asl20;
homepage = "https://github.com/simonw/asgi-csrf";
maintainers = [ maintainers.ris ];
};
}
Loading