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: ca60cd0fb60f
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: 2c3f18721e2f
Choose a head ref
  • 20 commits
  • 15 files changed
  • 8 contributors

Commits on Jun 27, 2019

  1. maintainers: add sikmir

    sikmir committed Jun 27, 2019
    Copy the full SHA
    d3a5348 View commit details

Commits on Jul 8, 2019

  1. python3Packages.sklearn-deap: mark as broken

    Jonathan Ringer committed Jul 8, 2019
    Copy the full SHA
    41dbd56 View commit details
  2. pythonPackages.deap: 1.2.2 -> 1.3.0

    Jonathan Ringer committed Jul 8, 2019
    Copy the full SHA
    fbcf84b View commit details
  3. pythonPackages.pytest-xprocess: init at 0.12.1

    Jonathan Ringer committed Jul 8, 2019
    Copy the full SHA
    4bed1fa View commit details
  4. pythonPackages.flask-caching: 1.4.0 -> 1.7.2

    Jonathan Ringer committed Jul 8, 2019
    Copy the full SHA
    d36d7f1 View commit details

Commits on Jul 10, 2019

  1. knot-resolver: 3.2.1 -> 4.0.0

    https://lists.nic.cz/pipermail/knot-resolver-users/2019/000136.html
    
    Similar commit worked fine for me, including the nixos service.
    I'd like to still improve the service to support easy passing of sockets
    to http module.
    vcunat committed Jul 10, 2019
    Copy the full SHA
    9efdd2e View commit details
  2. knot-resolver: 4.0.0 -> 4.1.0 (security)

    https://lists.nic.cz/pipermail/knot-resolver-users/2019/000189.html
    Fixes DNS spoofing problems: CVE-2019-10190 CVE-2019-10191
    but also minor things, adds new features, etc.
    In particular aarch64 should work now, at least as long as not using
    some lua library that suffers from the same problem with lightuserdata,
    e.g. cqueues does suffer from this.
    vcunat committed Jul 10, 2019
    Copy the full SHA
    f15625a View commit details
  3. Copy the full SHA
    75369ad View commit details

Commits on Jul 11, 2019

  1. most: 5.0.0a -> 5.1.0

    Fix source url
    Note: There is no version 5.1.0 in "ftp://space.mit.edu/pub/davis/most/".
    xrelkd committed Jul 11, 2019
    Copy the full SHA
    faf8420 View commit details

Commits on Jul 12, 2019

  1. Copy the full SHA
    3458436 View commit details
  2. qtpbfimageplugin: init at 1.4

    sikmir authored and worldofpeace committed Jul 12, 2019
    Copy the full SHA
    2c6ba83 View commit details
  3. Merge pull request #63506 from sikmir/add-qtpbfimageplugin

    qtpbfimageplugin: init at 1.4
    worldofpeace authored Jul 12, 2019
    Copy the full SHA
    5c83eae View commit details
  4. Merge pull request #64648 from xrelkd/update/youtube-dl

    youtube-dl: 2019.07.02 -> 2019.07.12
    worldofpeace authored Jul 12, 2019
    Copy the full SHA
    4463ec6 View commit details
  5. mage: 1.7.1 -> 1.8.0 (#64591)

    xrelkd authored and kalbasit committed Jul 12, 2019
    Copy the full SHA
    5236c81 View commit details
  6. Merge pull request #64434 from jonringer/bump-deap

    pythonPackages.deap: 1.2.2 -> 1.3.0
    teto authored Jul 12, 2019
    Copy the full SHA
    a6e3081 View commit details
  7. Merge pull request #64435 from jonringer/bump-flask-caching

    pythonPackages.flask-caching: 1.4.0 -> 1.7.2
    teto authored Jul 12, 2019
    Copy the full SHA
    874f735 View commit details
  8. system.autoUpgrade: optionally allow rebooting the system on kernel c…

    …hange (#64267)
    
    * autoUpgrade: optionally allow rebooting the system on kernel change
    
    * system.autoUpgrade: Better documentation and readability
    tokudan authored and danbst committed Jul 12, 2019
    Copy the full SHA
    ed86bba View commit details
  9. Merge pull request #64516 from xrelkd/update/most

    most: 5.0.0a -> 5.1.0
    worldofpeace authored Jul 12, 2019
    Copy the full SHA
    618be7d View commit details
  10. xbps: 0.53 -> 0.56

    tadeokondrak authored and Matthieu Coudron committed Jul 12, 2019
    Copy the full SHA
    dfd6200 View commit details
  11. Copy the full SHA
    2c3f187 View commit details
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -4736,6 +4736,11 @@
github = "sigma";
name = "Yann Hodique";
};
sikmir = {
email = "sikmir@gmail.com";
github = "sikmir";
name = "Nikolay Korotkiy";
};
simonvandel = {
email = "simon.vandel@gmail.com";
github = "simonvandel";
7 changes: 5 additions & 2 deletions nixos/modules/services/networking/kresd.nix
Original file line number Diff line number Diff line change
@@ -80,8 +80,11 @@ in
# Syntax depends on being IPv6 or IPv4.
(iface: if elem ":" (stringToCharacters iface) then "[${iface}]:53" else "${iface}:53")
cfg.interfaces;
socketConfig.ListenDatagram = listenStreams;
socketConfig.FreeBind = true;
socketConfig = {
ListenDatagram = listenStreams;
FreeBind = true;
FileDescriptorName = "dns";
};
};

systemd.sockets.kresd-tls = mkIf (cfg.listenTLS != []) rec {
32 changes: 27 additions & 5 deletions nixos/modules/tasks/auto-upgrade.nix
Original file line number Diff line number Diff line change
@@ -53,6 +53,16 @@ let cfg = config.system.autoUpgrade; in
'';
};

allowReboot = mkOption {
default = false;
type = types.bool;
description = ''
Reboot the system into the new generation instead of a switch
if the new generation uses a different kernel, kernel modules
or initrd than the booted system.
'';
};

};

};
@@ -78,11 +88,23 @@ let cfg = config.system.autoUpgrade; in
HOME = "/root";
} // config.networking.proxy.envVars;

path = [ pkgs.gnutar pkgs.xz.bin pkgs.gitMinimal config.nix.package.out ];

script = ''
${config.system.build.nixos-rebuild}/bin/nixos-rebuild switch ${toString cfg.flags}
'';
path = [ pkgs.coreutils pkgs.gnutar pkgs.xz.bin pkgs.gitMinimal config.nix.package.out ];

script = let
nixos-rebuild = "${config.system.build.nixos-rebuild}/bin/nixos-rebuild";
in
if cfg.allowReboot then ''
${nixos-rebuild} boot ${toString cfg.flags}
booted="$(readlink /run/booted-system/{initrd,kernel,kernel-modules})"
built="$(readlink /nix/var/nix/profiles/system/{initrd,kernel,kernel-modules})"
if [ "$booted" = "$built" ]; then
${nixos-rebuild} switch ${toString cfg.flags}
else
/run/current-system/sw/bin/shutdown -r +1
fi
'' else ''
${nixos-rebuild} switch ${toString cfg.flags}
'';

startAt = cfg.dates;
};
39 changes: 39 additions & 0 deletions pkgs/development/libraries/qtpbfimageplugin/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{ stdenv, fetchFromGitHub, qmake, qtbase, protobuf }:

stdenv.mkDerivation rec {
pname = "qtpbfimageplugin";
version = "1.4";

src = fetchFromGitHub {
owner = "tumic0";
repo = "QtPBFImagePlugin";
rev = version;
sha256 = "0d39i7rmhrmm2df49gd47zm37gnz3fmyr6hfc6hhzvk08jb6956r";
};

nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase protobuf ];

postPatch = ''
# Fix plugin dir
substituteInPlace pbfplugin.pro \
--replace "\$\$[QT_INSTALL_PLUGINS]" "$out/$qtPluginPrefix"
# Fix darwin build
substituteInPlace pbfplugin.pro \
--replace '$$PROTOBUF/lib/libprotobuf-lite.a' '${protobuf}/lib/libprotobuf-lite.dylib'
'';

meta = with stdenv.lib; {
description = "Qt image plugin for displaying Mapbox vector tiles";
longDescription = ''
QtPBFImagePlugin is a Qt image plugin that enables applications capable of
displaying raster MBTiles maps or raster XYZ online maps to also display PBF
vector tiles without (almost) any application modifications.
'';
homepage = https://github.com/tumic0/QtPBFImagePlugin;
license = licenses.lgpl3;
maintainers = [ maintainers.sikmir ];
platforms = platforms.unix;
};
}
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/deap/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

buildPythonPackage rec {
pname = "deap";
version = "1.2.2";
version = "1.3.0";

src = fetchPypi {
inherit pname version;
sha256 = "95c63e66d755ec206c80fdb2908851c0bef420ee8651ad7be4f0578e9e909bcf";
sha256 = "102r11pxb36xkq5bjv1lpkss77v278f5xdv6lvkbjdvqryydf3yd";
};

propagatedBuildInputs = [ numpy matplotlib ];
@@ -17,7 +17,7 @@ buildPythonPackage rec {

meta = with stdenv.lib; {
description = "DEAP is a novel evolutionary computation framework for rapid prototyping and testing of ideas.";
homepage = https://github.com/DEAP/deap;
homepage = "https://github.com/DEAP/deap";
license = licenses.lgpl3;
maintainers = with maintainers; [ psyanticy ];
};
16 changes: 7 additions & 9 deletions pkgs/development/python-modules/flask-caching/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, flask, pytest, pytestcov }:
{ lib, buildPythonPackage, fetchPypi, flask, pytest, pytestcov, pytest-xprocess }:

buildPythonPackage rec {
pname = "Flask-Caching";
version = "1.4.0";
version = "1.7.2";

src = fetchPypi {
inherit pname version;
sha256 = "e34f24631ba240e09fe6241e1bf652863e0cff06a1a94598e23be526bc2e4985";
sha256 = "17jnnmnpdflv120yhsfbnpick06iias6f2hcxmf1mi1nr35kdqjj";
};

propagatedBuildInputs = [ flask ];

checkInputs = [ pytest pytestcov ];
checkInputs = [ pytest pytestcov pytest-xprocess ];

# backend_cache relies on pytest-cache, which is a stale package from 2013
checkPhase = ''
py.test
pytest -k 'not backend_cache'
'';

# https://github.com/sh4nks/flask-caching/pull/74
doCheck = false;

meta = with lib; {
description = "Adds caching support to your Flask application";
homepage = https://github.com/sh4nks/flask-caching;
homepage = "https://github.com/sh4nks/flask-caching";
license = licenses.bsd3;
};
}
32 changes: 32 additions & 0 deletions pkgs/development/python-modules/pytest-xprocess/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ lib, buildPythonPackage, fetchPypi
, psutil
, pytest
}:

buildPythonPackage rec {
pname = "pytest-xprocess";
version = "0.12.1";

src = fetchPypi {
inherit pname version;
sha256 = "06w2acg0shy0vxrmnxpqclimhgfjys5ql5kmmzr7r1lai46x1q2h";
};

propagatedBuildInputs = [ psutil pytest ];

# Remove test QoL package from install_requires
postPatch = ''
substituteInPlace setup.py \
--replace "'pytest-cache', " ""
'';

# There's no tests in repo
doCheck = false;

meta = with lib; {
description = "Pytest external process plugin";
homepage = "https://github.com/pytest-dev";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/sklearn-deap/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, numpy, scipy, deap, scikitlearn, python }:
{ stdenv, buildPythonPackage, fetchFromGitHub, numpy, scipy, deap, scikitlearn, python, isPy3k }:

buildPythonPackage rec {
pname = "sklearn-deap";
@@ -23,6 +23,7 @@ buildPythonPackage rec {
homepage = https://github.com/rsteca/sklearn-deap;
license = licenses.lgpl3;
maintainers = with maintainers; [ psyanticy ];
broken = isPy3k; # https://github.com/rsteca/sklearn-deap/issues/65
};
}

28 changes: 13 additions & 15 deletions pkgs/development/tools/build-managers/mage/default.nix
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
{ buildGoPackage, fetchFromGitHub, lib }:
{ buildGoModule, fetchFromGitHub, lib }:

with lib;

buildGoPackage rec {
name = "mage-${version}";
version = "1.7.1";

goPackagePath = "github.com/magefile/mage";
subPackages = [ "." ];
buildGoModule rec {
pname = "mage";
version = "1.8.0";

src = fetchFromGitHub {
owner = "magefile";
repo = "mage";
repo = pname;
rev = "v${version}";
sha256 = "0n4k5dy338rxwzj654smxzlanmd0zws6mdzv0wc4byqjhr7mqhg2";
sha256 = "0vkzm2k2v3np30kdgz9kpwkhnshbjcn8j1y321djz2h3w23k5h7r";
};

buildFlagsArray = [
modSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";

buildFlagsArray = [
"-ldflags="
"-X github.com/magefile/mage/mage.commitHash=v${version}"
"-X github.com/magefile/mage/mage.gitTag=v${version}"
"-X github.com/magefile/mage/mage.timestamp=1970-01-01T00:00:00Z"
];

meta = {
meta = with lib; {
description = "A Make/Rake-like Build Tool Using Go";
homepage = "https://magefile.org/";
license = licenses.asl20;
maintainers = [ maintainers.swdunlop ];
homepage = https://magefile.org/;
maintainers = with maintainers; [ swdunlop ];
platforms = platforms.all;
};
}
Loading