Merge branch 'master' into staging-next

+235 -441
+1 -1
nixos/doc/manual/Makefile
··· 24 24 clean: 25 25 rm -f manual-combined.xml generated 26 26 27 - generated: ./options-to-docbook.xsl 27 + generated: 28 28 nix-build ../../release.nix \ 29 29 --attr manualGeneratedSources.x86_64-linux \ 30 30 --out-link ./generated
+14 -4
nixos/doc/manual/release-notes/rl-1909.xml
··· 63 63 like games. 64 64 <itemizedlist> 65 65 <para>This can be achieved with the following options which the desktop manager default enables, excluding <literal>games</literal>.</para> 66 - <listitem><para><link linkend="opt-services.gnome3.core-os-services.enable"><literal>services.gnome3.core-os-services.enable</literal></link></para></listitem> 67 - <listitem><para><link linkend="opt-services.gnome3.core-shell.enable"><literal>services.gnome3.core-shell.enable</literal></link></para></listitem> 68 - <listitem><para><link linkend="opt-services.gnome3.core-utilities.enable"><literal>services.gnome3.core-utilities.enable</literal></link></para></listitem> 69 - <listitem><para><link linkend="opt-services.gnome3.games.enable"><literal>services.gnome3.games.enable</literal></link></para></listitem> 66 + <listitem><para><xref linkend="opt-services.gnome3.core-os-services.enable"/></para></listitem> 67 + <listitem><para><xref linkend="opt-services.gnome3.core-shell.enable"/></para></listitem> 68 + <listitem><para><xref linkend="opt-services.gnome3.core-utilities.enable"/></para></listitem> 69 + <listitem><para><xref linkend="opt-services.gnome3.games.enable"/></para></listitem> 70 70 </itemizedlist> 71 71 With these options we hope to give users finer grained control over their systems. Prior to this change you'd either have to manually 72 72 disable options or use <option>environment.gnome3.excludePackages</option> which only excluded the optional applications. ··· 426 426 <para> 427 427 The WeeChat plugin <literal>pkgs.weechatScripts.weechat-xmpp</literal> has been removed as it doesn't receive 428 428 any updates from upstream and depends on outdated Python2-based modules. 429 + </para> 430 + </listitem> 431 + <listitem> 432 + <para> 433 + Old unsupported versions (<literal>logstash5</literal>, 434 + <literal>kibana5</literal>, 435 + <literal>filebeat5</literal>, 436 + <literal>heartbeat5</literal>, 437 + <literal>metricbeat5</literal>, 438 + <literal>packetbeat5</literal>) of the ELK-stack and Elastic beats have been removed. 429 439 </para> 430 440 </listitem> 431 441
+1 -1
nixos/modules/services/logging/logstash.nix
··· 53 53 type = types.package; 54 54 default = pkgs.logstash; 55 55 defaultText = "pkgs.logstash"; 56 - example = literalExample "pkgs.logstash5"; 56 + example = literalExample "pkgs.logstash"; 57 57 description = "Logstash package to use."; 58 58 }; 59 59
+1 -1
nixos/modules/services/search/kibana.nix
··· 150 150 description = "Kibana package to use"; 151 151 default = pkgs.kibana; 152 152 defaultText = "pkgs.kibana"; 153 - example = "pkgs.kibana5"; 153 + example = "pkgs.kibana"; 154 154 type = types.package; 155 155 }; 156 156
+1 -1
nixos/tests/ceph.nix
··· 1 1 import ./make-test.nix ({pkgs, lib, ...}: { 2 2 name = "All-in-one-basic-ceph-cluster"; 3 3 meta = with pkgs.stdenv.lib.maintainers; { 4 - maintainers = [ lejonet ]; 4 + maintainers = [ johanot lejonet ]; 5 5 }; 6 6 7 7 nodes = {
-6
nixos/tests/elk.nix
··· 178 178 ''; 179 179 }; 180 180 in mapAttrs mkElkTest { 181 - ELK-5 = { 182 - elasticsearch = pkgs.elasticsearch5; 183 - logstash = pkgs.logstash5; 184 - kibana = pkgs.kibana5; 185 - journalbeat = pkgs.journalbeat5; 186 - }; 187 181 ELK-6 = 188 182 if enableUnfree 189 183 then {
+9 -5
pkgs/applications/audio/sfxr-qt/default.nix
··· 1 - { stdenv, fetchFromGitHub 1 + { lib 2 + , mkDerivation 3 + , fetchFromGitHub 2 4 , cmake 3 - , qtbase, qtquickcontrols2 5 + , qtbase 6 + , qtquickcontrols2 4 7 , SDL 5 8 , python3 6 9 }: 7 10 8 - stdenv.mkDerivation rec { 11 + mkDerivation rec { 9 12 pname = "sfxr-qt"; 10 13 version = "1.2.0"; 11 14 src = fetchFromGitHub { ··· 20 23 (python3.withPackages (pp: with pp; [ pyyaml jinja2 ])) 21 24 ]; 22 25 buildInputs = [ 23 - qtbase qtquickcontrols2 26 + qtbase 27 + qtquickcontrols2 24 28 SDL 25 29 ]; 26 30 configurePhase = "cmake . -DCMAKE_INSTALL_PREFIX=$out"; 27 31 28 - meta = with stdenv.lib; { 32 + meta = with lib; { 29 33 homepage = https://github.com/agateau/sfxr-qt; 30 34 description = "A sound effect generator, QtQuick port of sfxr"; 31 35 license = licenses.gpl2;
+4 -3
pkgs/applications/graphics/drawpile/default.nix
··· 1 - { stdenv 1 + { lib 2 + , mkDerivation 2 3 , fetchurl 3 4 , cmake 4 5 , extra-cmake-modules ··· 31 32 , enableKisTablet ? false # enable improved graphics tablet support 32 33 }: 33 34 34 - with stdenv.lib; 35 + with lib; 35 36 36 37 let 37 38 commonDeps = [ ··· 57 58 qtx11extras 58 59 ]; 59 60 60 - in stdenv.mkDerivation rec { 61 + in mkDerivation rec { 61 62 pname = "drawpile"; 62 63 version = "2.1.11"; 63 64
+11 -8
pkgs/applications/misc/wtf/default.nix
··· 1 1 { buildGoModule 2 2 , fetchFromGitHub 3 3 , lib 4 + , makeWrapper 5 + , ncurses 4 6 }: 5 7 6 8 buildGoModule rec { 7 9 pname = "wtf"; 8 10 version = "0.21.0"; 9 11 12 + overrideModAttrs = _oldAttrs : _oldAttrs // { 13 + preBuild = ''export GOPROXY="https://gocenter.io"''; 14 + }; 15 + 10 16 src = fetchFromGitHub { 11 17 owner = "wtfutil"; 12 18 repo = pname; ··· 14 20 sha256 = "0sd8vrx7nak0by4whdmd9jzr66zm48knv1w1aqi90709fv98brm9"; 15 21 }; 16 22 17 - modSha256 = "1nqnjpkrjbb75yfbzh3v3vc4xy5a2aqm9jr40hwq589a4l9p5pw2"; 23 + modSha256 = "0jgq9ql27x0kdp59l5drisl5v7v7sx2wy3zqjbr3bqyh3vdx19ic"; 18 24 19 25 buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ]; 20 26 21 - # As per https://github.com/wtfutil/wtf/issues/501, one of the 22 - # dependencies can't be fetched, so vendored dependencies should 23 - # be used instead 24 - modBuildPhase = '' 25 - runHook preBuild 26 - make build -mod=vendor 27 - runHook postBuild 27 + nativeBuildInputs = [ makeWrapper ]; 28 + 29 + postInstall = '' 30 + wrapProgram "$out/bin/wtf" --prefix PATH : "${ncurses.dev}/bin" 28 31 ''; 29 32 30 33 meta = with lib; {
+3 -6
pkgs/applications/networking/browsers/palemoon/default.nix
··· 13 13 14 14 in stdenv.mkDerivation rec { 15 15 pname = "palemoon"; 16 - version = "28.6.0.1"; 16 + version = "28.7.0"; 17 17 18 18 src = fetchFromGitHub { 19 - name = "${pname}-${version}"; 20 19 owner = "MoonchildProductions"; 21 20 repo = "UXP"; 22 21 rev = "PM${version}_Release"; 23 - sha256 = "1adgajy5vsghvjlv2nqyrbp6mnv3k6slqxxi8r949xlb5h6d210b"; 22 + sha256 = "0i6fy1mvjy6vpqnvhh516mxbv4d2z73yghk3frln4ql8zavba7qq"; 24 23 }; 25 24 26 25 desktopItem = makeDesktopItem { ··· 91 90 " 92 91 ''; 93 92 94 - hardeningDisable = [ "format" ]; 95 - 96 93 buildPhase = '' 97 94 $src/mach build 98 95 ''; ··· 129 126 ''; 130 127 homepage = "https://www.palemoon.org/"; 131 128 license = licenses.mpl20; 132 - maintainers = with maintainers; [ rnhmjoj AndersonTorres OPNA2608 ]; 129 + maintainers = with maintainers; [ AndersonTorres OPNA2608 ]; 133 130 platforms = [ "i686-linux" "x86_64-linux" ]; 134 131 }; 135 132 }
+3 -3
pkgs/applications/networking/instant-messengers/discord/default.nix
··· 17 17 pname = "discord-ptb"; 18 18 binaryName = "DiscordPTB"; 19 19 desktopName = "Discord PTB"; 20 - version = "0.0.15"; 20 + version = "0.0.16"; 21 21 src = fetchurl { 22 - url = "https://dl-ptb.discordapp.net/apps/linux/0.0.15/discord-ptb-0.0.15.tar.gz"; 23 - sha256 = "0znqb0a3yglgx7a9ypkb81jcm8kqgc6559zi7vfqn02zh15gqv6a"; 22 + url = "https://dl-ptb.discordapp.net/apps/linux/0.0.16/discord-ptb-0.0.16.tar.gz"; 23 + sha256 = "1ia94xvzygim9rx1sjnnss518ggw0i20mhp9pby33q70ha35n0aq"; 24 24 }; 25 25 }; 26 26 canary = callPackage ./base.nix {
+3 -1
pkgs/build-support/fetchgit/nix-prefetch-git
··· 265 265 rm -f .git/config 266 266 267 267 # Garbage collect unreferenced objects. 268 - git gc --prune=all 268 + # Note: --keep-largest-pack prevents non-deterministic ordering of packs 269 + # listed in .git/objects/info/packs by only using a single pack 270 + git gc --prune=all --keep-largest-pack 269 271 ) 270 272 } 271 273
+2 -10
pkgs/desktops/gnome-3/misc/gitg/default.nix
··· 30 30 31 31 stdenv.mkDerivation rec { 32 32 pname = "gitg"; 33 - version = "3.32.0"; 33 + version = "3.32.1"; 34 34 35 35 src = fetchurl { 36 36 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 37 - sha256 = "1wzsv7bh0a2w70f938hkpzbb9xkyrp3bil65c0q3yf2v72nbbn81"; 37 + sha256 = "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914"; 38 38 }; 39 - 40 - patches = [ 41 - # https://gitlab.gnome.org/GNOME/gitg/issues/213 42 - (fetchpatch { 43 - url = "https://gitlab.gnome.org/GNOME/gitg/merge_requests/83.patch"; 44 - sha256 = "1f7wx1d3k5pnp8zbrqssip57b9jxn3hc7a83psm7fny970qmd18z"; 45 - }) 46 - ]; 47 39 48 40 postPatch = '' 49 41 chmod +x meson_post_install.py
+10 -7
pkgs/development/coq-modules/iris/default.nix
··· 1 - { stdenv, fetchzip, coq, ssreflect, stdpp }: 1 + { stdenv, fetchFromGitLab, coq, stdpp }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "3.1.0"; 4 + version = "3.2.0"; 5 5 name = "coq${coq.coq-version}-iris-${version}"; 6 - src = fetchzip { 7 - url = "https://gitlab.mpi-sws.org/FP/iris-coq/-/archive/iris-${version}/iris-coq-iris-${version}.tar.gz"; 8 - sha256 = "0ipdb061jj205avxifshxkpyxxqykigmlxk2n5nvxj62gs3rl5j1"; 6 + src = fetchFromGitLab { 7 + domain = "gitlab.mpi-sws.org"; 8 + owner = "iris"; 9 + repo = "iris"; 10 + rev = "iris-${version}"; 11 + sha256 = "10dfi7qx6j5w6kbmbrf05xh18jwxr9iz5g7y0f6157msgvl081xs"; 9 12 }; 10 13 11 14 buildInputs = [ coq ]; 12 - propagatedBuildInputs = [ ssreflect stdpp ]; 15 + propagatedBuildInputs = [ stdpp ]; 13 16 14 17 enableParallelBuilding = true; 15 18 ··· 24 27 }; 25 28 26 29 passthru = { 27 - compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" ]; 30 + compatibleCoqVersions = v: builtins.elem v [ "8.7" "8.8" "8.9" "8.10" ]; 28 31 }; 29 32 30 33 }
+12 -8
pkgs/development/coq-modules/stdpp/default.nix
··· 1 - { stdenv, fetchzip, coq }: 1 + { stdenv, fetchFromGitLab, coq }: 2 2 3 - stdenv.mkDerivation { 4 - name = "coq${coq.coq-version}-stdpp-1.1"; 5 - src = fetchzip { 6 - url = "https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp/-/archive/coq-stdpp-1.1.0/coq-stdpp-coq-stdpp-1.1.0.tar.gz"; 7 - sha256 = "0z8zl288x9w32w06sjax01jcpy12wd5i3ygps58dl2hfy7r3lwg0"; 3 + stdenv.mkDerivation rec { 4 + name = "coq${coq.coq-version}-stdpp-${version}"; 5 + version = "1.2.1"; 6 + src = fetchFromGitLab { 7 + domain = "gitlab.mpi-sws.org"; 8 + owner = "iris"; 9 + repo = "stdpp"; 10 + rev = "coq-stdpp-${version}"; 11 + sha256 = "1lczybg1jq9drbi8nzrlb0k199x4n07aawjwfzrl3qqc0w8kmvdz"; 8 12 }; 9 13 10 14 buildInputs = [ coq ]; ··· 14 18 installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ]; 15 19 16 20 meta = { 17 - homepage = "https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp"; 21 + inherit (src.meta) homepage; 18 22 description = "An extended “Standard Library” for Coq"; 19 23 inherit (coq.meta) platforms; 20 24 license = stdenv.lib.licenses.bsd3; ··· 22 26 }; 23 27 24 28 passthru = { 25 - compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" ]; 29 + compatibleCoqVersions = v: builtins.elem v [ "8.7" "8.8" "8.9" "8.10" ]; 26 30 }; 27 31 28 32 }
+9
pkgs/development/libraries/clipp/clipp.pc
··· 1 + prefix=@out@ 2 + includedir=${prefix}/include 3 + 4 + Name: @pname@ 5 + Description: Easy to use, powerful and expressive command line argument \ 6 + handling for C++11/14/17 7 + URL: https://github.com/muellan/clipp 8 + Version: @version@ 9 + Cflags: -I${includedir}
+30
pkgs/development/libraries/clipp/default.nix
··· 1 + { stdenv, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "clipp"; 5 + version = "1.2.3"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "muellan"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "0rq80ba2krwzvcg4r2g1al88453c7lz6ziri2s1ygv8inp9r775s"; 12 + }; 13 + 14 + installPhase = '' 15 + mkdir -p $out/share/pkgconfig 16 + cp -r include $out/ 17 + substitute ${./clipp.pc} $out/share/pkgconfig/clipp.pc \ 18 + --subst-var out \ 19 + --subst-var pname \ 20 + --subst-var version 21 + ''; 22 + 23 + meta = with stdenv.lib; { 24 + description = "Easy to use, powerful and expressive command line argument handling for C++11/14/17"; 25 + homepage = "https://github.com/muellan/clipp"; 26 + license = licenses.mit; 27 + maintainers = with maintainers; [ xbreak ]; 28 + platforms = with platforms; all; 29 + }; 30 + }
+2 -2
pkgs/development/python-modules/loguru/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "loguru"; 5 - version = "0.3.1"; 5 + version = "0.3.2"; 6 6 7 7 disabled = isPy27; 8 8 src = fetchPypi { 9 9 inherit pname version; 10 - sha256 = "14pmxyx4kwyafdifqzal121mpdd89lxbjgn0zzi9z6fmzk6pr5h2"; 10 + sha256 = "0apd3wcjbyhwzgw0fgzzn4dcgy10pqa8f1vf58d4hmszxvyqn4z3"; 11 11 }; 12 12 13 13 checkInputs = [ pytest colorama ];
+27
pkgs/development/python-modules/purl/default.nix
··· 1 + { lib, buildPythonPackage, fetchFromGitHub 2 + , nose 3 + , six 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "purl"; 8 + version = "1.5"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "codeinthehole"; 12 + repo = "purl"; 13 + rev = version; 14 + sha256 = "0vi7xdm2xc1rbqrz5jwpr7x7dnkcrbjf1mb4w1q2c2f8jca0kk0g"; 15 + }; 16 + 17 + propagatedBuildInputs = [ six ]; 18 + 19 + checkInputs = [ nose ]; 20 + 21 + meta = with lib; { 22 + description = "Immutable URL class for easy URL-building and manipulation"; 23 + homepage = "https://github.com/codeinthehole/purl"; 24 + license = licenses.mit; 25 + maintainers = with maintainers; [ jonringer ]; 26 + }; 27 + }
+19 -7
pkgs/development/python-modules/requests-mock/default.nix
··· 1 - { buildPythonPackage, fetchPypi, python 2 - , mock, testrepository, testtools 3 - , requests, six }: 1 + { lib, buildPythonPackage, fetchPypi, python 2 + , mock 3 + , purl 4 + , requests 5 + , six 6 + , testrepository 7 + , testtools 8 + }: 4 9 5 10 buildPythonPackage rec { 6 11 pname = "requests-mock"; 7 - version = "1.5.2"; 12 + version = "1.7.0"; 8 13 9 14 src = fetchPypi { 10 15 inherit pname version; 11 - sha256 = "7a5fa99db5e3a2a961b6f20ed40ee6baeff73503cf0a553cc4d679409e6170fb"; 16 + sha256 = "0ij6ir5cy0gpy5xw4sykxz320ndi26np6flx9yg9mimkv0nl1lw8"; 12 17 }; 13 18 14 19 patchPhase = '' 15 20 sed -i 's@python@${python.interpreter}@' .testr.conf 16 21 ''; 17 22 18 - checkInputs = [ mock testrepository testtools ]; 23 + propagatedBuildInputs = [ requests six ]; 24 + 25 + checkInputs = [ mock purl testrepository testtools ]; 19 26 20 - propagatedBuildInputs = [ requests six ]; 27 + meta = with lib; { 28 + description = "Mock out responses from the requests package"; 29 + homepage = "https://requests-mock.readthedocs.io"; 30 + license = licenses.asl20; 31 + maintainers = [ ]; 32 + }; 21 33 }
-45
pkgs/development/tools/misc/kibana/5.x.nix
··· 1 - { stdenv, makeWrapper, fetchurl, elk5Version, nodejs, coreutils, which }: 2 - 3 - with stdenv.lib; 4 - let 5 - inherit (builtins) elemAt; 6 - archOverrides = { 7 - i686 = "x86"; 8 - }; 9 - info = splitString "-" stdenv.hostPlatform.system; 10 - arch = (elemAt info 0); 11 - elasticArch = archOverrides.${arch} or arch; 12 - plat = elemAt info 1; 13 - shas = { 14 - x86_64-linux = "0hzr47hyw54b9j4c33n6f6n3pala6kjhyvinfszgikbghyhb7fsa"; 15 - i686-linux = "0bka4h31cw10ii4pfygc81pwc3wr32pzw3v4k4bi8rnqbk280fmn"; 16 - x86_64-darwin = "0jqc2g89rqkla0alqxr14sh4pccfn514jrwr7mkjivxdapygh1ll"; 17 - }; 18 - in stdenv.mkDerivation rec { 19 - pname = "kibana"; 20 - version = elk5Version; 21 - 22 - src = fetchurl { 23 - url = "https://artifacts.elastic.co/downloads/kibana/${pname}-${version}-${plat}-${elasticArch}.tar.gz"; 24 - sha256 = shas.${stdenv.hostPlatform.system} or (throw "Unknown architecture"); 25 - }; 26 - 27 - buildInputs = [ makeWrapper ]; 28 - 29 - installPhase = '' 30 - mkdir -p $out/libexec/kibana $out/bin 31 - mv * $out/libexec/kibana/ 32 - rm -r $out/libexec/kibana/node 33 - makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \ 34 - --prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}" 35 - sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana 36 - ''; 37 - 38 - meta = { 39 - description = "Visualize logs and time-stamped data"; 40 - homepage = http://www.elasticsearch.org/overview/kibana; 41 - license = licenses.asl20; 42 - maintainers = with maintainers; [ offline ]; 43 - platforms = with platforms; unix; 44 - }; 45 - }
-42
pkgs/misc/logging/beats/5.x.nix
··· 1 - { stdenv, fetchFromGitHub, elk5Version, buildGoPackage, libpcap }: 2 - 3 - let beat = package : extraArgs : buildGoPackage (rec { 4 - name = "${package}-${version}"; 5 - version = elk5Version; 6 - 7 - src = fetchFromGitHub { 8 - owner = "elastic"; 9 - repo = "beats"; 10 - rev = "v${version}"; 11 - sha256 = "0sslcwjdf7zb9xj2c98jid3rb09l96m22k3af48gppimxg1lkh9b"; 12 - }; 13 - 14 - goPackagePath = "github.com/elastic/beats"; 15 - 16 - subPackages = [ package ]; 17 - 18 - meta = with stdenv.lib; { 19 - homepage = https://www.elastic.co/products/beats; 20 - license = licenses.asl20; 21 - maintainers = with maintainers; [ fadenb basvandijk ]; 22 - platforms = platforms.linux; 23 - }; 24 - } // extraArgs); 25 - in { 26 - filebeat5 = beat "filebeat" {meta.description = "Lightweight shipper for logfiles";}; 27 - heartbeat5 = beat "heartbeat" {meta.description = "Lightweight shipper for uptime monitoring";}; 28 - metricbeat5 = beat "metricbeat" {meta.description = "Lightweight shipper for metrics";}; 29 - packetbeat5 = beat "packetbeat" { 30 - buildInputs = [ libpcap ]; 31 - meta.description = "Network packet analyzer that ships data to Elasticsearch"; 32 - meta.longDescription = '' 33 - Packetbeat is an open source network packet analyzer that ships the 34 - data to Elasticsearch. 35 - 36 - Think of it like a distributed real-time Wireshark with a lot more 37 - analytics features. The Packetbeat shippers sniff the traffic between 38 - your application processes, parse on the fly protocols like HTTP, MySQL, 39 - PostgreSQL, Redis or Thrift and correlate the messages into transactions. 40 - ''; 41 - }; 42 - }
-44
pkgs/servers/search/elasticsearch/5.x.nix
··· 1 - { stdenv, fetchurl, elk5Version, makeWrapper, jre_headless 2 - , utillinux, gnugrep, coreutils }: 3 - 4 - with stdenv.lib; 5 - 6 - stdenv.mkDerivation rec { 7 - version = elk5Version; 8 - pname = "elasticsearch"; 9 - 10 - src = fetchurl { 11 - url = "https://artifacts.elastic.co/downloads/elasticsearch/${pname}-${version}.tar.gz"; 12 - sha256 = "0zy7awb2cm2fk3c7zc7v8b8pl0jw49awqwpa1jvilmvx6dcml0vb"; 13 - }; 14 - 15 - patches = [ ./es-home-5.x.patch ./es-classpath-5.x.patch ]; 16 - 17 - buildInputs = [ makeWrapper jre_headless utillinux ]; 18 - 19 - installPhase = '' 20 - mkdir -p $out 21 - cp -R bin config lib modules plugins $out 22 - 23 - chmod -x $out/bin/*.* 24 - 25 - wrapProgram $out/bin/elasticsearch \ 26 - --prefix ES_CLASSPATH : "$out/lib/*" \ 27 - --prefix PATH : "${makeBinPath [ utillinux gnugrep coreutils ]}" \ 28 - --set JAVA_HOME "${jre_headless}" \ 29 - --set ES_JVM_OPTIONS "$out/config/jvm.options" 30 - 31 - wrapProgram $out/bin/elasticsearch-plugin \ 32 - --prefix ES_CLASSPATH : "$out/lib/*" \ 33 - --set JAVA_HOME "${jre_headless}" 34 - ''; 35 - 36 - meta = { 37 - description = "Open Source, Distributed, RESTful Search Engine"; 38 - license = licenses.asl20; 39 - platforms = platforms.unix; 40 - maintainers = [ 41 - maintainers.apeschar 42 - ]; 43 - }; 44 - }
-43
pkgs/servers/search/elasticsearch/es-classpath-5.x.patch
··· 1 - diff -rupN a/bin/elasticsearch b/bin/elasticsearch 2 - --- a/bin/elasticsearch 2017-05-17 10:53:49.444487071 +0200 3 - +++ b/bin/elasticsearch 2017-05-17 10:55:52.755081523 +0200 4 - @@ -129,12 +129,7 @@ ES_JAVA_OPTS="$(parse_jvm_options "$ES_J 5 - # If an include wasn't specified in the environment, then search for one... 6 - if [ "x$ES_INCLUDE" = "x" ]; then 7 - # Locations (in order) to use when searching for an include file. 8 - - for include in /usr/share/elasticsearch/elasticsearch.in.sh \ 9 - - /usr/local/share/elasticsearch/elasticsearch.in.sh \ 10 - - /opt/elasticsearch/elasticsearch.in.sh \ 11 - - ~/.elasticsearch.in.sh \ 12 - - "$ES_HOME/bin/elasticsearch.in.sh" \ 13 - - "`dirname "$0"`"/elasticsearch.in.sh; do 14 - + for include in "`dirname "$0"`"/elasticsearch.in.sh; do 15 - if [ -r "$include" ]; then 16 - . "$include" 17 - break 18 - diff -rupN a/bin/elasticsearch.in.sh b/bin/elasticsearch.in.sh 19 - --- a/bin/elasticsearch.in.sh 2017-04-28 19:41:47.000000000 +0200 20 - +++ b/bin/elasticsearch.in.sh 2017-05-17 10:56:49.303519788 +0200 21 - @@ -1,13 +1 @@ 22 - #!/bin/bash 23 - - 24 - -# check in case a user was using this mechanism 25 - -if [ "x$ES_CLASSPATH" != "x" ]; then 26 - - cat >&2 << EOF 27 - -Error: Don't modify the classpath with ES_CLASSPATH. Best is to add 28 - -additional elements via the plugin mechanism, or if code must really be 29 - -added to the main classpath, add jars to lib/ (unsupported). 30 - -EOF 31 - - exit 1 32 - -fi 33 - - 34 - -ES_CLASSPATH="$ES_HOME/lib/*" 35 - diff -rupN a/bin/elasticsearch-plugin b/bin/elasticsearch-plugin 36 - --- a/bin/elasticsearch-plugin 2018-04-13 01:21:55.000000000 +0900 37 - +++ b/bin/elasticsearch-plugin 2018-06-28 19:08:54.700969245 +0900 38 - @@ -88,4 +88,4 @@ if [ -e "$CONF_DIR" ]; then 39 - path_props=("${path_props[@]}" -Des.path.conf="$CONF_DIR") 40 - fi 41 - 42 - -exec "$JAVA" $ES_JAVA_OPTS -Delasticsearch "${path_props[@]}" -cp "$ES_HOME/lib/*" org.elasticsearch.plugins.PluginCli "${args[@]}" 43 - +exec "$JAVA" $ES_JAVA_OPTS -Delasticsearch "${path_props[@]}" -cp "$ES_CLASSPATH" org.elasticsearch.plugins.PluginCli "${args[@]}"
-31
pkgs/servers/search/elasticsearch/es-home-5.x.patch
··· 1 - diff -rupN a/bin/elasticsearch b/bin/elasticsearch 2 - --- a/bin/elasticsearch 2017-05-17 10:53:42.214686741 +0200 3 - +++ b/bin/elasticsearch 2017-05-17 10:53:49.444487071 +0200 4 - @@ -105,7 +105,11 @@ while [ -h "$SCRIPT" ] ; do 5 - done 6 - 7 - # determine elasticsearch home 8 - -ES_HOME=`dirname "$SCRIPT"`/.. 9 - + 10 - +if [ -z "$ES_HOME" ]; then 11 - + echo "You must set the ES_HOME var" >&2 12 - + exit 1 13 - +fi 14 - 15 - # make ELASTICSEARCH_HOME absolute 16 - ES_HOME=`cd "$ES_HOME"; pwd` 17 - diff -rupN a/bin/elasticsearch-plugin b/bin/elasticsearch-plugin 18 - --- a/bin/elasticsearch-plugin 2017-05-17 10:53:42.214686741 +0200 19 - +++ b/bin/elasticsearch-plugin 2017-05-17 10:53:49.445487044 +0200 20 - @@ -16,7 +16,10 @@ while [ -h "$SCRIPT" ] ; do 21 - done 22 - 23 - # determine elasticsearch home 24 - -ES_HOME=`dirname "$SCRIPT"`/.. 25 - +if [ -z "$ES_HOME" ]; then 26 - + echo "You must set the ES_HOME var" >&2 27 - + exit 1 28 - +fi 29 - 30 - # make ELASTICSEARCH_HOME absolute 31 - ES_HOME=`cd "$ES_HOME"; pwd`
+3 -3
pkgs/tools/admin/eksctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "eksctl"; 5 - version = "0.5.0"; 5 + version = "0.5.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "weaveworks"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "1aifdrxasg7d6gpy7s6kdjz9ky2kddpigh8z0f3zckw7hd68jk0g"; 11 + sha256 = "0lfg7im43bslbg23xajdh0nhy4lj3y70gncxgqzfklb1ax0953r2"; 12 12 }; 13 13 14 - modSha256 = "18vsi1hrv3z36w7vwl2bg8b2p5dwzw7dsw434adw9l1k7yv5x4vv"; 14 + modSha256 = "0c8hbb73w1922qh895lsk0m9i7lk9kzrvxjc4crwsfpn9pv0qgd3"; 15 15 16 16 subPackages = [ "cmd/eksctl" ]; 17 17
+3 -3
pkgs/tools/admin/procs/default.nix
··· 4 4 5 5 rustPlatform.buildRustPackage rec { 6 6 pname = "procs"; 7 - version = "0.8.5"; 7 + version = "0.8.9"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "dalance"; 11 11 repo = pname; 12 12 rev = "v${version}"; 13 - sha256 = "0ihww2sm9hnh748723lr1cxw9zyi9nfxbbiij5a465mypa2p7w0v"; 13 + sha256 = "0gqbdk4gaxkpval52fsravjgvqz6c9zh1ahry57a2p6kszw96n13"; 14 14 }; 15 15 16 - cargoSha256 = "1aq2nhspb9kp9mzj5550xph09qvd0ahlw246hcx2mqkr4frh64x0"; 16 + cargoSha256 = "1k0yl03rxbv009gb2jkc0f7mjq3pzc9bf8hppk2w9xicxpq6l55c"; 17 17 18 18 buildInputs = stdenv.lib.optional stdenv.isDarwin Security; 19 19
+5 -4
pkgs/tools/filesystems/ceph/default.nix
··· 89 89 ps.six 90 90 ]); 91 91 92 - version = "14.2.1"; 92 + version = "14.2.3"; 93 93 in rec { 94 94 ceph = stdenv.mkDerivation { 95 - name="ceph-${version}"; 95 + pname = "ceph"; 96 + inherit version; 96 97 97 98 src = fetchurl { 98 99 url = "http://download.ceph.com/tarballs/ceph-${version}.tar.gz"; 99 - sha256 = "0qa9p8xp26d45h3jfj1rbwhmqv44f9n1mvccmpzaf2i05v42kmzb"; 100 + sha256 = "1pa8czb205pz4vjfh82gsgickj3cdjrx51mcx7acsyqgp3dfvl33"; 100 101 }; 101 102 102 103 patches = [ ··· 181 182 homepage = https://ceph.com/; 182 183 description = "Tools needed to mount Ceph's RADOS Block Devices"; 183 184 license = with licenses; [ lgpl21 gpl2 bsd3 mit publicDomain ]; 184 - maintainers = with maintainers; [ adev ak krav ]; 185 + maintainers = with maintainers; [ adev ak johanot krav ]; 185 186 platforms = platforms.unix; 186 187 }; 187 188 } ''
+25 -24
pkgs/tools/misc/fortune/default.nix
··· 1 1 { stdenv, fetchurl, cmake, recode, perl }: 2 2 3 - let srcs = { 4 - fortune = fetchurl { 5 - url = "https://github.com/shlomif/fortune-mod/archive/fortune-mod-${version}.tar.gz"; 6 - sha256 = "89223bb649ea62b030527f181539182d6a17a1a43b0cc499a52732b839f7b691"; 7 - }; 8 - shlomifCommon = fetchurl { 9 - url = https://bitbucket.org/shlomif/shlomif-cmake-modules/raw/default/shlomif-cmake-modules/Shlomif_Common.cmake; 10 - sha256 = "62f188a9f1b7ab0e757eb0bc6540d9c0026d75edc7acc1c3cdf7438871d0a94f"; 11 - }; 12 - }; 13 - version = "2.6.2"; 14 - in 15 - stdenv.mkDerivation { 3 + stdenv.mkDerivation rec { 16 4 pname = "fortune-mod"; 17 - inherit version; 18 - 19 - src = srcs.fortune; 5 + version = "2.10.0"; 20 6 21 - sourceRoot = "fortune-mod-fortune-mod-${version}/fortune-mod"; 7 + src = fetchurl { 8 + url = "https://www.shlomifish.org/open-source/projects/fortune-mod/arcs/fortune-mod-${version}.tar.xz"; 9 + sha256 = "07g50hij87jb7m40pkvgd47qfvv4s805lwiz79jbqcxzd7zdyax7"; 10 + }; 22 11 23 12 nativeBuildInputs = [ cmake perl ]; 24 13 25 14 buildInputs = [ recode ]; 26 15 27 - preConfigure = '' 28 - cp ${srcs.shlomifCommon} cmake/Shlomif_Common.cmake 29 - ''; 16 + cmakeFlags = [ 17 + "-DLOCALDIR=${placeholder "out"}/share/fortunes" 18 + ]; 30 19 31 - postInstall = '' 32 - mv $out/games/fortune $out/bin/fortune 33 - rm -r $out/games 34 - ''; 20 + patches = [ (builtins.toFile "not-a-game.patch" '' 21 + diff --git a/CMakeLists.txt b/CMakeLists.txt 22 + index 865e855..5a59370 100644 23 + --- a/CMakeLists.txt 24 + +++ b/CMakeLists.txt 25 + @@ -154,7 +154,7 @@ ENDMACRO() 26 + my_exe( 27 + "fortune" 28 + "fortune/fortune.c" 29 + - "games" 30 + + "bin" 31 + ) 32 + 33 + my_exe( 34 + -- 35 + '') ]; 35 36 36 37 meta = with stdenv.lib; { 37 38 description = "A program that displays a pseudorandom message from a database of quotations";
-39
pkgs/tools/misc/logstash/5.x.nix
··· 1 - { stdenv, fetchurl, elk5Version, makeWrapper, jre }: 2 - 3 - stdenv.mkDerivation rec { 4 - version = elk5Version; 5 - pname = "logstash"; 6 - 7 - src = fetchurl { 8 - url = "https://artifacts.elastic.co/downloads/logstash/${pname}-${version}.tar.gz"; 9 - sha256 = "0sax9p2bwjdrcvkm1mgvljdjn2qkyjd5i8rzajdn3n98gqin1la0"; 10 - }; 11 - 12 - dontBuild = true; 13 - dontPatchELF = true; 14 - dontStrip = true; 15 - dontPatchShebangs = true; 16 - 17 - buildInputs = [ 18 - makeWrapper jre 19 - ]; 20 - 21 - installPhase = '' 22 - mkdir -p $out 23 - cp -r {Gemfile*,modules,vendor,lib,bin,config,data,logstash-core,logstash-core-plugin-api} $out 24 - 25 - wrapProgram $out/bin/logstash \ 26 - --set JAVA_HOME "${jre}" 27 - 28 - wrapProgram $out/bin/logstash-plugin \ 29 - --set JAVA_HOME "${jre}" 30 - ''; 31 - 32 - meta = with stdenv.lib; { 33 - description = "Logstash is a data pipeline that helps you process logs and other event data from a variety of systems"; 34 - homepage = https://www.elastic.co/products/logstash; 35 - license = licenses.asl20; 36 - platforms = platforms.unix; 37 - maintainers = [ maintainers.wjlroe maintainers.offline ]; 38 - }; 39 - }
+5 -7
pkgs/tools/misc/megacli/default.nix
··· 1 - { stdenv, rpmextract, ncurses5, patchelf, requireFile, unzip }: 1 + { stdenv, rpmextract, ncurses5, patchelf, fetchurl, unzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "megacli"; 5 5 version = "8.07.14"; 6 6 7 - src = 8 - requireFile { 9 - name = "${builtins.replaceStrings ["."] ["-"] version}_MegaCLI.zip"; 10 - url = https://docs.broadcom.com/docs/12351587; 11 - sha256 = "1sdn58fbmd3fj4nzbajq3gcyw71ilgdh45r5p4sa6xmb7np55cfr"; 12 - }; 7 + src = fetchurl { 8 + url = "https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${builtins.replaceStrings ["."] ["-"] version}_MegaCLI.zip"; 9 + sha256 = "1sdn58fbmd3fj4nzbajq3gcyw71ilgdh45r5p4sa6xmb7np55cfr"; 10 + }; 13 11 14 12 buildInputs = [rpmextract ncurses5 unzip]; 15 13 libPath =
-28
pkgs/tools/system/journalbeat/default.nix
··· 1 - { lib, systemd, buildGoPackage, fetchFromGitHub }: 2 - 3 - buildGoPackage rec { 4 - pname = "journalbeat"; 5 - version = "5.6.8"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "mheese"; 9 - repo = "journalbeat"; 10 - rev = "v${version}"; 11 - sha256 = "1vgpwnwqjc93nvdpcd52748bwl3r371jb55l17bsgdzrmlcyfm8a"; 12 - }; 13 - 14 - goPackagePath = "github.com/mheese/journalbeat"; 15 - 16 - buildInputs = [ systemd.dev ]; 17 - 18 - postFixup = let libPath = lib.makeLibraryPath [ systemd.lib ]; in '' 19 - patchelf --set-rpath ${libPath} "$bin/bin/journalbeat" 20 - ''; 21 - 22 - meta = with lib; { 23 - homepage = https://github.com/mheese/journalbeat; 24 - description = "Journalbeat is a log shipper from systemd/journald to Logstash/Elasticsearch"; 25 - license = licenses.asl20; 26 - maintainers = with maintainers; [ mbrgm ]; 27 - }; 28 - }
+28 -22
pkgs/tools/typesetting/xmlroff/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, libxml2, libxslt, popt, perl 2 - , glib, pango, pangoxsl, gtk2, libtool, autoconf, automake }: 1 + { stdenv, fetchFromGitHub 2 + , autoreconfHook 3 + , gtk2 4 + , libxml2 5 + , libxslt 6 + , pango 7 + , pangoxsl 8 + , perl 9 + , pkgconfig 10 + , popt 11 + }: 3 12 4 13 stdenv.mkDerivation rec { 5 14 pname = "xmlroff"; 6 - version = "0.6.2"; 15 + version = "0.6.3"; 7 16 8 - src = fetchurl { 9 - url = "https://github.com/xmlroff/xmlroff/archive/v${version}.tar.gz"; 10 - sha256 = "1sczn6xjczsfdxlbjqv4xqlki2a95y2s8ih2nl9v1vhqfk17fiww"; 17 + src = fetchFromGitHub { 18 + owner = pname; 19 + repo = pname; 20 + rev = "v${version}"; 21 + sha256 = "0dgp72094lx9i9gvg21pp8ak7bg39707rdf6wz011p9s6n6lrq5g"; 11 22 }; 12 23 13 - nativeBuildInputs = [ pkgconfig ]; 24 + nativeBuildInputs = [ autoreconfHook pkgconfig ]; 14 25 buildInputs = [ 15 - autoconf 16 - automake 17 26 libxml2 18 27 libxslt 19 - libtool 20 - glib 21 28 pango 22 29 pangoxsl 23 30 gtk2 24 31 popt 25 32 ]; 26 33 34 + sourceRoot = "source/xmlroff/"; 35 + 36 + enableParallelBuilding = true; 37 + 27 38 configureScript = "./autogen.sh"; 28 39 29 40 configureFlags = [ 30 - "--disable-pangoxsl" 31 41 "--disable-gp" 32 42 ]; 33 43 34 - hardeningDisable = [ "format" ]; 35 - 36 44 preBuild = '' 37 45 substituteInPlace tools/insert-file-as-string.pl --replace "/usr/bin/perl" "${perl}/bin/perl" 38 - substituteInPlace Makefile --replace "docs" "" 46 + substituteInPlace Makefile --replace "docs" "" # docs target wants to download from network 39 47 ''; 40 48 41 - sourceRoot = "${pname}-${version}/xmlroff/"; 42 - 43 - patches = [./xmlroff.patch]; 44 - 45 - meta = { 46 - platforms = stdenv.lib.platforms.unix; 47 - license = stdenv.lib.licenses.bsd3; 49 + meta = with stdenv.lib; { 50 + description = "XSL Formatter"; 51 + homepage = "http://xmlroff.org/"; 52 + platforms = platforms.unix; 53 + license = licenses.bsd3; 48 54 }; 49 55 }
-11
pkgs/tools/typesetting/xmlroff/xmlroff.patch
··· 1 - --- xmlroff-0.6.2.orig/libfo/fo-libfo-basic.h 2 - +++ xmlroff-0.6.2/libfo/fo-libfo-basic.h 3 - @@ -11,8 +11,7 @@ 4 - #define __FO_LIBFO_BASIC_H__ 5 - 6 - #include <stdio.h> 7 - -#include <glib/gtypes.h> 8 - -#include <glib/gerror.h> 9 - +#include <glib.h> 10 - 11 - G_BEGIN_DECLS
+2 -21
pkgs/top-level/all-packages.nix
··· 1066 1066 1067 1067 bchunk = callPackage ../tools/cd-dvd/bchunk { }; 1068 1068 1069 - inherit (callPackages ../misc/logging/beats/5.x.nix { 1070 - # XXX: this is failing with Go 1.12. Error is related to cgo, an 1071 - # update to this package might fix it. 1072 - buildGoPackage = buildGo111Package; 1073 - }) 1074 - filebeat5 1075 - heartbeat5 1076 - metricbeat5 1077 - packetbeat5; 1078 - 1079 - journalbeat5 = callPackage ../tools/system/journalbeat { }; 1080 - 1081 1069 inherit (callPackages ../misc/logging/beats/6.x.nix { 1082 1070 # XXX: this is failing with Go 1.12. Error is related to cgo, an 1083 1071 # update to this package might fix it. ··· 2891 2879 evemu = callPackage ../tools/system/evemu { }; 2892 2880 2893 2881 # The latest version used by elasticsearch, logstash, kibana and the the beats from elastic. 2894 - elk5Version = "5.6.16"; 2895 2882 elk6Version = "6.7.2"; 2896 2883 elk7Version = "7.0.1"; 2897 2884 2898 - elasticsearch5 = callPackage ../servers/search/elasticsearch/5.x.nix { 2899 - utillinux = utillinuxMinimal; 2900 - }; 2901 2885 elasticsearch6 = callPackage ../servers/search/elasticsearch/6.x.nix { 2902 2886 utillinux = utillinuxMinimal; 2903 2887 }; ··· 2920 2904 elasticsearch = elasticsearch-oss; 2921 2905 } 2922 2906 ); 2923 - elasticsearch5Plugins = elasticsearchPlugins.override { 2924 - elasticsearch = elasticsearch5; 2925 - }; 2926 2907 elasticsearch6Plugins = elasticsearchPlugins.override { 2927 2908 elasticsearch = elasticsearch6-oss; 2928 2909 }; ··· 4215 4196 4216 4197 keyfuzz = callPackage ../tools/inputmethods/keyfuzz { }; 4217 4198 4218 - kibana5 = callPackage ../development/tools/misc/kibana/5.x.nix { }; 4219 4199 kibana6 = callPackage ../development/tools/misc/kibana/6.x.nix { }; 4220 4200 kibana6-oss = callPackage ../development/tools/misc/kibana/6.x.nix { 4221 4201 enableUnfree = false; ··· 4317 4297 4318 4298 lockfileProgs = callPackage ../tools/misc/lockfile-progs { }; 4319 4299 4320 - logstash5 = callPackage ../tools/misc/logstash/5.x.nix { }; 4321 4300 logstash6 = callPackage ../tools/misc/logstash/6.x.nix { }; 4322 4301 logstash6-oss = callPackage ../tools/misc/logstash/6.x.nix { 4323 4302 enableUnfree = false; ··· 10501 10480 classads = callPackage ../development/libraries/classads { }; 10502 10481 10503 10482 clearsilver = callPackage ../development/libraries/clearsilver { }; 10483 + 10484 + clipp = callPackage ../development/libraries/clipp { }; 10504 10485 10505 10486 clipper = callPackage ../development/libraries/clipper { }; 10506 10487
+2
pkgs/top-level/python-packages.nix
··· 839 839 840 840 pure-python-adb-homeassistant = callPackage ../development/python-modules/pure-python-adb-homeassistant { }; 841 841 842 + purl = callPackage ../development/python-modules/purl { }; 843 + 842 844 pymystem3 = callPackage ../development/python-modules/pymystem3 { }; 843 845 844 846 pymysql = callPackage ../development/python-modules/pymysql { };