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: 8a93d258cd89
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: 7956bfb3643f
Choose a head ref
  • 7 commits
  • 9 files changed
  • 2 contributors

Commits on Sep 14, 2018

  1. pythonPackages.daphne: 2.1.0 -> 2.2.2

    Update, re-enable all tests on linux, disable tests on darwin.
    This fixes the build of pythonPackages.channels
    
    (cherry picked from commit abe97e9)
    xeji committed Sep 14, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    picnoir Félix
    Copy the full SHA
    c2bb2fb View commit details
  2. pythonPackages.eve: fix build, drop incorrect dependencies

    Build failed because of dependency Flask-PyMongo, which actually
    isn't a dependency of eve as they have their own flask_pymongo code.
    
    - Drop incorrect dependency flask-pymongo
    - Drop redunant dependencies already propageted by flask:
      itsdangerous, werkzeug, jinja2
    - Drop dependency markupsafe, not required any more
    
    (cherry picked from commit 9e4b0b7)
    xeji committed Sep 14, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    andir Andreas Rammhold
    Copy the full SHA
    25f3b47 View commit details
  3. pythonPackages.flask-pymongo: fix build

    add missing dependency: vcversioner
    
    (cherry picked from commit 781eaa1)
    xeji committed Sep 14, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    andir Andreas Rammhold
    Copy the full SHA
    6678bad View commit details
  4. pythonPackages.pytest-rerunfailures: fix build

    some tests fail since pytest 3.7.2 -> 3.7.4 update, disable them
    
    (cherry picked from commit 0bda601)
    xeji committed Sep 14, 2018
    Copy the full SHA
    837e7c6 View commit details
  5. pythonPackages.wordfreq: 2.0 -> 2.2.0, fix build

    Previous version didn't build (test failure).
    Update to latest, tests use pytest now, disable failing tests.
    
    (cherry picked from commit be12bb8)
    xeji committed Sep 14, 2018
    Copy the full SHA
    297a082 View commit details
  6. pythonPackages.nilearn: fix tests

    disable failing tests
    
    (cherry picked from commit d9bdd64)
    xeji committed Sep 14, 2018
    Copy the full SHA
    5eb4258 View commit details
  7. Merge pull request #46643 from taku0/flashplayer-31.0.0.108

    flashplayer: 30.0.0.154 -> 31.0.0.108 [Important security fix]
    (cherry picked from commit a9e50ec)
    7c6f434c committed Sep 14, 2018
    Copy the full SHA
    7956bfb View commit details
4 changes: 2 additions & 2 deletions pkgs/applications/networking/browsers/chromium/plugins.nix
Original file line number Diff line number Diff line change
@@ -98,11 +98,11 @@ let

flash = stdenv.mkDerivation rec {
name = "flashplayer-ppapi-${version}";
version = "30.0.0.154";
version = "31.0.0.108";

src = fetchzip {
url = "https://fpdownload.adobe.com/pub/flashplayer/pdc/${version}/flash_player_ppapi_linux.x86_64.tar.gz";
sha256 = "0bi9b6syx7x2avixgjwanrvynzanf89xm2g3nxazw9qgxxc1cp48";
sha256 = "0dcwyx0fp7wbsx0cyi7xpwq0nnvcvkzfgi6zyy75487820ssc4h1";
stripRoot = false;
};

Original file line number Diff line number Diff line change
@@ -73,25 +73,25 @@ let
in
stdenv.mkDerivation rec {
name = "flashplayer-${version}";
version = "30.0.0.154";
version = "31.0.0.108";

src = fetchurl {
url =
if debug then
"https://fpdownload.macromedia.com/pub/flashplayer/updaters/30/flash_player_npapi_linux_debug.${arch}.tar.gz"
"https://fpdownload.macromedia.com/pub/flashplayer/updaters/31/flash_player_npapi_linux_debug.${arch}.tar.gz"
else
"https://fpdownload.adobe.com/get/flashplayer/pdc/${version}/flash_player_npapi_linux.${arch}.tar.gz";
sha256 =
if debug then
if arch == "x86_64" then
"04hfh0vn1n70gdpfydq0sj94d6rkbk80h4pmy3rsfvhg0x540wx8"
"1mn29ahxjf6pdy2zp2na14cz46jrl88f54kp3bs3cz75syyizyb6"
else
"073327sszbvkglh5b18axmwv40sy2vyacdhcd1fx82qskv44sfda"
"0inpj6bcsn5lh8gdv1wxpgipzrmpc553nhr68a55b2wff9fkv1ci"
else
if arch == "x86_64" then
"03ypgzy88ck5rn1q971v0km9yw3p10ly1zkxh239v6nx0hs35w84"
"1dfgsl5jf8ja9f7wwkzj5bfz1v5rdsyf4qhg1shqqldadmyyha7p"
else
"0rld7i659ccp4gvcvdkqkc1lajvlss5d4qndzf9aqiksvdknv62x";
"0yiqwwqs3z9zzkfgqzjwqqdr2vaj1ia5xychs9fgxix3y4j934da";
};

nativeBuildInputs = [ unzip ];
Original file line number Diff line number Diff line change
@@ -49,19 +49,19 @@

stdenv.mkDerivation rec {
name = "flashplayer-standalone-${version}";
version = "30.0.0.154";
version = "31.0.0.108";

src = fetchurl {
url =
if debug then
"https://fpdownload.macromedia.com/pub/flashplayer/updaters/30/flash_player_sa_linux_debug.x86_64.tar.gz"
"https://fpdownload.macromedia.com/pub/flashplayer/updaters/31/flash_player_sa_linux_debug.x86_64.tar.gz"
else
"https://fpdownload.macromedia.com/pub/flashplayer/updaters/30/flash_player_sa_linux.x86_64.tar.gz";
"https://fpdownload.macromedia.com/pub/flashplayer/updaters/31/flash_player_sa_linux.x86_64.tar.gz";
sha256 =
if debug then
"133zhgc5fh6s0xr93lv70xcrgvaj7lhjxk5w7xz79h3mp185p3g4"
"0i047fvj3x9lx7x8bf7jl1ybf9xpmr6g77q0h7n2s8qvscsw0pmm"
else
"1xz1l5q0zahalh0l4mkrwhmfrmcli3sckg3rcfnllizq9rbfzcmr";
"19wfs452ix57yfi4cy2din6mi5jky9hjzbdjny1bl8w32fy8xmm3";
};

nativeBuildInputs = [ unzip ];
7 changes: 4 additions & 3 deletions pkgs/development/python-modules/Flask-PyMongo/default.nix
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
, fetchPypi
, flask
, pymongo
, vcversioner
, lib
, pytest
}:
@@ -18,17 +19,17 @@ buildPythonPackage rec {
checkInputs = [ pytest ];

checkPhase = ''
py.test tests
py.test
'';

# Tests seem to hang
doCheck = false;

propagatedBuildInputs = [ flask pymongo ];
propagatedBuildInputs = [ flask pymongo vcversioner ];

meta = {
homepage = "http://flask-pymongo.readthedocs.org/";
description = "PyMongo support for Flask applications";
license = lib.licenses.bsd2;
};
}
}
9 changes: 5 additions & 4 deletions pkgs/development/python-modules/daphne/default.nix
Original file line number Diff line number Diff line change
@@ -4,15 +4,15 @@
}:
buildPythonPackage rec {
pname = "daphne";
version = "2.1.0";
version = "2.2.2";

disabled = !isPy3k;

src = fetchFromGitHub {
owner = "django";
repo = pname;
rev = version;
sha256 = "1lbpn0l796ar77amqy8dap30zxmsn6as8y2lbmp4lk8m9awscwi8";
sha256 = "1pr3b7zxjp2jx31lpiy1hfyprpmyiv2kd18n8x6kh6gd5nr0dgp8";
};

nativeBuildInputs = [ pytestrunner ];
@@ -21,9 +21,10 @@ buildPythonPackage rec {

checkInputs = [ hypothesis pytest pytest-asyncio ];

doCheck = !stdenv.isDarwin; # most tests fail on darwin

checkPhase = ''
# Other tests fail, seems to be due to filesystem access
py.test -k "test_cli or test_utils"
py.test
'';

meta = with stdenv.lib; {
9 changes: 2 additions & 7 deletions pkgs/development/python-modules/eve/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, flask, jinja2, itsdangerous, events
, markupsafe, pymongo, flask-pymongo, werkzeug, simplejson, cerberus }:
{ stdenv, buildPythonPackage, fetchPypi, flask, events
, pymongo, simplejson, cerberus }:

buildPythonPackage rec {
pname = "Eve";
@@ -13,14 +13,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [
cerberus
events
flask-pymongo
flask
itsdangerous
jinja2
markupsafe
pymongo
simplejson
werkzeug
];

# tests call a running mongodb instance
8 changes: 6 additions & 2 deletions pkgs/development/python-modules/nilearn/default.nix
Original file line number Diff line number Diff line change
@@ -11,9 +11,13 @@ buildPythonPackage rec {
sha256 = "5049363eb6da2e7c35589477dfc79bf69929ca66de2d7ed2e9dc07acf78636f4";
};

checkPhase = "nosetests --exclude with_expand_user nilearn/tests";
# disable some failing tests
checkPhase = ''
nosetests nilearn/tests \
-e test_cache_mixin_with_expand_user -e test_clean_confounds -e test_detrend
'';

buildInputs = [ nose ];
checkInputs = [ nose ];

propagatedBuildInputs = [
matplotlib
Original file line number Diff line number Diff line change
@@ -9,10 +9,13 @@ buildPythonPackage rec {
sha256 = "be6bf93ed618c8899aeb6721c24f8009c769879a3b4931e05650f3c173ec17c5";
};

checkInputs = [ pytest mock ];
checkInputs = [ mock ];

propagatedBuildInputs = [ pytest ];

# disable tests that fail with pytest 3.7.4
checkPhase = ''
py.test
py.test test_pytest_rerunfailures.py -k 'not test_reruns_with_delay'
'';

meta = with stdenv.lib; {
13 changes: 7 additions & 6 deletions pkgs/development/python-modules/wordfreq/default.nix
Original file line number Diff line number Diff line change
@@ -6,27 +6,28 @@
, msgpack
, mecab-python3
, jieba
, nose
, pytest
, pythonOlder
, fetchFromGitHub
}:

buildPythonPackage rec {
pname = "wordfreq";
version = "2.0";
version = "2.2.0";

src = fetchFromGitHub {
owner = "LuminosoInsight";
repo = "wordfreq";
rev = "e3a1b470d9f8e0d82e9f179ffc41abba434b823b";
sha256 = "1wjkhhj7nxfnrghwvmvwc672s30lp4b7yr98gxdxgqcq6wdshxwv";
# upstream don't tag by version
rev = "bc12599010c8181a725ec97d0b3990758a48da36";
sha256 = "195794vkzq5wsq3mg1dgfhlnz2f7vi1xajlifq6wkg4lzwyq262m";
};

checkInputs = [ nose ];
checkInputs = [ pytest ];

checkPhase = ''
# These languages require additional dictionaries
nosetests -e test_japanese -e test_korean -e test_languages
pytest tests -k 'not test_japanese and not test_korean and not test_languages and not test_french_and_related'
'';

propagatedBuildInputs = [ regex langcodes ftfy msgpack mecab-python3 jieba ];