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: 56507df617ed
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: bc41317e2431
Choose a head ref
Loading
Showing with 579 additions and 92 deletions.
  1. +5 −0 maintainers/maintainer-list.nix
  2. +1 −1 pkgs/applications/graphics/antimony/default.nix
  3. +11 −15 pkgs/applications/networking/browsers/vimb/default.nix
  4. +33 −0 pkgs/applications/networking/cluster/kubectl/default.nix
  5. +2 −2 pkgs/applications/virtualization/remotebox/default.nix
  6. +7 −2 pkgs/build-support/docker/default.nix
  7. +3 −3 pkgs/data/themes/ant-theme/default.nix
  8. +3 −3 pkgs/data/themes/nordic-polar/default.nix
  9. +11 −3 pkgs/{misc → data}/themes/nordic/default.nix
  10. +1 −1 pkgs/development/compilers/oraclejdk/jdk-linux-base.nix
  11. +2 −2 pkgs/development/compilers/oraclejdk/jdk8cpu-linux.nix
  12. +5 −5 pkgs/development/compilers/oraclejdk/jdk8psu-linux.nix
  13. +0 −9 pkgs/development/haskell-modules/configuration-common.nix
  14. +2 −2 pkgs/development/libraries/freetds/default.nix
  15. +11 −2 pkgs/development/libraries/glib/default.nix
  16. +37 −0 pkgs/development/python-modules/audio-metadata/default.nix
  17. +42 −0 pkgs/development/python-modules/bidict/default.nix
  18. +18 −0 pkgs/development/python-modules/bitstruct/default.nix
  19. +25 −0 pkgs/development/python-modules/click-default-group/default.nix
  20. +9 −14 pkgs/development/python-modules/django-compat/default.nix
  21. +11 −3 pkgs/development/python-modules/django-hijack-admin/default.nix
  22. +3 −4 pkgs/development/python-modules/django-hijack/default.nix
  23. +37 −0 pkgs/development/python-modules/google-music-proto/default.nix
  24. +35 −0 pkgs/development/python-modules/google-music-utils/default.nix
  25. +39 −0 pkgs/development/python-modules/google-music/default.nix
  26. +23 −0 pkgs/development/python-modules/logzero/default.nix
  27. +30 −0 pkgs/development/python-modules/pprintpp/default.nix
  28. +34 −0 pkgs/development/python-modules/tenacity/default.nix
  29. +6 −3 pkgs/development/tools/analysis/spin/default.nix
  30. +7 −0 pkgs/development/tools/build-managers/meson/default.nix
  31. +20 −0 pkgs/development/tools/build-managers/meson/fix-objc-linking.patch
  32. +11 −0 pkgs/games/spring/fix-certs.patch
  33. +1 −1 pkgs/games/spring/springlobby.nix
  34. +2 −2 pkgs/os-specific/linux/alsa-utils/default.nix
  35. +2 −2 pkgs/servers/jackett/default.nix
  36. +32 −0 pkgs/tools/audio/google-music-scripts/default.nix
  37. +2 −2 pkgs/tools/misc/debootstrap/default.nix
  38. +23 −0 pkgs/tools/misc/oci-image-tool/default.nix
  39. +2 −2 pkgs/tools/misc/youtube-dl/default.nix
  40. +2 −2 pkgs/tools/typesetting/scdoc/default.nix
  41. +9 −7 pkgs/top-level/all-packages.nix
  42. +20 −0 pkgs/top-level/python-packages.nix
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -3255,6 +3255,11 @@
github = "nyarly";
name = "Judson Lester";
};
nzhang-zh = {
email = "n.zhang.hp.au@gmail.com";
github = "nzhang-zh";
name = "Ning Zhang";
};
obadz = {
email = "obadz-nixos@obadz.com";
github = "obadz";
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/antimony/default.nix
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ in
postPatch = ''
sed -i "s,/usr/local,$out,g" \
app/CMakeLists.txt app/app/app.cpp app/app/main.cpp
sed -i "s,python-py35,python36," CMakeLists.txt
sed -i "s,python3,${python3.executable}," CMakeLists.txt
'';

buildInputs = [
26 changes: 11 additions & 15 deletions pkgs/applications/networking/browsers/vimb/default.nix
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
{ stdenv, fetchurl, pkgconfig, libsoup, webkit, gtk2, glib-networking
, gsettings-desktop-schemas, makeWrapper
{ stdenv, fetchFromGitHub, pkgconfig, libsoup, webkit, gtk3, glib-networking
, gsettings-desktop-schemas, wrapGAppsHook
}:

stdenv.mkDerivation rec {
name = "vimb-${version}";
version = "3.1.0";
version = "3.3.0";

src = fetchurl {
url = "https://github.com/fanglingsu/vimb/archive/${version}.tar.gz";
sha256 = "1gws028c2v1zh6r142hmjvi2m447lwqqh65m6z3dzcar2yw35z3f";
src = fetchFromGitHub {
owner = "fanglingsu";
repo = "vimb";
rev = version;
sha256 = "1qg18z2gnsli9qgrqfhqfrsi6g9mcgr90w8yab28nxrq4aha6brf";
};

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ makeWrapper gtk2 libsoup webkit gsettings-desktop-schemas ];
nativeBuildInputs = [ wrapGAppsHook pkgconfig ];
buildInputs = [ gtk3 libsoup webkit glib-networking gsettings-desktop-schemas ];

makeFlags = [ "PREFIX=$(out)" ];

preFixup = ''
wrapProgram "$out/bin/vimb" \
--prefix GIO_EXTRA_MODULES : "${glib-networking.out}/lib/gio/modules" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
makeFlags = [ "PREFIX=${placeholder "out"}" ];

meta = {
description = "A Vim-like browser";
33 changes: 33 additions & 0 deletions pkgs/applications/networking/cluster/kubectl/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ stdenv, lib, kubernetes }:

stdenv.mkDerivation {
name = "kubectl-${kubernetes.version}";

# kubectl is currently part of the main distribution but will eventially be
# split out (see homepage)
src = kubernetes;

outputs = [ "out" "man" ];

doBuild = false;

installPhase = ''
mkdir -p \
"$out/bin" \
"$out/share/bash-completion/completions" \
"$out/share/zsh/site-functions" \
"$man/share/man/man1"
cp bin/kubectl $out/bin/kubectl
cp "${kubernetes.man}/share/man/man1"/kubectl* "$man/share/man/man1"
$out/bin/kubectl completion bash > $out/share/bash-completion/completions/kubectl
$out/bin/kubectl completion zsh > $out/share/zsh/site-functions/_kubectl
'';

meta = kubernetes.meta // {
description = "Kubernetes CLI";
homepage = "https://github.com/kubernetes/kubectl";
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/remotebox/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "remotebox-${version}";
version = "2.5";
version = "2.6";

src = fetchurl {
url = "http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${version}.tar.bz2";
sha256 = "0dajc9fg57gj915h5dxavbia4wx10frn4xc61pv0l8r5zp7xvqal";
sha256 = "1bbdnf13vp35ddfmk4pn167vfxgmdw0fd8bqg51wd8dd4cj8y3wp";
};

buildInputs = with perlPackages; [ perl Glib Gtk2 Pango SOAPLite ];
9 changes: 7 additions & 2 deletions pkgs/build-support/docker/default.nix
Original file line number Diff line number Diff line change
@@ -544,14 +544,19 @@ rec {
buildInputs = [ jshon pigz coreutils findutils jq ];
# Image name and tag must be lowercase
imageName = lib.toLower name;
imageTag = if tag == null then "" else lib.toLower tag;
baseJson = configJson;
passthru.imageTag =
if tag == null
then lib.head (lib.splitString "-" (lib.last (lib.splitString "/" result)))
else lib.toLower tag;
} ''
${lib.optionalString (tag == null) ''
${if (tag == null) then ''
outName="$(basename "$out")"
outHash=$(echo "$outName" | cut -d - -f 1)
imageTag=$outHash
'' else ''
imageTag="${tag}"
''}
find ${bulkLayers} -mindepth 1 -maxdepth 1 | sort -t/ -k5 -n > layer-list
6 changes: 3 additions & 3 deletions pkgs/data/themes/ant-theme/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "ant-theme";
version = "1.2.0";
version = "1.3.0";

src = fetchurl {
url = "https://github.com/EliverLara/Ant/releases/download/v${version}/Ant.tar";
sha256 = "15751pnb94g2wi6y932l3d7ksaz18402zbzp3l7ryy0lqwjnqvkj";
sha256 = "1r795v96ywzcb4dq08q2fdbmfia32g36cc512mhy41s8fb1a47dz";
};

propagatedUserEnvPkgs = [
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {

outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = "1fzy7bq5v9fzjpfxplvk0nwjgamcva83462gkz01lhr1mipb92h1";
outputHash = "1gpacrmi5y87shp39jgy78n0ca2xdpvbqfh0mgldlxx99ca9rvvy";

meta = with stdenv.lib; {
description = "A flat and light theme with a modern look";
6 changes: 3 additions & 3 deletions pkgs/data/themes/nordic-polar/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

stdenv.mkDerivation rec {
name = "nordic-polar-${version}";
version = "1.3.0";
version = "1.4.0";

srcs = [
(fetchurl {
url = "https://github.com/EliverLara/Nordic-Polar/releases/download/v${version}/Nordic-Polar.tar.xz";
sha256 = "1c5zgymkwd89fr680c49siwbkhfbay56iq9vlyqkj1dp0xnc528s";
sha256 = "0sw4m1njnxal1kkiipsvfg9ndzxsf9rxfba5vhwswyzk388264xa";
})
(fetchurl {
url = "https://github.com/EliverLara/Nordic-Polar/releases/download/v${version}/Nordic-Polar-standard-buttons.tar.xz";
sha256 = "0nxzcgqzc42qvnhafranz6rwanqb4wzf9ychm5m4yrlp3ngw38p4";
sha256 = "0ix0x0pnhfd1lrfj7a7n8xfg8vvzg7m0dzrsj8gzpav6wvwlypiy";
})
];

Original file line number Diff line number Diff line change
@@ -2,16 +2,24 @@

stdenv.mkDerivation rec {
name = "nordic-${version}";
version = "1.3.0";
version = "1.5.4";

srcs = [
(fetchurl {
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic.tar.xz";
sha256 = "04axs2yldppcx159nwj70g4cyw0hbbzk5250677i9ny8b0w3gr9x";
sha256 = "0m00hwr6ms9fzlpl97d972wvgq5l0m11mpn213248a8sqbh2zz9g";
})
(fetchurl {
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-blue.tar.xz";
sha256 = "05k1m9f0q4mfaqp2as3ymjsqmyz0bs5cd576srd5v952dzxmmbm2";
})
(fetchurl {
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-standard-buttons.tar.xz";
sha256 = "1h0690cijaipidb5if2bxhvvkrx5src3akyxvfywxg4bf8x7jxs5";
sha256 = "1qps13fpp8y83c25c51w7kyds266gmks8c7kjp23iybij2lkny1m";
})
(fetchurl {
url = "https://github.com/EliverLara/Nordic/releases/download/v${version}/Nordic-blue-standard-buttons.tar.xz";
sha256 = "1c0j6qsxa6zahrl9ad0q6pczgbmm8qn9qsd7k41yk2ndh9iqzr5y";
})
];

2 changes: 1 addition & 1 deletion pkgs/development/compilers/oraclejdk/jdk-linux-base.nix
Original file line number Diff line number Diff line change
@@ -199,4 +199,4 @@ let result = stdenv.mkDerivation rec {
platforms = [ "i686-linux" "x86_64-linux" "armv7l-linux" "aarch64-linux" ]; # some inherit jre.meta.platforms
};

}; in result
}; in stdenv.lib.trivial.warn "Public updates for Oracle Java SE 8 released after January 2019 will not be available for business, commercial or production use without a commercial license. See https://java.com/en/download/release_notice.jsp for more information." result
4 changes: 2 additions & 2 deletions pkgs/development/compilers/oraclejdk/jdk8cpu-linux.nix
Original file line number Diff line number Diff line change
@@ -6,8 +6,8 @@ import ./jdk-linux-base.nix {
buildVersion = "09";
sha256.i686-linux = "1f9n93zmkggchaxkchp4bqasvxznn96zjci34f52h7v392jkzqac";
sha256.x86_64-linux = "0w730v2q0iaxf2lprabwmy7129byrs0hhdbwas575p1xmk00qw6b";
sha256.armv7l-linux = "0p82d2vah63a6r2rip9v17lbjam39kgqp0584q3cnljgr5p9gyhz";
sha256.aarch64-linux = "1qm4b3aj5wi0hp9q6gy1da4bz5k9ky4shgiqa4zxrib4kjp9yf0k";
sha256.armv7l-linux = "0y6bvq93lsf21v6ca536dpfhkk5ljsj7c6di0qzkban37bivj0si";
sha256.aarch64-linux = "1bybysgg9llqzllsmdszmmb73v5az2l1shxn6lxwv3wwiazpf47q";
releaseToken = "42970487e3af4f5aa5bca3f542482c60";
jceName = "jce_policy-8.zip";
sha256JCE = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk";
10 changes: 5 additions & 5 deletions pkgs/development/compilers/oraclejdk/jdk8psu-linux.nix
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@
# jce download url: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html;
import ./jdk-linux-base.nix {
productVersion = "8";
patchVersion = "201";
patchVersion = "202";
buildVersion = "09";
sha256.i686-linux = "1f9n93zmkggchaxkchp4bqasvxznn96zjci34f52h7v392jkzqac";
sha256.x86_64-linux = "0w730v2q0iaxf2lprabwmy7129byrs0hhdbwas575p1xmk00qw6b";
sha256.armv7l-linux = "0p82d2vah63a6r2rip9v17lbjam39kgqp0584q3cnljgr5p9gyhz";
sha256.aarch64-linux = "1qm4b3aj5wi0hp9q6gy1da4bz5k9ky4shgiqa4zxrib4kjp9yf0k";
sha256.i686-linux = "19np392dwdqdq39lmm10607w2h042lrm5953fnsfh1bb9jli1pgj";
sha256.x86_64-linux = "1q4l8pymjvsvxfwaw0rdcnhryh1la2bvg5f4d4my41ka390k4p4s";
sha256.armv7l-linux = "06aljl7dqmmhmp7xswgvkcgh9mam71wnqydg9yb3hkcc443cm581";
sha256.aarch64-linux = "12v9ndv7a2c9zqq6ai2vsgwad0lzmf4c6jxy4p9miapmhjzx5vii";
releaseToken = "42970487e3af4f5aa5bca3f542482c60";
jceName = "jce_policy-8.zip";
sha256JCE = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk";
9 changes: 0 additions & 9 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
@@ -915,15 +915,6 @@ self: super: {
language-puppet = dontHaddock super.language-puppet;
filecache = overrideCabal super.filecache (drv: { doCheck = !pkgs.stdenv.isDarwin; });

# Missing FlexibleContexts in testsuite
# https://github.com/EduardSergeev/monad-memo/pull/4
monad-memo =
let patch = pkgs.fetchpatch
{ url = https://github.com/EduardSergeev/monad-memo/pull/4.patch;
sha256 = "14mf9940arilg6v54w9bc4z567rfbmm7gknsklv965fr7jpinxxj";
};
in appendPatch super.monad-memo patch;

# https://github.com/alphaHeavy/protobuf/issues/34
protobuf = dontCheck super.protobuf;

4 changes: 2 additions & 2 deletions pkgs/development/libraries/freetds/default.nix
Original file line number Diff line number Diff line change
@@ -8,11 +8,11 @@ assert odbcSupport -> unixODBC != null;

stdenv.mkDerivation rec {
name = "freetds-${version}";
version = "1.00.109";
version = "1.00.110";

src = fetchurl {
url = "http://www.freetds.org/files/stable/${name}.tar.bz2";
sha256 = "0d00ixf78jzkyhccxjsaspz7yvlwk0xvrfcqfca4cwnwvnyb54ry";
sha256 = "1zxgvc9ikw34fsbkn9by7hwqz0p6m3f178zmj2s0qqpi84qq1vw2";
};

buildInputs = [
13 changes: 11 additions & 2 deletions pkgs/development/libraries/glib/default.nix
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
, doCheck ? stdenv.config.doCheckByDefault or false
, coreutils, dbus, libxml2, tzdata
, desktop-file-utils, shared-mime-info
, darwin
}:

with stdenv.lib;
@@ -44,6 +45,7 @@ let
ln -sr -t "''${!outputInclude}/include/" "''${!outputInclude}"/lib/*/include/* 2>/dev/null || true
'';

binPrograms = optional (!stdenv.isDarwin) "gapplication" ++ [ "gdbus" "gio" "gsettings" ];
version = "2.58.2";
in

@@ -83,7 +85,12 @@ stdenv.mkDerivation rec {
] ++ optionals stdenv.isLinux [
libselinux
utillinuxMinimal # for libmount
];
] ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
AppKit Carbon Cocoa CoreFoundation CoreServices Foundation
# Needed for CFURLCreateFromFSRef, etc. which have deen deprecated
# since 10.9 and are not part of swift-corelibs CoreFoundation.
darwin.cf-private
]);

nativeBuildInputs = [
meson ninja pkgconfig perl python3 gettext gtk-doc docbook_xsl docbook_xml_dtd_45 glibcLocales
@@ -121,15 +128,17 @@ stdenv.mkDerivation rec {

postInstall = ''
mkdir -p $bin/bin
for app in gapplication gdbus gio gsettings; do
for app in ${concatStringsSep " " binPrograms}; do
mv "$dev/bin/$app" "$bin/bin"
done
'' + optionalString (!stdenv.isDarwin) ''
# Add gio-launch-desktop to $out so we can refer to it from $dev
mkdir $out/bin
mv "$dev/bin/gio-launch-desktop" "$out/bin/"
ln -s "$out/bin/gio-launch-desktop" "$bin/bin/"
'' + ''
moveToOutput "share/glib-2.0" "$dev"
substituteInPlace "$dev/bin/gdbus-codegen" --replace "$out" "$dev"
sed -i "$dev/bin/glib-gettextize" -e "s|^gettext_dir=.*|gettext_dir=$dev/share/glib-2.0/gettext|"
37 changes: 37 additions & 0 deletions pkgs/development/python-modules/audio-metadata/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, attrs
, bidict
, bitstruct
, more-itertools
, pprintpp
}:

buildPythonPackage rec {
pname = "audio-metadata";
version = "0.3.0";

src = fetchPypi {
inherit pname version;
sha256 = "1jd0wzhh9as2qyiwggqmvsbsm5nlb73qnxix2mcar53cddvwrvj7";
};

propagatedBuildInputs = [
attrs
bidict
bitstruct
more-itertools
pprintpp
];

# No tests
doCheck = false;

disabled = pythonOlder "3.6";

meta = with lib; {
homepage = https://github.com/thebigmunch/audio-metadata;
description = "A library for reading and, in the future, writing metadata from audio files";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
};
}
42 changes: 42 additions & 0 deletions pkgs/development/python-modules/bidict/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ lib, buildPythonPackage, fetchPypi
, setuptools_scm
, sphinx
, hypothesis
, py
, pytest
, pytest-benchmark
, sortedcollections
, sortedcontainers
}:

buildPythonPackage rec {
pname = "bidict";
version = "0.17.5";

src = fetchPypi {
inherit pname version;
sha256 = "1icj0fnfx47n6i33pj5gfrmd1rzpvah1jihhdhqiqx2cy9rs6x4c";
};

nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ sphinx ];

checkInputs = [
hypothesis
py
pytest
pytest-benchmark
sortedcollections
sortedcontainers
];
checkPhase = ''
pytest tests
'';

meta = with lib; {
homepage = https://github.com/jab/bidict;
description = "Efficient, Pythonic bidirectional map data structures and related functionality";
license = licenses.mpl20;
maintainers = with maintainers; [ jakewaksbaum ];
};
}
Loading