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: 5709214f80f7
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: d121a3992cc2
Choose a head ref
  • 17 commits
  • 10 files changed
  • 10 contributors

Commits on Apr 11, 2020

  1. liblinphone: fix missing vcard_grammar

    Fixes #84488
    jluttine committed Apr 11, 2020
    Copy the full SHA
    93ea5b0 View commit details
  2. rtkit: cleanup

    eadwu committed Apr 11, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    talyz Kim Lindberger
    Copy the full SHA
    363004c View commit details
  3. hcloud: 1.16.1 -> 1.16.2

    r-ryantm committed Apr 11, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    primeos Michael Weiss
    Copy the full SHA
    1197941 View commit details
  4. hugo: 0.68.3 -> 0.69.0

    r-ryantm committed Apr 11, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f4161cc View commit details
  5. shellcheck: don't build locally

    zowoq committed Apr 11, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e1c059c View commit details

Commits on Apr 12, 2020

  1. Merge pull request #84991 from jluttine/liblinphone-fix-vcard

    liblinphone: fix missing vcard_grammar
    7c6f434c authored Apr 12, 2020
    Copy the full SHA
    cfd7a08 View commit details
  2. shellcheck: inherit meta

    zowoq committed Apr 12, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    Mic92 Jörg Thalheim
    Copy the full SHA
    e32be84 View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e98a0db View commit details
  4. Merge pull request #85031 from r-ryantm/auto-update/hcloud

    hcloud: 1.16.1 -> 1.16.2
    bhipple authored Apr 12, 2020
    Copy the full SHA
    2b72dc1 View commit details
  5. rtkit: 0.11 -> 0.13

    eadwu committed Apr 12, 2020
    Copy the full SHA
    f9ac494 View commit details
  6. pulsemixer: 1.5.0 -> 1.5.1

    r-ryantm committed Apr 12, 2020
    Copy the full SHA
    952335e View commit details
  7. Merge pull request #85035 from r-ryantm/auto-update/hugo

    hugo: 0.68.3 -> 0.69.0
    marsam authored Apr 12, 2020
    Copy the full SHA
    b445532 View commit details
  8. Merge pull request #85041 from zowoq/shellcheck

    shellcheck: don't build locally
    cdepillabout authored Apr 12, 2020
    Copy the full SHA
    10fd094 View commit details
  9. Merge pull request #85030 from eadwu/rtkit/0.13

    rtkit: 0.11 -> 0.13
    bhipple authored Apr 12, 2020
    Copy the full SHA
    4caa509 View commit details
  10. python37Packages.pyhomematic: 0.1.62 -> 0.1.65

    r-ryantm authored and Jon committed Apr 12, 2020
    Copy the full SHA
    f19d5dd View commit details
  11. python27Packages.smart_open: 1.9.0 -> 1.11.0

    r-ryantm authored and Jon committed Apr 12, 2020
    Copy the full SHA
    a50ee7f View commit details
  12. Merge pull request #85045 from r-ryantm/auto-update/pulsemixer

    pulsemixer: 1.5.0 -> 1.5.1
    Mic92 authored Apr 12, 2020
    Copy the full SHA
    d121a39 View commit details
6 changes: 3 additions & 3 deletions pkgs/applications/misc/hugo/default.nix
Original file line number Diff line number Diff line change
@@ -2,18 +2,18 @@

buildGoModule rec {
pname = "hugo";
version = "0.68.3";
version = "0.69.0";

goPackagePath = "github.com/gohugoio/hugo";

src = fetchFromGitHub {
owner = "gohugoio";
repo = pname;
rev = "v${version}";
sha256 = "138sv4q6f1szpkrrxnzhvxr6rrznhq1d7in0zba1pifsw3yimqq4";
sha256 = "050gqjrdfy5ygwl60qdspjn9s6a84k311g3p2fk3sr7i4rnwf36l";
};

modSha256 = "04vzm65kbj9905z4cf5yh6yc6g3b0pd5vc00lrxw84pwgqgc0ykb";
modSha256 = "07zfqz7d2slswiyx0pw6ip4l428q7nc3i95d4w6d7hfqp0pvp6i0";

buildFlags = [ "-tags" "extended" ];

Original file line number Diff line number Diff line change
@@ -223,7 +223,6 @@ mkDerivation rec {
cp linphone.desktop $out/share/applications/
cp -r ../assets/icons $out/share/
mkdir -p $out/share/belr/grammars
ln -s ${belcard}/share/belr/grammars/* $out/share/belr/grammars/
ln -s ${liblinphone}/share/belr/grammars/* $out/share/belr/grammars/
mkdir -p $out/share/linphone
ln -s ${liblinphone}/share/linphone/* $out/share/linphone/
9 changes: 9 additions & 0 deletions pkgs/development/libraries/liblinphone/default.nix
Original file line number Diff line number Diff line change
@@ -140,6 +140,15 @@ stdenv.mkDerivation rec {
pkgconfig
];

# Some grammar files needed to be copied too from some dependencies. I suppose
# if one define a dependency in such a way that its share directory is found,
# then this copying would be unnecessary. Instead of actually copying these
# files, create a symlink.
postInstall = ''
mkdir -p $out/share/belr/grammars
ln -s ${belcard}/share/belr/grammars/* $out/share/belr/grammars/
'';

meta = with stdenv.lib; {
homepage = "https://www.linphone.org/technical-corner/liblinphone";
description = "Library for SIP calls and instant messaging";
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/pyhomematic/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildPythonPackage rec {
pname = "pyhomematic";
version = "0.1.62";
version = "0.1.65";

disabled = !isPy3k;

src = fetchPypi {
inherit pname version;
sha256 = "3547ad176f287a9d3b4409692485b6fb456107d70350a32071423e13803cfdab";
sha256 = "0a562dqxs2j9q0xyywrh43dlbpdqr3mhvrrk8abdpmgj6gl33zac";
};

# PyPI tarball does not include tests/ directory
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/smart_open/default.nix
Original file line number Diff line number Diff line change
@@ -12,11 +12,11 @@

buildPythonPackage rec {
pname = "smart_open";
version = "1.9.0";
version = "1.11.0";

src = fetchPypi {
inherit pname version;
sha256 = "0xmnp8ywakwg3y21gqdvjw8a4v42vaxfq6njqizzllm4c9g2nk76";
sha256 = "1692h0j6jbxmm0acy1lbbbf4j34l0idi1vpzk6b5ixm0akzcfgl1";
};

# nixpkgs version of moto is >=1.2.0, remove version pin to fix build
6 changes: 3 additions & 3 deletions pkgs/development/tools/hcloud/default.nix
Original file line number Diff line number Diff line change
@@ -2,18 +2,18 @@

buildGoModule rec {
pname = "hcloud";
version = "1.16.1";
version = "1.16.2";

goPackagePath = "github.com/hetznercloud/cli";

src = fetchFromGitHub {
owner = "hetznercloud";
repo = "cli";
rev = "v${version}";
sha256 = "1d6qa21sq79hr84nnn3j7w0776mnq58g8g1krpnh4d6bv3kc3lq7";
sha256 = "0cxh92df8gdl4bmr22pdvdxdkdjyfy0jv48y0k6awy1xz61r94ap";
};

modSha256 = "1zy41hi2qzrdmih3pkpng8im576lhkr64zm66w73p7jyvy0kf9sx";
modSha256 = "1sdp62q4rnx7dp4i0dhnc8kzi8h6zzjdy7ym0mk9r7xkxxx0s3ds";

buildFlagsArray = [ "-ldflags=" "-w -X github.com/hetznercloud/cli/cli.Version=${version}" ];

7 changes: 1 addition & 6 deletions pkgs/development/tools/shellcheck/default.nix
Original file line number Diff line number Diff line change
@@ -16,13 +16,12 @@ let
in drv' // { meta = meta' // overrideFn meta'; };

bin = haskell.lib.justStaticExecutables haskellPackages.ShellCheck;
src = haskellPackages.ShellCheck.src;

shellcheck = stdenv.mkDerivation {
pname = "shellcheck";
version = bin.version;

inherit src;
inherit (haskellPackages.ShellCheck) meta src;

nativeBuildInputs = [ pandoc ];

@@ -40,10 +39,6 @@ let
install -Dm644 shellcheck.1 $man/share/man/man1/shellcheck.1
mkdir $out
'';

# just some file copying
preferLocalBuild = true;
allowSubstitutes = false;
};

in
55 changes: 29 additions & 26 deletions pkgs/os-specific/linux/rtkit/default.nix
Original file line number Diff line number Diff line change
@@ -1,43 +1,46 @@
{ stdenv, fetchurl, fetchpatch, pkgconfig, dbus, libcap }:
{ stdenv, fetchFromGitHub, fetchpatch
, meson, ninja, pkgconfig, unixtools
, dbus, libcap, polkit, systemd
}:

stdenv.mkDerivation rec {
name = "rtkit-0.11";

src = fetchurl {
url = "http://0pointer.de/public/${name}.tar.xz";
sha256 = "1l5cb1gp6wgpc9vq6sx021qs6zb0nxg3cn1ba00hjhgnrw4931b8";
pname = "rtkit";
version = "0.13";

src = fetchFromGitHub {
owner = "heftig";
repo = "rtkit";
rev = "c295fa849f52b487be6433e69e08b46251950399";
sha256 = "0yfsgi3pvg6dkizrww1jxpkvcbhzyw9110n1dypmzq0c5hlzjxcd";
};

configureFlags = [
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
];

patches = [
# Drop removed ControlGroup stanza
(fetchpatch {
url = "http://git.0pointer.net/rtkit.git/patch/?id=6c28e20c0be2f616a025059fda0ffac84e7f4f17";
sha256 = "0lsxk5nv08i1wjb4xh20i5fcwg3x0qq0k4f8bc0r9cczph2sv7ck";
url = "https://github.com/heftig/rtkit/commit/7d62095b94f8df3891c984a1535026d2658bb177.patch";
sha256 = "17acv549zqcgh7sgprfagbf6drqsr0zdwvf1dsqda7wlqc2h9zn7";
})

# security patch: Pass uid of caller to polkit
(fetchpatch {
url = "http://git.0pointer.net/rtkit.git/patch/?id=88d4082ef6caf6b071d749dca1c50e7edde914cc";
sha256 = "0hp1blbi359qz8fmr6nj4w9yc0jf3dd176f8pn25wdj38n13qkix";
})

# Fix format string errors due to -Werror=format-security
(fetchpatch {
url = "https://sources.debian.org/data/main/r/rtkit/0.11-6/debian/patches/0006-fix-format-strings.patch";
sha256 = "09mr89lh16jvz6cqw00zmh0xk919bjfhjkvna1czwmafwy9p7kgp";
url = "https://github.com/heftig/rtkit/commit/98f70edd8f534c371cb4308b9720739c5178918d.patch";
sha256 = "18mnjjsdjfr184nkzi01xyphpdngi31ry4bmkv9ysjxf9wilv4nl";
})
];

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ dbus libcap ];
NIX_LDFLAGS = "-lrt";
nativeBuildInputs = [ meson ninja pkgconfig unixtools.xxd ];
buildInputs = [ dbus libcap polkit systemd ];

mesonFlags = [
"-Dinstalled_tests=false"

"-Ddbus_systemservicedir=${placeholder "out"}/share/dbus-1/system-services"
"-Ddbus_interfacedir=${placeholder "out"}/share/dbus-1/interfaces"
"-Ddbus_rulesdir=${placeholder "out"}/etc/dbus-1/system.d"
"-Dpolkit_actiondir=${placeholder "out"}/share/polkit-1/actions"
"-Dsystemd_systemunitdir=${placeholder "out"}/etc/systemd/system"
];

meta = with stdenv.lib; {
homepage = "http://0pointer.de/blog/projects/rtkit";
homepage = "https://github.com/heftig/rtkit";
description = "A daemon that hands out real-time priority to processes";
license = with licenses; [ gpl3 bsd0 ]; # lib is bsd license
platforms = platforms.linux;
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 = "2020-03-12";
version = "2020-04-10";
pname = "oh-my-zsh";
rev = "07e3236bc5c8dbf9d818a4f0145f09bdb4bec6f0";
rev = "d53355ab38763c6f637008d019c8e8b98f19b714";

src = fetchgit { inherit rev;
url = "https://github.com/ohmyzsh/ohmyzsh";
sha256 = "1imjvig60r250ljbnajxq4zv4fgs3l3jrrda0dvlnax5v5psxb12";
sha256 = "1rf086f26plqsyx4h19acqacwyr99amavhn1lk0g13kk58kcq9v6";
};

pathsToLink = [ "/share/oh-my-zsh" ];
4 changes: 2 additions & 2 deletions pkgs/tools/audio/pulsemixer/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "pulsemixer";
version = "1.5.0";
version = "1.5.1";

src = fetchFromGitHub {
owner = "GeorgeFilipkin";
repo = pname;
rev = version;
sha256 = "162nfpyqn4gp45x332a73n07c118vispz3jicin4p67x3f8f0g3j";
sha256 = "1jagx9zmz5pfsld8y2rj2kqg6ww9f6vqiawfy3vhqc49x3xx92p4";
};

inherit libpulseaudio;