summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-09-06 16:55:11 +0200
committerJan Tojnar <jtojnar@gmail.com>2019-09-06 16:55:11 +0200
commitf9237f315264a0ccb8b50ff4fa6ff456239e4dc1 (patch)
tree4c7212dd0f5244a3f09b8dcd5abca15737cffedf
parentcdf426488b5dc3a7c051d7ad1c90c07dc0c3a89f (diff)
parent4a1189e0abdbe26e34fc05555cf49c25583dfe3d (diff)
Merge branch 'master' into staging-next
-rw-r--r--nixos/doc/manual/Makefile2
-rw-r--r--nixos/doc/manual/release-notes/rl-1909.xml18
-rw-r--r--nixos/modules/services/logging/logstash.nix2
-rw-r--r--nixos/modules/services/search/kibana.nix2
-rw-r--r--nixos/tests/ceph.nix2
-rw-r--r--nixos/tests/elk.nix6
-rw-r--r--pkgs/applications/audio/sfxr-qt/default.nix14
-rw-r--r--pkgs/applications/graphics/drawpile/default.nix7
-rw-r--r--pkgs/applications/misc/wtf/default.nix19
-rw-r--r--pkgs/applications/networking/browsers/palemoon/default.nix9
-rw-r--r--pkgs/applications/networking/instant-messengers/discord/default.nix6
-rwxr-xr-xpkgs/build-support/fetchgit/nix-prefetch-git4
-rw-r--r--pkgs/desktops/gnome-3/misc/gitg/default.nix12
-rw-r--r--pkgs/development/coq-modules/iris/default.nix17
-rw-r--r--pkgs/development/coq-modules/stdpp/default.nix20
-rw-r--r--pkgs/development/libraries/clipp/clipp.pc9
-rw-r--r--pkgs/development/libraries/clipp/default.nix30
-rw-r--r--pkgs/development/python-modules/loguru/default.nix4
-rw-r--r--pkgs/development/python-modules/purl/default.nix27
-rw-r--r--pkgs/development/python-modules/requests-mock/default.nix26
-rw-r--r--pkgs/development/tools/misc/kibana/5.x.nix45
-rw-r--r--pkgs/misc/logging/beats/5.x.nix42
-rw-r--r--pkgs/servers/search/elasticsearch/5.x.nix44
-rw-r--r--pkgs/servers/search/elasticsearch/es-classpath-5.x.patch43
-rw-r--r--pkgs/servers/search/elasticsearch/es-home-5.x.patch31
-rw-r--r--pkgs/tools/admin/eksctl/default.nix6
-rw-r--r--pkgs/tools/admin/procs/default.nix6
-rw-r--r--pkgs/tools/filesystems/ceph/default.nix9
-rw-r--r--pkgs/tools/misc/fortune/default.nix51
-rw-r--r--pkgs/tools/misc/logstash/5.x.nix39
-rw-r--r--pkgs/tools/misc/megacli/default.nix12
-rw-r--r--pkgs/tools/system/journalbeat/default.nix28
-rw-r--r--pkgs/tools/typesetting/xmlroff/default.nix50
-rw-r--r--pkgs/tools/typesetting/xmlroff/xmlroff.patch11
-rw-r--r--pkgs/top-level/all-packages.nix23
-rw-r--r--pkgs/top-level/python-packages.nix2
36 files changed, 236 insertions, 442 deletions
diff --git a/nixos/doc/manual/Makefile b/nixos/doc/manual/Makefile
index 9ff599a0090f..b86a76005753 100644
--- a/nixos/doc/manual/Makefile
+++ b/nixos/doc/manual/Makefile
@@ -24,7 +24,7 @@ fix-misc-xml:
clean:
rm -f manual-combined.xml generated
-generated: ./options-to-docbook.xsl
+generated:
nix-build ../../release.nix \
--attr manualGeneratedSources.x86_64-linux \
--out-link ./generated
diff --git a/nixos/doc/manual/release-notes/rl-1909.xml b/nixos/doc/manual/release-notes/rl-1909.xml
index ff1bd628ad2c..ee6ef883068e 100644
--- a/nixos/doc/manual/release-notes/rl-1909.xml
+++ b/nixos/doc/manual/release-notes/rl-1909.xml
@@ -63,10 +63,10 @@
like games.
<itemizedlist>
<para>This can be achieved with the following options which the desktop manager default enables, excluding <literal>games</literal>.</para>
- <listitem><para><link linkend="opt-services.gnome3.core-os-services.enable"><literal>services.gnome3.core-os-services.enable</literal></link></para></listitem>
- <listitem><para><link linkend="opt-services.gnome3.core-shell.enable"><literal>services.gnome3.core-shell.enable</literal></link></para></listitem>
- <listitem><para><link linkend="opt-services.gnome3.core-utilities.enable"><literal>services.gnome3.core-utilities.enable</literal></link></para></listitem>
- <listitem><para><link linkend="opt-services.gnome3.games.enable"><literal>services.gnome3.games.enable</literal></link></para></listitem>
+ <listitem><para><xref linkend="opt-services.gnome3.core-os-services.enable"/></para></listitem>
+ <listitem><para><xref linkend="opt-services.gnome3.core-shell.enable"/></para></listitem>
+ <listitem><para><xref linkend="opt-services.gnome3.core-utilities.enable"/></para></listitem>
+ <listitem><para><xref linkend="opt-services.gnome3.games.enable"/></para></listitem>
</itemizedlist>
With these options we hope to give users finer grained control over their systems. Prior to this change you'd either have to manually
disable options or use <option>environment.gnome3.excludePackages</option> which only excluded the optional applications.
@@ -428,6 +428,16 @@
any updates from upstream and depends on outdated Python2-based modules.
</para>
</listitem>
+ <listitem>
+ <para>
+ Old unsupported versions (<literal>logstash5</literal>,
+ <literal>kibana5</literal>,
+ <literal>filebeat5</literal>,
+ <literal>heartbeat5</literal>,
+ <literal>metricbeat5</literal>,
+ <literal>packetbeat5</literal>) of the ELK-stack and Elastic beats have been removed.
+ </para>
+ </listitem>
</itemizedlist>
</section>
diff --git a/nixos/modules/services/logging/logstash.nix b/nixos/modules/services/logging/logstash.nix
index 9b707e9deb58..4943e8d7db3a 100644
--- a/nixos/modules/services/logging/logstash.nix
+++ b/nixos/modules/services/logging/logstash.nix
@@ -53,7 +53,7 @@ in
type = types.package;
default = pkgs.logstash;
defaultText = "pkgs.logstash";
- example = literalExample "pkgs.logstash5";
+ example = literalExample "pkgs.logstash";
description = "Logstash package to use.";
};
diff --git a/nixos/modules/services/search/kibana.nix b/nixos/modules/services/search/kibana.nix
index c096af731ad4..75871a9df949 100644
--- a/nixos/modules/services/search/kibana.nix
+++ b/nixos/modules/services/search/kibana.nix
@@ -150,7 +150,7 @@ in {
description = "Kibana package to use";
default = pkgs.kibana;
defaultText = "pkgs.kibana";
- example = "pkgs.kibana5";
+ example = "pkgs.kibana";
type = types.package;
};
diff --git a/nixos/tests/ceph.nix b/nixos/tests/ceph.nix
index 0706b68075c1..57120ff978f7 100644
--- a/nixos/tests/ceph.nix
+++ b/nixos/tests/ceph.nix
@@ -1,7 +1,7 @@
import ./make-test.nix ({pkgs, lib, ...}: {
name = "All-in-one-basic-ceph-cluster";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ lejonet ];
+ maintainers = [ johanot lejonet ];
};
nodes = {
diff --git a/nixos/tests/elk.nix b/nixos/tests/elk.nix
index e423f295a084..b33d98b85d69 100644
--- a/nixos/tests/elk.nix
+++ b/nixos/tests/elk.nix
@@ -178,12 +178,6 @@ let
'';
};
in mapAttrs mkElkTest {
- ELK-5 = {
- elasticsearch = pkgs.elasticsearch5;
- logstash = pkgs.logstash5;
- kibana = pkgs.kibana5;
- journalbeat = pkgs.journalbeat5;
- };
ELK-6 =
if enableUnfree
then {
diff --git a/pkgs/applications/audio/sfxr-qt/default.nix b/pkgs/applications/audio/sfxr-qt/default.nix
index 5708ef0ce0a6..706d0faa3bc1 100644
--- a/pkgs/applications/audio/sfxr-qt/default.nix
+++ b/pkgs/applications/audio/sfxr-qt/default.nix
@@ -1,11 +1,14 @@
-{ stdenv, fetchFromGitHub
+{ lib
+, mkDerivation
+, fetchFromGitHub
, cmake
-, qtbase, qtquickcontrols2
+, qtbase
+, qtquickcontrols2
, SDL
, python3
}:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "sfxr-qt";
version = "1.2.0";
src = fetchFromGitHub {
@@ -20,12 +23,13 @@ stdenv.mkDerivation rec {
(python3.withPackages (pp: with pp; [ pyyaml jinja2 ]))
];
buildInputs = [
- qtbase qtquickcontrols2
+ qtbase
+ qtquickcontrols2
SDL
];
configurePhase = "cmake . -DCMAKE_INSTALL_PREFIX=$out";
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = https://github.com/agateau/sfxr-qt;
description = "A sound effect generator, QtQuick port of sfxr";
license = licenses.gpl2;
diff --git a/pkgs/applications/graphics/drawpile/default.nix b/pkgs/applications/graphics/drawpile/default.nix
index 5db104f031c4..46bfe64dd030 100644
--- a/pkgs/applications/graphics/drawpile/default.nix
+++ b/pkgs/applications/graphics/drawpile/default.nix
@@ -1,4 +1,5 @@
-{ stdenv
+{ lib
+, mkDerivation
, fetchurl
, cmake
, extra-cmake-modules
@@ -31,7 +32,7 @@
, enableKisTablet ? false # enable improved graphics tablet support
}:
-with stdenv.lib;
+with lib;
let
commonDeps = [
@@ -57,7 +58,7 @@ let
qtx11extras
];
-in stdenv.mkDerivation rec {
+in mkDerivation rec {
pname = "drawpile";
version = "2.1.11";
diff --git a/pkgs/applications/misc/wtf/default.nix b/pkgs/applications/misc/wtf/default.nix
index 1b4c4ac6a34d..60ff84ffe593 100644
--- a/pkgs/applications/misc/wtf/default.nix
+++ b/pkgs/applications/misc/wtf/default.nix
@@ -1,12 +1,18 @@
{ buildGoModule
, fetchFromGitHub
, lib
+, makeWrapper
+, ncurses
}:
buildGoModule rec {
pname = "wtf";
version = "0.21.0";
+ overrideModAttrs = _oldAttrs : _oldAttrs // {
+ preBuild = ''export GOPROXY="https://gocenter.io"'';
+ };
+
src = fetchFromGitHub {
owner = "wtfutil";
repo = pname;
@@ -14,17 +20,14 @@ buildGoModule rec {
sha256 = "0sd8vrx7nak0by4whdmd9jzr66zm48knv1w1aqi90709fv98brm9";
};
- modSha256 = "1nqnjpkrjbb75yfbzh3v3vc4xy5a2aqm9jr40hwq589a4l9p5pw2";
+ modSha256 = "0jgq9ql27x0kdp59l5drisl5v7v7sx2wy3zqjbr3bqyh3vdx19ic";
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
- # As per https://github.com/wtfutil/wtf/issues/501, one of the
- # dependencies can't be fetched, so vendored dependencies should
- # be used instead
- modBuildPhase = ''
- runHook preBuild
- make build -mod=vendor
- runHook postBuild
+ nativeBuildInputs = [ makeWrapper ];
+
+ postInstall = ''
+ wrapProgram "$out/bin/wtf" --prefix PATH : "${ncurses.dev}/bin"
'';
meta = with lib; {
diff --git a/pkgs/applications/networking/browsers/palemoon/default.nix b/pkgs/applications/networking/browsers/palemoon/default.nix
index c4182785e829..66b947946cdc 100644
--- a/pkgs/applications/networking/browsers/palemoon/default.nix
+++ b/pkgs/applications/networking/browsers/palemoon/default.nix
@@ -13,14 +13,13 @@ let
in stdenv.mkDerivation rec {
pname = "palemoon";
- version = "28.6.0.1";
+ version = "28.7.0";
src = fetchFromGitHub {
- name = "${pname}-${version}";
owner = "MoonchildProductions";
repo = "UXP";
rev = "PM${version}_Release";
- sha256 = "1adgajy5vsghvjlv2nqyrbp6mnv3k6slqxxi8r949xlb5h6d210b";
+ sha256 = "0i6fy1mvjy6vpqnvhh516mxbv4d2z73yghk3frln4ql8zavba7qq";
};
desktopItem = makeDesktopItem {
@@ -91,8 +90,6 @@ in stdenv.mkDerivation rec {
"
'';
- hardeningDisable = [ "format" ];
-
buildPhase = ''
$src/mach build
'';
@@ -129,7 +126,7 @@ in stdenv.mkDerivation rec {
'';
homepage = "https://www.palemoon.org/";
license = licenses.mpl20;
- maintainers = with maintainers; [ rnhmjoj AndersonTorres OPNA2608 ];
+ maintainers = with maintainers; [ AndersonTorres OPNA2608 ];
platforms = [ "i686-linux" "x86_64-linux" ];
};
}
diff --git a/pkgs/applications/networking/instant-messengers/discord/default.nix b/pkgs/applications/networking/instant-messengers/discord/default.nix
index f5883875fcdc..6bedde3ebd64 100644
--- a/pkgs/applications/networking/instant-messengers/discord/default.nix
+++ b/pkgs/applications/networking/instant-messengers/discord/default.nix
@@ -17,10 +17,10 @@ in {
pname = "discord-ptb";
binaryName = "DiscordPTB";
desktopName = "Discord PTB";
- version = "0.0.15";
+ version = "0.0.16";
src = fetchurl {
- url = "https://dl-ptb.discordapp.net/apps/linux/0.0.15/discord-ptb-0.0.15.tar.gz";
- sha256 = "0znqb0a3yglgx7a9ypkb81jcm8kqgc6559zi7vfqn02zh15gqv6a";
+ url = "https://dl-ptb.discordapp.net/apps/linux/0.0.16/discord-ptb-0.0.16.tar.gz";
+ sha256 = "1ia94xvzygim9rx1sjnnss518ggw0i20mhp9pby33q70ha35n0aq";
};
};
canary = callPackage ./base.nix {
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git
index b447911ab8d3..931be1a37007 100755
--- a/pkgs/build-support/fetchgit/nix-prefetch-git
+++ b/pkgs/build-support/fetchgit/nix-prefetch-git
@@ -265,7 +265,9 @@ make_deterministic_repo(){
rm -f .git/config
# Garbage collect unreferenced objects.
- git gc --prune=all
+ # Note: --keep-largest-pack prevents non-deterministic ordering of packs
+ # listed in .git/objects/info/packs by only using a single pack
+ git gc --prune=all --keep-largest-pack
)
}
diff --git a/pkgs/desktops/gnome-3/misc/gitg/default.nix b/pkgs/desktops/gnome-3/misc/gitg/default.nix
index 94703f375b21..94418849b987 100644
--- a/pkgs/desktops/gnome-3/misc/gitg/default.nix
+++ b/pkgs/desktops/gnome-3/misc/gitg/default.nix
@@ -30,21 +30,13 @@
stdenv.mkDerivation rec {
pname = "gitg";
- version = "3.32.0";
+ version = "3.32.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1wzsv7bh0a2w70f938hkpzbb9xkyrp3bil65c0q3yf2v72nbbn81";
+ sha256 = "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914";
};
- patches = [
- # https://gitlab.gnome.org/GNOME/gitg/issues/213
- (fetchpatch {
- url = "https://gitlab.gnome.org/GNOME/gitg/merge_requests/83.patch";
- sha256 = "1f7wx1d3k5pnp8zbrqssip57b9jxn3hc7a83psm7fny970qmd18z";
- })
- ];
-
postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
diff --git a/pkgs/development/coq-modules/iris/default.nix b/pkgs/development/coq-modules/iris/default.nix
index ea26f3e1ca9d..0718e518b35c 100644
--- a/pkgs/development/coq-modules/iris/default.nix
+++ b/pkgs/development/coq-modules/iris/default.nix
@@ -1,15 +1,18 @@
-{ stdenv, fetchzip, coq, ssreflect, stdpp }:
+{ stdenv, fetchFromGitLab, coq, stdpp }:
stdenv.mkDerivation rec {
- version = "3.1.0";
+ version = "3.2.0";
name = "coq${coq.coq-version}-iris-${version}";
- src = fetchzip {
- url = "https://gitlab.mpi-sws.org/FP/iris-coq/-/archive/iris-${version}/iris-coq-iris-${version}.tar.gz";
- sha256 = "0ipdb061jj205avxifshxkpyxxqykigmlxk2n5nvxj62gs3rl5j1";
+ src = fetchFromGitLab {
+ domain = "gitlab.mpi-sws.org";
+ owner = "iris";
+ repo = "iris";
+ rev = "iris-${version}";
+ sha256 = "10dfi7qx6j5w6kbmbrf05xh18jwxr9iz5g7y0f6157msgvl081xs";
};
buildInputs = [ coq ];
- propagatedBuildInputs = [ ssreflect stdpp ];
+ propagatedBuildInputs = [ stdpp ];
enableParallelBuilding = true;
@@ -24,7 +27,7 @@ stdenv.mkDerivation rec {
};
passthru = {
- compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" ];
+ compatibleCoqVersions = v: builtins.elem v [ "8.7" "8.8" "8.9" "8.10" ];
};
}
diff --git a/pkgs/development/coq-modules/stdpp/default.nix b/pkgs/development/coq-modules/stdpp/default.nix
index 883ed971b083..3ba99e87ffb6 100644
--- a/pkgs/development/coq-modules/stdpp/default.nix
+++ b/pkgs/development/coq-modules/stdpp/default.nix
@@ -1,10 +1,14 @@
-{ stdenv, fetchzip, coq }:
+{ stdenv, fetchFromGitLab, coq }:
-stdenv.mkDerivation {
- name = "coq${coq.coq-version}-stdpp-1.1";
- src = fetchzip {
- url = "https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp/-/archive/coq-stdpp-1.1.0/coq-stdpp-coq-stdpp-1.1.0.tar.gz";
- sha256 = "0z8zl288x9w32w06sjax01jcpy12wd5i3ygps58dl2hfy7r3lwg0";
+stdenv.mkDerivation rec {
+ name = "coq${coq.coq-version}-stdpp-${version}";
+ version = "1.2.1";
+ src = fetchFromGitLab {
+ domain = "gitlab.mpi-sws.org";
+ owner = "iris";
+ repo = "stdpp";
+ rev = "coq-stdpp-${version}";
+ sha256 = "1lczybg1jq9drbi8nzrlb0k199x4n07aawjwfzrl3qqc0w8kmvdz";
};
buildInputs = [ coq ];
@@ -14,7 +18,7 @@ stdenv.mkDerivation {
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = {
- homepage = "https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp";
+ inherit (src.meta) homepage;
description = "An extended “Standard Library” for Coq";
inherit (coq.meta) platforms;
license = stdenv.lib.licenses.bsd3;
@@ -22,7 +26,7 @@ stdenv.mkDerivation {
};
passthru = {
- compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" ];
+ compatibleCoqVersions = v: builtins.elem v [ "8.7" "8.8" "8.9" "8.10" ];
};
}
diff --git a/pkgs/development/libraries/clipp/clipp.pc b/pkgs/development/libraries/clipp/clipp.pc
new file mode 100644
index 000000000000..38c07e5ba162
--- /dev/null
+++ b/pkgs/development/libraries/clipp/clipp.pc
@@ -0,0 +1,9 @@
+prefix=@out@
+includedir=${prefix}/include
+
+Name: @pname@
+Description: Easy to use, powerful and expressive command line argument \
+handling for C++11/14/17
+URL: https://github.com/muellan/clipp
+Version: @version@
+Cflags: -I${includedir}
diff --git a/pkgs/development/libraries/clipp/default.nix b/pkgs/development/libraries/clipp/default.nix
new file mode 100644
index 000000000000..f7c8f90e8686
--- /dev/null
+++ b/pkgs/development/libraries/clipp/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ pname = "clipp";
+ version = "1.2.3";
+
+ src = fetchFromGitHub {
+ owner = "muellan";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0rq80ba2krwzvcg4r2g1al88453c7lz6ziri2s1ygv8inp9r775s";
+ };
+
+ installPhase = ''
+ mkdir -p $out/share/pkgconfig
+ cp -r include $out/
+ substitute ${./clipp.pc} $out/share/pkgconfig/clipp.pc \
+ --subst-var out \
+ --subst-var pname \
+ --subst-var version
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Easy to use, powerful and expressive command line argument handling for C++11/14/17";
+ homepage = "https://github.com/muellan/clipp";
+ license = licenses.mit;
+ maintainers = with maintainers; [ xbreak ];
+ platforms = with platforms; all;
+ };
+}
diff --git a/pkgs/development/python-modules/loguru/default.nix b/pkgs/development/python-modules/loguru/default.nix
index c06f5d6cd088..67134fdfd95a 100644
--- a/pkgs/development/python-modules/loguru/default.nix
+++ b/pkgs/development/python-modules/loguru/default.nix
@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "loguru";
- version = "0.3.1";
+ version = "0.3.2";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "14pmxyx4kwyafdifqzal121mpdd89lxbjgn0zzi9z6fmzk6pr5h2";
+ sha256 = "0apd3wcjbyhwzgw0fgzzn4dcgy10pqa8f1vf58d4hmszxvyqn4z3";
};
checkInputs = [ pytest colorama ];
diff --git a/pkgs/development/python-modules/purl/default.nix b/pkgs/development/python-modules/purl/default.nix
new file mode 100644
index 000000000000..43fd5b71ca6c
--- /dev/null
+++ b/pkgs/development/python-modules/purl/default.nix
@@ -0,0 +1,27 @@
+{ lib, buildPythonPackage, fetchFromGitHub
+, nose
+, six
+}:
+
+buildPythonPackage rec {
+ pname = "purl";
+ version = "1.5";
+
+ src = fetchFromGitHub {
+ owner = "codeinthehole";
+ repo = "purl";
+ rev = version;
+ sha256 = "0vi7xdm2xc1rbqrz5jwpr7x7dnkcrbjf1mb4w1q2c2f8jca0kk0g";
+ };
+
+ propagatedBuildInputs = [ six ];
+
+ checkInputs = [ nose ];
+
+ meta = with lib; {
+ description = "Immutable URL class for easy URL-building and manipulation";
+ homepage = "https://github.com/codeinthehole/purl";
+ license = licenses.mit;
+ maintainers = with maintainers; [ jonringer ];
+ };
+}
diff --git a/pkgs/development/python-modules/requests-mock/default.nix b/pkgs/development/python-modules/requests-mock/default.nix
index 3ea1bf58d8af..9728639e0ef7 100644
--- a/pkgs/development/python-modules/requests-mock/default.nix
+++ b/pkgs/development/python-modules/requests-mock/default.nix
@@ -1,21 +1,33 @@
-{ buildPythonPackage, fetchPypi, python
-, mock, testrepository, testtools
-, requests, six }:
+{ lib, buildPythonPackage, fetchPypi, python
+, mock
+, purl
+, requests
+, six
+, testrepository
+, testtools
+}:
buildPythonPackage rec {
pname = "requests-mock";
- version = "1.5.2";
+ version = "1.7.0";
src = fetchPypi {
inherit pname version;
- sha256 = "7a5fa99db5e3a2a961b6f20ed40ee6baeff73503cf0a553cc4d679409e6170fb";
+ sha256 = "0ij6ir5cy0gpy5xw4sykxz320ndi26np6flx9yg9mimkv0nl1lw8";
};
patchPhase = ''
sed -i 's@python@${python.interpreter}@' .testr.conf
'';
- checkInputs = [ mock testrepository testtools ];
-
propagatedBuildInputs = [ requests six ];
+
+ checkInputs = [ mock purl testrepository testtools ];
+
+ meta = with lib; {
+ description = "Mock out responses from the requests package";
+ homepage = "https://requests-mock.readthedocs.io";
+ license = licenses.asl20;
+ maintainers = [ ];
+ };
}
diff --git a/pkgs/development/tools/misc/kibana/5.x.nix b/pkgs/development/tools/misc/kibana/5.x.nix
deleted file mode 100644
index 992d12ae08ee..000000000000
--- a/pkgs/development/tools/misc/kibana/5.x.nix
+++ /dev/null
@@ -1,45 +0,0 @@
-{ stdenv, makeWrapper, fetchurl, elk5Version, nodejs, coreutils, which }:
-
-with stdenv.lib;
-let
- inherit (builtins) elemAt;
- archOverrides = {
- i686 = "x86";
- };
- info = splitString "-" stdenv.hostPlatform.system;
- arch = (elemAt info 0);
- elasticArch = archOverrides.${arch} or arch;
- plat = elemAt info 1;
- shas = {
- x86_64-linux = "0hzr47hyw54b9j4c33n6f6n3pala6kjhyvinfszgikbghyhb7fsa";
- i686-linux = "0bka4h31cw10ii4pfygc81pwc3wr32pzw3v4k4bi8rnqbk280fmn";
- x86_64-darwin = "0jqc2g89rqkla0alqxr14sh4pccfn514jrwr7mkjivxdapygh1ll";
- };
-in stdenv.mkDerivation rec {
- pname = "kibana";
- version = elk5Version;
-
- src = fetchurl {
- url = "https://artifacts.elastic.co/downloads/kibana/${pname}-${version}-${plat}-${elasticArch}.tar.gz";
- sha256 = shas.${stdenv.hostPlatform.system} or (throw "Unknown architecture");
- };
-
- buildInputs = [ makeWrapper ];
-
- installPhase = ''
- mkdir -p $out/libexec/kibana $out/bin
- mv * $out/libexec/kibana/
- rm -r $out/libexec/kibana/node
- makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \
- --prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}"
- sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana
- '';
-
- meta = {
- description = "Visualize logs and time-stamped data";
- homepage = http://www.elasticsearch.org/overview/kibana;
- license = licenses.asl20;
- maintainers = with maintainers; [ offline ];
- platforms = with platforms; unix;
- };
-}
diff --git a/pkgs/misc/logging/beats/5.x.nix b/pkgs/misc/logging/beats/5.x.nix
deleted file mode 100644
index fb8bb5a85c8b..000000000000
--- a/pkgs/misc/logging/beats/5.x.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ stdenv, fetchFromGitHub, elk5Version, buildGoPackage, libpcap }:
-
-let beat = package : extraArgs : buildGoPackage (rec {
- name = "${package}-${version}";
- version = elk5Version;
-
- src = fetchFromGitHub {
- owner = "elastic";
- repo = "beats";
- rev = "v${version}";
- sha256 = "0sslcwjdf7zb9xj2c98jid3rb09l96m22k3af48gppimxg1lkh9b";
- };
-
- goPackagePath = "github.com/elastic/beats";
-
- subPackages = [ package ];
-
- meta = with stdenv.lib; {
- homepage = https://www.elastic.co/products/beats;
- license = licenses.asl20;
- maintainers = with maintainers; [ fadenb basvandijk ];
- platforms = platforms.linux;
- };
- } // extraArgs);
-in {
- filebeat5 = beat "filebeat" {meta.description = "Lightweight shipper for logfiles";};
- heartbeat5 = beat "heartbeat" {meta.description = "Lightweight shipper for uptime monitoring";};
- metricbeat5 = beat "metricbeat" {meta.description = "Lightweight shipper for metrics";};
- packetbeat5 = beat "packetbeat" {
- buildInputs = [ libpcap ];
- meta.description = "Network packet analyzer that ships data to Elasticsearch";
- meta.longDescription = ''
- Packetbeat is an open source network packet analyzer that ships the
- data to Elasticsearch.
-
- Think of it like a distributed real-time Wireshark with a lot more
- analytics features. The Packetbeat shippers sniff the traffic between
- your application processes, parse on the fly protocols like HTTP, MySQL,
- PostgreSQL, Redis or Thrift and correlate the messages into transactions.
- '';
- };
-}
diff --git a/pkgs/servers/search/elasticsearch/5.x.nix b/pkgs/servers/search/elasticsearch/5.x.nix
deleted file mode 100644
index c64687054ab5..000000000000
--- a/pkgs/servers/search/elasticsearch/5.x.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-{ stdenv, fetchurl, elk5Version, makeWrapper, jre_headless
-, utillinux, gnugrep, coreutils }:
-
-with stdenv.lib;
-
-stdenv.mkDerivation rec {
- version = elk5Version;
- pname = "elasticsearch";
-
- src = fetchurl {
- url = "https://artifacts.elastic.co/downloads/elasticsearch/${pname}-${version}.tar.gz";
- sha256 = "0zy7awb2cm2fk3c7zc7v8b8pl0jw49awqwpa1jvilmvx6dcml0vb";
- };
-
- patches = [ ./es-home-5.x.patch ./es-classpath-5.x.patch ];
-
- buildInputs = [ makeWrapper jre_headless utillinux ];
-</