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: 379f99e422c5
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: 36fe916089ea
Choose a head ref
  • 9 commits
  • 10 files changed
  • 5 contributors

Commits on Sep 20, 2020

  1. pythonPackages.glom: fix tests

    (cherry picked from commit 05f9944)
    austinbutler authored and Jon committed Sep 20, 2020
    Copy the full SHA
    1db586c View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bab5197 View commit details
  3. Copy the full SHA
    640d5c9 View commit details
  4. pythonPackages.mock-open: 1.3.1 -> 1.3.2

    (cherry picked from commit b103ddb)
    das-g authored and Jon committed Sep 20, 2020
    Copy the full SHA
    01f1b38 View commit details
  5. pythonPackages.mock-open: 1.3.2 -> 1.4.0

    (cherry picked from commit 355d255)
    das-g authored and Jon committed Sep 20, 2020
    Copy the full SHA
    5ec6c55 View commit details
  6. libndtypes, pythonPackages.ndtypes: unstable-2018-11-27 -> unstable-2…

    …019-08-01
    
    this is the most recent commit to upstream's master at time of writing
    
    includes fixes of python package for darwin
    
    (cherry picked from commit 044533c)
    risicle authored and Jon committed Sep 20, 2020
    Copy the full SHA
    15667a2 View commit details
  7. libxnd, pythonPackages.xnd: unstable-2018-11-27 -> unstable-2019-08-01

    this is the most recent commit to upstream's master at time of writing
    
    includes fixes of python package for darwin
    
    (cherry picked from commit dcd6847)
    risicle authored and Jon committed Sep 20, 2020
    Copy the full SHA
    8718625 View commit details
  8. libgumath, pythonPackages.gumath: unstable-2018-11-27 -> unstable-201…

    …9-08-01
    
    this is the most recent commit to upstream's master at time of writing
    
    includes fixes of python package for darwin
    
    (cherry picked from commit eb86bff)
    risicle authored and Jon committed Sep 20, 2020
    Copy the full SHA
    29d5187 View commit details
  9. sonic-lineup: 1.0.1 -> 1.1, fix build

    (cherry picked from commit 60078b4)
    Sohalt authored and Jon committed Sep 20, 2020
    Copy the full SHA
    36fe916 View commit details
6 changes: 3 additions & 3 deletions pkgs/applications/audio/sonic-lineup/default.nix
Original file line number Diff line number Diff line change
@@ -6,11 +6,11 @@

stdenv.mkDerivation rec {
pname = "sonic-lineup";
version = "1.0.1";
version = "1.1";

src = fetchurl {
url = "https://code.soundsoftware.ac.uk/attachments/download/2610/${pname}-${version}.tar.gz";
sha256 = "0w4v5zr81d8fh97y820r0vj1rrbl0kwgvhfkdnyl4hiabs97b1i7";
url = "https://code.soundsoftware.ac.uk/attachments/download/2765/${pname}-${version}.tar.gz";
sha256 = "0k45k9fawcm4s5yy05x00pgww7j8m7k2cxcc7g0fn9vqy7vcbq9h";
};

buildInputs =
Original file line number Diff line number Diff line change
@@ -2,20 +2,21 @@

buildGoModule rec {
pname = "gh";
version = "0.11.1";
version = "1.0.0";

src = fetchFromGitHub {
owner = "cli";
repo = "cli";
rev = "v${version}";
sha256 = "0l1d75smvly2k6s3j55n674ld6i5hd8yn6lfhg8vvkvhxx2jjvb9";
sha256 = "10ixjrb56ddqxla7mfxqnf74zissjx66akcyvgl9xfmww0bvg64x";
};

vendorSha256 = "1xq1n583p0a3j78afprm2hk5f1hchdrx4vvphml95rv9786vjbcc";
vendorSha256 = "079zbm57xfcskwhsfj1x0c0lg6ip6c6dbk8hfwrzkpy8gfs2ysmr";

nativeBuildInputs = [ installShellFiles ];

buildPhase = ''
export GO_LDFLAGS="-s -w"
make GH_VERSION=${version} bin/gh manpages
'';

8 changes: 4 additions & 4 deletions pkgs/development/libraries/libgumath/default.nix
Original file line number Diff line number Diff line change
@@ -6,13 +6,13 @@

stdenv.mkDerivation {
pname = "libgumath";
version = "unstable-2018-11-27";
version = "unstable-2019-08-01";

src = fetchFromGitHub {
owner = "plures";
owner = "xnd-project";
repo = "gumath";
rev = "5a9d27883b40432246d6a93cd6133157267fd166";
sha256 = "0w2qzp7anxd1wzkvv5r2pdkkpgrnqzgrq47lrvpqc1i1wqzcwf0w";
rev = "360ed454105ac5615a7cb7d216ad25bc4181b876";
sha256 = "1wprkxpmjrk369fpw8rbq51r7jvqkcndqs209y7p560cnagmsxc6";
};

buildInputs = [ libndtypes libxnd ];
8 changes: 4 additions & 4 deletions pkgs/development/libraries/libndtypes/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

stdenv.mkDerivation {
pname = "libndtypes";
version = "unstable-2018-11-27";
version = "unstable-2019-08-01";

src = fetchFromGitHub {
owner = "plures";
owner = "xnd-project";
repo = "ndtypes";
rev = "4d810d0c4d54c81a7136f313f0ae6623853d574a";
sha256 = "1kk1sa7f17ffh49jc1qlizlsj536fr3s4flb6x4rjyi81rp7psb9";
rev = "3ce6607c96d8fe67b72cc0c97bf595620cdd274e";
sha256 = "18303q0jfar1lmi4krp94plczb455zcgw772f9lb8xa5p0bkhx01";
};

# Override linker with cc (symlink to either gcc or clang)
16 changes: 12 additions & 4 deletions pkgs/development/libraries/libxnd/default.nix
Original file line number Diff line number Diff line change
@@ -6,13 +6,13 @@

stdenv.mkDerivation {
pname = "libxnd";
version = "unstable-2018-11-27";
version = "unstable-2019-08-01";

src = fetchFromGitHub {
owner = "plures";
owner = "xnd-project";
repo = "xnd";
rev = "8a9f3bd1d01d872828b40bc9dbd0bc0184524da3";
sha256 = "10jh2kqvhpzwy50adayh9az7z2lm16yxy4flrh99alzzbqdyls44";
rev = "6f305cd40d90b4f3fc2fe51ae144b433d186a6cc";
sha256 = "1n31d64qwlc7m3qkzbafhp0dgrvgvkdx89ykj63kll7r1n3yk59y";
};

buildInputs = [ libndtypes ];
@@ -28,6 +28,14 @@ stdenv.mkDerivation {
"--with-libs=${libndtypes}/lib"
];

# other packages which depend on libxnd seem to expect overflow.h, but
# it doesn't seem to be included in the installed headers. for now this
# works, but the generic name of the header could produce problems
# with collisions down the line.
postInstall = ''
cp libxnd/overflow.h $out/include/overflow.h
'';

doCheck = true;

meta = {
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/glom/default.nix
Original file line number Diff line number Diff line change
@@ -21,9 +21,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ boltons attrs face ];

checkInputs = [ pytest pyyaml ];
checkPhase = "pytest glom/test";

doCheck = !isPy37; # https://github.com/mahmoud/glom/issues/72
# test_cli.py checks the output of running "glom"
checkPhase = "PATH=$out/bin:$PATH pytest glom/test";

meta = with stdenv.lib; {
homepage = "https://github.com/mahmoud/glom";
20 changes: 19 additions & 1 deletion pkgs/development/python-modules/gumath/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ buildPythonPackage
{ stdenv
, buildPythonPackage
, python
, numba
, ndtypes
, xnd
@@ -25,4 +27,20 @@ buildPythonPackage {
--replace 'add_runtime_library_dirs = ["$ORIGIN"]' \
'add_runtime_library_dirs = ["${libndtypes}/lib", "${libxnd}/lib", "${libgumath}/lib"]'
'';

postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -add_rpath ${libgumath}/lib $out/${python.sitePackages}/gumath/_gumath.*.so
'';

checkPhase = ''
pushd python
mv gumath _gumath
# minor precision issues
substituteInPlace test_gumath.py --replace 'test_sin' 'dont_test_sin'
python test_gumath.py
python test_xndarray.py
popd
'';

}

13 changes: 10 additions & 3 deletions pkgs/development/python-modules/mock-open/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, mock }:
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, pythonOlder, mock }:

buildPythonPackage rec {
pname = "mock-open";
version = "1.3.1";
version = "1.4.0";

# no tests in PyPI tarball
src = fetchFromGitHub {
owner = "nivbend";
repo = pname;
rev = "v${version}";
sha256 = "0ikhrhlkl5c7qbigpsv44jw89ws1z7j06gzyg5dh1ki533ifbjm2";
sha256 = "0qlz4y8jqxsnmqg03yp9f87rmnjrvmxm5qvm6n1218gm9k5dixbm";
};

patches = lib.optional (pythonOlder "3.0")
(fetchpatch {
name = "ascii-only.patch";
url = "https://github.com/das-g/mock-open/commit/521ff260da127949fe4aceff1667cba223c5b07b.patch";
sha256 = "0ampbhk7kwkn0q5d2h9wrflkr8fji2bybmdck4qdzw1qkslfwwrn";
});

propagatedBuildInputs = lib.optional (pythonOlder "3.3") mock;

meta = with lib; {
13 changes: 12 additions & 1 deletion pkgs/development/python-modules/ndtypes/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ buildPythonPackage
{ stdenv
, buildPythonPackage
, python
, numpy
, libndtypes
, isPy27
@@ -24,5 +26,14 @@ buildPythonPackage {
postInstall = ''
mkdir $out/include
cp python/ndtypes/*.h $out/include
'' + stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -add_rpath ${libndtypes}/lib $out/${python.sitePackages}/ndtypes/_ndtypes.*.so
'';

checkPhase = ''
pushd python
mv ndtypes _ndtypes
python test_ndtypes.py
popd
'';
}
13 changes: 12 additions & 1 deletion pkgs/development/python-modules/xnd/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ buildPythonPackage
{ stdenv
, buildPythonPackage
, python
, ndtypes
, libndtypes
, libxnd
@@ -25,5 +27,14 @@ buildPythonPackage {
postInstall = ''
mkdir $out/include
cp python/xnd/*.h $out/include
'' + stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -add_rpath ${libxnd}/lib $out/${python.sitePackages}/xnd/_xnd.*.so
'';

checkPhase = ''
pushd python
mv xnd _xnd
python test_xnd.py
popd
'';
}