Merge staging-next into staging

main
github-actions[bot] 2 years ago committed by GitHub
commit c3c349a83b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      pkgs/applications/networking/cluster/terraform-providers/providers.json
  2. 6
      pkgs/applications/science/biology/svaba/default.nix
  3. 6
      pkgs/applications/virtualization/cloud-hypervisor/default.nix
  4. 26
      pkgs/desktops/gnome/extensions/extensionOverridesPatches/freon_at_UshakovVasilii_Github.yahoo.com.patch
  5. 2
      pkgs/development/python-modules/coloredlogs/default.nix
  6. 4
      pkgs/development/python-modules/pyfaidx/default.nix
  7. 6
      pkgs/development/tools/bacon/default.nix
  8. 32
      pkgs/development/tools/build-managers/go-mk/default.nix
  9. 6
      pkgs/development/tools/rust/cargo-llvm-lines/default.nix
  10. 12
      pkgs/os-specific/linux/pflask/default.nix
  11. 11
      pkgs/os-specific/linux/pommed-light/default.nix
  12. 6
      pkgs/servers/sql/pgpool/default.nix
  13. 23
      pkgs/servers/sql/pgpool/pgpool.patch
  14. 6
      pkgs/tools/admin/afterburn/default.nix
  15. 5
      pkgs/tools/misc/shallot/default.nix
  16. 8
      pkgs/tools/misc/vector/default.nix
  17. 6
      pkgs/tools/networking/sipsak/default.nix
  18. 6
      pkgs/tools/security/super/default.nix
  19. 1
      pkgs/top-level/aliases.nix
  20. 2
      pkgs/top-level/all-packages.nix

@ -531,10 +531,10 @@
"owner": "hashicorp",
"provider-source-address": "registry.terraform.io/hashicorp/http",
"repo": "terraform-provider-http",
"rev": "v2.1.0",
"sha256": "1gih0ksrmhz82966c45ad2yv829pcgbvls92cll7r5haqgvx6k79",
"vendorSha256": null,
"version": "2.1.0"
"rev": "v2.2.0",
"sha256": "sha256-Ym9z/b2geSLdXYlQGggjyNTBZLo+GeMW5XLM+Gvk/gA=",
"vendorSha256": "sha256-Qk3ztfAtKt6Gq9QBtaeodwVkH/71TrCNMMAdrXO6Tjs=",
"version": "2.2.0"
},
"huaweicloud": {
"owner": "huaweicloud",

@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib bzip2 xz ];
# Workaround build failure on -fno-common toolchains like upstream
# gcc-10. Otherwise build fails as:
# ld: ./libfml.a(rle.o):/build/source/SeqLib/fermi-lite/rle.h:33: multiple definition of
# `rle_auxtab'; ./libfml.a(misc.o):/build/source/SeqLib/fermi-lite/rle.h:33: first defined here
NIX_CFLAGS_COMPILE = "-fcommon";
installPhase = ''
runHook preInstall
install -Dm555 src/svaba/svaba $out/bin/svaba

@ -2,19 +2,19 @@
rustPlatform.buildRustPackage rec {
pname = "cloud-hypervisor";
version = "23.1";
version = "24.0";
src = fetchFromGitHub {
owner = "cloud-hypervisor";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Pyocmj5cr2vOfeyRG3mBU11I3iXndUh3VifRSlnjoE8=";
sha256 = "sha256-0QZmIqcBt2qBysosa55nAT7M+hTRX9Q4Z0qtLxK0IWg=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isAarch64 dtc;
cargoSha256 = "1rx4d38d0ajdq3qs638gmagmj3f9j29i5mhrrzw039mggahjbksw";
cargoSha256 = "sha256-L6K5SxkmQo+8UpvvWtWG1ZuGivR5+o7FDt0eYa/tXgI=";
OPENSSL_NO_VENDOR = true;

@ -1,5 +1,5 @@
diff --git a/hddtempUtil.js b/hddtempUtil.js
index e5d1d6d..856654b 100644
index e5d1d6d..23f6289 100644
--- a/hddtempUtil.js
+++ b/hddtempUtil.js
@@ -7,7 +7,7 @@ var HddtempUtil = class extends CommandLineUtil.CommandLineUtil {
@ -7,7 +7,7 @@ index e5d1d6d..856654b 100644
constructor() {
super();
- let hddtempArgv = GLib.find_program_in_path('hddtemp');
+ let hddtempArgv = GLib.find_program_in_path('@hddtemp@/bin/hddtemp');
+ let hddtempArgv = '@hddtemp@/bin/hddtemp';
if(hddtempArgv) {
// check if this user can run hddtemp directly.
if(!GLib.spawn_command_line_sync(hddtempArgv)[3]){
@ -17,8 +17,8 @@ index e5d1d6d..856654b 100644
let systemctl = GLib.find_program_in_path('systemctl');
- let pidof = GLib.find_program_in_path('pidof');
- let nc = GLib.find_program_in_path('nc');
+ let pidof = GLib.find_program_in_path('@procps@/bin/pidof');
+ let nc = GLib.find_program_in_path('@netcat@/bin/nc');
+ let pidof = '@procps@/bin/pidof';
+ let nc = '@netcat@/bin/nc';
let pid = undefined;
if(systemctl) {
@ -32,7 +32,7 @@ index e5d1d6d..856654b 100644
pid = Number(output.trim());
}
diff --git a/liquidctlUtil.js b/liquidctlUtil.js
index 766bf62..7cd4e94 100644
index 766bf62..2a6faf8 100644
--- a/liquidctlUtil.js
+++ b/liquidctlUtil.js
@@ -8,7 +8,7 @@ const commandLineUtil = Me.imports.commandLineUtil;
@ -40,12 +40,12 @@ index 766bf62..7cd4e94 100644
constructor() {
super();
- const path = GLib.find_program_in_path('liquidctl');
+ const path = GLib.find_program_in_path('@liquidctl@/bin/liquidctl');
+ const path = '@liquidctl@/bin/liquidctl';
this._argv = path ? [path, 'status', '--json'] : null;
}
diff --git a/nvmecliUtil.js b/nvmecliUtil.js
index ae2ea93..2349b9e 100644
index 98a61df..8a40624 100644
--- a/nvmecliUtil.js
+++ b/nvmecliUtil.js
@@ -3,7 +3,7 @@ const GLib = imports.gi.GLib;
@ -53,12 +53,12 @@ index ae2ea93..2349b9e 100644
function getNvmeData (argv){
- const nvme = GLib.find_program_in_path('nvme')
+ const nvme = GLib.find_program_in_path('@nvmecli@/bin/nvme')
+ const nvme = '@nvmecli@/bin/nvme'
return JSON.parse(GLib.spawn_command_line_sync(`${nvme} ${argv} -o json`)[1].toString())
}
diff --git a/sensorsUtil.js b/sensorsUtil.js
index 62fa580..c017748 100644
index bd6de61..5951b17 100644
--- a/sensorsUtil.js
+++ b/sensorsUtil.js
@@ -7,7 +7,7 @@ var SensorsUtil = class extends CommandLineUtil.CommandLineUtil {
@ -66,12 +66,12 @@ index 62fa580..c017748 100644
constructor() {
super();
- let path = GLib.find_program_in_path('sensors');
+ let path = GLib.find_program_in_path('@lm_sensors@/bin/sensors');
+ let path = '@lm_sensors@/bin/sensors';
// -A: Do not show adapter -j: JSON output
this._argv = path ? [path, '-A', '-j'] : null;
}
diff --git a/smartctlUtil.js b/smartctlUtil.js
index 03d469b..6057a3b 100644
index 4888323..66b6c61 100644
--- a/smartctlUtil.js
+++ b/smartctlUtil.js
@@ -3,7 +3,7 @@ const GLib = imports.gi.GLib;
@ -79,7 +79,7 @@ index 03d469b..6057a3b 100644
const ByteArray = imports.byteArray;
function getSmartData (argv){
- const smartctl = GLib.find_program_in_path('smartctl')
+ const smartctl = GLib.find_program_in_path('@smartmontools@/bin/smartctl')
return JSON.parse(ByteArray.toString( GLib.spawn_command_line_sync(`${smartctl} ${argv} -j`)[1] ))
+ const smartctl = '@smartmontools@/bin/smartctl'
return JSON.parse(ByteArray.toString( GLib.spawn_command_line_sync(`'${smartctl}' ${argv} -j`)[1] ))
}

@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "xolox";
repo = "python-coloredlogs";
rev = version;
sha256 = "sha256-C1Eo+XrrL3bwhT49KyOE6xjbAHJxn9Qy4s1RR5ERVtA=";
hash = "sha256-TodI2Wh8M0qMM2K5jzqlLmUKILa5+5qq4ByLttmAA7E=";
};
propagatedBuildInputs = [

@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "pyfaidx";
version = "0.6.4";
version = "0.7.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-e6O9yx30unSfdmWzTmoFKqToQkBqDflebfRxfMEj85I=";
sha256 = "sha256-mtXMk4Hw3pxD1L3sD68Qa4KM37b4FQ7HHKssp8i+53A=";
};
nativeBuildInputs = [

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "bacon";
version = "2.1.0";
version = "2.2.0";
src = fetchFromGitHub {
owner = "Canop";
repo = pname;
rev = "v${version}";
sha256 = "sha256-SlyJSBgFRLMQX68QGSTtffYL7mRROR+AF/Kix6f4miQ=";
sha256 = "sha256-GoaWlnlE/UfLX3HjbQXPMBOdlplParq7HHAfCUcdGLc=";
};
cargoSha256 = "sha256-TIENdbXpMWdsnyTIHCMpa0KJnzJPlrDZoKoAdjBw2uM=";
cargoSha256 = "sha256-3heAu8n1Dm7ewYTSCwxtgpF2vn/D5B52BuM9qz0X7Yc=";
buildInputs = lib.optional stdenv.isDarwin CoreServices;

@ -1,32 +0,0 @@
{ lib
, buildGoPackage
, fetchFromGitHub
}:
buildGoPackage rec {
pname = "go-mk";
version = "0.pre+date=2015-03-24";
src = fetchFromGitHub {
owner = "dcjones";
repo = "mk";
rev = "73d1b31466c16d0a13a220e5fad7cd8ef6d984d1";
hash = "sha256-fk2Qd3LDMx+RapKi1M9yCuxpS0IB6xlbEWW+H6t94AI=";
};
goPackagePath = "github.com/dcjones/mk";
meta = with lib; {
inherit (src.meta) homepage;
description = "A reboot of Plan9's mk, written in Go";
longDescription = ''
Mk is a reboot of the Plan 9 mk command, which itself is a successor to
make. This tool is for anyone who loves make, but hates all its stupid
bullshit.
'';
license = licenses.bsd2;
maintainers = with maintainers; [ AndersonTorres ];
mainProgram = "mk";
platforms = platforms.unix;
};
}

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "cargo-llvm-lines";
version = "0.4.14";
version = "0.4.15";
src = fetchFromGitHub {
owner = "dtolnay";
repo = pname;
rev = version;
sha256 = "sha256-ooFkw6QlMnlvyHPMkqAZUDaOHH8dktzbob5WevQsYXQ=";
sha256 = "sha256-pP1kMwxIrL2ADvj4AkbhqKH5vzGyQnfL7hjg3/QYIY8=";
};
cargoSha256 = "sha256-MgtFNrSjSvyjp1uD/OueSh+MCYSvZCyDabP20pI/8HI=";
cargoSha256 = "sha256-V9mD9NAG7bB8uB/pjl0XGXmJqOUm4ZrFJV7nv569XOM=";
meta = with lib; {
description = "Count the number of lines of LLVM IR across all instantiations of a generic function";

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, python3, wafHook }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, python3, wafHook }:
stdenv.mkDerivation rec {
pname = "pflask";
@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
hash = "sha256-bAKPUj/EipZ98kHbZiFZZI3hLVMoQpCrYKMmznpSDhg=";
};
patches = [
# Pull patch pending upstream inclusion for -fno-common toolchain support:
# https://github.com/ghedo/pflask/pull/30
(fetchpatch {
name = "fno-common.patch";
url = "https://github.com/ghedo/pflask/commit/73ba32ec48e1e0e4a56b1bceed4635711526e079.patch";
hash = "sha256-KVuBS7LbYJQv6NXljpSiGGja7ar7W6A6SKzkEjB1B6U=";
})
];
nativeBuildInputs = [ python3 wafHook ];
postInstall = ''

@ -1,5 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, pciutils
, libconfuse
, alsa-lib
@ -20,6 +21,16 @@ stdenv.mkDerivation rec {
sha256 = "18fvdwwhcl6s4bpf2f2i389s71c8k4g0yb81am9rdddqmzaw27iy";
};
patches = [
# Pull fix pending upstream inclusion for -fno-common toolchain support:
# https://github.com/bytbox/pommed-light/pull/38
(fetchpatch {
name = "fno-common.patch";
url = "https://github.com/bytbox/pommed-light/commit/5848b49b45a9c3ab047ebd17deb2162daab1e0b8.patch";
sha256 = "15rsq2i4rqp4ssab20486a1wgxi2cp87b7nxyk9h23gdwld713vf";
})
];
postPatch = ''
substituteInPlace pommed.conf.mactel --replace /usr $out
substituteInPlace pommed.conf.pmac --replace /usr $out

@ -2,16 +2,14 @@
stdenv.mkDerivation rec {
pname = "pgpool-II";
version = "4.0.6";
version = "4.3.2";
src = fetchurl {
name = "${pname}-${version}.tar.gz";
url = "http://www.pgpool.net/download.php?f=${pname}-${version}.tar.gz";
sha256 = "0blmbqczyrgzykby2z3xzmhzd8kgij9izxv50n5cjn5azf7dn8g5";
sha256 = "02jg0c6k259i0r927dng9h0y58q965swshg2c9mzqhazcdiga5ap";
};
patches = [ ./pgpool.patch ];
buildInputs = [ postgresql openssl pam libmemcached ];
configureFlags = [

@ -1,23 +0,0 @@
diff --git a/src/main/main.c b/src/main/main.c
index eec3c3e4..4169112b 100644
--- a/src/main/main.c
+++ b/src/main/main.c
@@ -337,10 +337,14 @@ main(int argc, char **argv)
char dirnamebuf[POOLMAXPATHLEN + 1];
char *dirp;
- strlcpy(dirnamebuf, conf_file, sizeof(dirnamebuf));
- dirp = dirname(dirnamebuf);
- snprintf(pool_passwd, sizeof(pool_passwd), "%s/%s",
- dirp, pool_config->pool_passwd);
+ if (pool_config->pool_passwd[0] != '/') {
+ strlcpy(dirnamebuf, conf_file, sizeof(dirnamebuf));
+ dirp = dirname(dirnamebuf);
+ snprintf(pool_passwd, sizeof(pool_passwd), "%s/%s",
+ dirp, pool_config->pool_passwd);
+ } else
+ strlcpy(pool_passwd, pool_config->pool_passwd,
+ sizeof(pool_passwd));
pool_init_pool_passwd(pool_passwd, POOL_PASSWD_R);
}

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "afterburn";
version = "5.2.0";
version = "5.3.0";
src = fetchFromGitHub {
owner = "coreos";
repo = "afterburn";
rev = "v${version}";
sha256 = "sha256-Uzkp4G72oarpBnhbgLoh//JW9kg/t2XpNbiZTNxMl/w=";
sha256 = "sha256-yX95qmcyouSSjEHorMpRJjZyrxIjQorwTpGtGZN4s6s=";
};
cargoSha256 = "sha256-92E76QwxeOLp9sfO066L97r2FO/9nQ4DaVyWJrL9L2M=";
cargoSha256 = "sha256-DweJ608aJChn2ezAM7Ly0cwtLAvM1DZ5gc4WUVyKIco=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];

@ -30,6 +30,11 @@ stdenv.mkDerivation rec {
})
];
# Workaround build failure on -fno-common toolchains like upstream
# gcc-10. Otherwise build fails as:
# ld: src/shallot.o:(.bss+0x8): multiple definition of `lucky_thread'; src/error.o:(.bss+0x8): first defined here
NIX_CFLAGS_COMPILE = "-fcommon";
installPhase = ''
mkdir -p $out/bin
cp ./shallot $out/bin/

@ -30,7 +30,7 @@
let
pname = "vector";
version = "0.21.2";
version = "0.22.0";
in
rustPlatform.buildRustPackage {
inherit pname version;
@ -39,10 +39,10 @@ rustPlatform.buildRustPackage {
owner = "timberio";
repo = pname;
rev = "v${version}";
sha256 = "sha256-2iMD3QpVm1YmiEH17PdjgiNoD2Gt9BRJ5soMDB//b3Y=";
sha256 = "sha256-47tT17XS+bymwm82hbyCykmviGUByfFIxjNaq6OQWn8=";
};
cargoSha256 = "sha256-OkK0COSHdZ6fHWUrZ90ltuFSCtVZ14QZiIWVwkHOvq8=";
cargoSha256 = "sha256-91rXbHVpdupd14XsC7GjkZd0cUhxhVMYXlRdsyUx3L0=";
nativeBuildInputs = [ pkg-config cmake perl ];
buildInputs = [ oniguruma openssl protobuf rdkafka zstd ]
++ lib.optionals stdenv.isDarwin [ Security libiconv coreutils CoreServices ];
@ -62,7 +62,7 @@ rustPlatform.buildRustPackage {
buildFeatures = features;
# TODO investigate compilation failure for tests
# there are about 100 tests failing (out of 1100) for version 0.21.2
# there are about 100 tests failing (out of 1100) for version 0.22.0
doCheck = false;
checkFlags = [

@ -10,7 +10,11 @@ stdenv.mkDerivation rec {
c-ares
];
NIX_CFLAGS_COMPILE = "--std=gnu89";
# -fcommon: workaround build failure on -fno-common toolchains like upstream
# gcc-10. Otherwise build fails as:
# ld: transport.o:/build/source/sipsak.h:323: multiple definition of
# `address'; auth.o:/build/source/sipsak.h:323: first defined here
NIX_CFLAGS_COMPILE = "-std=gnu89 -fcommon";
src = fetchFromGitHub {
owner = "sipwise";

@ -26,7 +26,11 @@ stdenv.mkDerivation rec {
})
];
NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE";
# -fcommon: workaround build failure on -fno-common toolchains like upstream
# gcc-10. Otherwise build fails as:
# ld: pam.o:/build/super-3.30.0/super.h:293: multiple definition of
# `Method'; super.o:/build/super-3.30.0/super.h:293: first defined here
NIX_CFLAGS_COMPILE = "-D_GNU_SOURCE -fcommon";
configureFlags = [
"--sysconfdir=/etc"

@ -521,6 +521,7 @@ mapAliases ({
google-gflags = gflags; # Added 2019-07-25
google-musicmanager = throw "google-musicmanager has been removed because Google Play Music was discontinued"; # Added 2021-03-07
google-music-scripts = throw "google-music-scripts has been removed because Google Play Music was discontinued"; # Added 2021-03-07
go-mk = throw "go-mk has been dropped due to the lack of maintanence from upstream since 2015"; # Added 2022-06-02
go-pup = throw "'go-pup' has been renamed to/replaced by 'pup'"; # Converted to throw 2022-02-22
go-repo-root = throw "go-repo-root has been dropped due to the lack of maintanence from upstream since 2014"; # Added 2022-06-02
gpgstats = throw "gpgstats has been removed: upstream is gone"; # Added 2022-02-06

@ -2767,8 +2767,6 @@ with pkgs;
bmake = callPackage ../development/tools/build-managers/bmake { };
go-mk = callPackage ../development/tools/build-managers/go-mk { };
boca = callPackage ../development/libraries/boca { };
bubblewrap = callPackage ../tools/admin/bubblewrap { };

Loading…
Cancel
Save