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: 32c008a946c7
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: 221ec615f899
Choose a head ref
Loading
Showing with 1,584 additions and 422 deletions.
  1. +8 −0 nixos/doc/manual/release-notes/rl-1809.xml
  2. +4 −4 nixos/modules/security/acme.nix
  3. +17 −1 nixos/modules/services/monitoring/datadog-agent.nix
  4. +1 −1 nixos/modules/services/monitoring/grafana.nix
  5. +1 −0 pkgs/applications/altcoins/bitcoin-abc.nix
  6. +1 −0 pkgs/applications/altcoins/bitcoin-classic.nix
  7. +1 −0 pkgs/applications/altcoins/bitcoin-unlimited.nix
  8. +1 −0 pkgs/applications/altcoins/bitcoin-xt.nix
  9. +4 −2 pkgs/applications/altcoins/default.nix
  10. +1 −0 pkgs/applications/altcoins/ethsign/default.nix
  11. +7 −2 pkgs/applications/altcoins/litecoin.nix
  12. +0 −57 pkgs/applications/audio/banshee/default.nix
  13. +4 −13 pkgs/applications/editors/leo-editor/default.nix
  14. +25 −17 pkgs/applications/networking/browsers/eolie/default.nix
  15. +9 −7 pkgs/applications/networking/cluster/kubernetes/default.nix
  16. +2 −2 pkgs/applications/networking/syncthing/default.nix
  17. +6 −3 pkgs/applications/science/logic/tamarin-prover/default.nix
  18. +109 −0 pkgs/applications/science/logic/tamarin-prover/ghc-8.4-support-term.patch
  19. +130 −0 pkgs/applications/science/logic/tamarin-prover/ghc-8.4-support-theory.patch
  20. +140 −0 pkgs/applications/science/logic/tamarin-prover/ghc-8.4-support-utils.patch
  21. +0 −45 pkgs/development/compilers/boo/config.patch
  22. +0 −46 pkgs/development/compilers/boo/default.nix
  23. +1 −0 pkgs/development/libraries/asio/generic.nix
  24. +8 −2 pkgs/development/libraries/ceres-solver/default.nix
  25. +1 −0 pkgs/development/libraries/science/math/atlas/default.nix
  26. +15 −9 pkgs/development/libraries/science/math/scs/default.nix
  27. +2 −0 pkgs/development/libraries/wolfssl/default.nix
  28. +24 −0 pkgs/development/python-modules/backports-shutil-which/default.nix
  29. +6 −0 pkgs/development/python-modules/btrees/default.nix
  30. +45 −0 pkgs/development/python-modules/eth-hash/default.nix
  31. +35 −0 pkgs/development/python-modules/eth-typing/default.nix
  32. +35 −0 pkgs/development/python-modules/eth-utils/default.nix
  33. +7 −2 pkgs/development/python-modules/ledgerblue/default.nix
  34. +5 −9 pkgs/development/python-modules/libagent/default.nix
  35. +17 −7 pkgs/development/python-modules/pydub/default.nix
  36. +0 −46 pkgs/development/python-modules/pydub/pyaudioop-python3.patch
  37. +16 −8 pkgs/development/python-modules/pyfakefs/default.nix
  38. +24 −0 pkgs/development/python-modules/pymsgbox/default.nix
  39. +23 −0 pkgs/development/python-modules/python-u2flib-host/default.nix
  40. +2 −1 pkgs/development/python-modules/readme_renderer/default.nix
  41. +10 −0 pkgs/development/python-modules/restview/default.nix
  42. +13 −3 pkgs/development/python-modules/rlp/default.nix
  43. +7 −0 pkgs/development/python-modules/us/default.nix
  44. +10 −5 pkgs/development/python-modules/zodb/default.nix
  45. +26 −0 pkgs/development/python-modules/zodb/fix-tests-with-persistent-4.4.patch
  46. +0 −71 pkgs/development/tools/build-managers/nant/default.nix
  47. +4 −1 pkgs/misc/calaos/installer/default.nix
  48. +4 −6 pkgs/misc/cups/drivers/brlaser/default.nix
  49. +1 −1 pkgs/misc/screensavers/alock/default.nix
  50. +2 −2 pkgs/servers/atlassian/confluence.nix
  51. +2 −2 pkgs/servers/atlassian/crowd.nix
  52. +2 −2 pkgs/servers/atlassian/jira.nix
  53. +3 −3 pkgs/servers/monitoring/grafana/default.nix
  54. +21 −12 pkgs/servers/monitoring/prometheus/dovecot-exporter-deps.nix
  55. +2 −2 pkgs/servers/monitoring/prometheus/dovecot-exporter.nix
  56. +3 −2 pkgs/tools/graphics/asymptote/default.nix
  57. +2 −1 pkgs/tools/networking/dd-agent/6.nix
  58. +669 −0 pkgs/tools/networking/dd-agent/datadog-process-agent-deps.nix
  59. +26 −0 pkgs/tools/networking/dd-agent/datadog-process-agent.nix
  60. +16 −5 pkgs/tools/networking/mitmproxy/default.nix
  61. +4 −2 pkgs/tools/package-management/cargo-update/default.nix
  62. +2 −0 pkgs/tools/security/aws-okta/default.nix
  63. +2 −2 pkgs/tools/security/vault/default.nix
  64. +2 −2 pkgs/tools/virtualization/google-compute-engine/default.nix
  65. +2 −14 pkgs/top-level/all-packages.nix
  66. +12 −0 pkgs/top-level/python-packages.nix
8 changes: 8 additions & 0 deletions nixos/doc/manual/release-notes/rl-1809.xml
Original file line number Diff line number Diff line change
@@ -407,6 +407,14 @@ inherit (pkgs.nixos {
deprecated. Use <literal>networking.networkmanager.dns</literal> instead.
</para>
</listitem>
<listitem>
<para>
The Kubernetes package has been bumped to major version 1.11.
Please consult the
<link xlink:href="https://github.com/kubernetes/kubernetes/blob/release-1.11/CHANGELOG-1.11.md">release notes</link>
for details on new features and api changes.
</para>
</listitem>
<listitem>
<para>
The option
8 changes: 4 additions & 4 deletions nixos/modules/security/acme.nix
Original file line number Diff line number Diff line change
@@ -302,15 +302,15 @@ in
workdir="$(mktemp -d)"
# Create CA
openssl genrsa -des3 -passout pass:x -out $workdir/ca.pass.key 2048
openssl rsa -passin pass:x -in $workdir/ca.pass.key -out $workdir/ca.key
openssl genrsa -des3 -passout pass:xxxx -out $workdir/ca.pass.key 2048
openssl rsa -passin pass:xxxx -in $workdir/ca.pass.key -out $workdir/ca.key
openssl req -new -key $workdir/ca.key -out $workdir/ca.csr \
-subj "/C=UK/ST=Warwickshire/L=Leamington/O=OrgName/OU=Security Department/CN=example.com"
openssl x509 -req -days 1 -in $workdir/ca.csr -signkey $workdir/ca.key -out $workdir/ca.crt
# Create key
openssl genrsa -des3 -passout pass:x -out $workdir/server.pass.key 2048
openssl rsa -passin pass:x -in $workdir/server.pass.key -out $workdir/server.key
openssl genrsa -des3 -passout pass:xxxx -out $workdir/server.pass.key 2048
openssl rsa -passin pass:xxxx -in $workdir/server.pass.key -out $workdir/server.key
openssl req -new -key $workdir/server.key -out $workdir/server.csr \
-subj "/C=UK/ST=Warwickshire/L=Leamington/O=OrgName/OU=IT Department/CN=example.com"
openssl x509 -req -days 1 -in $workdir/server.csr -CA $workdir/ca.crt \
18 changes: 17 additions & 1 deletion nixos/modules/services/monitoring/datadog-agent.nix
Original file line number Diff line number Diff line change
@@ -8,14 +8,14 @@ let
ddConf = {
dd_url = "https://app.datadoghq.com";
skip_ssl_validation = "no";
api_key = "";
confd_path = "/etc/datadog-agent/conf.d";
additional_checksd = "/etc/datadog-agent/checks.d";
use_dogstatsd = true;
}
// optionalAttrs (cfg.logLevel != null) { log_level = cfg.logLevel; }
// optionalAttrs (cfg.hostname != null) { inherit (cfg) hostname; }
// optionalAttrs (cfg.tags != null ) { tags = concatStringsSep ", " cfg.tags; }
// optionalAttrs (cfg.enableLiveProcessCollection) { process_config = { enabled = "true"; }; }
// cfg.extraConfig;

# Generate Datadog configuration files for each configured checks.
@@ -125,6 +125,13 @@ in {
'';
};

enableLiveProcessCollection = mkOption {
description = ''
Whether to enable the live process collection agent.
'';
default = false;
type = types.bool;
};
checks = mkOption {
description = ''
Configuration for all Datadog checks. Keys of this attribute
@@ -229,6 +236,15 @@ in {
path = [ datadogPkg pkgs.python pkgs.sysstat pkgs.procps pkgs.jdk ];
serviceConfig.ExecStart = "${datadogPkg}/bin/dd-jmxfetch";
});

datadog-process-agent = lib.mkIf cfg.enableLiveProcessCollection (makeService {
description = "Datadog Live Process Agent";
path = [ ];
script = ''
export DD_API_KEY=$(head -n 1 ${cfg.apiKeyFile})
${pkgs.datadog-process-agent}/bin/agent --config /etc/datadog-agent/datadog.yaml
'';
});
};

environment.etc = etcfiles;
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/grafana.nix
Original file line number Diff line number Diff line change
@@ -235,7 +235,7 @@ in {
but without GF_ prefix
'';
default = {};
type = types.attrsOf types.str;
type = with types; attrsOf (either str path);
};
};

1 change: 1 addition & 0 deletions pkgs/applications/altcoins/bitcoin-abc.nix
Original file line number Diff line number Diff line change
@@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
homepage = https://bitcoinabc.org/;
maintainers = with maintainers; [ lassulus ];
license = licenses.mit;
broken = stdenv.isDarwin;
platforms = platforms.unix;
};
}
1 change: 1 addition & 0 deletions pkgs/applications/altcoins/bitcoin-classic.nix
Original file line number Diff line number Diff line change
@@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
homepage = https://bitcoinclassic.com/;
maintainers = with maintainers; [ jefdaj ];
license = licenses.mit;
broken = stdenv.isDarwin;
platforms = platforms.unix;
};
}
1 change: 1 addition & 0 deletions pkgs/applications/altcoins/bitcoin-unlimited.nix
Original file line number Diff line number Diff line change
@@ -62,6 +62,7 @@ stdenv.mkDerivation rec {
homepage = https://www.bitcoinunlimited.info/;
maintainers = with maintainers; [ DmitryTsygankov ];
license = licenses.mit;
broken = stdenv.isDarwin;
platforms = platforms.unix;
};
}
1 change: 1 addition & 0 deletions pkgs/applications/altcoins/bitcoin-xt.nix
Original file line number Diff line number Diff line change
@@ -43,6 +43,7 @@ stdenv.mkDerivation rec{
homepage = https://bitcoinxt.software/;
maintainers = with maintainers; [ jefdaj ];
license = licenses.mit;
broken = stdenv.isDarwin;
platforms = platforms.unix;
};
}
6 changes: 4 additions & 2 deletions pkgs/applications/altcoins/default.nix
Original file line number Diff line number Diff line change
@@ -62,8 +62,10 @@ rec {
buildGoPackage = buildGo110Package;
};

litecoin = callPackage ./litecoin.nix { withGui = true; };
litecoind = callPackage ./litecoin.nix { withGui = false; };
litecoin = callPackage ./litecoin.nix {
inherit (darwin.apple_sdk.frameworks) AppKit;
};
litecoind = litecoin.override { withGui = false; };

masari = callPackage ./masari.nix { };

1 change: 1 addition & 0 deletions pkgs/applications/altcoins/ethsign/default.nix
Original file line number Diff line number Diff line change
@@ -54,6 +54,7 @@ buildGoPackage rec {
meta = with stdenv.lib; {
homepage = https://github.com/dapphub/ethsign;
description = "Make raw signed Ethereum transactions";
broken = stdenv.isDarwin; # test with CoreFoundation 10.11
license = [licenses.gpl3];
};
}
9 changes: 7 additions & 2 deletions pkgs/applications/altcoins/litecoin.nix
Original file line number Diff line number Diff line change
@@ -2,9 +2,12 @@
, pkgconfig, autoreconfHook
, openssl, db48, boost, zlib, miniupnpc
, glib, protobuf, utillinux, qt4, qrencode
, withGui, libevent }:
, AppKit
, withGui ? true, libevent
}:

with stdenv.lib;

stdenv.mkDerivation rec {

name = "litecoin" + (toString (optional (!withGui) "d")) + "-" + version;
@@ -20,6 +23,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl db48 boost zlib
miniupnpc glib protobuf utillinux libevent ]
++ optionals stdenv.isDarwin [ AppKit ]
++ optionals withGui [ qt4 qrencode ];

configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
@@ -39,6 +43,7 @@ stdenv.mkDerivation rec {
homepage = https://litecoin.org/;
platforms = platforms.unix;
license = licenses.mit;
maintainers = with maintainers; [ offline AndersonTorres ];
broken = stdenv.isDarwin;
maintainers = with maintainers; [ offline AndersonTorres ];
};
}
57 changes: 0 additions & 57 deletions pkgs/applications/audio/banshee/default.nix

This file was deleted.

17 changes: 4 additions & 13 deletions pkgs/applications/editors/leo-editor/default.nix
Original file line number Diff line number Diff line change
@@ -1,29 +1,20 @@
{ stdenv, python3, libsForQt56, fetchFromGitHub, makeWrapper, makeDesktopItem }:
{ stdenv, python3, fetchFromGitHub, makeWrapper, makeDesktopItem }:

let
packageOverrides = self: super: {
pyqt56 = libsForQt56.callPackage ../../../development/python-modules/pyqt/5.x.nix {
pythonPackages = self;
};
};

pythonPackages = (python3.override { inherit packageOverrides; }).pkgs;
in
stdenv.mkDerivation rec {
name = "leo-editor-${version}";
version = "5.6";
version = "5.7.3";

src = fetchFromGitHub {
owner = "leo-editor";
repo = "leo-editor";
rev = version;
sha256 = "1k6q3gvaf05bi0mzkmmb1p6wrgxwri7ivn38p6f0m0wfd3f70x2j";
sha256 = "0ri6l6cxwva450l05af5vs1lsgrz6ciwd02njdgphs9pm1vwxbl9";
};

dontBuild = true;

nativeBuildInputs = [ makeWrapper python3 ];
propagatedBuildInputs = with pythonPackages; [ pyqt56 docutils ];
propagatedBuildInputs = with python3.pkgs; [ pyqt5 docutils ];

desktopItem = makeDesktopItem rec {
name = "leo-editor";
42 changes: 25 additions & 17 deletions pkgs/applications/networking/browsers/eolie/default.nix
Original file line number Diff line number Diff line change
@@ -1,45 +1,53 @@
{ stdenv, fetchgit, meson, ninja, pkgconfig, wrapGAppsHook
, desktop-file-utils, gobjectIntrospection, python36Packages
, gnome3, gst_all_1, gtkspell3, hunspell }:
{ stdenv, fetchgit, meson, ninja, pkgconfig
, python3, gtk3, libsecret, gst_all_1, webkitgtk
, glib-networking, gtkspell3, hunspell, desktop-file-utils
, gobjectIntrospection, wrapGAppsHook }:

stdenv.mkDerivation rec {
python3.pkgs.buildPythonApplication rec {
name = "eolie-${version}";
version = "0.9.35";
version = "0.9.36";

format = "other";
doCheck = false;

src = fetchgit {
url = "https://gitlab.gnome.org/World/eolie";
rev = "refs/tags/${version}";
fetchSubmodules = true;
sha256 = "0x3p1fgx1fhrnr7vkkpnl34401r6k6xg2mrjff7ncb1k57q522k7";
sha256 = "1pqs6lddkj7nvxdwf0yncwdcr7683mpvx3912vn7b1f2q2zkp1fv";
};

nativeBuildInputs = with python36Packages; [
nativeBuildInputs = [
desktop-file-utils
gobjectIntrospection
meson
ninja
pkgconfig
wrapGAppsHook
wrapPython
];

buildInputs = [ gtkspell3 hunspell python36Packages.pygobject3 ] ++ (with gnome3; [
glib glib-networking gsettings-desktop-schemas gtk3 webkitgtk libsecret
]) ++ (with gst_all_1; [
gst-libav gst-plugins-base gst-plugins-ugly gstreamer
]);
buildInputs = with gst_all_1; [
glib-networking
gst-libav
gst-plugins-base
gst-plugins-ugly
gstreamer
gtk3
gtkspell3
hunspell
libsecret
webkitgtk
];

pythonPath = with python36Packages; [
pythonPath = with python3.pkgs; [
beautifulsoup4
pycairo
pygobject3
python-dateutil
];

postFixup = "wrapPythonPrograms";

postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
'';

16 changes: 9 additions & 7 deletions pkgs/applications/networking/cluster/kubernetes/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, removeReferencesTo, which, go_1_9, go-bindata, makeWrapper, rsync
{ stdenv, lib, fetchFromGitHub, removeReferencesTo, which, go_1_10, go-bindata, makeWrapper, rsync
, components ? [
"cmd/kubeadm"
"cmd/kubectl"
@@ -15,17 +15,16 @@ with lib;

stdenv.mkDerivation rec {
name = "kubernetes-${version}";
version = "1.10.5";
version = "1.11.3";

src = fetchFromGitHub {
owner = "kubernetes";
repo = "kubernetes";
rev = "v${version}";
sha256 = "1k6ayb43l68l0qw31cc4k1pwvm8aks3l2xm0gdxdxbbww1mnzix2";
sha256 = "1gwb5gs9l0adv3qc70wf8dwvbjh1mmgd3hh1jkwsbbnach28dvzb";
};

# Build using golang v1.9 in accordance with https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.10.md#external-dependencies
buildInputs = [ removeReferencesTo makeWrapper which go_1_9 rsync go-bindata ];
buildInputs = [ removeReferencesTo makeWrapper which go_1_10 rsync go-bindata ];

outputs = ["out" "man" "pause"];

@@ -39,7 +38,7 @@ stdenv.mkDerivation rec {
patchShebangs ./hack
'';

WHAT="--use_go_build ${concatStringsSep " " components}";
WHAT="${concatStringsSep " " components}";

postBuild = ''
./hack/generate-docs.sh
@@ -53,16 +52,19 @@ stdenv.mkDerivation rec {
cp build/pause/pause "$pause/bin/pause"
cp -R docs/man/man1 "$man/share/man"
cp cluster/addons/addon-manager/namespace.yaml $out/share
cp cluster/addons/addon-manager/kube-addons.sh $out/bin/kube-addons
patchShebangs $out/bin/kube-addons
substituteInPlace $out/bin/kube-addons \
--replace /opt/namespace.yaml $out/share/namespace.yaml
wrapProgram $out/bin/kube-addons --set "KUBECTL_BIN" "$out/bin/kubectl"
$out/bin/kubectl completion bash > $out/share/bash-completion/completions/kubectl
$out/bin/kubectl completion zsh > $out/share/zsh/site-functions/_kubectl
'';

preFixup = ''
find $out/bin $pause/bin -type f -exec remove-references-to -t ${go_1_9} '{}' +
find $out/bin $pause/bin -type f -exec remove-references-to -t ${go_1_10} '{}' +
'';

meta = {
Loading