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: 30c312341fbe
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: b61797baf3d9
Choose a head ref
  • 12 commits
  • 12 files changed
  • 12 contributors

Commits on Jan 28, 2019

  1. getdp: init at 3.0.4

    wucke13 committed Jan 28, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    4f40b5e View commit details

Commits on Jan 29, 2019

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    57c3745 View commit details

Commits on Jan 30, 2019

  1. Copy the full SHA
    6c2bb2a View commit details
  2. python.pkgs.django_1_8: mark as insecure (#54937)

    Since CVE-2018-14574 and CVE-2019-3498 affect 1.11, it is very likely
    they also apply to 1.8. However, Django 1.8 has reached EOL in April
    2018 and the patches were not backported.
    dotlambda authored Jan 30, 2019
    Copy the full SHA
    c6e0857 View commit details
  3. bloop: 1.2.3 -> 1.2.5 (#54427)

    Tomahna authored and danbst committed Jan 30, 2019
    Copy the full SHA
    e925ec2 View commit details
  4. Merge pull request #49871 from wucke13/getdp

    getdp: init at 3.0.4
    markuskowa authored Jan 30, 2019
    Copy the full SHA
    ca13dc1 View commit details
  5. pythonPackages.pyu2f: init at 0.1.4

    prusnak authored and worldofpeace committed Jan 30, 2019
    Copy the full SHA
    344b340 View commit details
  6. Merge pull request #54834 from lsix/enable-qscintilla-py3

    pythonPackages.qscintilla: enable for pyqt5
    danbst authored Jan 30, 2019
    Copy the full SHA
    4f8e9e7 View commit details

Commits on Jan 31, 2019

  1. nginx: expose list of additional modules (#53897)

    Currently, it seems there is no easy way to override package to add
    modules. For example, if we want to add the `ipscrub` module, we can
    do:
    
        pkgs.nginxStable.override {
          modules = [ pkgs.nginxModules.ipscrub ];
        };
    
    But, then, we loose `rtmp`, `dav` and `moreheaders` which are defined
    in `all-packages.nix`. With this modification, we can now do:
    
        pkgs.nginxStable.override {
          modules = pkg.nginxStable.passthru.modules ++ [ pkgs.nginxModules.ipscrub ];
        };
    vincentbernat authored and danbst committed Jan 31, 2019
    Copy the full SHA
    33802e9 View commit details
  2. Copy the full SHA
    6b27008 View commit details
  3. nixos/httpd: rename apache log files to have a .log file extension (#…

    …54529)
    
    nixos/httpd: rename apache log files to have a .log file extension
    aanderse authored and danbst committed Jan 31, 2019
    Copy the full SHA
    c6cd077 View commit details
  4. Merge pull request #54886 from markuskowa/fix-openblas

    openblas: make the optimization target overridable
    ttuegel authored Jan 31, 2019
    Copy the full SHA
    b61797b View commit details
6 changes: 6 additions & 0 deletions nixos/doc/manual/release-notes/rl-1903.xml
Original file line number Diff line number Diff line change
@@ -430,6 +430,12 @@
of maintainers.
</para>
</listitem>
<listitem>
<para>
The httpd service now saves log files with a .log file extension by default for
easier integration with the logrotate service.
</para>
</listitem>
<listitem>
<para>
The owncloud server packages and httpd subservice module were removed
8 changes: 4 additions & 4 deletions nixos/modules/services/web-servers/apache-httpd/default.nix
Original file line number Diff line number Diff line change
@@ -151,7 +151,7 @@ let


loggingConf = (if mainCfg.logFormat != "none" then ''
ErrorLog ${mainCfg.logDir}/error_log
ErrorLog ${mainCfg.logDir}/error.log
LogLevel notice
@@ -160,7 +160,7 @@ let
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog ${mainCfg.logDir}/access_log ${mainCfg.logFormat}
CustomLog ${mainCfg.logDir}/access.log ${mainCfg.logFormat}
'' else ''
ErrorLog /dev/null
'');
@@ -261,8 +261,8 @@ let
'' else ""}
${if !isMainServer && mainCfg.logPerVirtualHost then ''
ErrorLog ${mainCfg.logDir}/error_log-${cfg.hostName}
CustomLog ${mainCfg.logDir}/access_log-${cfg.hostName} ${cfg.logFormat}
ErrorLog ${mainCfg.logDir}/error-${cfg.hostName}.log
CustomLog ${mainCfg.logDir}/access-${cfg.hostName}.log ${cfg.logFormat}
'' else ""}
${optionalString (robotsTxt != "") ''
18 changes: 9 additions & 9 deletions pkgs/applications/networking/browsers/chromium/upstream-info.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# This file is autogenerated from update.sh in the same directory.
{
beta = {
sha256 = "1xcdbf5yia3xm0kil0gyd1mlj3m902w1px3lzpdqv31mr2lzaz08";
sha256bin64 = "0pcbz3201nyl07psdxwphb3z9shqj4crj16f97xclyvjnwpl1jnp";
version = "72.0.3626.28";
sha256 = "01l0vlvcckpag376mjld7qprv63l0z8li689k0h6v3h0i7irzs6z";
sha256bin64 = "1dwxys43hn72inxja27jqq3mkiri6nf7ysrfwnnlvyg2iqz83avx";
version = "72.0.3626.81";
};
dev = {
sha256 = "1vlpcafg3xx6bpnf74xs6ifqjbpb5bpxp10r55w4784yr57pmhq3";
sha256bin64 = "02y974zbxy1gbiv9q8hp7nfl0l5frn35ggmgc44g90pbry48h8rg";
version = "73.0.3642.0";
sha256 = "1mdna7k715bxxd6cli4zryclp2p5l6i2dvfgzsfifgvgf2915hiz";
sha256bin64 = "01w05dpmc7h0pwh0rjslr3iqaxhmnb12nmj4rs7w1yq9c58zf1qr";
version = "73.0.3679.0";
};
stable = {
sha256 = "0icxdg4fvz30jzq0xvl11zlwc9anb3lr9lb8sn1lqxr513isjmhw";
sha256bin64 = "07kiqx5bpk54il0ynxl61bs5yscxb470q2bw3sx6cxjbhmnvbcn2";
version = "71.0.3578.98";
sha256 = "01l0vlvcckpag376mjld7qprv63l0z8li689k0h6v3h0i7irzs6z";
sha256bin64 = "09fsj90sjw3srkrq12l2bh39r172s783riyzi5y2g0wlyhxalpql";
version = "72.0.3626.81";
};
}
25 changes: 25 additions & 0 deletions pkgs/applications/science/math/getdp/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ stdenv, fetchurl, cmake, gfortran, openblas, openmpi, python3 }:

stdenv.mkDerivation rec {
name = "getdp-${version}";
version = "3.0.4";
src = fetchurl {
url = "http://getdp.info/src/getdp-${version}-source.tgz";
sha256 = "0v3hg03lzw4hz28hm45hpv0gyydqz0wav7xvb5n0v0jrm47mrspv";
};

nativeBuildInputs = [ cmake ];
buildInputs = [ gfortran openblas openmpi python3 ];

meta = with stdenv.lib; {
description = "A General Environment for the Treatment of Discrete Problems";
longDescription = ''
GetDP is a free finite element solver using mixed elements to discretize de Rham-type complexes in one, two and three dimensions.
The main feature of GetDP is the closeness between the input data defining discrete problems (written by the user in ASCII data files) and the symbolic mathematical expressions of these problems.
'';
homepage = http://getdp.info/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with maintainers; [ wucke13 ];
platforms = platforms.linux;
};
}
18 changes: 12 additions & 6 deletions pkgs/development/libraries/science/math/openblas/default.nix
Original file line number Diff line number Diff line change
@@ -3,50 +3,56 @@
# pointer width, but some expect to use 32-bit integers always
# (for compatibility with reference BLAS).
, blas64 ? null

# Select a specifc optimization target (other than the default)
# See https://github.com/xianyi/OpenBLAS/blob/develop/TargetList.txt
, target ? null
}:

with stdenv.lib;

let blas64_ = blas64; in

let
setTarget = x: if target == null then x else target;

# To add support for a new platform, add an element to this set.
configs = {
armv6l-linux = {
BINARY = "32";
TARGET = "ARMV6";
TARGET = setTarget "ARMV6";
DYNAMIC_ARCH = "0";
CC = "gcc";
USE_OPENMP = "1";
};

armv7l-linux = {
BINARY = "32";
TARGET = "ARMV7";
TARGET = setTarget "ARMV7";
DYNAMIC_ARCH = "0";
CC = "gcc";
USE_OPENMP = "1";
};

aarch64-linux = {
BINARY = "64";
TARGET = "ARMV8";
TARGET = setTarget "ARMV8";
DYNAMIC_ARCH = "1";
CC = "gcc";
USE_OPENMP = "1";
};

i686-linux = {
BINARY = "32";
TARGET = "P2";
TARGET = setTarget "P2";
DYNAMIC_ARCH = "1";
CC = "gcc";
USE_OPENMP = "1";
};

x86_64-darwin = {
BINARY = "64";
TARGET = "ATHLON";
TARGET = setTarget "ATHLON";
DYNAMIC_ARCH = "1";
# Note that clang is available through the stdenv on OSX and
# thus is not an explicit dependency.
@@ -57,7 +63,7 @@ let

x86_64-linux = {
BINARY = "64";
TARGET = "ATHLON";
TARGET = setTarget "ATHLON";
DYNAMIC_ARCH = "1";
CC = "gcc";
USE_OPENMP = "1";
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/django/1_8.nix
Original file line number Diff line number Diff line change
@@ -25,6 +25,11 @@ buildPythonPackage rec {
description = "A high-level Python Web framework";
homepage = https://www.djangoproject.com/;
license = licenses.bsd0;
knownVulnerabilities = [
# The patches were not backported due to Django 1.8 having reached EOL
https://www.djangoproject.com/weblog/2018/aug/01/security-releases/
https://www.djangoproject.com/weblog/2019/jan/04/security-releases/
];
};

}
35 changes: 35 additions & 0 deletions pkgs/development/python-modules/pyu2f/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ stdenv, lib, fetchFromGitHub, buildPythonPackage,
six, mock, pyfakefs, unittest2, pytest
}:

buildPythonPackage rec {
pname = "pyu2f";
version = "0.1.4";

src = fetchFromGitHub {
owner = "google";
repo = pname;
rev = version;
sha256 = "0waxdydvxn05a8ab9j235mz72x7p4pwa59pnxyk1zzbwxnpxb3p9";
};

# Platform detection for linux fails
postPatch = lib.optionalString stdenv.isLinux ''
rm pyu2f/tests/hid/macos_test.py
'';

propagatedBuildInputs = [ six ];

checkInputs = [ pytest six mock pyfakefs unittest2 ];

checkPhase = ''
pytest pyu2f/tests
'';

meta = with lib; {
description = "U2F host library for interacting with a U2F device over USB";
homepage = https://github.com/google/pyu2f/;
license = licenses.asl20;
maintainers = with maintainers; [ prusnak ];
};
}
41 changes: 41 additions & 0 deletions pkgs/development/python-modules/qscintilla-qt5/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, qscintillaCpp
, lndir
, sip
, python
, pyqt5 }:

buildPythonPackage rec {
pname = "qscintilla";
version = qscintillaCpp.version;
src = qscintillaCpp.src;
format = "other";

nativeBuildInputs = [ lndir sip ];
buildInputs = [ qscintillaCpp ];
propagatedBuildInputs = [ pyqt5 ];

preConfigure = ''
mkdir -p $out
lndir ${pyqt5} $out
rm -rf "$out/nix-support"
cd Python
${python.executable} ./configure.py \
--pyqt=PyQt5 \
--destdir=$out/lib/${python.sitePackages}/PyQt5 \
--stubsdir=$out/lib/${python.sitePackages}/PyQt5 \
--apidir=$out/api/${python.libPrefix} \
--qsci-incdir=${qscintillaCpp}/include \
--qsci-libdir=${qscintillaCpp}/lib \
--pyqt-sipdir=${pyqt5}/share/sip/PyQt5 \
--qsci-sipdir=$out/share/sip/PyQt5
'';

meta = with lib; {
description = "A Python binding to QScintilla, Qt based text editing control";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ lsix ];
homepage = https://www.riverbankcomputing.com/software/qscintilla/;
};
}
4 changes: 2 additions & 2 deletions pkgs/development/tools/build-managers/bloop/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

let
baseName = "bloop";
version = "1.2.3";
version = "1.2.5";
deps = stdenv.mkDerivation {
name = "${baseName}-deps-${version}";
buildCommand = ''
@@ -16,7 +16,7 @@ let
'';
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "0d0q4rzz21afzfclm3sjp940wk7p8cllbxsidr6rg3r1qqhzawlr";
outputHash = "19373fyb0g7irrdzb1vsjmyv5xj84qwbcfb6lm076px7wfyn0w1c";
};
in
stdenv.mkDerivation rec {
2 changes: 2 additions & 0 deletions pkgs/servers/http/nginx/generic.nix
Original file line number Diff line number Diff line change
@@ -87,6 +87,8 @@ stdenv.mkDerivation {
mv $out/sbin $out/bin
'';

passthru.modules = modules;

meta = {
description = "A reverse proxy and lightweight webserver";
homepage = http://nginx.org;
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -21554,6 +21554,8 @@ in

flintqs = callPackage ../development/libraries/science/math/flintqs { };

getdp = callPackage ../applications/science/math/getdp { };

gurobi = callPackage ../applications/science/math/gurobi { };

jags = callPackage ../applications/science/math/jags { };
11 changes: 10 additions & 1 deletion pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -3729,6 +3729,8 @@ in {

pyls-mypy = callPackage ../development/python-modules/pyls-mypy {};

pyu2f = callPackage ../development/python-modules/pyu2f { };

pyudev = callPackage ../development/python-modules/pyudev {
inherit (pkgs) systemd;
};
@@ -3861,7 +3863,14 @@ in {
# alias for an older package which did not support Python 3
Quandl = callPackage ../development/python-modules/quandl { };

qscintilla = callPackage ../development/python-modules/qscintilla { };
qscintilla-qt4 = callPackage ../development/python-modules/qscintilla { };

qscintilla-qt5 = callPackage ../development/python-modules/qscintilla-qt5 {
qscintillaCpp = pkgs.libsForQt5.qscintilla;
lndir = pkgs.xorg.lndir;
};

qscintilla = self.qscintilla-qt4;

qserve = callPackage ../development/python-modules/qserve { };