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: 43dd81b3fe86
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: a45f68ccac47
Choose a head ref
  • 11 commits
  • 6 files changed
  • 8 contributors

Commits on Jul 5, 2020

  1. Copy the full SHA
    caa21c7 View commit details

Commits on Jul 27, 2020

  1. pixz: 1.0.6 -> 1.0.7

    r-ryantm committed Jul 27, 2020
    Copy the full SHA
    257665d View commit details
  2. Copy the full SHA
    9e6fb1d View commit details

Commits on Jul 28, 2020

  1. unicorn-emulator: 1.0.1 -> 1.0.2-rc4

    Also adds tests
    kristoff3r committed Jul 28, 2020
    Copy the full SHA
    8b633d8 View commit details
  2. python: pwntools: 4.1.1 -> 4.2.1

    The previous update broke the build, this updates fixes it
    kristoff3r committed Jul 28, 2020
    Copy the full SHA
    edfcd37 View commit details

Commits on Jul 29, 2020

  1. nss: enable libpkix build

    this was enabled by default with the old build system, but requires this flag with the new one
    
    fixes ##93955
    ajs124 committed Jul 29, 2020
    Copy the full SHA
    93a3c37 View commit details

Commits on Jul 30, 2020

  1. Copy the full SHA
    16a63d0 View commit details
  2. Copy the full SHA
    4701e11 View commit details
  3. Merge pull request #94039 from tiagolobocastro/zoom_libturbojpeg

    zoom-us: use libturbojpeg from the zoom-us tar itself
    danieldk authored Jul 30, 2020
    Copy the full SHA
    8f81e35 View commit details
  4. Merge pull request #94035 from r-ryantm/auto-update/pixz

    pixz: 1.0.6 -> 1.0.7
    danieldk authored Jul 30, 2020
    Copy the full SHA
    1a347ec View commit details
  5. Merge #94188: nss: enable libpkix build

    This fixes connection issues in various packages.
    vcunat committed Jul 30, 2020
    Copy the full SHA
    a45f68c View commit details
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
, qtquickcontrols2, qtscript, qtsvg , qttools, qtwayland, qtwebchannel
, qtwebengine
# Runtime
, coreutils, libjpeg_turbo, faac, pciutils, procps, utillinux
, coreutils, faac, pciutils, procps, utillinux
, pulseaudioSupport ? true, libpulseaudio ? null
}:

@@ -40,7 +40,7 @@ in mkDerivation {
nativeBuildInputs = [ autoPatchelfHook ];

buildInputs = [
dbus glib libGL libX11 libXfixes libuuid libxcb libjpeg_turbo faac qtbase
dbus glib libGL libX11 libXfixes libuuid libxcb faac qtbase
qtdeclarative qtgraphicaleffects qtlocation qtquickcontrols qtquickcontrols2
qtscript qtwebchannel qtwebengine qtimageformats qtsvg qttools qtwayland
];
@@ -70,7 +70,7 @@ in mkDerivation {
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") $out/share/zoom-us/libturbojpeg.so
cp libturbojpeg.so $out/share/zoom-us/libturbojpeg.so
# Again, requires faac with a nonstandard filename.
ln -s $(readlink -e "${faac}/lib/libfaac.so") $out/share/zoom-us/libfaac1.so
1 change: 1 addition & 0 deletions pkgs/development/libraries/nss/default.nix
Original file line number Diff line number Diff line change
@@ -78,6 +78,7 @@ in stdenv.mkDerivation rec {
--target ${target} \
-Dhost_arch=${host} \
-Duse_system_zlib=1 \
--enable-libpkix \
${stdenv.lib.optionalString stdenv.isDarwin "--clang"} \
${stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) "--disable-tests"}
20 changes: 14 additions & 6 deletions pkgs/development/libraries/unicorn-emu/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
{ stdenv, fetchurl, pkgconfig, python }:
{ stdenv, fetchurl, pkgconfig, python, cmocka, hexdump, writeScriptBin, binutils-unwrapped }:

stdenv.mkDerivation rec {
pname = "unicorn-emulator";
version = "1.0.1";
version = "1.0.2-rc4";

src = fetchurl {
url = "https://github.com/unicorn-engine/unicorn/archive/${version}.tar.gz";
sha256 = "0z01apwmvhvdldm372ww9pjfn45awkw3m90c0h4v0nj0ihmlysis";
sha256 = "05w43jq3r97l3c8ggc745ai8m5l93p1b6q6cfp1zwzz6hl5kifiv";
};

configurePhase = '' patchShebangs make.sh '';
buildPhase = '' ./make.sh '' + stdenv.lib.optionalString stdenv.isDarwin "macos-universal-no";
installPhase = '' env PREFIX=$out ./make.sh install '';
PREFIX = placeholder "out";
MACOS_UNIVERSAL = stdenv.lib.optionalString stdenv.isDarwin "no";
NIX_CFLAGS_COMPILE = "-Wno-error";

doCheck = !stdenv.isDarwin;

checkInputs = [
cmocka
hexdump
python.pkgs.setuptools
];

nativeBuildInputs = [ pkgconfig python ];
enableParallelBuilding = true;
57 changes: 49 additions & 8 deletions pkgs/development/python-modules/pwntools/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,60 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, Mako, packaging, pysocks, pygments, ROPGadget
, capstone, paramiko, pip, psutil
, pyelftools, pyserial, dateutil
, requests, tox, unicorn, intervaltree, fetchpatch }:
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, Mako
, packaging
, pysocks
, pygments
, ROPGadget
, capstone
, paramiko
, pip
, psutil
, pyelftools
, pyserial
, dateutil
, requests
, tox
, unicorn
, intervaltree
, fetchpatch
}:

buildPythonPackage rec {
version = "4.1.1";
version = "4.2.1";
pname = "pwntools";

src = fetchPypi {
inherit pname version;
sha256 = "694ce7a6cfca0ad40eae36c1d2663c44eb953f84785c63daa9752b4dfa7f39d8";
sha256 = "1fh7sq9wrcfvn44qryln9cyg99pilvyq9bp80758lgdd6ss6hdqd";
};

propagatedBuildInputs = [ Mako packaging pysocks pygments ROPGadget capstone paramiko pip psutil pyelftools pyserial dateutil requests tox unicorn intervaltree ];
# Upstream has set an upper bound on unicorn because of https://github.com/Gallopsled/pwntools/issues/1538,
# but since that is a niche use case and it requires extra work to get unicorn 1.0.2rc3 to work we relax
# the bound here. Check if this is still necessary when updating!
postPatch = ''
sed -i 's/unicorn>=1.0.2rc1,<1.0.2rc4/unicorn>=1.0.2rc1/' setup.py
'';

propagatedBuildInputs = [
Mako
packaging
pysocks
pygments
ROPGadget
capstone
paramiko
pip
psutil
pyelftools
pyserial
dateutil
requests
tox
unicorn
intervaltree
];

doCheck = false; # no setuptools tests for the package

12 changes: 7 additions & 5 deletions pkgs/misc/vim-plugins/overrides.nix
Original file line number Diff line number Diff line change
@@ -61,16 +61,18 @@ self: super: {
};

LanguageClient-neovim = let
version = "0.1.157";
LanguageClient-neovim-src = fetchurl {
url = "https://github.com/autozimu/LanguageClient-neovim/archive/${version}.tar.gz";
sha256 = "1ccq5akkm8n612ni5g7w7v5gv73g7p1d9i92k0bnsy33fvi3pmnh";
version = "0.1.158";
LanguageClient-neovim-src = fetchFromGitHub {
owner = "autozimu";
repo = "LanguageClient-neovim";
rev = version;
sha256 = "14xggdgp5qw4yj4gdsgr8s2nxm098m88q8rx6fzd2j20njv308ki";
};
LanguageClient-neovim-bin = rustPlatform.buildRustPackage {
name = "LanguageClient-neovim-bin";
src = LanguageClient-neovim-src;

cargoSha256 = "0r3f7sixkvgfrw0j81bxj1jpam5si9dnivrw63s29cvjxrdbnmqz";
cargoSha256 = "0nin1gydf6q4mmxljm2xbd1jfl3wpzx3pvlqwspahblv9j2bf5ck";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];

# FIXME: Use impure version of CoreFoundation because of missing symbols.
4 changes: 2 additions & 2 deletions pkgs/tools/compression/pixz/default.nix
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
}:
stdenv.mkDerivation rec {
baseName = "pixz";
version = "1.0.6";
version = "1.0.7";
name = "${baseName}-${version}";

nativeBuildInputs = [ pkgconfig ];
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
owner = "vasi";
repo = baseName;
rev = "v${version}";
sha256 = "0q61wqg2yxrgd4nc7256mf7izp92is29ll3rax1cxr6fj9jrd8b7";
sha256 = "163axxs22w7pghr786hda22mnlpvmi50hzhfr9axwyyjl9n41qs2";
};
preConfigure = ''
./autogen.sh