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: b0e3df2f8437
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: 210d8624ac4a
Choose a head ref

Commits on Mar 31, 2020

  1. memcached: 1.5.22 -> 1.6.2

    fixes remote DoS/possibly code execution, as described in
    memcached/memcached#629
    
    (cherry picked from commit 58a491a)
    ajs124 committed Mar 31, 2020
    Copy the full SHA
    07dc1c7 View commit details

Commits on May 5, 2020

  1. libeatmydata: fix launcher script - find shell library properly

    The new version of the launcher script in version 105 doesn't have the #8665
    bug, but it does try to find the shell library using Debian tools, which
    obviously doesn't work on Nix. Removed the now-unneccessary makeWrapper and
    patched out the Debian bits.
    
    (cherry picked from commit 4e9b948)
    enolan authored and nh2 committed May 5, 2020
    Copy the full SHA
    77207c1 View commit details

Commits on May 6, 2020

  1. wordpress: 5.3.2 → 5.3.3

    Fixes: CVE-2020-11030, CVE-2020-11029, CVE-2020-11028, CVE-2020-11027, CVE-2020-11026, CVE-2020-11025
    mweinelt committed May 6, 2020
    Copy the full SHA
    ef791a3 View commit details
  2. apt-cacher-ng: 3.2 → 3.5

    Fixes: CVE-2017-7443, CVE-2020-5202
    (cherry picked from commit 1c7ad58)
    mweinelt committed May 6, 2020
    Copy the full SHA
    3729fae View commit details
  3. Copy the full SHA
    21d4bfb View commit details
  4. linux: 5.4.38 -> 5.4.39

    NeQuissimus committed May 6, 2020
    Copy the full SHA
    dc2c23c View commit details
  5. linux: 5.6.10 -> 5.6.11

    NeQuissimus committed May 6, 2020
    Copy the full SHA
    404fef9 View commit details
  6. Merge pull request #87096 from mweinelt/20.03/pr/wordpress

    [20.03] wordpress: 5.3.2 → 5.3.3
    aanderse authored May 6, 2020
    Copy the full SHA
    2d07cd6 View commit details
  7. teeworlds: 0.7.4 -> 0.7.5

    fixes CVE-2020-12066
    
    (cherry picked from commit b89d52e)
    hax404 committed May 6, 2020
    Copy the full SHA
    e85b6a5 View commit details
  8. Merge pull request #87148 from hax404/20.03_teeworlds-0.7.5

    [20.03] teeworlds: 0.7.4 -> 0.7.5
    flokli authored May 6, 2020
    Copy the full SHA
    7544d59 View commit details

Commits on May 7, 2020

  1. riot-web: 1.5.15 -> 1.6.0

    Ma27 authored and Milan committed May 7, 2020
    Copy the full SHA
    31063de View commit details
  2. riot-desktop: 1.5.15 -> 1.6.0

    Ma27 authored and Milan committed May 7, 2020
    Copy the full SHA
    88e91e4 View commit details
  3. Merge pull request #86944 from nh2/libeatmydata-launcher-backport-iss…

    …ue-80784-20.03
    
    [20.03] libeatmydata: fix launcher script - find shell library properly
    nh2 authored May 7, 2020
    Copy the full SHA
    13a1097 View commit details
  4. Merge pull request #87122 from mweinelt/20.03/pr/apt-cacher-ng

    [20.03] apt-cacher-ng: 3.2 → 3.5
    ryantm authored May 7, 2020
    Copy the full SHA
    52e9f62 View commit details
  5. Merge pull request #83331 from helsinki-systems/backport/20.03/memcached

    [20.03] memcached: 1.5.22 -> 1.6.2
    flokli authored May 7, 2020
    Copy the full SHA
    240f670 View commit details
  6. elan: 0.8.0 -> 0.9.0

    (cherry picked from commit f6f5f6a)
    gebner committed May 7, 2020
    Copy the full SHA
    74721f8 View commit details
  7. conan: Reformat inputs list

    (cherry picked from commit 3a158da)
    nh2 authored and Jon committed May 7, 2020
    Copy the full SHA
    9c9e733 View commit details
  8. conan: Remove unnecessary patching.

    The pluginbase dependency is now pinned further up with commit
    
        244fcfc - conan: pin pluginbase to 0.7
    
    (cherry picked from commit 03d5611)
    nh2 authored and Jon committed May 7, 2020
    Copy the full SHA
    17a6a31 View commit details
  9. pythonPackages.patch-ng: Init at 1.17.2.

    Newer versions of `conan` need it.
    
    Adding @HaoZeke as maintainer (is Conan maintainer).
    
    (cherry picked from commit 3e60781)
    nh2 authored and Jon committed May 7, 2020
    Copy the full SHA
    b2a6334 View commit details
  10. conan: 1.12.3 -> 1.23.0

    * remove pinned dependencies where nixpkgs provides a version
      in the acceptable range
    * disable tests;
      they are no longer in the Pypi archive, see
      conan-io/conan#4563
    
    (cherry picked from commit f460e62)
    nh2 authored and Jon committed May 7, 2020
    Copy the full SHA
    0d51e3e View commit details
  11. python27Packages.patch-ng: 1.17.2 -> 1.17.4

    (cherry picked from commit b914c28)
    r-ryantm authored and Jon committed May 7, 2020
    Copy the full SHA
    1105bd8 View commit details
  12. conan: 1.23.0 -> 1.24.0

    (cherry picked from commit 3583757)
    Jonathan Ringer committed May 7, 2020
    Copy the full SHA
    14a46ab View commit details
  13. conan: unbreak with deprecation>=2.1

    (cherry picked from commit cae48cc)
    drewrisinger authored and Jon committed May 7, 2020
    Copy the full SHA
    1943801 View commit details
  14. conan: 1.24.0 -> 1.25.0

    (cherry picked from commit 4454ca4)
    drewrisinger authored and Jon committed May 7, 2020
    Copy the full SHA
    c4086f6 View commit details
  15. conan: unmark as broken

    bjornfor authored and Jon committed May 7, 2020
    Copy the full SHA
    3cb7a1c View commit details
  16. Copy the full SHA
    f6b2ba4 View commit details

Commits on May 8, 2020

  1. moodle: 3.8.1 -> 3.8.2

    (cherry picked from commit e3e53ad)
    r-ryantm authored and aanderse committed May 8, 2020
    Copy the full SHA
    6c5decf View commit details
  2. Merge pull request #87228 from aanderse/moodle

    moodle: 3.8.1 -> 3.8.2 [20.03]
    ryantm authored May 8, 2020
    Copy the full SHA
    210d862 View commit details
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"name": "riot-web",
"productName": "Riot",
"main": "src/electron-main.js",
"version": "1.5.15",
"version": "1.6.0",
"description": "A feature-rich client for Matrix.org",
"author": "New Vector Ltd.",
"dependencies": {
Original file line number Diff line number Diff line change
@@ -610,11 +610,11 @@
};
}
{
name = "minimist___minimist_1.2.2.tgz";
name = "minimist___minimist_1.2.3.tgz";
path = fetchurl {
name = "minimist___minimist_1.2.2.tgz";
url = "https://registry.yarnpkg.com/minimist/-/minimist-1.2.2.tgz";
sha1 = "b00a00230a1108c48c169e69a291aafda3aacd63";
name = "minimist___minimist_1.2.3.tgz";
url = "https://registry.yarnpkg.com/minimist/-/minimist-1.2.3.tgz";
sha1 = "3db5c0765545ab8637be71f333a104a965a9ca3f";
};
}
{
Original file line number Diff line number Diff line change
@@ -8,12 +8,12 @@

let
executableName = "riot-desktop";
version = "1.5.15";
version = "1.6.0";
riot-web-src = fetchFromGitHub {
owner = "vector-im";
repo = "riot-web";
rev = "v${version}";
sha256 = "08yk5is6n9ci1jml0b94a3swdybx01k5klbl30i1b76biyn75m77";
sha256 = "16zm6l4c7vkfdlxh6gdw531k5r4v3mb0h66q41h94dvmj79dz2bj";
};
electron = electron_7;

Original file line number Diff line number Diff line change
@@ -12,11 +12,11 @@ let

in stdenv.mkDerivation rec {
pname = "riot-web";
version = "1.5.15";
version = "1.6.0";

src = fetchurl {
url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz";
sha256 = "09a9l1l65m2c4ldycjhnqn0mmblm3j65vc9rcjfkdxqbd6bh86h7";
sha256 = "1mm4xk69ya1k3gz6jjhc4njx7b3rp157jmrqsxr5i382zs035ff7";
};

installPhase = ''
10 changes: 5 additions & 5 deletions pkgs/applications/science/logic/elan/default.nix
Original file line number Diff line number Diff line change
@@ -2,17 +2,17 @@

rustPlatform.buildRustPackage rec {
pname = "elan";
version = "0.7.5";

cargoSha256 = "0q0xlvyyf88dbz43r7kk9v8rrp6hj0nl5i2i9mg6ibk2gphgdv6v";
version = "0.9.0";

src = fetchFromGitHub {
owner = "kha";
repo = "elan";
rev = "v${version}";
sha256 = "1147f3lzr6lgvf580ppspn20bdwnf6l8idh1h5ana0p0lf5a0dn1";
sha256 = "17i8sn53hk03fsawpwfinm1w0nb6lcmdbk8ar2mxyhkxczd45vag";
};

cargoSha256 = "0q0xlvyyf88dbz43r7kk9v8rrp6hj0nl5i2i9mg6ibk2gphgdv6v";

nativeBuildInputs = [ pkgconfig ];

buildInputs = [ curl zlib openssl ];
@@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
postInstall = ''
pushd $out/bin
mv elan-init elan
for link in lean leanpkg leanchecker; do
for link in lean leanpkg leanchecker leanc leanmake; do
ln -s elan $link
done
popd
11 changes: 5 additions & 6 deletions pkgs/development/libraries/libeatmydata/default.nix
Original file line number Diff line number Diff line change
@@ -2,17 +2,16 @@

stdenv.mkDerivation rec {
name = "libeatmydata-105";

src = fetchurl {
url = "https://www.flamingspork.com/projects/libeatmydata/${name}.tar.gz";
sha256 = "1pd8sc73cgc41ldsvq6g8ics1m5k8gdcb91as9yg8z5jnrld1lmx";
};

buildInputs = [ makeWrapper ];

postInstall = ''
wrapProgram $out/bin/eatmydata \
--prefix PATH : $out/bin
patches = [ ./find-shell-lib.patch ];
patchFlags = "-p0";
postPatch = ''
substituteInPlace eatmydata.in --replace NIX_OUT_DIR $out
'';

meta = {
20 changes: 20 additions & 0 deletions pkgs/development/libraries/libeatmydata/find-shell-lib.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- eatmydata.in 2020-02-01 18:10:59.618679823 -0800
+++ eatmydata.in.new 2020-02-01 18:08:25.092620247 -0800
@@ -15,15 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

-export `dpkg-architecture|grep DEB_BUILD_MULTIARCH`
-
-shlib="/usr/lib/$DEB_BUILD_MULTIARCH/eatmydata.sh"
-if [ -f "$shlib" ]; then
- . "$shlib"
-else
- echo "Unable to locate eatmydata shell library, it was not enabled" >&2
- exec "$@"
-fi
+shlib="NIX_OUT_DIR/libexec/eatmydata.sh"
+. "$shlib"

usage()
{
22 changes: 22 additions & 0 deletions pkgs/development/python-modules/patch-ng/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:

buildPythonPackage rec {
version = "1.17.4"; # note: `conan` package may require a hardcoded one
pname = "patch-ng";

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

meta = with stdenv.lib; {
description = "Library to parse and apply unified diffs.";
homepage = "https://github.com/conan-io/python-patch";
license = licenses.mit;
maintainers = with maintainers; [ HaoZeke ];
};

}
68 changes: 40 additions & 28 deletions pkgs/development/tools/build-managers/conan/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{ lib, python3, git, pkgconfig }:

# Note:
# Conan has specific dependency demands; check
# https://github.com/conan-io/conan/blob/master/conans/requirements.txt
# https://github.com/conan-io/conan/blob/master/conans/requirements_server.txt
# on the release branch/commit we're packaging.
#
# Two approaches are used here to deal with that:
# Pinning the specific versions it wants in `newPython`,
# and using `substituteInPlace conans/requirements.txt ...`
# in `postPatch` to allow newer versions when we know
# (e.g. from changelogs) that they are compatible.

let newPython = python3.override {
packageOverrides = self: super: {
distro = super.distro.overridePythonAttrs (oldAttrs: rec {
@@ -16,20 +28,6 @@ let newPython = python3.override {
sha256 = "1dv6mjsm67l1razcgmq66riqmsb36wns17mnipqr610v0z0zf5j0";
};
});
future = super.future.overridePythonAttrs (oldAttrs: rec {
version = "0.16.0";
src = oldAttrs.src.override {
inherit version;
sha256 = "1nzy1k4m9966sikp0qka7lirh8sqrsyainyf8rk97db7nwdfv773";
};
});
tqdm = super.tqdm.overridePythonAttrs (oldAttrs: rec {
version = "4.28.1";
src = oldAttrs.src.override {
inherit version;
sha256 = "1fyybgbmlr8ms32j7h76hz5g9xc6nf0644mwhc40a0s5k14makav";
};
});
pluginbase = super.pluginbase.overridePythonAttrs (oldAttrs: rec {
version = "0.7";
src = oldAttrs.src.override {
@@ -41,18 +39,34 @@ let newPython = python3.override {
};

in newPython.pkgs.buildPythonApplication rec {
version = "1.12.3";
version = "1.25.0";
pname = "conan";

src = newPython.pkgs.fetchPypi {
inherit pname version;
sha256 = "1cnfy9b57apps4bfai6r67g0mrvgnqa154z9idv0kf93k1nvx53g";
sha256 = "1wgmx6s4h5m6zixb3wlaicy56rsqcy2srzmvii80xdx9g5wvi9pv";
};

propagatedBuildInputs = with newPython.pkgs; [
colorama deprecation distro fasteners bottle
future node-semver patch pygments pluginbase
pyjwt pylint pyyaml requests six tqdm
bottle
colorama
dateutil
deprecation
distro
fasteners
future
jinja2
node-semver
patch-ng
pluginbase
pygments
pyjwt
pylint # Not in `requirements.txt` but used in hooks, see https://github.com/conan-io/conan/pull/6152
pyyaml
requests
six
tqdm
urllib3
];

checkInputs = [
@@ -68,17 +82,16 @@ in newPython.pkgs.buildPythonApplication rec {
webtest
]);

checkPhase = ''
export HOME=$TMPDIR
pytest conans/test/{utils,unittests} \
-k 'not SVN and not ToolsNetTest'
'';
# Conan 1.14.0 has removed all tests from the Pypi source dist:
# https://github.com/conan-io/conan/pull/4713
# We have recommended they be added back:
# https://github.com/conan-io/conan/issues/4563#issuecomment-602225083
doCheck = false;

postPatch = ''
substituteInPlace conans/requirements_server.txt \
--replace "pluginbase>=0.5, < 1.0" "pluginbase>=0.5"
substituteInPlace conans/requirements.txt \
--replace "PyYAML>=3.11, <3.14.0" "PyYAML"
--replace "PyYAML>=3.11, <3.14.0" "PyYAML" \
--replace "deprecation>=2.0, <2.1" "deprecation"
'';

meta = with lib; {
@@ -87,6 +100,5 @@ in newPython.pkgs.buildPythonApplication rec {
license = licenses.mit;
maintainers = with maintainers; [ HaoZeke ];
platforms = platforms.linux;
broken = true;
};
}
Loading