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: c86b0320f9b2
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: c95664665d15
Choose a head ref
  • 7 commits
  • 7 files changed
  • 4 contributors

Commits on Nov 17, 2019

  1. Copy the full SHA
    4511a32 View commit details

Commits on Nov 18, 2019

  1. treewide: include missing package names in deprecation/removal messages

    Most deprecation/removal messages already do this, but these were
    missing.
    
    Now the user does not have to `--enable-trace` and parse the quite long
    trace just to find the package name.
    bjornfor committed Nov 18, 2019
    Copy the full SHA
    41832d9 View commit details
  2. treewide: improve more deprecation/removal messages

    I missed these in 41832d9 ("treewide: include missing package names
    in deprecation/removal messages").
    
    I changed "deprecated" to "removed" where needed.
    bjornfor committed Nov 18, 2019
    Copy the full SHA
    204bce4 View commit details
  3. home-manager: 2019-10-29 -> 2019-11-17

    The lorri module was recently added.
    timokau committed Nov 18, 2019
    Copy the full SHA
    bee1fa9 View commit details
  4. Merge pull request #73611 from timokau/home-manager-2019-11-17

    home-manager: 2019-10-29 -> 2019-11-17
    timokau authored Nov 18, 2019
    Copy the full SHA
    c0a56ee View commit details
  5. Merge pull request #73582 from markuskowa/upd-slurm

    slurm: 19.05.3.2 -> 19.05.4.1
    markuskowa authored Nov 18, 2019
    Copy the full SHA
    2a7f05f View commit details
  6. Copy the full SHA
    c956646 View commit details
17 changes: 17 additions & 0 deletions pkgs/applications/video/obs-studio/hardcode-ndi-path.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/src/obs-ndi.cpp b/src/obs-ndi.cpp
index 493831c..7b0f8db 100644
--- a/src/obs-ndi.cpp
+++ b/src/obs-ndi.cpp
@@ -197,11 +197,7 @@ const char* obs_module_description()
const NDIlib_v4* load_ndilib()
{
QStringList locations;
- locations << QString(qgetenv(NDILIB_REDIST_FOLDER));
-#if defined(__linux__) || defined(__APPLE__)
- locations << "/usr/lib";
- locations << "/usr/local/lib";
-#endif
+ locations << "@NDI@/lib";

for (QString path : locations) {
blog(LOG_INFO, "Trying '%s'", path.toUtf8().constData());
14 changes: 8 additions & 6 deletions pkgs/applications/video/obs-studio/obs-ndi.nix
Original file line number Diff line number Diff line change
@@ -2,26 +2,28 @@
# somewhat manually install this:

# nix-env -f "<nixpkgs>" -iA obs-ndi
# mkdir -p ~/.config/obs-studio/plugins
# ln -s ~/.nix-profile/share/obs/obs-plugins/obs-ndi ~/.config/obs-studio/plugins/
# mkdir -p ~/.config/obs-studio/plugins/bin
# ln -s ~/.nix-profile/lib/obs-plugins/obs-ndi.so ~/.config/obs-studio/plugins/bin/

{ stdenv, fetchFromGitHub, obs-studio, cmake, qt5 }:
{ stdenv, fetchFromGitHub, obs-studio, cmake, qt5, ndi }:

stdenv.mkDerivation rec {
pname = "obs-ndi";
version = "4.7.1";

nativeBuildInputs = [ cmake ];
buildInputs = [ obs-studio qt5.qtbase ndi ];

src = fetchFromGitHub {
owner = "Palakis";
repo = "obs-ndi";
rev = version;
sha256 = "040fkbf3f3qgqcrd3072y3zrjb4fwga8zr10jym744xd7bgyylqh";
};

patches = [ ./fix-search-path.patch ];
patches = [ ./fix-search-path.patch ./hardcode-ndi-path.patch ];

nativeBuildInputs = [ cmake ];
buildInputs = [ obs-studio qt5.qtbase ];
postPatch = "sed -i -e s,@NDI@,${ndi},g src/obs-ndi.cpp";

cmakeFlags = [
"-DLIBOBS_INCLUDE_DIR=${obs-studio}/include/obs"
8 changes: 4 additions & 4 deletions pkgs/desktops/gnome-3/default.nix
Original file line number Diff line number Diff line change
@@ -349,11 +349,11 @@ lib.makeScope pkgs.newScope (self: with self; {
pidgin-im-gnome-shell-extension = pkgs.gnomeExtensions.pidgin-im-integration; # added 2019-08-01

# added 2019-08-25
corePackages = throw "deprecated 2019-08-25: please use `services.gnome3.core-shell.enable`";
optionalPackages = throw "deprecated 2019-08-25: please use `services.gnome3.core-utilities.enable`";
gamesPackages = throw "deprecated 2019-08-25: please use `services.gnome3.games.enable`";
corePackages = throw "gnome3.corePackages is removed since 2019-08-25: please use `services.gnome3.core-shell.enable`";
optionalPackages = throw "gnome3.optionalPackages is removed since 2019-08-25: please use `services.gnome3.core-utilities.enable`";
gamesPackages = throw "gnome3.gamesPackages is removed since 2019-08-25: please use `services.gnome3.games.enable`";

nautilus-sendto = throw "deprecated 2019-09-17: abandoned";
nautilus-sendto = throw "nautilus-sendto is removed since 2019-09-17: abandoned upstream";

inherit (pkgs) vala; # added 2019-10-10

60 changes: 60 additions & 0 deletions pkgs/development/libraries/ndi/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{ stdenv, requireFile, avahi }:

stdenv.mkDerivation rec {
pname = "ndi";
version = "4";

src = requireFile rec {
name = "InstallNDISDK_v${version}_Linux.tar.gz";
sha256 = "1hac5npyg8nifs9ipj34pkn0zjyx8774x3i3h8znhmijx2j2982p";
message = ''
In order to use the NDI SDK, you need to comply with NewTek's license and
download the Linux version ${version} tarball from:
${meta.homepage}
Once you have downloaded the file, please use the following command and
re-run the installation:
nix-prefetch-url file://\$PWD/${name}
'';
};

buildInputs = [ avahi ];

unpackPhase = ''
unpackFile ${src}
echo y | ./InstallNDISDK_v4_Linux.sh
sourceRoot="NDI SDK for Linux";
'';

installPhase = ''
mkdir $out
mv bin/x86_64-linux-gnu $out/bin
for i in $out/bin/*; do
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$i"
done
patchelf --set-rpath "${avahi}/lib:${stdenv.cc.libc}/lib" $out/bin/ndi-record
mv lib/x86_64-linux-gnu $out/lib
for i in $out/lib/*; do
if [ -L "$i" ]; then continue; fi
patchelf --set-rpath "${avahi}/lib:${stdenv.cc.libc}/lib" "$i"
done
mv include examples $out/
mkdir -p $out/share/doc/${pname}-${version}
mv licenses $out/share/doc/${pname}-${version}/licenses
mv logos $out/share/doc/${pname}-${version}/logos
mv documentation/* $out/share/doc/${pname}-${version}/
'';

# Stripping breaks ndi-record.
dontStrip = true;

meta = with stdenv.lib; {
homepage = "https://ndi.tv/sdk/";
description = "NDI Software Developer Kit";
platforms = ["x86_64-linux"];
hydraPlatforms = [];
license = licenses.unfree;
};
}
4 changes: 2 additions & 2 deletions pkgs/servers/computing/slurm/default.nix
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

stdenv.mkDerivation rec {
pname = "slurm";
version = "19.05.3.2";
version = "19.05.4.1";

# N.B. We use github release tags instead of https://www.schedmd.com/downloads.php
# because the latter does not keep older releases.
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
repo = "slurm";
# The release tags use - instead of .
rev = "${pname}-${builtins.replaceStrings ["."] ["-"] version}";
sha256 = "1ds4dvwswyx9rjcmcwz2fm2zi3q4gcc2n0fxxihl31i5i6wg1kv0";
sha256 = "07ydjda2dl9casz8hh91jlxdyc67mj4af1l2gq3gkzi4397azzz6";
};

outputs = [ "out" "dev" ];
6 changes: 3 additions & 3 deletions pkgs/tools/package-management/home-manager/default.nix
Original file line number Diff line number Diff line change
@@ -6,13 +6,13 @@
stdenv.mkDerivation rec {

pname = "home-manager";
version = "2019-10-29";
version = "2019-11-17";

src = fetchFromGitHub {
owner = "rycee";
repo = "home-manager";
rev = "450571056552c9311fcb2894328696b535265593";
sha256 = "1rlv234m0bqj9x2y9wnl8z3yq8mixzq8332nqlb8fw9k8mazis6s";
rev = "286dd9b3088298e5a4625b517f8e72b1c62e4f74";
sha256 = "0p3ba287h9a7mpj8chdgvz5qryc15qxdis3fdmv9jvl0hwsr738d";
};

nativeBuildInputs = [ makeWrapper ];
8 changes: 5 additions & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -13181,6 +13181,8 @@ in
then null
else callPackage ../development/libraries/ncurses { };

ndi = callPackage ../development/libraries/ndi { };

neardal = callPackage ../development/libraries/neardal { };

neon = callPackage ../development/libraries/neon { };
@@ -18809,7 +18811,7 @@ in
wireshark-qt = wireshark;

# The GTK UI is deprecated by upstream. You probably want the QT version.
wireshark-gtk = throw "Not supported anymore. Use wireshark-qt or wireshark-cli instead.";
wireshark-gtk = throw "wireshark-gtk is not supported anymore. Use wireshark-qt or wireshark-cli instead.";
wireshark-cli = wireshark.override { withQt = false; };

sngrep = callPackage ../applications/networking/sniffers/sngrep {};
@@ -23338,8 +23340,8 @@ in
topicons-plus = callPackage ../desktops/gnome-3/extensions/topicons-plus { };
window-corner-preview = callPackage ../desktops/gnome-3/extensions/window-corner-preview { };

nohotcorner = throw "removed 2019-10-09: Since 3.34, it is a part of GNOME Shell configurable through GNOME Tweaks.";
mediaplayer = throw "deprecated 2019-09-23: retired upstream https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer/blob/master/README.md";
nohotcorner = throw "gnomeExtensions.nohotcorner removed since 2019-10-09: Since 3.34, it is a part of GNOME Shell configurable through GNOME Tweaks.";
mediaplayer = throw "gnomeExtensions.mediaplayer deprecated since 2019-09-23: retired upstream https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer/blob/master/README.md";
};

hsetroot = callPackage ../tools/X11/hsetroot { };