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: ba23e62e5964
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: eb9a9bb22aa3
Choose a head ref

Commits on May 28, 2019

  1. python.pkgs.pyglet: hardcode library paths

    Fixes failure to find certain libraries such as libc.
    timokau committed May 28, 2019
    Copy the full SHA
    446ac90 View commit details
  2. python.pkgs.roboschool: disable for python2

    This has never worked.
    timokau committed May 28, 2019
    Copy the full SHA
    97ec74e View commit details
  3. Copy the full SHA
    c0c9478 View commit details
  4. linux: 5.2-rc1 -> 5.2-rc2

    NeQuissimus committed May 28, 2019
    Copy the full SHA
    bd64cb2 View commit details
  5. gtk-gnutella: 1.1.9 -> 1.1.14 (#62151)

    and fix build -- previously failing on Hydra
    c0bw3b authored May 28, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    02781ac View commit details
  6. Merge pull request #62150 from timokau/pyglet-library-hardcode

    python.pkgs.pyglet: hardcode library paths
    timokau authored May 28, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    444f22c View commit details
  7. reaverwps-t6x: 1.6.3 -> 1.6.5

    dywedir committed May 28, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    45e517b View commit details
  8. Merge pull request #62134 from dywedir/reaverwps-t6x

    reaverwps-t6x: 1.6.3 -> 1.6.5
    c0bw3b authored May 28, 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
    3edeb5c View commit details
  9. Copy the full SHA
    7af3d21 View commit details
  10. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    91d18c0 View commit details
  11. Merge pull request #61653 from d3rped/fix/krita

    krita: fixed missing python path
    worldofpeace authored May 28, 2019
    Copy the full SHA
    958eef3 View commit details
  12. Copy the full SHA
    bb57a10 View commit details
  13. Merge pull request #62166 from Infinisil/fix/python-dynd

    python3Packages.dynd: Fix build
    infinisil authored May 28, 2019
    Copy the full SHA
    875a015 View commit details
  14. Merge pull request #62170 from nyanloutre/fix-kde-spectacle

    spectacle: fix qdbus path in desktop shortcut
    worldofpeace authored May 28, 2019
    Copy the full SHA
    d2d8b5e View commit details
  15. pingus: Fix build

    infinisil committed May 28, 2019
    Copy the full SHA
    a1ed58d View commit details
  16. Copy the full SHA
    d8aee48 View commit details
  17. Copy the full SHA
    ddfb687 View commit details
  18. Copy the full SHA
    90267ba View commit details
  19. Copy the full SHA
    3b38247 View commit details
  20. Copy the full SHA
    769b7ee View commit details
  21. Merge pull request #62174 from Infinisil/fix/pingus

    pingus: Fix build
    infinisil authored May 28, 2019
    Copy the full SHA
    eb9a9bb View commit details
15 changes: 10 additions & 5 deletions nixos/modules/services/networking/syncthing.nix
Original file line number Diff line number Diff line change
@@ -105,13 +105,12 @@ in {
description = ''
Peers/devices which syncthing should communicate with.
'';
example = [
{
name = "bigbox";
example = {
bigbox = {
id = "7CFNTQM-IMTJBHJ-3UWRDIU-ZGQJFR6-VCXZ3NB-XUH3KZO-N52ITXR-LAIYUAU";
addresses = [ "tcp://192.168.0.10:51820" ];
}
];
};
};
type = types.attrsOf (types.submodule ({ config, ... }: {
options = {

@@ -169,6 +168,12 @@ in {
description = ''
folders which should be shared by syncthing.
'';
example = {
"/home/user/sync" = {
id = "syncme";
devices = [ "bigbox" ];
};
};
type = types.attrsOf (types.submodule ({ config, ... }: {
options = {

6 changes: 3 additions & 3 deletions pkgs/applications/editors/android-studio/default.nix
Original file line number Diff line number Diff line change
@@ -13,9 +13,9 @@ let
sha256Hash = "0y4l9d1yrvv1csx6vl4jnqgqy96y44rl6p8hcxrnbvrg61iqnj30";
};
betaVersion = {
version = "3.5.0.14"; # "Android Studio 3.5 Beta 2"
build = "191.5549111";
sha256Hash = "1zy2x0m1nsx3yy64cp1jvgb9aqkribwm64mv50g9355sdz7qjhcf";
version = "3.5.0.15"; # "Android Studio 3.5 Beta 3"
build = "191.5585527";
sha256Hash = "0b9yj3rf3nk8y9qfmf5kjh8rwn73v7ghym1bhz864r079h7lwr53";
};
latestVersion = { # canary & dev
version = "3.6.0.1"; # "Android Studio 3.6 Canary 1"
10 changes: 8 additions & 2 deletions pkgs/applications/graphics/krita/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ mkDerivation, lib, stdenv, fetchurl, cmake, extra-cmake-modules
{ mkDerivation, lib, stdenv, makeWrapper, fetchurl, cmake, extra-cmake-modules
, karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons
, kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem
, kio, kcrash
@@ -25,7 +25,7 @@ mkDerivation rec {
sha256 = "0h2rplc76r82b8smk61zci1ijj9xkjmf20pdqa8fc2lz4zicjxh4";
};

nativeBuildInputs = [ cmake extra-cmake-modules python3Packages.sip ];
nativeBuildInputs = [ cmake extra-cmake-modules python3Packages.sip makeWrapper ];

buildInputs = [
karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons
@@ -44,6 +44,12 @@ mkDerivation rec {
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
];

postInstall = ''
for i in $out/bin/*; do
wrapProgram $i --prefix PYTHONPATH : "$PYTHONPATH"
done
'';

meta = with lib; {
description = "A free and open source painting application";
homepage = https://krita.org/;
6 changes: 5 additions & 1 deletion pkgs/applications/kde/spectacle.nix
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
ki18n, xcb-util-cursor,
kconfig, kcoreaddons, kdbusaddons, kdeclarative, kio, kipi-plugins,
knotifications, kscreen, kwidgetsaddons, kwindowsystem, kxmlgui, libkipi,
qtx11extras, knewstuff
qtx11extras, knewstuff, qttools
}:

mkDerivation {
@@ -16,5 +16,9 @@ mkDerivation {
kscreen kwidgetsaddons kwindowsystem kxmlgui libkipi qtx11extras xcb-util-cursor
knewstuff
];
postPatch = ''
substituteInPlace desktop/org.kde.spectacle.desktop \
--replace "Exec=qdbus" "Exec=${lib.getBin qttools}/bin/qdbus"
'';
propagatedUserEnvPkgs = [ kipi-plugins libkipi ];
}
6 changes: 3 additions & 3 deletions pkgs/applications/networking/gns3/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{ callPackage, stdenv }:

let
stableVersion = "2.1.18";
stableVersion = "2.1.19";
previewVersion = "2.2.0b1";
addVersion = args:
let version = if args.stable then stableVersion else previewVersion;
branch = if args.stable then "stable" else "preview";
in args // { inherit version branch; };
mkGui = args: callPackage (import ./gui.nix (addVersion args)) { };
mkServer = args: callPackage (import ./server.nix (addVersion args)) { };
guiSrcHash = "00hcri32vakz17ywbqd9lycxdai490ds0g1v8znm75ddvszfbv7i";
serverSrcHash = "0f28f5f4dsr8h4q592dh9i1z0gp836gdgm8clwrkb7i01df0rrlf";
guiSrcHash = "0bn0qry0djw17zwa16cc69273crnfzppik07f9w20hhr8kjiyvnx";
serverSrcHash = "1af6pnmr24syx23pqvwchgwy74263k3ccrv7barxi71wsskjlw5a";
in {
guiStable = mkGui {
stable = true;
6 changes: 2 additions & 4 deletions pkgs/applications/networking/gns3/server.nix
Original file line number Diff line number Diff line change
@@ -22,10 +22,10 @@ let
doCheck = false;
});
aiohttp-cors = super.aiohttp-cors.overridePythonAttrs (oldAttrs: rec {
version = "0.5.3";
version = "0.6.0";
src = oldAttrs.src.override {
inherit version;
sha256 = "11b51mhr7wjfiikvj3nc5s8c7miin2zdhl3yrzcga4mbpkj892in";
sha256 = "1r0mb4dw0dc1lpi54dk5vxqs06nyhvagp76lyrvk7rd94z5mjkd4";
};
propagatedBuildInputs = with self; [ aiohttp ]
++ stdenv.lib.optional (pythonOlder "3.5") typing;
@@ -45,8 +45,6 @@ in python.pkgs.buildPythonPackage {
};

postPatch = ''
# "typing" is only required for Python 3.4 and breaks Python 3.7:
sed -iE "s/.*typing.*//" requirements.txt
# Only 2.x is problematic:
sed -iE "s/prompt-toolkit==1.0.15/prompt-toolkit<2.0.0/" requirements.txt
'';
3 changes: 2 additions & 1 deletion pkgs/development/python-modules/dynd/default.nix
Original file line number Diff line number Diff line change
@@ -30,7 +30,8 @@ buildPythonPackage rec {
# Python 3 works but has a broken import test that I couldn't
# figure out.
doCheck = !isPy3k;
buildInputs = [ pkgs.cmake pkgs.libdynd.dev cython ];
nativeBuildInputs = [ pkgs.cmake ];
buildInputs = [ pkgs.libdynd.dev cython ];
propagatedBuildInputs = [ numpy pkgs.libdynd ];

meta = with stdenv.lib; {
56 changes: 50 additions & 6 deletions pkgs/development/python-modules/pyglet/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{ stdenv, buildPythonPackage, fetchPypi
, libGLU_combined, xorg, freetype, fontconfig, future}:
{ stdenv
, buildPythonPackage
, fetchPypi
, libGLU_combined
, xorg
, future
, pytest
, glibc
, gtk2-x11
, gdk_pixbuf
}:

buildPythonPackage rec {
version = "1.3.2";
@@ -10,14 +19,49 @@ buildPythonPackage rec {
sha256 = "b00570e7cdf6971af8953b6ece50d83d13272afa5d1f1197c58c0f478dd17743";
};

# find_library doesn't reliably work with nix (https://github.com/NixOS/nixpkgs/issues/7307).
# Even naively searching `LD_LIBRARY_PATH` won't work since `libc.so` is a linker script and
# ctypes.cdll.LoadLibrary cannot deal with those. Therefore, just hardcode the paths to the
# necessary libraries.
postPatch = let
libs = [ libGLU_combined xorg.libX11 freetype fontconfig ];
paths = builtins.concatStringsSep "," (map (l: "\"${l}/lib\"") libs);
in "sed -i -e 's|directories\.extend.*lib[^]]*|&,${paths}|' pyglet/lib.py";
ext = stdenv.hostPlatform.extensions.sharedLibrary;
in ''
cat > pyglet/lib.py <<EOF
import ctypes
def load_library(*names, **kwargs):
for name in names:
path = None
if name == 'GL':
path = '${libGLU_combined}/lib/libGL${ext}'
elif name == 'GLU':
path = '${libGLU_combined}/lib/libGLU${ext}'
elif name == 'c':
path = '${glibc}/lib/libc${ext}.6'
elif name == 'X11':
path = '${xorg.libX11}/lib/libX11${ext}'
elif name == 'gdk-x11-2.0':
path = '${gtk2-x11}/lib/libgdk-x11-2.0${ext}'
elif name == 'gdk_pixbuf-2.0':
path = '${gdk_pixbuf}/lib/libgdk_pixbuf-2.0${ext}'
if path is not None:
return ctypes.cdll.LoadLibrary(path)
raise Exception("Could not load library {}".format(names))
EOF
'';

propagatedBuildInputs = [ future ];

# needs an X server. Keep an eye on
# https://bitbucket.org/pyglet/pyglet/issues/219/egl-support-headless-rendering
doCheck = false;

propagatedBuildInputs = [ future ];
checkInputs = [
pytest
];

checkPhase = ''
py.test tests/unit tests/integration
'';

meta = with stdenv.lib; {
homepage = "http://www.pyglet.org/";
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/roboschool/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ lib
, buildPythonPackage
, isPy3k
, python
, fetchFromGitHub
, fetchpatch
@@ -23,6 +24,9 @@ buildPythonPackage rec {
sha256 = "1s7rp5bbiglnrfm33wf7x7kqj0ks3b21bqyz18c5g6vx39rxbrmh";
};

# fails to find boost_python for some reason
disabled = !isPy3k;

propagatedBuildInputs = [
gym
];
3 changes: 2 additions & 1 deletion pkgs/games/pingus/default.nix
Original file line number Diff line number Diff line change
@@ -25,7 +25,8 @@ stdenv.mkDerivation rec {
sha256 = "0nqyhznnnvpgfa6rfv8rapjfpw99b67n97jfqp9r3hpib1b3ja6p";
})
];
makeFlags = '' PREFIX="$(out)" '';
makeFlags = "PREFIX=${placeholder "out"}";
dontUseSconsInstall = true;
meta = {
inherit (s) version;
description = ''A puzzle game with mechanics similar to Lemmings'';
6 changes: 3 additions & 3 deletions pkgs/os-specific/linux/kernel/linux-testing.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{ stdenv, buildPackages, fetchurl, perl, buildLinux, libelf, utillinux, ... } @ args:

buildLinux (args // rec {
version = "5.2-rc1";
modDirVersion = "5.2.0-rc1";
version = "5.2-rc2";
modDirVersion = "5.2.0-rc2";
extraMeta.branch = "5.2";

src = fetchurl {
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
sha256 = "169gjmciijgmwwfyz3n7pvf2x18pmfvgdk73s8jlx30ggwzgac1l";
sha256 = "0fd6z6zx9a3ax5jyvxm7gmfzain26la5gf18fccxip7bfn72bj4f";
};

# Should the testing kernels ever be built on Hydra?
35 changes: 35 additions & 0 deletions pkgs/servers/elasticmq-server-bin/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ stdenv, fetchurl, jdk, jre, makeWrapper }:

stdenv.mkDerivation rec {
pname = "elasticmq-server";
version = "0.14.6";
name = "${pname}-${version}";

src = fetchurl {
url = "https://s3-eu-west-1.amazonaws.com/softwaremill-public/${name}.jar";
sha256 = "1cp2pmkc6gx7gr6109jlcphlky5rr6s1wj528r6hyhzdc01sjhhz";
};

# don't do anything?
unpackPhase = "${jdk}/bin/jar xf $src favicon.png";

nativeBuildInputs = [ makeWrapper ];

installPhase = ''
mkdir -p $out/bin $out/share/elasticmq-server
cp $src $out/share/elasticmq-server/elasticmq-server.jar
# TODO: how to add extraArgs? current workaround is to use JAVA_TOOL_OPTIONS environment to specify properties
makeWrapper ${jre}/bin/java $out/bin/elasticmq-server \
--add-flags "-jar $out/share/elasticmq-server/elasticmq-server.jar"
'';

meta = with stdenv.lib; {
homepage = "https://github.com/softwaremill/elasticmq";
description = "Message queueing system with Java, Scala and Amazon SQS-compatible interfaces";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ peterromfeldhk ];
};
}
6 changes: 3 additions & 3 deletions pkgs/shells/zsh/oh-my-zsh/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@
{ stdenv, fetchgit }:

stdenv.mkDerivation rec {
version = "2019-05-26";
version = "2019-05-28";
name = "oh-my-zsh-${version}";
rev = "1343ab67edd8a81b75aceca77ddb526be87a20c1";
rev = "9930dd6e49df5630ac23c68b85465f0bb801d17f";

src = fetchgit { inherit rev;
url = "https://github.com/robbyrussell/oh-my-zsh";
sha256 = "1932vwzbxd0i76hsjxn6ww3ydpwyk0w1k51xsps5m1q86m19jn5b";
sha256 = "1gncl7irz0drlg7rrnb9iqzslflhrpfgsjg7kmdkchp8gj7750hl";
};

pathsToLink = [ "/share/oh-my-zsh" ];
54 changes: 38 additions & 16 deletions pkgs/tools/networking/p2p/gtk-gnutella/default.nix
Original file line number Diff line number Diff line change
@@ -1,29 +1,51 @@
{ stdenv, fetchurl, bison, pkgconfig
, glib, gtk2, libxml2, gettext, zlib, binutils, gnutls }:
{ stdenv, fetchurl, fetchpatch, bison, pkgconfig, gettext, desktop-file-utils
, glib, gtk2, libxml2, libbfd, zlib, binutils, gnutls
}:

let
name = "gtk-gnutella";
version = "1.1.9";
in
stdenv.mkDerivation {
name = "${name}-${version}";
stdenv.mkDerivation rec {
pname = "gtk-gnutella";
version = "1.1.14";

src = fetchurl {
url = "mirror://sourceforge/${name}/${name}-${version}.tar.bz2";
sha256 = "1zvadgsskmpm82id9mbj24a2lyq38qv768ixv7nmfjl3d4wr2biv";
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "0sljjha4anfz1r1xq1c6qnnkjv62ld56p7xgj4bsi6lqmq1azvii";
};

nativeBuildInputs = [ bison gettext pkgconfig ];
buildInputs = [ binutils glib gnutls gtk2 libxml2 zlib ];
patches = [
(fetchpatch {
# Avoid namespace conflict with glibc 2.28 'statx' struct / remove after v1.1.14
url = "https://github.com/gtk-gnutella/gtk-gnutella/commit/e4205a082eb32161e28de81f5cba8095eea8ecc7.patch";
sha256 = "0ffkw2cw2b2yhydii8jm40vd40p4xl224l8jvhimg02lgs3zfbca";
})
(fetchpatch {
url = "https://src.fedoraproject.org/rpms/gtk-gnutella/raw/f30/f/gtk-gnutella-1.1.14-endian.patch";
sha256 = "19q4lq8msknfz4mkbjdqmmgld16p30j2yx371p8spmr19q5i0sfn";
})
];

postPatch = ''
substituteInPlace Makefile.SH --replace "@exit 0" "@echo done"
'';

nativeBuildInputs = [ bison desktop-file-utils gettext pkgconfig ];
buildInputs = [ binutils glib gnutls gtk2 libbfd libxml2 zlib ];

configureScript = "./build.sh";
configureFlags = [ "--configure-only" ];

hardeningDisable = [ "bindnow" "fortify" "pic" "relro" ];

configureScript = "./build.sh --configure-only";
enableParallelBuilding = true;

postInstall = ''
install -Dm0444 src/${pname}.man $out/share/man/man1/${pname}.1
'';

meta = with stdenv.lib; {
homepage = http://gtk-gnutella.sourceforge.net/;
description = "Server/client for Gnutella";
license = licenses.gpl2;
description = "A GTK+ Gnutella client, optimized for speed and scalability";
homepage = "http://gtk-gnutella.sourceforge.net/"; # Code: https://github.com/gtk-gnutella/gtk-gnutella
changelog = "https://raw.githubusercontent.com/gtk-gnutella/gtk-gnutella/v${version}/ChangeLog";
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}
Loading