Merge master into staging-next

This commit is contained in:
github-actions[bot]
2022-05-18 12:01:24 +00:00
committed by GitHub
39 changed files with 186 additions and 114 deletions

View File

@@ -293,6 +293,7 @@ in
kexAlgorithms = mkOption { kexAlgorithms = mkOption {
type = types.listOf types.str; type = types.listOf types.str;
default = [ default = [
"sntrup761x25519-sha512@openssh.com"
"curve25519-sha256" "curve25519-sha256"
"curve25519-sha256@libssh.org" "curve25519-sha256@libssh.org"
"diffie-hellman-group-exchange-sha256" "diffie-hellman-group-exchange-sha256"
@@ -301,7 +302,7 @@ in
Allowed key exchange algorithms Allowed key exchange algorithms
</para> </para>
<para> <para>
Defaults to recommended settings from both Uses the lower bound recommended in both
<link xlink:href="https://stribika.github.io/2015/01/04/secure-secure-shell.html" /> <link xlink:href="https://stribika.github.io/2015/01/04/secure-secure-shell.html" />
and and
<link xlink:href="https://infosec.mozilla.org/guidelines/openssh#modern-openssh-67" /> <link xlink:href="https://infosec.mozilla.org/guidelines/openssh#modern-openssh-67" />

View File

@@ -301,8 +301,9 @@ let
{ {
description = "WireGuard Peer - ${interfaceName} - ${peer.publicKey}"; description = "WireGuard Peer - ${interfaceName} - ${peer.publicKey}";
requires = [ "wireguard-${interfaceName}.service" ]; requires = [ "wireguard-${interfaceName}.service" ];
after = [ "wireguard-${interfaceName}.service" ]; wants = [ "network-online.target" ];
wantedBy = [ "multi-user.target" "wireguard-${interfaceName}.service" ]; after = [ "wireguard-${interfaceName}.service" "network-online.target" ];
wantedBy = [ "wireguard-${interfaceName}.service" ];
environment.DEVICE = interfaceName; environment.DEVICE = interfaceName;
environment.WG_ENDPOINT_RESOLUTION_RETRIES = "infinity"; environment.WG_ENDPOINT_RESOLUTION_RETRIES = "infinity";
path = with pkgs; [ iproute2 wireguard-tools ]; path = with pkgs; [ iproute2 wireguard-tools ];
@@ -379,8 +380,9 @@ let
nameValuePair "wireguard-${name}" nameValuePair "wireguard-${name}"
{ {
description = "WireGuard Tunnel - ${name}"; description = "WireGuard Tunnel - ${name}";
requires = [ "network-online.target" ]; after = [ "network-pre.target" ];
after = [ "network.target" "network-online.target" ]; wants = [ "network.target" ];
before = [ "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
environment.DEVICE = name; environment.DEVICE = name;
path = with pkgs; [ kmod iproute2 wireguard-tools ]; path = with pkgs; [ kmod iproute2 wireguard-tools ];

View File

@@ -153,11 +153,11 @@ in {
package = mkOption { package = mkOption {
type = types.package; type = types.package;
description = "Which package to use for the Nextcloud instance."; description = "Which package to use for the Nextcloud instance.";
relatedPackages = [ "nextcloud22" "nextcloud23" ]; relatedPackages = [ "nextcloud22" "nextcloud23" "nextcloud24" ];
}; };
phpPackage = mkOption { phpPackage = mkOption {
type = types.package; type = types.package;
relatedPackages = [ "php74" "php80" ]; relatedPackages = [ "php74" "php80" "php81" ];
defaultText = "pkgs.php"; defaultText = "pkgs.php";
description = '' description = ''
PHP package to use for Nextcloud. PHP package to use for Nextcloud.
@@ -568,7 +568,7 @@ in {
config = mkIf cfg.enable (mkMerge [ config = mkIf cfg.enable (mkMerge [
{ warnings = let { warnings = let
latest = 23; latest = 24;
upgradeWarning = major: nixos: upgradeWarning = major: nixos:
'' ''
A legacy Nextcloud install (from before NixOS ${nixos}) may be installed. A legacy Nextcloud install (from before NixOS ${nixos}) may be installed.
@@ -604,6 +604,7 @@ in {
++ (optional (versionOlder cfg.package.version "21") (upgradeWarning 20 "21.05")) ++ (optional (versionOlder cfg.package.version "21") (upgradeWarning 20 "21.05"))
++ (optional (versionOlder cfg.package.version "22") (upgradeWarning 21 "21.11")) ++ (optional (versionOlder cfg.package.version "22") (upgradeWarning 21 "21.11"))
++ (optional (versionOlder cfg.package.version "23") (upgradeWarning 22 "22.05")) ++ (optional (versionOlder cfg.package.version "23") (upgradeWarning 22 "22.05"))
++ (optional (versionOlder cfg.package.version "24") (upgradeWarning 23 "22.05"))
++ (optional isUnsupportedMariadb '' ++ (optional isUnsupportedMariadb ''
You seem to be using MariaDB at an unsupported version (i.e. at least 10.6)! You seem to be using MariaDB at an unsupported version (i.e. at least 10.6)!
Please note that this isn't supported officially by Nextcloud. You can either Please note that this isn't supported officially by Nextcloud. You can either
@@ -626,14 +627,15 @@ in {
'' ''
else if versionOlder stateVersion "21.11" then nextcloud21 else if versionOlder stateVersion "21.11" then nextcloud21
else if versionOlder stateVersion "22.05" then nextcloud22 else if versionOlder stateVersion "22.05" then nextcloud22
else nextcloud23 else nextcloud24
); );
services.nextcloud.datadir = mkOptionDefault config.services.nextcloud.home; services.nextcloud.datadir = mkOptionDefault config.services.nextcloud.home;
services.nextcloud.phpPackage = services.nextcloud.phpPackage =
if versionOlder cfg.package.version "21" then pkgs.php74 if versionOlder cfg.package.version "21" then pkgs.php74
else pkgs.php80; else if versionOlder cfg.package.version "24" then pkgs.php80
else pkgs.php81;
} }
{ assertions = [ { assertions = [
@@ -884,7 +886,7 @@ in {
# FIXME(@Ma27) Nextcloud isn't compatible with mariadb 10.6, # FIXME(@Ma27) Nextcloud isn't compatible with mariadb 10.6,
# this is a workaround. # this is a workaround.
# See https://help.nextcloud.com/t/update-to-next-cloud-21-0-2-has-get-an-error/117028/22 # See https://help.nextcloud.com/t/update-to-next-cloud-21-0-2-has-get-an-error/117028/22
settings = { settings = mkIf (versionOlder cfg.package.version "24") {
mysqld = { mysqld = {
innodb_read_only_compressed = 0; innodb_read_only_compressed = 0;
}; };

View File

@@ -11,7 +11,7 @@
desktop client is packaged at <literal>pkgs.nextcloud-client</literal>. desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
</para> </para>
<para> <para>
The current default by NixOS is <package>nextcloud23</package> which is also the latest The current default by NixOS is <package>nextcloud24</package> which is also the latest
major version available. major version available.
</para> </para>
<section xml:id="module-services-nextcloud-basic-usage"> <section xml:id="module-services-nextcloud-basic-usage">

View File

@@ -18,4 +18,4 @@ foldl
}; };
}) })
{ } { }
[ 22 23 ] [ 22 23 24 ]

View File

@@ -10,13 +10,13 @@
buildDotnetModule rec { buildDotnetModule rec {
pname = "wasabibackend"; pname = "wasabibackend";
version = "1.1.13.0"; version = "1.1.13.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zkSNACKs"; owner = "zkSNACKs";
repo = "WalletWasabi"; repo = "WalletWasabi";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-zDOk8MurT5NXOr4kvm5mnsphY+eDFWuVBcpeTZpcHOo="; sha256 = "sha256-Hwav7moG6XKAcR7L0Q7CtifP3zCNRfHIihlaFw+dzbk=";
}; };
projectFile = "WalletWasabi.Backend/WalletWasabi.Backend.csproj"; projectFile = "WalletWasabi.Backend/WalletWasabi.Backend.csproj";

View File

@@ -1,38 +1,37 @@
{ lib, fetchFromGitHub, buildGoModule }: { lib, fetchFromGitHub, buildGoModule, testers, temporal }:
buildGoModule rec { buildGoModule rec {
pname = "temporal"; pname = "temporal";
version = "1.15.0"; version = "1.16.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "temporalio"; owner = "temporalio";
repo = "temporal"; repo = "temporal";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-5Tu838086qgIa2fqda2xi7vn4JbkENVJH4XU3NwW7Ic="; sha256 = "sha256-MPfyjRpjfnuVbj+Pd7yIlaEJCiX1IEy/Lwwkv23kugw=";
}; };
vendorSha256 = "sha256-caRBgkuHQ38r6OsKQCJ2pxAe8s6mc4g/QCIsCEXvY3M="; vendorSha256 = "sha256-82W1nHhHvvU6poh5szuH9lDkq6YHgyfsJSubxotV270=";
# Errors: CGO_ENABLED = 0;
# > === RUN TestNamespaceHandlerGlobalNamespaceDisabledSuite
# gocql: unable to dial control conn 127.0.0.1:9042: dial tcp 127.0.0.1:9042: connect: connection refused ldflags = [ "-s" "-w" ];
doCheck = false;
checkFlags = [ "-short" ];
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p $out/bin
install -Dm755 "$GOPATH/bin/cli" -T $out/bin/tctl
install -Dm755 "$GOPATH/bin/authorization" -T $out/bin/tctl-authorization-plugin
install -Dm755 "$GOPATH/bin/server" -T $out/bin/temporal-server install -Dm755 "$GOPATH/bin/server" -T $out/bin/temporal-server
install -Dm755 "$GOPATH/bin/cassandra" -T $out/bin/temporal-cassandra-tool install -Dm755 "$GOPATH/bin/cassandra" -T $out/bin/temporal-cassandra-tool
install -Dm755 "$GOPATH/bin/sql" -T $out/bin/temporal-sql-tool install -Dm755 "$GOPATH/bin/sql" -T $out/bin/temporal-sql-tool
runHook postInstall runHook postInstall
''; '';
doInstallCheck = true; passthru.tests.version = testers.testVersion {
installCheckPhase = '' package = temporal;
$out/bin/tctl --version | grep ${version} > /dev/null };
'';
meta = with lib; { meta = with lib; {
description = "A microservice orchestration platform which enables developers to build scalable applications without sacrificing productivity or reliability"; description = "A microservice orchestration platform which enables developers to build scalable applications without sacrificing productivity or reliability";
@@ -40,5 +39,6 @@ buildGoModule rec {
changelog = "https://github.com/temporalio/temporal/releases/tag/v${version}"; changelog = "https://github.com/temporalio/temporal/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ titanous ]; maintainers = with maintainers; [ titanous ];
mainProgram = "temporal-server";
}; };
} }

View File

@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }: { stdenv, lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec { buildGoModule rec {
pname = "tilt"; pname = "tilt";
@@ -24,5 +24,13 @@ buildGoModule rec {
homepage = "https://tilt.dev/"; homepage = "https://tilt.dev/";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ anton-dessiatov ]; maintainers = with maintainers; [ anton-dessiatov ];
# TODO: Remove once nixpkgs uses macOS SDK 10.14+ for x86_64-darwin
# Undefined symbols for architecture x86_64:
# "_SecTrustEvaluateWithError", referenced from:
# _crypto/x509/internal/macos.x509_SecTrustEvaluateWithError_trampoline.abi0 in go.o
# "_utimensat", referenced from:
# _syscall.libc_utimensat_trampoline.abi0 in go.o
broken = stdenv.isDarwin && stdenv.isx86_64;
}; };
} }

View File

@@ -7,18 +7,27 @@
# Dynamic libraries # Dynamic libraries
, alsa-lib , alsa-lib
, atk , atk
, at-spi2-atk
, at-spi2-core
, cairo , cairo
, cups
, dbus , dbus
, expat
, libdrm
, libGL , libGL
, fontconfig , fontconfig
, freetype , freetype
, gtk3 , gtk3
, gdk-pixbuf , gdk-pixbuf
, glib , glib
, mesa
, nspr
, nss
, pango , pango
, wayland , wayland
, xorg , xorg
, libxkbcommon , libxkbcommon
, udev
, zlib , zlib
# Runtime # Runtime
, coreutils , coreutils
@@ -33,13 +42,11 @@ let
inherit (stdenv.hostPlatform) system; inherit (stdenv.hostPlatform) system;
throwSystem = throw "Unsupported system: ${system}"; throwSystem = throw "Unsupported system: ${system}";
# Zoom versions are released at different times for each platform and linux # Zoom versions are released at different times for each platform
# is stuck on 5.9.6 until https://github.com/NixOS/nixpkgs/pull/166085 is
# resolved
version = { version = {
aarch64-darwin = "5.10.4.6592"; aarch64-darwin = "5.10.4.6592";
x86_64-darwin = "5.10.4.6592"; x86_64-darwin = "5.10.4.6592";
x86_64-linux = "5.9.6.2225"; x86_64-linux = "5.10.4.2845";
}.${system} or throwSystem; }.${system} or throwSystem;
srcs = { srcs = {
@@ -53,7 +60,7 @@ let
}; };
x86_64-linux = fetchurl { x86_64-linux = fetchurl {
url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz"; url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz";
sha256 = "0rynpw2fjn9j75f34rk0rgqn9wzyzgzmwh1a3xcx7hqingv45k53"; sha256 = "9gspydrGaEjzAM0nK1u0XNm07HTupJ2wnPxCFWy+Nts=";
}; };
}; };
@@ -61,28 +68,40 @@ let
# $ LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH:$PWD ldd zoom | grep 'not found' # $ LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH:$PWD ldd zoom | grep 'not found'
alsa-lib alsa-lib
atk atk
at-spi2-atk
at-spi2-core
cairo cairo
cups
dbus dbus
expat
libdrm
libGL libGL
fontconfig fontconfig
freetype freetype
gtk3 gtk3
gdk-pixbuf gdk-pixbuf
glib glib
mesa
nspr
nss
pango pango
stdenv.cc.cc stdenv.cc.cc
wayland wayland
xorg.libX11 xorg.libX11
xorg.libxcb xorg.libxcb
xorg.libXcomposite xorg.libXcomposite
xorg.libXdamage
xorg.libXext xorg.libXext
libxkbcommon libxkbcommon
xorg.libXrandr
xorg.libXrender xorg.libXrender
zlib xorg.libxshmfence
xorg.xcbutilimage xorg.xcbutilimage
xorg.xcbutilkeysyms xorg.xcbutilkeysyms
xorg.libXfixes xorg.libXfixes
xorg.libXtst xorg.libXtst
udev
zlib
] ++ lib.optional (pulseaudioSupport) libpulseaudio); ] ++ lib.optional (pulseaudioSupport) libpulseaudio);
in in
@@ -134,7 +153,9 @@ stdenv.mkDerivation rec {
done done
# ZoomLauncher sets LD_LIBRARY_PATH before execing zoom # ZoomLauncher sets LD_LIBRARY_PATH before execing zoom
wrapProgram $out/opt/zoom/zoom \ # IPC breaks if the executable name does not end in 'zoom'
mv $out/opt/zoom/zoom $out/opt/zoom/.zoom
makeWrapper $out/opt/zoom/.zoom $out/opt/zoom/zoom \
--prefix LD_LIBRARY_PATH ":" ${libs} --prefix LD_LIBRARY_PATH ":" ${libs}
rm $out/bin/zoom rm $out/bin/zoom

View File

@@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tixati"; pname = "tixati";
version = "2.88"; version = "2.89";
src = fetchurl { src = fetchurl {
url = "https://download2.tixati.com/download/tixati-${version}-1.x86_64.manualinstall.tar.gz"; url = "https://download2.tixati.com/download/tixati-${version}-1.x86_64.manualinstall.tar.gz";
sha256 = "sha256-9d9Z+3Uyxy4Bj8STtzHWwyyhWeMv3wo0IH6uxGTaA0I="; sha256 = "sha256-fd7DMKoRxNmNjCxl2ViINjnCEXJrhJU4aaRT+NoB1vI=";
}; };
installPhase = '' installPhase = ''

View File

@@ -68,6 +68,8 @@ stdenv.mkDerivation {
stripDebugList = [ "cgit" ]; stripDebugList = [ "cgit" ];
enableParallelBuilding = true;
meta = { meta = {
inherit homepage description; inherit homepage description;
license = lib.licenses.gpl2; license = lib.licenses.gpl2;

View File

@@ -6,16 +6,16 @@
}: }:
buildGoModule rec { buildGoModule rec {
pname = "garble"; pname = "garble";
version = "0.5.1"; version = "0.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "burrowers"; owner = "burrowers";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-F8O/33o//yGnum9sZo1dzcvf3ifRalva6SDC36iPbDA=="; sha256 = "sha256-VeqF1MB8knM+NtG9Y+x1g2OF7LFZRC8/c8jicGP3vpo=";
}; };
vendorSha256 = "sha256-iNH/iBEOTkIhVlDGfI66ZYyVjyH6WrLbUSMyONPjUc4="; vendorSha256 = "sha256-FQMeA6VUDQa6wpvMoYsigkzukQ0dArAkysiksJWq+iY=";
# Used for some of the tests. # Used for some of the tests.
checkInputs = [git]; checkInputs = [git];

View File

@@ -9,13 +9,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dlib"; pname = "dlib";
version = "19.23"; version = "19.24";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "davisking"; owner = "davisking";
repo = "dlib"; repo = "dlib";
rev ="v${version}"; rev ="v${version}";
sha256 = "sha256-88vusoLEkjh3WRh/PxPtsVIFk85serRq2VxVcEus3IE="; sha256 = "sha256-YhIjP9TIIyQF6lBj85gyVRIAAwgIodzh0ViQL8v2ACA=";
}; };
postPatch = '' postPatch = ''

View File

@@ -2,7 +2,13 @@
# executable that matches that packages name, so that they'll work with `nix run`. # executable that matches that packages name, so that they'll work with `nix run`.
{ {
# Packages that provide multiple executables where one is clearly the `mainProgram`. # Packages that provide multiple executables where one is clearly the `mainProgram`.
"@antfu/ni" = "ni";
"@electron-forge/cli" = "electron-forge";
"@squoosh/cli" = "squoosh-cli";
"@webassemblyjs/cli" = "wasm2wast";
coffee-script = "coffee";
typescript = "tsc"; typescript = "tsc";
vue-cli = "vue";
# Packages that provide a single executable whose name differs from the package's `name`. # Packages that provide a single executable whose name differs from the package's `name`.
"@angular/cli" = "ng"; "@angular/cli" = "ng";

View File

@@ -4,7 +4,7 @@
buildDunePackage rec { buildDunePackage rec {
pname = "graphql_ppx"; pname = "graphql_ppx";
version = "1.2.0"; version = "1.2.2";
minimalOCamlVersion = "4.08"; minimalOCamlVersion = "4.08";
@@ -12,7 +12,7 @@ buildDunePackage rec {
owner = "reasonml-community"; owner = "reasonml-community";
repo = "graphql-ppx"; repo = "graphql-ppx";
rev = "v${version}"; rev = "v${version}";
sha256 = "1fymmvk616wv5xkwfdmqibdgfl47ry6idc5wfh20a3mz9mpaa13s"; sha256 = "sha256-+WJhA2ixZHiSZBoX14dnQKk7JfVAIME4JooNSnhRp44=";
}; };
buildInputs = [ ppxlib ]; buildInputs = [ ppxlib ];

View File

@@ -21,7 +21,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ansible-later"; pname = "ansible-later";
version = "2.0.12"; version = "2.0.13";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@@ -30,7 +30,7 @@ buildPythonPackage rec {
owner = "thegeeklab"; owner = "thegeeklab";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-0N/BER7tV8Hv1pvHaf/46BKnzZfHBGuEaPPex/CDQe0="; hash = "sha256-9xVFvXCHjgF+7asO1ialGIofJwsRRRiydo/Ui2C+Wig=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@@ -18,7 +18,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cyclonedx-python-lib"; pname = "cyclonedx-python-lib";
version = "2.3.0"; version = "2.4.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "CycloneDX"; owner = "CycloneDX";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-eZy+m6AkSlZM/i64FyFL+ZgeW86MOSM6sDYPT4ckaHE="; hash = "sha256-IrMXHWeksEmON3LxJvQ3WSKwQTY0aRZ8XItWMr3p4gw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@@ -14,14 +14,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "doc8"; pname = "doc8";
version = "0.11.1"; version = "0.11.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-bby1Ry79Mydj/7KGK0/e7EDIpv3Gu2fmhxOtdJylgIw="; sha256 = "sha256-w1ojH4jxXCBGWRVO09SZ+k1ALX5j1By6e1TPXmRhI6s=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@@ -17,7 +17,7 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.20.36"; version = "0.20.38";
pname = "dulwich"; pname = "dulwich";
format = "setuptools"; format = "setuptools";
@@ -25,7 +25,7 @@ buildPythonPackage rec {
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-2s7xVJwSdffS1v7NLyz6O6ozB9AJpRTAwjIDP2uqXSE="; hash = "sha256-c0Z5DYc1yG+7xbcLZ08O+UCWweUJm6cnNJFigjmBf8g=";
}; };
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";

View File

@@ -6,7 +6,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "elementpath"; pname = "elementpath";
version = "2.5.1"; version = "2.5.2";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@@ -15,7 +15,7 @@ buildPythonPackage rec {
owner = "sissaschool"; owner = "sissaschool";
repo = "elementpath"; repo = "elementpath";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-tejsQ6m9XyMGDIEDzWYwSav5Iqa9S/DIYShOpoSlTWo="; hash = "sha256-JmNG6SXig24X34nQXrpMN9ir9+l8o23ddzw2uyR3qb0=";
}; };
# avoid circular dependency with xmlschema which directly depends on this # avoid circular dependency with xmlschema which directly depends on this

View File

@@ -14,7 +14,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "hahomematic"; pname = "hahomematic";
version = "1.3.1"; version = "1.4.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "danielperna84"; owner = "danielperna84";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-RgjsaGtji5vSQcv+npOYcXJNYUhx9Snz56BXnfoc2QY="; sha256 = "sha256-1JYakfs+lLCfB2Ann1QfNw+MBrB9PiixOUqdA7UgbWE=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@@ -1,25 +1,26 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pythonOlder
, setuptools-scm
, setuptools
, pytestCheckHook
, freezegun , freezegun
, importlib-metadata
, pytestCheckHook
, pythonOlder
, setuptools
, setuptools-scm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "4.0.0"; version = "4.1.0";
pname = "humanize"; pname = "humanize";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jmoiron"; owner = "python-humanize";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-v4OdZmUI2LCick4qCSGOHJ7jtWybwKTeTeIcly+QQQQ="; hash = "sha256-5xL3gfEohDjnF085Pgx/PBXWWM76X4FU2KR+8OGshMw=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;
@@ -30,6 +31,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
setuptools setuptools
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
]; ];
checkInputs = [ checkInputs = [
@@ -37,11 +40,14 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [
"humanize"
];
meta = with lib; { meta = with lib; {
description = "Python humanize utilities"; description = "Python humanize utilities";
homepage = "https://github.com/jmoiron/humanize"; homepage = "https://github.com/python-humanize/humanize";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ rmcgibbo ]; maintainers = with maintainers; [ rmcgibbo ];
}; };
} }

View File

@@ -20,7 +20,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "plugwise"; pname = "plugwise";
version = "0.18.3"; version = "0.18.4";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = pname; owner = pname;
repo = "python-plugwise"; repo = "python-plugwise";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-aNlPOgUChLFkPPZtb3o4A49uoSBjxKaq3WtuupHlmi8="; sha256 = "sha256-a4mbkwjdLOnoxe4Cj43IXGALqbTKqinoJAiPWfc79/8=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "rns"; pname = "rns";
version = "0.3.5"; version = "0.3.6";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@@ -17,8 +17,8 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "markqvist"; owner = "markqvist";
repo = "Reticulum"; repo = "Reticulum";
rev = version; rev = "refs/tags/${version}";
hash = "sha256-LzrI5pJ3mLaxikqS1eWFvdgneoCnsRTYWbshVX7U8lg="; hash = "sha256-awVUE5sViaGBne82oAxGeabZSnLn/dzBQTwP7xRdYKE=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@@ -12,14 +12,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "urlextract"; pname = "urlextract";
version = "1.5.0"; version = "1.6.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-QKXIQ9HXJTdY9W8NZ0jF6iekoUVl46kvJakW3cTB5B8="; hash = "sha256-V08NjFYtN3M2pRVIQMfk7s9UwQKlOJcciX9zEwdaiIc=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "xknx"; pname = "xknx";
version = "0.21.2"; version = "0.21.3";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "XKNX"; owner = "XKNX";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-GEjrqqmlGA6wG5x89AZXd8FLvrKEzCLmVhhZ7FxDB+w="; sha256 = "sha256-AGKozbVdXfRPvaU1Et8GFu3vdNRLA8ZiV8Xc6T7BhOQ=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@@ -7,7 +7,7 @@ let
in in
buildNodejs { buildNodejs {
inherit enableNpm; inherit enableNpm;
version = "14.19.2"; version = "14.19.3";
sha256 = "sha256-70N1qRUv9p8oI9eyCjtTdnoEYWS7rHgkQpyyFtFojPA="; sha256 = "sha256-XPRbHxrKd1I6zzYkDB1TqZknkHCncR6r8jNG+IsMyZQ=";
patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff;
} }

View File

@@ -1,15 +0,0 @@
{ callPackage, python3, enableNpm ? true }:
let
buildNodejs = callPackage ./nodejs.nix {
python = python3;
};
in
buildNodejs {
inherit enableNpm;
version = "17.9.0";
sha256 = "1q1rr9kvlk9rd35x3x206iy894hq2ywyhqxbb6grak6wcvdgcnan";
patches = [
./disable-darwin-v8-system-instrumentation.patch
];
}

View File

@@ -7,8 +7,8 @@ let
in in
buildNodejs { buildNodejs {
inherit enableNpm; inherit enableNpm;
version = "18.1.0"; version = "18.2.0";
sha256 = "0zhb61ihzslmpl1g3dd6vcxjccc8gwj1v4hfphk7f3cy10hcrc78"; sha256 = "sha256-IwWxXr9VR0dOkFtQAvm6mcfu7wHXOU3+bzhGzGvK1m0=";
patches = [ patches = [
./disable-darwin-v8-system-instrumentation.patch ./disable-darwin-v8-system-instrumentation.patch
]; ];

View File

@@ -7,12 +7,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "apache-storm"; pname = "apache-storm";
version = "2.3.0"; version = "2.4.0";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://apache/storm/${name}/${name}.tar.gz"; url = "mirror://apache/storm/${name}/${name}.tar.gz";
sha256 = "sha256-ScIlWyZjPG/ZY5nFIDOeRZ/NopoOfm0Mh3XO/P9sNjY="; sha256 = "sha256-VFNcaISPBRMGR5l/P6/pGnK7lHClDW2AmXJ00gzxwMY=";
}; };
nativeBuildInputs = [ zip unzip ]; nativeBuildInputs = [ zip unzip ];

View File

@@ -55,6 +55,7 @@ buildGoModule rec {
# Enable only select service discovery to shrink binaries. # Enable only select service discovery to shrink binaries.
( (
true # prevent bash syntax error when all plugins are disabled
${lib.optionalString (enableAWS) ${lib.optionalString (enableAWS)
"echo - github.com/prometheus/prometheus/discovery/aws"} "echo - github.com/prometheus/prometheus/discovery/aws"}
${lib.optionalString (enableAzure) ${lib.optionalString (enableAzure)

View File

@@ -54,6 +54,12 @@ in {
version = "23.0.4"; version = "23.0.4";
sha256 = "67191c2b8b41591ae42accfb32216313fde0e107201682cb39029f890712bc6a"; sha256 = "67191c2b8b41591ae42accfb32216313fde0e107201682cb39029f890712bc6a";
}; };
nextcloud24 = generic {
version = "24.0.0";
sha256 = "176cb5620f20465fb4759bdf3caaebeb7acff39d6c8630351af9f8738c173780";
};
# tip: get she sha with: # tip: get she sha with:
# curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256' # curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256'
} }

View File

@@ -1,23 +1,28 @@
{ lib { lib
, stdenv
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, CoreFoundation
, Security
}: }:
buildGoModule rec { buildGoModule rec {
pname = "trivy"; pname = "trivy";
version = "0.27.1"; version = "0.28.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aquasecurity"; owner = "aquasecurity";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-eyvxBpGuOXicuqINYhl4/fUgN/j+Awe5vgMaMxtAMr0="; sha256 = "sha256-zyTUGAxUAfrigRNiw03ZXFK+UkpuxwuU2xviZmAPuR8=";
}; };
vendorSha256 = "sha256-dgiKWHSm49/CB4dWrNWIzkkmj6Aw4l+9iLa6xe/umq0=";
vendorSha256 = "sha256-91tq4ipi3JobVgffASn8KRd3JQkgbOx/7PsjKq5vJdE=";
excludedPackages = "misc"; excludedPackages = "misc";
buildInputs = lib.optionals (stdenv.isDarwin && stdenv.isx86_64)
[ CoreFoundation Security ];
ldflags = [ ldflags = [
"-s" "-s"
"-w" "-w"

View File

@@ -23,9 +23,6 @@ stdenv.mkDerivation rec {
buildInputs = [ acl attr e2fsprogs libuuid lzo python3 zlib zstd ] ++ lib.optionals stdenv.hostPlatform.isGnu [ udev ]; buildInputs = [ acl attr e2fsprogs libuuid lzo python3 zlib zstd ] ++ lib.optionals stdenv.hostPlatform.isGnu [ udev ];
# for python cross-compiling
_PYTHON_HOST_PLATFORM = stdenv.hostPlatform.config;
# gcc bug with -O1 on ARM with gcc 4.8 # gcc bug with -O1 on ARM with gcc 4.8
# This should be fine on all platforms so apply universally # This should be fine on all platforms so apply universally
postPatch = "sed -i s/-O1/-O2/ configure"; postPatch = "sed -i s/-O1/-O2/ configure";
@@ -38,6 +35,8 @@ stdenv.mkDerivation rec {
makeFlags = lib.optionals stdenv.hostPlatform.isGnu [ "udevruledir=$(out)/lib/udev/rules.d" ]; makeFlags = lib.optionals stdenv.hostPlatform.isGnu [ "udevruledir=$(out)/lib/udev/rules.d" ];
installFlags = [ "install_python" ];
enableParallelBuilding = true; enableParallelBuilding = true;
passthru.tests = { passthru.tests = {

View File

@@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "argus-clients"; pname = "argus-clients";
version = "3.0.8.2"; version = "3.0.8.3";
src = fetchurl { src = fetchurl {
url = "http://qosient.com/argus/src/${pname}-${version}.tar.gz"; url = "http://qosient.com/argus/src/${pname}-${version}.tar.gz";
sha256 = "1c9vj6ma00gqq9h92fg71sxcsjzz912166sdg90ahvnmvmh3l1rj"; sha256 = "sha256-uNTvi6zbrYHAivQMPkhlNCoqRW9GOkgKvCf3mInds80=";
}; };
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ]; NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];

View File

@@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@@ -14,6 +15,28 @@ stdenv.mkDerivation rec {
sha256 = "sha256-uu/zN6W0ue526/3a9QeYg6J4HLaovZJVOYXksjouYok="; sha256 = "sha256-uu/zN6W0ue526/3a9QeYg6J4HLaovZJVOYXksjouYok=";
}; };
patches = [
# zsh completion
(fetchpatch {
url = "https://github.com/rofl0r/proxychains-ng/commit/04023d3811d8ee34b498b429bac7a871045de59c.patch";
sha256 = "sha256-Xcg2kmAhj/OJn/RKJAxb9MOJNJQY7FXmxEIzQ5dvabo=";
})
(fetchpatch {
url = "https://github.com/rofl0r/proxychains-ng/commit/9b42da71f4df7b783cf07a58ffa095e293c43380.patch";
sha256 = "sha256-tYv9XP51WtsjaoklwQk3D/MQceoOvtdMwBraECt6AXQ=";
})
];
installFlags = [
"install-config"
# TODO: check on next update if that works and remove postInstall
# "install-zsh-completion"
];
postInstall = ''
./tools/install.sh -D -m 644 completions/_proxychains $out/share/zsh/site_functions/_proxychains4
'';
meta = with lib; { meta = with lib; {
description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies"; description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies";
homepage = "https://github.com/rofl0r/proxychains-ng"; homepage = "https://github.com/rofl0r/proxychains-ng";

View File

@@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation" substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation"
''; '';
installFlags = [
"install-config"
];
meta = with lib; { meta = with lib; {
description = "Proxifier for SOCKS proxies"; description = "Proxifier for SOCKS proxies";
homepage = "http://proxychains.sourceforge.net"; homepage = "http://proxychains.sourceforge.net";

View File

@@ -5438,6 +5438,7 @@ with pkgs;
trivy = callPackage ../tools/admin/trivy { trivy = callPackage ../tools/admin/trivy {
buildGoModule = buildGo118Module; buildGoModule = buildGo118Module;
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
}; };
trompeloeil = callPackage ../development/libraries/trompeloeil { }; trompeloeil = callPackage ../development/libraries/trompeloeil { };
@@ -7822,10 +7823,6 @@ with pkgs;
nodejs-slim-16_x = callPackage ../development/web/nodejs/v16.nix { nodejs-slim-16_x = callPackage ../development/web/nodejs/v16.nix {
enableNpm = false; enableNpm = false;
}; };
nodejs-17_x = callPackage ../development/web/nodejs/v17.nix { };
nodejs-slim-17_x = callPackage ../development/web/nodejs/v17.nix {
enableNpm = false;
};
nodejs-18_x = callPackage ../development/web/nodejs/v18.nix { }; nodejs-18_x = callPackage ../development/web/nodejs/v18.nix { };
nodejs-slim-18_x = callPackage ../development/web/nodejs/v18.nix { nodejs-slim-18_x = callPackage ../development/web/nodejs/v18.nix {
enableNpm = false; enableNpm = false;
@@ -8588,7 +8585,7 @@ with pkgs;
grocy = callPackage ../servers/grocy { }; grocy = callPackage ../servers/grocy { };
inherit (callPackage ../servers/nextcloud {}) inherit (callPackage ../servers/nextcloud {})
nextcloud21 nextcloud22 nextcloud23; nextcloud21 nextcloud22 nextcloud23 nextcloud24;
nextcloud-client = libsForQt5.callPackage ../applications/networking/nextcloud-client { }; nextcloud-client = libsForQt5.callPackage ../applications/networking/nextcloud-client { };
@@ -29856,7 +29853,9 @@ with pkgs;
tempo = callPackage ../servers/tracing/tempo {}; tempo = callPackage ../servers/tracing/tempo {};
temporal = callPackage ../applications/networking/cluster/temporal { }; temporal = callPackage ../applications/networking/cluster/temporal {
buildGoModule = buildGo118Module;
};
tenacity = callPackage ../applications/audio/tenacity { wxGTK = wxGTK31-gtk3; }; tenacity = callPackage ../applications/audio/tenacity { wxGTK = wxGTK31-gtk3; };

View File

@@ -1405,6 +1405,8 @@ in {
btrfs = callPackage ../development/python-modules/btrfs { }; btrfs = callPackage ../development/python-modules/btrfs { };
btrfsutil = toPythonModule (pkgs.btrfs-progs.override { python3 = self.python; });
bugsnag = callPackage ../development/python-modules/bugsnag { }; bugsnag = callPackage ../development/python-modules/bugsnag { };
bugwarrior = callPackage ../development/python-modules/bugwarrior { }; bugwarrior = callPackage ../development/python-modules/bugwarrior { };