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: ec27f6ff3c90
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: e19054ab3cd5
Choose a head ref

Commits on Sep 6, 2019

  1. mill: 0.5.0->0.5.1

    scalavision committed Sep 6, 2019
    Copy the full SHA
    24ebaf4 View commit details

Commits on Sep 7, 2019

  1. nbstripout: 0.3.1 -> 0.3.6

    jluttine committed Sep 7, 2019
    Copy the full SHA
    8b51ee3 View commit details
  2. Copy the full SHA
    00b8bf4 View commit details
  3. Copy the full SHA
    feed103 View commit details
  4. Copy the full SHA
    ae8c8f8 View commit details
  5. Copy the full SHA
    b084a3d View commit details
  6. Copy the full SHA
    5df0605 View commit details
  7. nixos/cmt: add cmt module

    Adds custom touchpad drivers for Chromebooks.
    kcalvinalvin committed Sep 7, 2019
    Copy the full SHA
    fa53852 View commit details

Commits on Sep 8, 2019

  1. nano-wallet: 18.0 -> 19.0

    jluttine committed Sep 8, 2019
    Copy the full SHA
    e38a360 View commit details
  2. bukubrow: 2.4.0 -> 5.0.0

    arcnmx committed Sep 8, 2019
    Copy the full SHA
    c33a44a View commit details
  3. Copy the full SHA
    fa0b187 View commit details
  4. gnomeExtensions.system-monitor: 36 -> 38

    Remove "broken = true" since this version supports GNOME 3.32.
    bjornfor committed Sep 8, 2019
    Copy the full SHA
    1a1a7ed View commit details
  5. inkscape: add wrapGAppsHook for icons (fixed for strictDeps)

    Resolves #68185.
    The icons in Inkscape depend on gdk-pixbuf loaders, but because
    strictDeps is set to true to fix some macOS issues it doesn't work
    (see #56943). Adding librsvg to buildInputs explicitly fixes the issue.
    rileyinman committed Sep 8, 2019
    Copy the full SHA
    cd04b61 View commit details
  6. Merge pull request #68287 from rileyinman/inkscape-strictdeps

    inkscape: add wrapGAppsHook for icons (fixed for strictDeps)
    jtojnar authored Sep 8, 2019
    Copy the full SHA
    975d5f1 View commit details
  7. Merge pull request #68254 from scalavision/mill-update-0.5.1

    mill: 0.5.0->0.5.1
    mmahut authored Sep 8, 2019
    Copy the full SHA
    8977ae2 View commit details
  8. Copy the full SHA
    c5050d0 View commit details
  9. Merge pull request #67241 from kcalvinalvin/cmt

    nixos/modules/services/x11/hardware/: add cmt module
    infinisil authored Sep 8, 2019
    Copy the full SHA
    916603c View commit details
  10. Merge pull request #68315 from jluttine/nano-wallet-19.0

    nano-wallet: 18.0 -> 19.0
    mmahut authored Sep 8, 2019
    Copy the full SHA
    df3b84a View commit details
  11. Merge pull request #68255 from jluttine/nbstripout-0.3.6

    nbstripout: 0.3.1 -> 0.3.6
    mmahut authored Sep 8, 2019
    Copy the full SHA
    462cdb9 View commit details
  12. sundials: use cmakeFlags

    flokli committed Sep 8, 2019
    Copy the full SHA
    d9ce716 View commit details
  13. sundials: enable tests

    flokli committed Sep 8, 2019
    Copy the full SHA
    ad3023e View commit details
  14. sundials: add lapack support

    flokli committed Sep 8, 2019
    Copy the full SHA
    5f48e89 View commit details
  15. sundials_3: init at 3.2.1

    That's needed for scikits.odes.
    Upstream bug to migrate to sundials 4:
    bmcage/odes#98
    flokli committed Sep 8, 2019
    Copy the full SHA
    7e9e22f View commit details
  16. sundials: relax tolerance for test_sunmatrix_sparse

    This test fails on MacOS otherwise, due to slightly different math.
    
    Only add for sundials 4, it's not in sundials_3 yet.
    idontgetoutmuch authored and flokli committed Sep 8, 2019
    Copy the full SHA
    ac12bdf View commit details
  17. sundials: include patch to remove flakiness

    The provided patch doesn't apply cleanly on sundials_3 (no
    SundialsTesting.cmake, SundialsAddTest.cmake containing trailing
    whitespaces inside context), so for now we just disable tests for
    sundials_3 - scikits-odes plans to move to sundials 4 anyways - see
    bmcage/odes#106.
    flokli committed Sep 8, 2019
    Copy the full SHA
    a5de10b View commit details
  18. Copy the full SHA
    652448f View commit details
  19. Merge pull request #64195 from flokli/scikits-odes

    scikits-odes: init at 2.4.0
    flokli authored Sep 8, 2019
    Copy the full SHA
    a77fba2 View commit details

Commits on Sep 9, 2019

  1. Merge pull request #65489 from arcnmx/pr-bukubrow-update

    bukubrow: 2.4.0 -> 5.0.0
    infinisil authored Sep 9, 2019
    Copy the full SHA
    6128371 View commit details
  2. Merge pull request #68323 from romildo/upd.mate

    mate.engrampa: 1.22.1 -> 1.22.2
    romildo authored Sep 9, 2019
    Copy the full SHA
    febe3b4 View commit details
  3. Copy the full SHA
    e19054a View commit details
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -3249,6 +3249,12 @@
githubId = 1047859;
name = "Kaz Wesley";
};
kcalvinalvin = {
email = "calvin@kcalvinalvin.info";
github = "kcalvinalvin";
githubId = 37185887;
name = "Calvin Kim";
};
kentjames = {
email = "jameschristopherkent@gmail.com";
github = "kentjames";
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -853,6 +853,7 @@
./services/x11/hardware/multitouch.nix
./services/x11/hardware/synaptics.nix
./services/x11/hardware/wacom.nix
./services/x11/hardware/cmt.nix
./services/x11/gdk-pixbuf.nix
./services/x11/redshift.nix
./services/x11/urxvtd.nix
54 changes: 54 additions & 0 deletions nixos/modules/services/x11/hardware/cmt.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{ config, lib, pkgs, ... }:

with lib;

let

cfg = config.services.xserver.cmt;
etcPath = "X11/xorg.conf.d";

in {

options = {

services.xserver.cmt = {
enable = mkOption {
type = types.bool;
default = false;
description = "Enable chrome multitouch input (cmt). Touchpad drivers that are configured for chromebooks.";
};
models = mkOption {
type = types.enum [ "atlas" "banjo" "candy" "caroline" "cave" "celes" "clapper" "cyan" "daisy" "elan" "elm" "enguarde" "eve" "expresso" "falco" "gandof" "glimmer" "gnawty" "heli" "kevin" "kip" "leon" "lulu" "orco" "pbody" "peppy" "pi" "pit" "puppy" "quawks" "rambi" "samus" "snappy" "spring" "squawks" "swanky" "winky" "wolf" "auron_paine" "auron_yuna" "daisy_skate" "nyan_big" "nyan_blaze" "veyron_jaq" "veyron_jerry" "veyron_mighty" "veyron_minnie" "veyron_speedy" ];
example = "banjo";
description = ''
Which models to enable cmt for. Enter the Code Name for your Chromebook.
Code Name can be found at <link xlink:href="https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices" />.
'';
};
}; #closes services
}; #closes options

config = mkIf cfg.enable {

services.xserver.modules = [ pkgs.xf86_input_cmt ];

environment.etc = {
"${etcPath}/40-touchpad-cmt.conf" = {
source = "${pkgs.chromium-xorg-conf}/40-touchpad-cmt.conf";
};
"${etcPath}/50-touchpad-cmt-${cfg.models}.conf" = {
source = "${pkgs.chromium-xorg-conf}/50-touchpad-cmt-${cfg.models}.conf";
};
"${etcPath}/60-touchpad-cmt-${cfg.models}.conf" = {
source = "${pkgs.chromium-xorg-conf}/60-touchpad-cmt-${cfg.models}.conf";
};
};

assertions = [
{
assertion = !config.services.xserver.libinput.enable;
message = "cmt and libinput are incompatible, you cannot enable both (in services.xserver).";
}
];
};
}
15 changes: 11 additions & 4 deletions pkgs/applications/blockchains/nano-wallet/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{lib, stdenv, fetchFromGitHub, cmake, pkgconfig, boost, libGL, qtbase}:
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, wrapQtAppsHook, boost, libGL
, qtbase}:

stdenv.mkDerivation rec {

pname = "nano-wallet";
version = "18.0";
version = "19.0";

src = fetchFromGitHub {
owner = "nanocurrency";
repo = "raiblocks";
rev = "V${version}";
sha256 = "03f9g1x7rs7vic9yzsjxsh5ddx9ys78rssbfghbccfw9qrwylh3y";
sha256 = "1y5fc4cvfqh33imjkh91sqhy5bb9kh0icwyvdgm1cl564vnjax80";
fetchSubmodules = true;
};

@@ -32,13 +33,19 @@ stdenv.mkDerivation rec {
optionToFlag = name: value: "-D${name}=${value}";
in lib.mapAttrsToList optionToFlag options;

nativeBuildInputs = [ cmake pkgconfig ];
nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
buildInputs = [ boost libGL qtbase ];

buildPhase = ''
make nano_wallet
'';

# Move executables under bin directory
postInstall = ''
mkdir -p $out/bin
mv $out/nano* $out/bin/
'';

checkPhase = ''
./core_test
'';
5 changes: 4 additions & 1 deletion pkgs/applications/graphics/inkscape/default.nix
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper
, gsl, python2, poppler, imagemagick, libwpg, librevenge
, libvisio, libcdr, libexif, potrace, cmake, hicolor-icon-theme
, librsvg, wrapGAppsHook
}:

let
@@ -40,14 +41,16 @@ stdenv.mkDerivation rec {
--replace '"python-interpreter", "python"' '"python-interpreter", "${python2Env}/bin/python"'
'';

nativeBuildInputs = [ pkgconfig cmake makeWrapper python2Env ]
nativeBuildInputs = [ pkgconfig cmake makeWrapper python2Env wrapGAppsHook ]
++ (with perlPackages; [ perl XMLParser ]);
buildInputs = [
libXft libpng zlib popt boehmgc
libxml2 libxslt glib gtkmm2 glibmm libsigcxx lcms boost gettext
gsl poppler imagemagick libwpg librevenge
libvisio libcdr libexif potrace hicolor-icon-theme

librsvg # for loading icons

python2Env perlPackages.perl
];

29 changes: 5 additions & 24 deletions pkgs/applications/version-management/nbstripout/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{lib, python2Packages, fetchFromGitHub, fetchurl, git, mercurial, coreutils}:
{lib, python2Packages, git, mercurial, coreutils}:

with python2Packages;
buildPythonApplication rec {
version = "0.3.1";
version = "0.3.6";
pname = "nbstripout";

# Mercurial should be added as a build input but because it's a Python
@@ -12,30 +12,11 @@ buildPythonApplication rec {
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ ipython nbformat ];

# PyPI source is currently missing tests. Thus, use GitHub instead.
# See: https://github.com/kynan/nbstripout/issues/73
# Use PyPI again after it has been fixed in a release.
src = fetchFromGitHub {
owner = "kynan";
repo = pname;
rev = version;
sha256 = "1jifqmszjzyaqzaw2ir83k5fdb04iyxdad4lclawpb42hbink9ws";
src = fetchPypi {
inherit pname version;
sha256 = "1x6010akw7iqxn7ba5m6malfr2fvaf0bjp3cdh983qn1s7vwlq0r";
};

patches = [
(
# Fix git diff tests by using --no-index.
# See: https://github.com/kynan/nbstripout/issues/74
#
# Remove this patch once the pull request has been merged and a new
# release made.
fetchurl {
url = "https://github.com/jluttine/nbstripout/commit/03e28424fb788dd09a95e99814977b0d0846c0b4.patch";
sha256 = "09myfb77a2wh8lqqs9fcpam97vmaw8b7zbq8n5gwn6d80zbl7dn0";
}
)
];

# for some reason, darwin uses /bin/sh echo native instead of echo binary, so
# force using the echo binary
postPatch = ''
5 changes: 2 additions & 3 deletions pkgs/desktops/gnome-3/extensions/system-monitor/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "gnome-shell-system-monitor";
version = "36";
version = "38";

src = fetchFromGitHub {
owner = "paradoxxxzero";
repo = "gnome-shell-system-monitor-applet";
rev = "v${version}";
sha256 = "0x3r189h5264kjxsm18d34gzb5ih8l4pz7i9qks9slcnzaiw4y0z";
sha256 = "1sdj2kxb418mgq44a6lf6jic33wlfbnn3ja61igmx0jj1530iknv";
};

buildInputs = [
@@ -39,7 +39,6 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Display system informations in gnome shell status bar";
license = licenses.gpl3Plus;
broken = true; # GNOME 3.32 support WIP: https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/pull/510
maintainers = with maintainers; [ aneeshusa tiramiseb ];
homepage = https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet;
};
4 changes: 2 additions & 2 deletions pkgs/desktops/mate/engrampa/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "engrampa";
version = "1.22.1";
version = "1.22.2";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "06z38vfs15f5crrrgvcsqfb557fhpq1mqkj5fd9wb0hvi77hasrk";
sha256 = "0ph7ngk32nnzc3psqjs5zy52zbjilk30spr2r4sixqxvmz7d28gd";
};

nativeBuildInputs = [
52 changes: 52 additions & 0 deletions pkgs/development/libraries/sundials/3.x.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{ stdenv
, cmake
, fetchurl
, python
, liblapack
, gfortran
, lapackSupport ? true }:

let liblapackShared = liblapack.override {
shared = true;
};

in stdenv.mkDerivation rec {
pname = "sundials";
version = "3.2.1";

buildInputs = [ python ] ++ stdenv.lib.optionals (lapackSupport) [ gfortran ];
nativeBuildInputs = [ cmake ];

src = fetchurl {
url = "https://computation.llnl.gov/projects/${pname}/download/${pname}-${version}.tar.gz";
sha256 = "0238r1qnwqz13wcjzfsbcfi8rfnlxcjjmxq2vpf2qf5jgablvna7";
};

patches = [
(fetchurl {
# https://github.com/LLNL/sundials/pull/19
url = "https://github.com/LLNL/sundials/commit/1350421eab6c5ab479de5eccf6af2dcad1eddf30.patch";
sha256 = "0g67lixp9m85fqpb9rzz1hl1z8ibdg0ldwq5z6flj5zl8a7cw52l";
})
];

cmakeFlags = [
"-DEXAMPLES_INSTALL_PATH=${placeholder "out"}/share/examples"
] ++ stdenv.lib.optionals (lapackSupport) [
"-DSUNDIALS_INDEX_TYPE=int32_t"
"-DLAPACK_ENABLE=ON"
"-DLAPACK_LIBRARIES=${liblapackShared}/lib/liblapack${stdenv.hostPlatform.extensions.sharedLibrary};${liblapackShared}/lib/libblas${stdenv.hostPlatform.extensions.sharedLibrary}"
];

# flaky tests, and patch in https://github.com/LLNL/sundials/pull/21 doesn't apply cleanly for sundials_3
doCheck = false;
checkPhase = "make test";

meta = with stdenv.lib; {
description = "Suite of nonlinear differential/algebraic equation solvers";
homepage = https://computation.llnl.gov/projects/sundials;
platforms = platforms.all;
maintainers = with maintainers; [ flokli idontgetoutmuch ];
license = licenses.bsd3;
};
}
48 changes: 39 additions & 9 deletions pkgs/development/libraries/sundials/default.nix
Original file line number Diff line number Diff line change
@@ -1,28 +1,58 @@
{ cmake, fetchurl, python, stdenv }:
{ stdenv
, cmake
, fetchurl
, python
, liblapack
, gfortran
, lapackSupport ? true }:

stdenv.mkDerivation rec {
let liblapackShared = liblapack.override {
shared = true;
};

in stdenv.mkDerivation rec {
pname = "sundials";
version = "4.1.0";

buildInputs = [ python ] ++ stdenv.lib.optionals (lapackSupport) [ gfortran ];
nativeBuildInputs = [ cmake ];

src = fetchurl {
url = "https://computation.llnl.gov/projects/${pname}/download/${pname}-${version}.tar.gz";
sha256 = "19ca4nmlf6i9ijqcibyvpprxzsdfnackgjs6dw51fq13gg1f2398";
};

preConfigure = ''
export cmakeFlags="-DCMAKE_INSTALL_PREFIX=$out -DEXAMPLES_INSTALL_PATH=$out/share/examples $cmakeFlags"
'';
patches = [
(fetchurl {
# https://github.com/LLNL/sundials/pull/19
url = "https://github.com/LLNL/sundials/commit/1350421eab6c5ab479de5eccf6af2dcad1eddf30.patch";
sha256 = "0g67lixp9m85fqpb9rzz1hl1z8ibdg0ldwq5z6flj5zl8a7cw52l";
})
(fetchurl {
# https://github.com/LLNL/sundials/pull/20
url = "https://github.com/LLNL/sundials/pull/20/commits/2d951bbe1ff7842fcd0dafa28c61b0aa94015f66.patch";
sha256 = "0lcr6m4lk14yqrxah4rdscpczny5l7m1zpfsjh8bgspadfsgk512";
})
# https://github.com/LLNL/sundials/pull/21
./tests-parallel.patch
];

nativeBuildInputs = [ cmake ];
buildInputs = [ python ];
cmakeFlags = [
"-DEXAMPLES_INSTALL_PATH=${placeholder "out"}/share/examples"
] ++ stdenv.lib.optionals (lapackSupport) [
"-DSUNDIALS_INDEX_TYPE=int32_t"
"-DLAPACK_ENABLE=ON"
"-DLAPACK_LIBRARIES=${liblapackShared}/lib/liblapack${stdenv.hostPlatform.extensions.sharedLibrary};${liblapackShared}/lib/libblas${stdenv.hostPlatform.extensions.sharedLibrary}"
];

doCheck = true;
checkPhase = "make test";

meta = with stdenv.lib; {
description = "Suite of nonlinear differential/algebraic equation solvers";
homepage = https://computation.llnl.gov/projects/sundials;
platforms = platforms.all;
maintainers = [ maintainers.idontgetoutmuch ];
maintainers = with maintainers; [ flokli idontgetoutmuch ];
license = licenses.bsd3;
};

}
45 changes: 45 additions & 0 deletions pkgs/development/libraries/sundials/tests-parallel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
diff --git a/config/SundialsAddTest.cmake b/config/SundialsAddTest.cmake
index e965fed..a7fb1d2 100644
--- a/config/SundialsAddTest.cmake
+++ b/config/SundialsAddTest.cmake
@@ -70,7 +70,7 @@ MACRO(SUNDIALS_ADD_TEST NAME EXECUTABLE)
"--verbose"
"--testname=${NAME}"
"--executablename=$<TARGET_FILE:${EXECUTABLE}>"
- "--outputdir=${CMAKE_BINARY_DIR}/Testing/output"
+ "--outputdir=${TEST_OUTPUT_DIR}"
)

# do not diff the output and answer files
diff --git a/config/SundialsTesting.cmake b/config/SundialsTesting.cmake
index 815576a..d91801a 100644
--- a/config/SundialsTesting.cmake
+++ b/config/SundialsTesting.cmake
@@ -29,6 +29,13 @@ IF(SUNDIALS_DEVTESTS)
ENDIF()
ENDIF()

+ # Directory for test output
+ SET(TEST_OUTPUT_DIR ${PROJECT_BINARY_DIR}/Testing/output)
+
+ IF(NOT EXISTS ${TEST_OUTPUT_DIR})
+ FILE(MAKE_DIRECTORY ${TEST_OUTPUT_DIR})
+ ENDIF()
+
# look for the testRunner script in the test directory
FIND_PROGRAM(TESTRUNNER testRunner PATHS test)
HIDE_VARIABLE(TESTRUNNER)
diff --git a/test/testRunner b/test/testRunner
index f450ec2..f1c8deb 100755
--- a/test/testRunner
+++ b/test/testRunner
@@ -106,7 +106,8 @@ def main():

# create output directory if necessary
if not os.path.exists(outDir):
- os.makedirs(outDir)
+ error("Output directory does not exist, it must be created.", outDir)
+ sys.exit(1)
elif not os.path.isdir(outDir):
error("Output directory exists but is not a directory, it must be deleted.", outDir)
sys.exit(1)
Loading