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: 0fd63b40b04c
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: bf6217cbf15b
Choose a head ref
  • 18 commits
  • 16 files changed
  • 16 contributors

Commits on Nov 3, 2019

  1. nixos/nginx: update comment

    It says Apache, but this is for Nginx; looks like a copy-paste error.
    bhipple committed Nov 3, 2019
    Copy the full SHA
    3d73b6d View commit details

Commits on Nov 7, 2019

  1. signal-cli: add dbus functionality

    This closes #72737
    
    Co-authored-by: Matthew Piziak <matthew-piziak@users.noreply.github.com>
    Co-authored-by: Kiwi <Kiwi@users.noreply.github.com>
    3 people committed Nov 7, 2019
    Copy the full SHA
    6d6fee5 View commit details
  2. Copy the full SHA
    a39fbee View commit details

Commits on Nov 15, 2019

  1. elixir_1_9: 1.9.2 -> 1.9.4

    cw789 committed Nov 15, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    110bf03 View commit details
  2. erlangR22: 22.0.4 -> 22.1.7

    cw789 committed Nov 15, 2019
    Copy the full SHA
    1cb60e4 View commit details

Commits on Nov 18, 2019

  1. Copy the full SHA
    b618730 View commit details
  2. Merge pull request #73448 from cw789/elixir_update

    elixir_1_9: 1.9.2 -> 1.9.4
    timokau authored Nov 18, 2019
    Copy the full SHA
    d17a25d View commit details
  3. python: wrf-python : 1.3.1.1 -> 1.3.2

    mhaselsteiner authored and Jon committed Nov 18, 2019
    Copy the full SHA
    263ee30 View commit details
  4. nixos/bitcoind: remove PermissionsStartOnly

    Unneded because there are no extra commands like ExecStartPre
    erikarvstedt authored and Lassulus committed Nov 18, 2019
    Copy the full SHA
    8aa5f30 View commit details
  5. python3Packages.cliff: fix build and add tests

    Jonathan Ringer committed Nov 18, 2019
    Copy the full SHA
    60e1709 View commit details
  6. vcv-rack: 1.1.5 -> 1.1.6

    Moredread authored and Lassulus committed Nov 18, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    001f08f View commit details
  7. Merge pull request #72829 from erictapen/signal-cli-daemon

    signal-cli: enable dbus functionality
    Lassulus authored Nov 18, 2019
    Copy the full SHA
    505120a View commit details
  8. Merge pull request #72719 from bhipple/doc/comment-fix

    nixos/nginx: update comment
    Lassulus authored Nov 18, 2019
    Copy the full SHA
    14961b1 View commit details
  9. Allow ffmpeg attributes to be overridden

    Switch the order in which the version-specific attributes are combined
    with args. Otherwise, if args such as 'branch' are overridden by an
    overlay or other derivation, the new value is replaced with the
    original when the sets are combined with //.
    Thra11 authored and Lassulus committed Nov 18, 2019
    Copy the full SHA
    801e8b4 View commit details
  10. gpscorrelate: unstable-2019-09-03 -> 2.0

    sikmir authored and Lassulus committed Nov 18, 2019
    Copy the full SHA
    855c1e0 View commit details
  11. Merge pull request #73457 from cw789/erlang_update

    erlangR22: 22.0.4 -> 22.1.7
    LnL7 authored Nov 18, 2019
    Copy the full SHA
    f89fff0 View commit details
  12. Merge pull request #71710 from bcdarwin/fix-elastix

    elastix: 4.9.0 -> 5.0.0 (and mark unbroken)
    c0bw3b authored Nov 18, 2019
    Copy the full SHA
    5411dbd View commit details
  13. nixos/nginx: correct header

    Apache -> Nginx
    c0bw3b authored Nov 18, 2019
    Copy the full SHA
    bf6217c View commit details
3 changes: 0 additions & 3 deletions nixos/modules/services/networking/bitcoind.nix
Original file line number Diff line number Diff line change
@@ -177,9 +177,6 @@ in {
NoNewPrivileges = "true";
PrivateDevices = "true";
MemoryDenyWriteExecute = "true";

# Permission for preStart
PermissionsStartOnly = "true";
};
};
users.users.${cfg.user} = {
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file defines the options that can be used both for the Apache
# This file defines the options that can be used both for the Nginx
# main server configuration, and for the virtual hosts. (The latter
# has additional options that affect the web server as a whole, like
# the user/group to run under.)
@@ -92,4 +92,3 @@ with lib;
};
};
}

2 changes: 1 addition & 1 deletion nixos/modules/services/web-servers/nginx/vhost-options.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file defines the options that can be used both for the Apache
# This file defines the options that can be used both for the Nginx
# main server configuration, and for the virtual hosts. (The latter
# has additional options that affect the web server as a whole, like
# the user/group to run under.)
27 changes: 9 additions & 18 deletions pkgs/applications/audio/vcv-rack/default.nix
Original file line number Diff line number Diff line change
@@ -3,17 +3,10 @@
, libzip, rtaudio, rtmidi, speex, libsamplerate }:

let
glfw-git = glfw.overrideAttrs (oldAttrs: rec {
name = "glfw-git-${version}";
version = "2019-06-30";
src = fetchFromGitHub {
owner = "glfw";
repo = "glfw";
rev = "d25248343e248337284dfbe5ecd1eddbd37ae66d";
sha256 = "0gbz353bfmqbpm0af2nqf5draz3k4f3lqwiqj68s8nwn7878aqm3";
};
buildInputs = oldAttrs.buildInputs ++ [ libXext libXi ];
});
# The package repo vendors some of the package dependencies as submodules.
# Others are downloaded with `make deps`. Due to previous issues with the
# `glfw` submodule (see above) and because we can not access the network when
# building in a sandbox, we fetch the dependency source manually.
pfft-source = fetchFromBitbucket {
owner = "jpommier";
repo = "pffft";
@@ -47,24 +40,22 @@ let
in
with stdenv.lib; stdenv.mkDerivation rec {
pname = "VCV-Rack";
version = "1.1.5";
version = "1.1.6";

src = fetchFromGitHub {
owner = "VCVRack";
repo = "Rack";
rev = "v${version}";
sha256 = "1g3mkghgiycbxyvzjhanc1b10jynkfkw03bpnha06qgd6gd9wv7k";
sha256 = "0ji64prr74qzxf5bx1sw022kbslx9nzll16lmk5in78hbl137b3i";
};

patches = [
./rack-minimize-vendoring.patch
# We patch out a call to a custom function, that is not needed on Linux.
# This avoids needing a patched version of glfw. The version we previously used disappeared
# on GitHub. See https://github.com/NixOS/nixpkgs/issues/71189
./remove-custom-glfw-function.patch
];

prePatch = ''
# As we can't use `make dep` to set up the dependencies (as explained
# above), we do it here manually
mkdir -p dep/include
cp -r ${pfft-source} dep/jpommier-pffft-source
@@ -86,7 +77,7 @@ with stdenv.lib; stdenv.mkDerivation rec {
enableParallelBuilding = true;

nativeBuildInputs = [ makeWrapper pkgconfig ];
buildInputs = [ glfw-git alsaLib curl glew gtk2-x11 jansson libjack2 libzip rtaudio rtmidi speex libsamplerate ];
buildInputs = [ alsaLib curl glew glfw gtk2-x11 jansson libjack2 libsamplerate libzip rtaudio rtmidi speex ];

buildFlags = "Rack";

16 changes: 0 additions & 16 deletions pkgs/applications/audio/vcv-rack/remove-custom-glfw-function.patch

This file was deleted.

11 changes: 4 additions & 7 deletions pkgs/applications/misc/gpscorrelate/default.nix
Original file line number Diff line number Diff line change
@@ -3,17 +3,15 @@

stdenv.mkDerivation rec {
pname = "gpscorrelate";
version = "unstable-2019-09-03";
version = "2.0";

src = fetchFromGitHub {
owner = "dfandrich";
repo = pname;
rev = "e1dd44a34f67b1ab7201440e60a840258ee448d2";
sha256 = "0gjwwdqh9dprzylmmnk3gm41khka9arkij3i9amd8y7d49pm9rlv";
rev = version;
sha256 = "1wkpb0nqnm0ik46hp2sibf96h2gxi6n951zm8c72scgmh4ciq4fl";
};

patches = [ ./fix-localedir.diff ];

nativeBuildInputs = [
desktop-file-utils
docbook_xml_dtd_42
@@ -30,7 +28,6 @@ stdenv.mkDerivation rec {

makeFlags = [
"prefix=${placeholder "out"}"
"GTK=3"
"CC=cc"
"CXX=c++"
"CFLAGS=-DENABLE_NLS"
@@ -60,7 +57,7 @@ stdenv.mkDerivation rec {
'';

license = licenses.gpl2Plus;
homepage = "https://github.com/dfandrich/gpscorrelate";
homepage = "https://dfandrich.github.io/gpscorrelate/";
platforms = platforms.linux;
maintainers = with maintainers; [ sikmir ];
};
27 changes: 0 additions & 27 deletions pkgs/applications/misc/gpscorrelate/fix-localedir.diff

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, makeWrapper, jre_headless }:
{ stdenv, lib, fetchurl, makeWrapper, jre_headless, libmatthew_java, dbus, dbus_java }:

stdenv.mkDerivation rec {
pname = "signal-cli";
@@ -10,16 +10,24 @@ stdenv.mkDerivation rec {
sha256 = "1gvdifscyxmxn2dwlkqi684ahy5kbcj84mqda0m8l4aa8iaq1d59";
};

buildInputs = [ makeWrapper ];
buildInputs = lib.optional stdenv.isLinux [ libmatthew_java dbus dbus_java ];
nativeBuildInputs = [ makeWrapper ];

installPhase = ''
mkdir -p $out/bin
cp -r lib $out/lib
cp bin/signal-cli $out/bin/signal-cli
'' + (if stdenv.isLinux then ''
makeWrapper ${jre_headless}/bin/java $out/bin/signal-cli \
--set JAVA_HOME "${jre_headless}" \
--add-flags "-classpath '$out/lib/*:${libmatthew_java}/lib/jni'" \
--add-flags "-Djava.library.path=${libmatthew_java}/lib/jni:${dbus_java}/share/java/dbus:$out/lib" \
--add-flags "org.asamk.signal.Main"
'' else ''
wrapProgram $out/bin/signal-cli \
--prefix PATH : ${lib.makeBinPath [ jre_headless ]} \
--set JAVA_HOME ${jre_headless}
'';
'');

# Execution in the macOS (10.13) sandbox fails with
# dyld: Library not loaded: /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
@@ -29,6 +37,7 @@ stdenv.mkDerivation rec {
# /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa: file system sandbox blocked stat()
# /nix/store/in41dz8byyyz4c0w132l7mqi43liv4yr-stdenv-darwin/setup: line 1310: 2231 Abort trap: 6 signal-cli --version
doInstallCheck = stdenv.isLinux;

installCheckPhase = ''
export PATH=$PATH:$out/bin
# --help returns non-0 exit code even when working
@@ -39,7 +48,7 @@ stdenv.mkDerivation rec {
homepage = https://github.com/AsamK/signal-cli;
description = "Command-line and dbus interface for communicating with the Signal messaging service";
license = licenses.gpl3;
maintainers = with maintainers; [ ivan ];
maintainers = with maintainers; [ ivan erictapen ];
platforms = platforms.all;
};
}
6 changes: 4 additions & 2 deletions pkgs/development/interpreters/elixir/1.9.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{ mkDerivation }:

# How to obtain `sha256`:
# nix-prefetch-url --unpack https://github.com/elixir-lang/elixir/archive/v${version}.tar.gz
mkDerivation {
version = "1.9.2";
sha256 = "19yn6nx6r627f5zbyc7ckgr96d6b45sgwx95n2gp2imqwqvpj8wc";
version = "1.9.4";
sha256 = "1l4318g35y4h0vi2w07ayc3jizw1xc3s7hdb47w6j3iw33y06g6b";
minimumOTPVersion = "20";
}
6 changes: 4 additions & 2 deletions pkgs/development/interpreters/erlang/R22.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{ mkDerivation }:

# How to obtain `sha256`:
# nix-prefetch-url --unpack https://github.com/erlang/otp/archive/OTP-${version}.tar.gz
mkDerivation {
version = "22.0.4";
sha256 = "1aqkhd6nwdn4xp5yz02zbymd4x8ij8fjw9ji8kh860n1a513k9ai";
version = "22.1.7";
sha256 = "18aqy2s8nqd82v4lzzxknrwjva8mv1y2hvai9cakz5nkyd3vwq62";

prePatch = ''
substituteInPlace make/configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
4 changes: 2 additions & 2 deletions pkgs/development/libraries/ffmpeg/2.8.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ callPackage, ... } @ args:

callPackage ./generic.nix (args // rec {
callPackage ./generic.nix (rec {
version = "${branch}.14";
branch = "2.8";
sha256 = "1g6x3lyjl1zlfksizj1ys61kj97yg0xf4dlr6sr5acpbja3a26yn";
})
} // args)
4 changes: 2 additions & 2 deletions pkgs/development/libraries/ffmpeg/3.4.nix
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@
, ...
}@args:

callPackage ./generic.nix (args // rec {
callPackage ./generic.nix (rec {
version = branch;
branch = "3.4.6";
sha256 = "1s20wzgxxrm56gckyb8cf1lh36hdnkdxvmmnnvdxvia4zb3grf1b";
darwinFrameworks = [ Cocoa CoreMedia ];
})
} // args)
4 changes: 2 additions & 2 deletions pkgs/development/libraries/ffmpeg/4.nix
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@
, ...
}@args:

callPackage ./generic.nix (args // rec {
callPackage ./generic.nix (rec {
version = "4.2.1";
branch = "4.2";
sha256 = "090naa6rj46pzkgh03bf51hbqdz356qqckr2pw6pykc6ysiryak8";
darwinFrameworks = [ Cocoa CoreMedia VideoToolbox ];
})
} // args)
15 changes: 7 additions & 8 deletions pkgs/development/libraries/science/biology/elastix/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{ stdenv, fetchurl, cmake, itk, python }:
{ stdenv, fetchFromGitHub, cmake, itk, python }:

stdenv.mkDerivation rec {
pname = "elastix";
pversion = "4.9.0";
name = "${pname}-${pversion}";
version = "5.0.0";

src = fetchurl {
url = "https://github.com/SuperElastix/${pname}/archive/${pversion}.tar.gz";
sha256 = "02pbln36nq98xxfyqwlxg7b6gmigdq4fgfqr9mym1qn58aj04shg";
src = fetchFromGitHub {
owner = "SuperElastix";
repo = pname;
rev = version;
sha256 = "1zrl7rz4lwsx88b2shnl985f3a97lmp4ksbd437h9y0hfjq8l0lj";
};

nativeBuildInputs = [ cmake python ];
buildInputs = [ itk ];

@@ -19,6 +19,5 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.linux;
license = licenses.asl20;
broken = true;
};
}
19 changes: 15 additions & 4 deletions pkgs/development/python-modules/cliff/default.nix
Original file line number Diff line number Diff line change
@@ -9,6 +9,10 @@
, pyyaml
, unicodecsv
, cmd2
, pytest
, mock
, testtools
, fixtures
}:

buildPythonPackage rec {
@@ -31,10 +35,17 @@ buildPythonPackage rec {
unicodecsv
];

# test dependencies are complex
# and would require about 20 packages
# to be added
doCheck = false;
# remove version constraints
postPatch = ''
sed -i '/cmd2/c\cmd2' requirements.txt
'';

checkInputs = [ fixtures mock pytest testtools ];
# add some tests
checkPhase = ''
pytest cliff/tests/test_{utils,app,command,help,lister}.py \
-k 'not interactive_mode'
'';

meta = with lib; {
description = "Command Line Interface Formulation Framework";
9 changes: 5 additions & 4 deletions pkgs/development/python-modules/wrf-python/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{lib, fetchFromGitHub, pythonOlder, buildPythonPackage, gfortran, mock, xarray, wrapt, numpy, netcdf4}:
{lib, fetchFromGitHub, pythonOlder, buildPythonPackage, gfortran, mock, xarray, wrapt, numpy, netcdf4, setuptools}:

buildPythonPackage rec {
pname = "wrf-python";
version = "1.3.1.1";
version = "1.3.2";

src = fetchFromGitHub {
owner = "NCAR";
repo = "wrf-python";
rev = version;
sha256 = "12mm7x1r5md6x28vmwyh6k655pgsv6knj8ycmjbxxk8bk7qsj74h";
sha256 = "1rklkki54z5392cpwwy78bnmsy2ghc187l3j7nv0rzn6jk5bvyi7";
};

propagatedBuildInputs = [
wrapt
numpy
setuptools
xarray
];

@@ -39,4 +40,4 @@ buildPythonPackage rec {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ mhaselsteiner ];
};
}
}