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: dbb504440834
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: 179ab1985629
Choose a head ref
  • 10 commits
  • 36 files changed
  • 8 contributors

Commits on Jul 25, 2019

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Copy the full SHA
    f748b50 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Copy the full SHA
    cee4d96 View commit details

Commits on Jul 29, 2019

  1. polybar: 3.3.1 -> 3.4.0

    eadwu committed Jul 29, 2019

    Verified

    This commit was signed with the committer’s verified signature.
    eadwu Edmund Wu
    Copy the full SHA
    892a04d View commit details
  2. zoom-us: use wrapQtAppsHook

    tadfisher committed Jul 29, 2019

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    aefe854 View commit details
  3. Merge pull request #65573 from tadfisher/zoom-us

    zoom-us: use wrapQtAppsHook
    worldofpeace authored Jul 29, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e0b1eb0 View commit details
  4. Merge pull request #65538 from eadwu/polybar/3.4.0

    polybar: 3.3.1 -> 3.4.0
    worldofpeace authored Jul 29, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ad55361 View commit details
  5. Merge pull request #60429 from WilliButz/codimd-update

    codimd: 1.2.0 -> 1.4.0, repackage with yarn2nix
    globin authored Jul 29, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4107e20 View commit details
  6. tgt: Install systemd tgtd.service (#65565)

    * tgt: Add homepage
    
    * tgt: tgt-admin needs lsof, sg3_utils and tgtadm
    
    Otherwise it fails with return code 72057594037927935.
    
    * tgt: libxslt and docbook_xsl not needed at runtime
    
    They're only there to build the documentation.
    
    * tgt: Install systemd tgtd.service
    
    Resolves #38012
    
    * tgt: Add JohnAZoidberg as maintainer
    JohnAZoidberg authored and globin committed Jul 29, 2019
    Copy the full SHA
    2f5beae View commit details
  7. Copy the full SHA
    a1d9aca View commit details

Commits on Jul 30, 2019

  1. Copy the full SHA
    179ab19 View commit details
Showing with 32,279 additions and 20,755 deletions.
  1. +5 −4 pkgs/applications/misc/polybar/default.nix
  2. +19 −24 pkgs/applications/networking/instant-messengers/zoom-us/default.nix
  3. +1 −1 pkgs/development/libraries/libelf/default.nix
  4. +10 −0 pkgs/development/tools/yarn2nix-moretea/fetch-source.nix
  5. +40 −0 pkgs/development/tools/yarn2nix-moretea/generate.sh
  6. +674 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/LICENSE.txt
  7. +90 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/bin/yarn2nix.js
  8. +426 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix
  9. +53 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/internal/fixup_bin.js
  10. +49 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/internal/fixup_yarn_lock.js
  11. +66 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/fixPkgAddMissingSha1.js
  12. +124 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/generateNix.js
  13. +21 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/mapObjIndexedReturnArray.js
  14. +21 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/lib/urlToName.js
  15. +30 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/nix/expectShFunctions.sh
  16. +47 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/package.json
  17. +3,427 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/yarn.lock
  18. +3,813 −0 pkgs/development/tools/yarn2nix-moretea/yarn2nix/yarn.nix
  19. +0 −46 pkgs/servers/web-apps/codimd/CodeMirror/default.nix
  20. +0 −8 pkgs/servers/web-apps/codimd/CodeMirror/deps.json
  21. +0 −7 pkgs/servers/web-apps/codimd/CodeMirror/generate.sh
  22. +0 −1,481 pkgs/servers/web-apps/codimd/CodeMirror/node-packages.nix
  23. +0 −17 pkgs/servers/web-apps/codimd/CodeMirror/node.nix
  24. +59 −174 pkgs/servers/web-apps/codimd/default.nix
  25. +0 −149 pkgs/servers/web-apps/codimd/deps.json
  26. +0 −7 pkgs/servers/web-apps/codimd/generate.sh
  27. +0 −33 pkgs/servers/web-apps/codimd/js-sequence-diagrams/default.nix
  28. +0 −18,775 pkgs/servers/web-apps/codimd/node-packages.nix
  29. +0 −17 pkgs/servers/web-apps/codimd/node.nix
  30. +211 −0 pkgs/servers/web-apps/codimd/package.json
  31. +10,951 −0 pkgs/servers/web-apps/codimd/yarn.lock
  32. +12,109 −0 pkgs/servers/web-apps/codimd/yarn.nix
  33. +23 −8 pkgs/tools/networking/tgt/default.nix
  34. +1 −1 pkgs/tools/virtualization/google-compute-engine-oslogin/default.nix
  35. +0 −2 pkgs/top-level/aliases.nix
  36. +9 −1 pkgs/top-level/all-packages.nix
9 changes: 5 additions & 4 deletions pkgs/applications/misc/polybar/default.nix
Original file line number Diff line number Diff line change
@@ -26,17 +26,18 @@ assert i3GapsSupport -> ! i3Support && jsoncpp != null && i3-gaps != null;

stdenv.mkDerivation rec {
pname = "polybar";
version = "3.3.1";
version = "3.4.0";

src = fetchFromGitHub {
owner = "jaagr";
repo = pname;
rev = version;
sha256 = "0qwi6q3qkrz2ip1jd4pxlnsrs2a9ywxyf8rgvbzyilr334rsiywh";
sha256 = "1g3zj0788cdlm8inpl19279bw8zjcy7dzj7q4f1l2d8c8g1jhv0m";
fetchSubmodules = true;
};

meta = with stdenv.lib; {
homepage = "https://polybar.github.io/";
description = "A fast and easy-to-use tool for creating status bars";
longDescription = ''
Polybar aims to help users build beautiful and highly customizable
@@ -68,8 +69,8 @@ stdenv.mkDerivation rec {
];

postConfigure = ''
substituteInPlace ../include/settings.hpp --replace \
"${stdenv.cc}" "${stdenv.cc.name}"
substituteInPlace generated-sources/settings.hpp \
--replace "${stdenv.cc}" "${stdenv.cc.name}"
'';

postInstall = if (i3Support || i3GapsSupport) then ''
43 changes: 19 additions & 24 deletions pkgs/applications/networking/instant-messengers/zoom-us/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ stdenv, fetchurl, makeWrapper, makeDesktopItem, autoPatchelfHook, env
{ stdenv, fetchurl, mkDerivation, makeWrapper, makeDesktopItem, autoPatchelfHook
, wrapQtAppsHook
# Dynamic libraries
, dbus, glib, libGL, libX11, libXfixes, libuuid, libxcb, qtbase, qtdeclarative
, qtimageformats, qtlocation, qtquickcontrols, qtquickcontrols2, qtscript, qtsvg
@@ -21,23 +22,18 @@ let
};
};

qtDeps = [
qtbase qtdeclarative qtlocation qtquickcontrols qtquickcontrols2 qtscript
qtwebchannel qtwebengine qtimageformats qtsvg qttools qtwayland
];

qtEnv = env "zoom-us-qt-${qtbase.version}" qtDeps;

in stdenv.mkDerivation {
in mkDerivation {
name = "zoom-us-${version}";

src = srcs.${stdenv.hostPlatform.system};

nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
nativeBuildInputs = [ autoPatchelfHook makeWrapper wrapQtAppsHook ];

buildInputs = [
dbus glib libGL libX11 libXfixes libuuid libxcb qtEnv libjpeg_turbo
] ++ qtDeps;
dbus glib libGL libX11 libXfixes libuuid libxcb libjpeg_turbo
qtbase qtdeclarative qtlocation qtquickcontrols qtquickcontrols2 qtscript
qtwebchannel qtwebengine qtimageformats qtsvg qttools qtwayland
];

runtimeDependencies = optional pulseaudioSupport libpulseaudio;

@@ -60,20 +56,12 @@ in stdenv.mkDerivation {
in ''
runHook preInstall
packagePath=$out/share/zoom-us
mkdir -p $packagePath $out/bin
mkdir -p $out/{bin,share/zoom-us}
cp -ar ${files} $packagePath
cp -ar ${files} $out/share/zoom-us
# TODO Patch this somehow; tries to dlopen './libturbojpeg.so' from cwd
ln -s $(readlink -e "${libjpeg_turbo.out}/lib/libturbojpeg.so") $packagePath/libturbojpeg.so
ln -s ${qtEnv}/bin/qt.conf $packagePath
makeWrapper $packagePath/zoom $out/bin/zoom-us \
--prefix PATH : "${makeBinPath [ coreutils glib.dev pciutils procps qttools.dev utillinux ]}" \
--prefix LD_PRELOAD : "${libv4l}/lib/libv4l/v4l2convert.so" \
--run "cd $packagePath"
ln -s $(readlink -e "${libjpeg_turbo.out}/lib/libturbojpeg.so") $out/share/zoom-us/libturbojpeg.so
runHook postInstall
'';
@@ -86,7 +74,14 @@ in stdenv.mkDerivation {
genericName = "Video Conference";
categories = "Network;Application;";
mimeType = "x-scheme-handler/zoommtg;";
}).buildCommand;
}).buildCommand + ''
ln -s $out/share/zoom-us/zoom $out/bin/zoom-us
'';

qtWrapperArgs = [
''--prefix PATH : ${makeBinPath [ coreutils glib.dev pciutils procps qttools.dev utillinux ]}''
''--prefix LD_PRELOAD : ${libv4l}/lib/libv4l/v4l2convert.so''
];

passthru.updateScript = ./update.sh;

2 changes: 1 addition & 1 deletion pkgs/development/libraries/libelf/default.nix
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
name = "libelf-0.8.13";

src = fetchurl {
url = "http://www.mr511.de/software/${name}.tar.gz";
url = "https://fossies.org/linux/misc/old/${name}.tar.gz";
sha256 = "0vf7s9dwk2xkmhb79aigqm0x0yfbw1j0b9ksm51207qwr179n6jr";
};

10 changes: 10 additions & 0 deletions pkgs/development/tools/yarn2nix-moretea/fetch-source.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ pkgs ? (import ../../../../. {})
, fetchFromGitHub ? pkgs.fetchFromGitHub
}:

fetchFromGitHub {
owner = "moretea";
repo = "yarn2nix";
rev = "3f2dbb08724bf8841609f932bfe1d61a78277232";
sha256 = "142av7dwviapsnahgj8r6779gs2zr17achzhr8b97s0hsl08dcl2";
}
40 changes: 40 additions & 0 deletions pkgs/development/tools/yarn2nix-moretea/generate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/usr/bin/env bash

###
### This script runs 'nix-build' with ./fetch-source.nix and copies a subset
### of the resulting store path into the current working directory.
###
### To disable running chmod, you may set the environment
### variable "FIX_RIGHTS" to "no".
###

set -euo pipefail

# 'nix-build' command
NIX_BUILD_BIN="${NIX_BUILD_BIN:-"/usr/bin/env nix-build"}"

# where to place the yarn2nix source
TARGET_DIR="${TARGET_DIR:-"./yarn2nix"}"

# whether to run 'chmod -R u=rwX,g=rX,o-rwx' on copied files in $TARGET_DIR
FIX_RIGHTS="${FIX_RIGHTS:-"yes"}"

fetch_git_source() {
[[ -f ./fetch-source.nix ]] && ret="$($NIX_BUILD_BIN --no-out-link ./fetch-source.nix)" && ec="$?" || ec="$?"
if [[ "$ec" == "0" ]]; then
echo "$ret"
else
printf "error: failed at 'fetch_git_source()' with '%s'" "$ret"
fi
}

result="$(fetch_git_source)"
if [[ "$result" == "/nix/store"* ]]; then
mkdir -p "$TARGET_DIR"
cp -Rv \
"${result}/"{bin,internal,lib,nix,default.nix,package.json,yarn.nix,yarn.lock,LICENSE.txt} \
"$TARGET_DIR"
[[ "$FIX_RIGHTS" = "yes" ]] \
&& chmod -v "u=rwX,g=rX,o-rwx" -R \
"$TARGET_DIR/"{bin,internal,lib,nix,default.nix,package.json,yarn.nix,yarn.lock,LICENSE.txt}
fi
Loading