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: bfdb43f1c37e
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: 6d923b36cda5
Choose a head ref

Commits on Apr 11, 2020

  1. Copy the full SHA
    7b6ebea View commit details

Commits on May 18, 2020

  1. Copy the full SHA
    6cf4bed View commit details

Commits on May 23, 2020

  1. mpv: Move all wrappings to a single wrapper Nix function

    Inspired by `wrapNeovim`, write a wrapMpv Nix function that creates a
    derivation that has all of the environment that was added if needed at
    the unwrapped version.
    
    Add derivations to all-packages.nix in an almost compatible way and make
    `mpv-with-scripts` throw a message implying to switch to `wrapMpv` which
    has an incompatible signature.
    
    Add to vapoursynth a new passthru attribute `python3` that is used in
    passed down to the wrapper to ensure ABI compatibility with
    `PYTHONPATH`.
    doronbehar committed May 23, 2020
    Copy the full SHA
    f93918b View commit details

Commits on May 24, 2020

  1. rakudo: 2020.05 -> 2020.05.1

    r-ryantm committed May 24, 2020
    Copy the full SHA
    926e43c View commit details
  2. superTux: 0.6.1.1 -> 0.6.2

    r-ryantm committed May 24, 2020
    Copy the full SHA
    ff873c3 View commit details

Commits on May 25, 2020

  1. Copy the full SHA
    a60a040 View commit details
  2. signal-cli: 0.6.7 -> 0.6.8

    r-ryantm committed May 25, 2020
    Copy the full SHA
    39da9b7 View commit details
  3. uhubctl: 2.1.0 -> 2.2.0

    r-ryantm committed May 25, 2020
    Copy the full SHA
    a0ca71d View commit details
  4. calls: 0.1.4 -> 0.1.5

    r-ryantm committed May 25, 2020
    Copy the full SHA
    f430669 View commit details
  5. Copy the full SHA
    3b9ebb8 View commit details
  6. Copy the full SHA
    8208f85 View commit details
  7. Merge pull request #88844 from r-ryantm/auto-update/picard-tools

    picard-tools: 2.22.7 -> 2.22.8
    ryantm authored May 25, 2020
    Copy the full SHA
    8589818 View commit details
  8. Merge pull request #88774 from r-ryantm/auto-update/supertux

    superTux: 0.6.1.1 -> 0.6.2
    ryantm authored May 25, 2020
    Copy the full SHA
    ff19714 View commit details
  9. Merge pull request #88857 from r-ryantm/auto-update/uhubctl

    uhubctl: 2.1.0 -> 2.2.0
    ryantm authored May 25, 2020
    Copy the full SHA
    630b4de View commit details
  10. Copy the full SHA
    f8ac611 View commit details
  11. Merge pull request #88849 from r-ryantm/auto-update/signal-cli

    signal-cli: 0.6.7 -> 0.6.8
    ryantm authored May 25, 2020
    Copy the full SHA
    1af2ab7 View commit details
  12. Merge pull request #88869 from marsam/update-git-absorb

    gitAndTools.git-absorb: 0.6.0 -> 0.6.2
    marsam authored May 25, 2020
    Copy the full SHA
    2866715 View commit details
  13. _1password: do not strip binary on darwin(OSX) (#88091)

    Stripping the binary on OSX causes op(1password) to fail immediately.
    Setting dontStrip = true; fixes the issue.
    Additionally, adding a very simple installCheck section for testing
    purposes.
    
    Co-authored-by: Corban Raun <craun@instructure.com>
    CorbanR and Corban Raun authored May 25, 2020
    Copy the full SHA
    c640f7e View commit details
  14. Merge pull request #88620 from doronbehar/wrapMpv

    mpv: Move all wrapping logic to a single wrapper function
    AndersonTorres authored May 25, 2020
    Copy the full SHA
    c51d8d6 View commit details
  15. Merge pull request #80610 from xavierzwirtz/azuredatastudio

    azuredatastudio: init at 1.17.1
    timokau authored May 25, 2020
    Copy the full SHA
    9da092d View commit details
  16. Merge pull request #88761 from r-ryantm/auto-update/rakudo

    rakudo: 2020.05 -> 2020.05.1
    ryantm authored May 25, 2020
    Copy the full SHA
    f1d9510 View commit details
  17. earlyoom: patch absolute dbus path and make nixos module up to date (…

    …#88443)
    
    * earlyoom: patch absolute path of dbus-send
    
    * nixos/earlyoom: replace `notificationsCommand` with `enableNotification`
    
    * nixos/earlyoom: setup `systembus-notify` when `enableNotification`
    oxalica authored May 25, 2020
    Copy the full SHA
    fe3e52c View commit details
  18. tdesktop: 2.1.6 -> 2.1.7

    primeos committed May 25, 2020
    Copy the full SHA
    6d923b3 View commit details
23 changes: 19 additions & 4 deletions nixos/modules/services/system/earlyoom.nix
Original file line number Diff line number Diff line change
@@ -67,9 +67,19 @@ in
notificationsCommand = mkOption {
type = types.nullOr types.str;
default = null;
example = "sudo -u example_user DISPLAY=:0 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus notify-send";
description = ''
Command used to send notifications.
This option is deprecated and ignored by earlyoom since 1.6.
Use <option>services.earlyoom.enableNotifications</option> instead.
'';
};

enableNotifications = mkOption {
type = types.bool;
default = false;
description = ''
Send notifications about killed processes via the system d-bus.
To actually see the notifications in your GUI session, you need to have
<literal>systembus-notify</literal> running as your user.
See <link xlink:href="https://github.com/rfjakob/earlyoom#notifications">README</link> for details.
'';
@@ -87,9 +97,13 @@ in
message = "Both options in conjunction do not make sense"; }
];

warnings = optional (ecfg.notificationsCommand != null)
"`services.earlyoom.notificationsCommand` is deprecated and ignored by earlyoom since 1.6.";

systemd.services.earlyoom = {
description = "Early OOM Daemon for Linux";
wantedBy = [ "multi-user.target" ];
path = optional ecfg.enableNotifications pkgs.dbus;
serviceConfig = {
StandardOutput = "null";
StandardError = "syslog";
@@ -100,10 +114,11 @@ in
${optionalString ecfg.useKernelOOMKiller "-k"} \
${optionalString ecfg.ignoreOOMScoreAdjust "-i"} \
${optionalString ecfg.enableDebugInfo "-d"} \
${optionalString (ecfg.notificationsCommand != null)
"-N ${escapeShellArg ecfg.notificationsCommand}"}
${optionalString ecfg.enableNotifications "-n"}
'';
};
};

environment.systemPackages = optional ecfg.enableNotifications pkgs.systembus-notify;
};
}
8 changes: 8 additions & 0 deletions pkgs/applications/misc/1password/default.nix
Original file line number Diff line number Diff line change
@@ -34,8 +34,16 @@ stdenv.mkDerivation rec {
install -D op $out/bin/op
'';

dontStrip = stdenv.isDarwin;

nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ autoPatchelfHook ];

doInstallCheck = true;

installCheckPhase = ''
$out/bin/op --version
'';

meta = with stdenv.lib; {
description = "1Password command-line tool";
homepage = "https://support.1password.com/command-line/";
115 changes: 115 additions & 0 deletions pkgs/applications/misc/azuredatastudio/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
{ stdenv
, lib
, fetchurl
, makeWrapper
, libuuid
, libunwind
, icu
, openssl
, zlib
, curl
, at-spi2-core
, at-spi2-atk
, gnutar
, atomEnv
, kerberos
}:

# from justinwoo/azuredatastudio-nix
# https://github.com/justinwoo/azuredatastudio-nix/blob/537c48aa3981cd1a82d5d6e508ab7e7393b3d7c8/default.nix

stdenv.mkDerivation rec {

pname = "azuredatastudio";
version = "1.17.1";

src = fetchurl {
url = "https://azuredatastudiobuilds.blob.core.windows.net/releases/${version}/azuredatastudio-linux-${version}.tar.gz";
sha256 = "0px9n9vyjvyddca4x7d0zindd0dim7350vkjg5dd0506fm8dc38k";
};

nativeBuildInputs = [
makeWrapper
];

buildInputs = [
libuuid
at-spi2-core
at-spi2-atk
];

phases = "unpackPhase fixupPhase";

# change this to azuredatastudio-insiders for insiders releases
edition = "azuredatastudio";
targetPath = "$out/${edition}";

unpackPhase = ''
mkdir -p ${targetPath}
${gnutar}/bin/tar xf $src --strip 1 -C ${targetPath}
'';

sqltoolsserviceRpath = stdenv.lib.makeLibraryPath [
stdenv.cc.cc
libunwind
libuuid
icu
openssl
zlib
curl
];

# this will most likely need to be updated when azuredatastudio's version changes
sqltoolsservicePath = "${targetPath}/resources/app/extensions/mssql/sqltoolsservice/Linux/2.0.0-release.56";

rpath = stdenv.lib.concatStringsSep ":" [
atomEnv.libPath
(
stdenv.lib.makeLibraryPath [
libuuid
at-spi2-core
at-spi2-atk
stdenv.cc.cc.lib
kerberos
]
)
targetPath
sqltoolsserviceRpath
];

fixupPhase = ''
fix_sqltoolsservice()
{
mv ${sqltoolsservicePath}/$1 ${sqltoolsservicePath}/$1_old
patchelf \
--set-interpreter "${stdenv.cc.bintools.dynamicLinker}" \
${sqltoolsservicePath}/$1_old
makeWrapper \
${sqltoolsservicePath}/$1_old \
${sqltoolsservicePath}/$1 \
--set LD_LIBRARY_PATH ${sqltoolsserviceRpath}
}
fix_sqltoolsservice MicrosoftSqlToolsServiceLayer
fix_sqltoolsservice MicrosoftSqlToolsCredentials
fix_sqltoolsservice SqlToolsResourceProviderService
patchelf \
--set-interpreter "${stdenv.cc.bintools.dynamicLinker}" \
${targetPath}/${edition}
mkdir -p $out/bin
makeWrapper \
${targetPath}/bin/${edition} \
$out/bin/azuredatastudio \
--set LD_LIBRARY_PATH ${rpath}
'';

meta = {
maintainers = with stdenv.lib.maintainers; [ xavierzwirtz ];
description = "A data management tool that enables working with SQL Server, Azure SQL DB and SQL DW";
homepage = "https://docs.microsoft.com/en-us/sql/azure-data-studio/download-azure-data-studio";
license = lib.licenses.unfreeRedistributable;
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/networking/calls/default.nix
Original file line number Diff line number Diff line change
@@ -22,14 +22,14 @@

stdenv.mkDerivation rec {
pname = "calls";
version = "0.1.4";
version = "0.1.5";

src = fetchFromGitLab {
domain = "source.puri.sm";
owner = "Librem5";
repo = "calls";
rev = "v${version}";
sha256 = "0715cap3w8gppxlfaynhiqvc2ss512xgykjcpqq8f5syz2776skh";
sha256 = "1wqkczl1fn4d2py00fsb6kh05avmc7c49gi49j3592fqsvi87j18";
};

nativeBuildInputs = [
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@

stdenv.mkDerivation rec {
pname = "signal-cli";
version = "0.6.7";
version = "0.6.8";

# Building from source would be preferred, but is much more involved.
src = fetchurl {
url = "https://github.com/AsamK/signal-cli/releases/download/v${version}/signal-cli-${version}.tar.gz";
sha256 = "13wz2c0n89aglqjfqlma1z4jr5xnp2qlg8cqng3v9axpkkynk996";
sha256 = "0gcyj8r7156zn5zzfnabf0mw3kcaq7v29vsjb6mdvj8cjjm05dvd";
};

buildInputs = lib.optionals stdenv.isLinux [ libmatthew_java dbus dbus_java ];
Original file line number Diff line number Diff line change
@@ -19,12 +19,12 @@ with lib;

mkDerivation rec {
pname = "telegram-desktop";
version = "2.1.6";
version = "2.1.7";

# Telegram-Desktop with submodules
src = fetchurl {
url = "https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz";
sha256 = "136c27pfipy9ikwm44nqxx9lqwq8qsfcs591qr8ac05ncgkh001v";
sha256 = "0qnabi1g760y5wf4k9vnh78y0kwmni2wxr59rqr0lq3x39zv0i69";
};

postPatch = ''
4 changes: 2 additions & 2 deletions pkgs/applications/science/biology/picard-tools/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "picard-tools";
version = "2.22.7";
version = "2.22.8";

src = fetchurl {
url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar";
sha256 = "09q66lhjnprkw8azavwzwv9dlhr9b4x0dbz6fym0i2wbhylqp4w6";
sha256 = "0g387jlf7r1p2kx8gya3vxksbjy3y2ywxa7yjqmxg3y8725fyixl";
};

nativeBuildInputs = [ makeWrapper ];
Original file line number Diff line number Diff line change
@@ -2,20 +2,20 @@

rustPlatform.buildRustPackage rec {
pname = "git-absorb";
version = "0.6.0";
version = "0.6.2";

src = fetchFromGitHub {
owner = "tummychow";
repo = pname;
rev = "refs/tags/${version}";
sha256 = "1da6h9hf98dnnqw9jpnj1x2gr7psmsa8219gpamylfg1ifk28rkr";
sha256 = "1xjs5yjb0wj0nf3k3mpgh3hm16544gq7954k1y2r5lwammp0fsxk";
};

nativeBuildInputs = [ installShellFiles ];

buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];

cargoSha256 = "1ba43m5ndyj4hwwfyg0c2hwv3ad7kzhrr7cvymsgaj2dxl7bif4w";
cargoSha256 = "194ic3f60gpx35rs665vrnjsc3047f0msx1qp797xsz6pg0jx1zq";

postInstall = ''
installManPage Documentation/git-absorb.1
41 changes: 17 additions & 24 deletions pkgs/applications/video/mpv/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, stdenv, fetchurl, fetchFromGitHub, makeWrapper, fetchpatch
{ config, stdenv, fetchurl, fetchFromGitHub, fetchpatch
, addOpenGLRunpath, docutils, perl, pkgconfig, python3, wafHook, which
, ffmpeg_4, freefont_ttf, freetype, libass, libpthreadstubs, mujs
, nv-codec-headers, lua, libuchardet, libiconv ? null
@@ -50,7 +50,6 @@
, vdpauSupport ? true, libvdpau ? null
, xineramaSupport ? stdenv.isLinux, libXinerama ? null
, xvSupport ? stdenv.isLinux, libXv ? null
, youtubeSupport ? true, youtube-dl ? null
, zimgSupport ? true, zimg ? null
, archiveSupport ? true, libarchive ? null
, jackaudioSupport ? false, libjack2 ? null
@@ -91,7 +90,6 @@ assert waylandSupport -> all available [ wayland wayland-protocols libxkbcom
assert x11Support -> all available [ libGLU libGL libX11 libXext libXxf86vm libXrandr ];
assert xineramaSupport -> x11Support && available libXinerama;
assert xvSupport -> x11Support && available libXv;
assert youtubeSupport -> available youtube-dl;
assert zimgSupport -> available zimg;

let
@@ -112,6 +110,20 @@ in stdenv.mkDerivation rec {
patchShebangs ./TOOLS/
'';

passthru = {
inherit
# The wrapper consults luaEnv and lua.version
luaEnv
lua
# In the wrapper, we want to reference vapoursynth which has the
# `python3` passthru attribute (which has the `sitePrefix`
# attribute). This way we'll be sure that in the wrapper we'll
# use the same python3.sitePrefix used to build vapoursynth.
vapoursynthSupport
vapoursynth
;
};

NIX_LDFLAGS = optionalString x11Support "-lX11 -lXext "
+ optionalString stdenv.isDarwin "-framework CoreFoundation";

@@ -135,7 +147,7 @@ in stdenv.mkDerivation rec {
++ stdenv.lib.optional (!swiftSupport) "--disable-macos-cocoa-cb";

nativeBuildInputs = [
addOpenGLRunpath docutils makeWrapper perl pkgconfig python3 wafHook which
addOpenGLRunpath docutils perl pkgconfig python3 wafHook which
]
++ optional swiftSupport swift;

@@ -164,7 +176,6 @@ in stdenv.mkDerivation rec {
++ optional vdpauSupport libvdpau
++ optional xineramaSupport libXinerama
++ optional xvSupport libXv
++ optional youtubeSupport youtube-dl
++ optional zimgSupport zimg
++ optional stdenv.isDarwin libiconv
++ optional stdenv.isLinux nv-codec-headers
@@ -182,17 +193,6 @@ in stdenv.mkDerivation rec {
python3 TOOLS/osxbundle.py -s build/mpv
'';

# Ensure youtube-dl is available in $PATH for mpv
wrapperFlags =
''--prefix LUA_CPATH ';' "${luaEnv}/lib/lua/${lua.luaversion}/?.so" \'' +
''--prefix LUA_PATH ';' "${luaEnv}/share/lua/${lua.luaversion}/?.lua" \'' +
''--prefix PATH : "${luaEnv}/bin" \''
+ optionalString youtubeSupport ''
--prefix PATH : "${youtube-dl}/bin" \
'' + optionalString vapoursynthSupport ''
--prefix PYTHONPATH : "${vapoursynth}/lib/${python3.libPrefix}/site-packages:$PYTHONPATH"
'';

patches = stdenv.lib.optionals stdenv.isDarwin [
# Fix cocoa backend. Remove with the next release
(fetchpatch {
@@ -205,24 +205,17 @@ in stdenv.mkDerivation rec {
# Use a standard font
mkdir -p $out/share/mpv
ln -s ${freefont_ttf}/share/fonts/truetype/FreeSans.ttf $out/share/mpv/subfont.ttf
wrapProgram "$out/bin/mpv" \
${wrapperFlags}
cp TOOLS/umpv $out/bin
wrapProgram $out/bin/umpv \
--set MPV "$out/bin/mpv"
'' + optionalString stdenv.isDarwin ''
mkdir -p $out/Applications
cp -r build/mpv.app $out/Applications
wrapProgram "$out/Applications/mpv.app/Contents/MacOS/mpv" \
${wrapperFlags}
'';

# Set RUNPATH so that libcuda in /run/opengl-driver(-32)/lib can be found.
# See the explanation in addOpenGLRunpath.
postFixup = optionalString stdenv.isLinux ''
addOpenGLRunpath $out/bin/.mpv-wrapped
addOpenGLRunpath $out/bin/mpv
'';

meta = with stdenv.lib; {
Loading