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: 79d91454693c
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: 2ff2b89fdfa8
Choose a head ref
  • 10 commits
  • 11 files changed
  • 4 contributors

Commits on Sep 13, 2018

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    picnoir Félix
    Copy the full SHA
    5a944e4 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    andir Andreas Rammhold
    Copy the full SHA
    9666881 View commit details
  3. scalapack: init at 2.0.2 (#46610)

    Added scalapack with flexibility to choose blas, lapack, and mpi
    implementation.
    costrouc authored and xeji committed Sep 13, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    andir Andreas Rammhold
    Copy the full SHA
    e34a9ff View commit details
  4. Merge pull request #46578 from costrouc/costrouc/xnd-linker

    libxnd, libndtypes: refactor add support for darwin
    Ericson2314 authored Sep 13, 2018
    Copy the full SHA
    59be668 View commit details
  5. brlaser: cleanup and mark linux only (#46622)

    The test binaries depend use open_memstream which isn't available on
    darwin.
    
        error: use of undeclared identifier 'open_memstream'
    
    /cc ZHF #45961
    LnL7 authored and xeji committed Sep 13, 2018
    Copy the full SHA
    04cba83 View commit details
  6. papi: init at 5.6.0 (#46619)

    papi is a high resolution performance counter.
    costrouc authored and xeji committed Sep 13, 2018
    Copy the full SHA
    9ef31b2 View commit details
  7. cargo-update: fix darwin build (#46625)

    On darwin libcurl is also needed.
    
    /cc ZHF #45961
    LnL7 authored and xeji committed Sep 13, 2018
    Copy the full SHA
    d782c4e View commit details
  8. calaos_installer: fix darwin install (#46629)

    On darwin this builds an application instead of a binary.
    
    /cc ZHF #45961
    LnL7 authored and xeji committed Sep 13, 2018
    Copy the full SHA
    6895655 View commit details
  9. ceres-solver: fix darwin build (#46626)

    The Basel BUILD file conflicts with the cmake build directory on
    case-insensitive filesystems, eg. darwin.
    
    /cc ZHF #45961
    LnL7 authored and xeji committed Sep 13, 2018
    Copy the full SHA
    807b010 View commit details
  10. gnome2.gconfmm: drop

    jtojnar committed Sep 13, 2018
    Copy the full SHA
    2ff2b89 View commit details
2 changes: 0 additions & 2 deletions pkgs/desktops/gnome-2/default.nix
Original file line number Diff line number Diff line change
@@ -35,8 +35,6 @@ let overridden = set // overrides; set = with overridden; {

GConf = callPackage ./platform/GConf { };

gconfmm = callPackage ./platform/gconfmm { };

libgnomecanvas = callPackage ./platform/libgnomecanvas { };

libgnomecanvasmm = callPackage ./platform/libgnomecanvasmm { };
23 changes: 0 additions & 23 deletions pkgs/desktops/gnome-2/platform/gconfmm/default.nix

This file was deleted.

10 changes: 8 additions & 2 deletions pkgs/development/libraries/ceres-solver/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
, eigen
, fetchurl
, cmake
, google-gflags ? null
, google-gflags
, glog
, runTests ? false
}:
@@ -21,7 +21,13 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ cmake ];
buildInputs = [ eigen glog ]
++ stdenv.lib.optional (google-gflags != null) google-gflags;
++ stdenv.lib.optional runTests google-gflags;

# The Basel BUILD file conflicts with the cmake build directory on
# case-insensitive filesystems, eg. darwin.
preConfigure = ''
rm BUILD
'';

doCheck = runTests;

6 changes: 4 additions & 2 deletions pkgs/development/libraries/libndtypes/default.nix
Original file line number Diff line number Diff line change
@@ -14,12 +14,14 @@ stdenv.mkDerivation rec {
sha256 = "0dpvv13mrid8l5zkjlz18qvirz3nr0v98agx9bcvkqbiahlfgjli";
};

makeFlags = [ "CONFIGURE_LDFLAGS='-shared'" ];
# Override linker with cc (symlink to either gcc or clang)
# Library expects to use cc for linking
configureFlags = [ "LD=${stdenv.cc.targetPrefix}cc" ];

meta = {
description = "Dynamic types for data description and in-memory computations";
homepage = https://xnd.io/;
license = lib.licenses.bsdOriginal;
maintainers = with lib.maintainers; [ costrouc ];
};
}
}
7 changes: 3 additions & 4 deletions pkgs/development/libraries/libxnd/default.nix
Original file line number Diff line number Diff line change
@@ -17,10 +17,9 @@ stdenv.mkDerivation rec {

buildInputs = [ libndtypes ];

configureFlags = [ "XND_INCLUDE='-I${libndtypes}/include'"
"XND_LINK='-L${libndtypes}/lib'" ];

makeFlags = [ "CONFIGURE_LDFLAGS='-shared'" ];
# Override linker with cc (symlink to either gcc or clang)
# Library expects to use cc for linking
configureFlags = [ "LD=${stdenv.cc.targetPrefix}cc" ];

meta = {
description = "General container that maps a wide range of Python values directly to memory";
30 changes: 30 additions & 0 deletions pkgs/development/libraries/science/benchmark/papi/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv
, fetchurl
}:

stdenv.mkDerivation rec {
version = "5.6.0";
name = "papi-${version}";

src = fetchurl {
url = "https://bitbucket.org/icl/papi/get/papi-5-6-0-t.tar.gz";
sha256 = "13mngf9kl0y2wfxqvkad0smdaag7k8fvw82b4312gx62nwhc1i6r";
};

buildInputs = [ stdenv ];

preConfigure = ''
cd src
'';

doCheck = true;
checkTarget = "test";

meta = with stdenv.lib; {
homepage = https://icl.utk.edu/papi/;
description = "PAPI provides the tool designer and application engineer with a consistent interface and methodology for use of the performance counter hardware found in most major microprocessors";
license = licenses.bsdOriginal;
platforms = platforms.linux;
maintainers = [ maintainers.costrouc ];
};
}
29 changes: 29 additions & 0 deletions pkgs/development/libraries/science/math/scalapack/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv
, fetchurl
, gfortran
, cmake
, blas
, liblapack
, mpi
}:

stdenv.mkDerivation rec {
name = "scalapack-${version}";
version = "2.0.2";

src = fetchurl {
url = "http://www.netlib.org/scalapack/scalapack-${version}.tgz";
sha256 = "0p1r61ss1fq0bs8ynnx7xq4wwsdvs32ljvwjnx6yxr8gd6pawx0c";
};

buildInputs = [ cmake mpi liblapack blas gfortran ];

meta = with stdenv.lib; {
homepage = http://www.netlib.org/scalapack/;
description = "Library of high-performance linear algebra routines for parallel distributed memory machines";
license = licenses.bsdOriginal;
platforms = platforms.all;
maintainers = [ maintainers.costrouc ];
};

}
5 changes: 4 additions & 1 deletion pkgs/misc/calaos/installer/default.nix
Original file line number Diff line number Diff line change
@@ -16,7 +16,10 @@ stdenv.mkDerivation rec {

qmakeFlags = [ "REVISION=${version}" ];

installPhase = ''
installPhase = if stdenv.isDarwin then ''
mkdir -p $out/Applications
cp -a calaos_installer.app $out/Applications
'' else ''
mkdir -p $out/bin
cp -a calaos_installer $out/bin
'';
10 changes: 4 additions & 6 deletions pkgs/misc/cups/drivers/brlaser/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, cmake, zlib, cups }:

stdenv.mkDerivation rec {

name = "brlaser-${version}";
version = "4";

@@ -12,11 +11,10 @@ stdenv.mkDerivation rec {
sha256 = "1yy4mpf68c82h245srh2sd1yip29w6kx14gxk4hxkv496gf55lw5";
};

buildInputs = [ cmake zlib cups ];
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib cups ];

preConfigure = ''
cmakeFlags="$cmakeFlags -DCUPS_SERVER_BIN=$out/lib/cups/ -DCUPS_DATA_DIR=$out/share/cups/"
'';
cmakeFlags = [ "-DCUPS_SERVER_BIN=$out/lib/cups" "-DCUPS_DATA_DIR=$out/share/cups" ];

meta = with stdenv.lib; {
description = "A CUPS driver for Brother laser printers";
@@ -37,7 +35,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://github.com/pdewacht/brlaser;
license = licenses.gpl2;
platforms = platforms.unix;
platforms = platforms.linux;
maintainers = with maintainers; [ StijnDW ];
};
}
6 changes: 4 additions & 2 deletions pkgs/tools/package-management/cargo-update/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, callPackage, defaultCrateOverrides, fetchFromGitHub, cmake, libssh2, libgit2, openssl, zlib }:
{ stdenv, callPackage, defaultCrateOverrides, fetchFromGitHub, cmake, curl, libssh2, libgit2, openssl, zlib }:

((callPackage ./cargo-update.nix {}).cargo_update {}).override {
crateOverrides = defaultCrateOverrides // {
@@ -13,7 +13,9 @@
sha256 = "1bvrdgcw2akzd78wgvsisvghi8pvdk3szyg9s46qxv4km9sf88s7";
};

buildInputs = [ cmake libssh2 libgit2 openssl zlib ];
nativeBuildInputs = [ cmake ];
buildInputs = [ libssh2 libgit2 openssl zlib ]
++ stdenv.lib.optional stdenv.isDarwin curl;

meta = with stdenv.lib; {
description = "A cargo subcommand for checking and applying updates to installed executables";
8 changes: 8 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -20619,6 +20619,10 @@ with pkgs;
tetgen = callPackage ../applications/science/geometry/tetgen { }; # AGPL3+
tetgen_1_4 = callPackage ../applications/science/geometry/tetgen/1.4.nix { }; # MIT

### SCIENCE/BENCHMARK

papi = callPackage ../development/libraries/science/benchmark/papi { };

### SCIENCE/BIOLOGY

alliance = callPackage ../applications/science/electronics/alliance { };
@@ -20810,6 +20814,10 @@ with pkgs;

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

scalapack = callPackage ../development/libraries/science/math/scalapack {
mpi = openmpi;
};

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

fenics = callPackage ../development/libraries/science/math/fenics {