Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2022-12-14 06:01:42 +00:00 committed by GitHub
commit c0b33aa433
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
28 changed files with 2213 additions and 2157 deletions

View File

@ -24,8 +24,8 @@ in
services.unifi.jrePackage = mkOption { services.unifi.jrePackage = mkOption {
type = types.package; type = types.package;
default = pkgs.jre8; default = if (lib.versionAtLeast (lib.getVersion cfg.unifiPackage) "7.3") then pkgs.jdk11 else pkgs.jre8;
defaultText = literalExpression "pkgs.jre8"; defaultText = literalExpression ''if (lib.versionAtLeast (lib.getVersion cfg.unifiPackage) "7.3" then pkgs.jdk11 else pkgs.jre8'';
description = lib.mdDoc '' description = lib.mdDoc ''
The JRE package to use. Check the release notes to ensure it is supported. The JRE package to use. Check the release notes to ensure it is supported.
''; '';

View File

@ -384,6 +384,11 @@ in
++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ] ++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ]
++ lib.optional config.services.xserver.wacom.enable pkgs.wacomtablet; ++ lib.optional config.services.xserver.wacom.enable pkgs.wacomtablet;
# Extra services for D-Bus activation
services.dbus.packages = [
plasma5.kactivitymanagerd
];
environment.pathsToLink = [ environment.pathsToLink = [
# FIXME: modules should link subdirs of `/share` rather than relying on this # FIXME: modules should link subdirs of `/share` rather than relying on this
"/share" "/share"
@ -446,6 +451,9 @@ in
xdg.portal.enable = true; xdg.portal.enable = true;
xdg.portal.extraPortals = [ plasma5.xdg-desktop-portal-kde ]; xdg.portal.extraPortals = [ plasma5.xdg-desktop-portal-kde ];
# xdg-desktop-portal-kde expects PipeWire to be running.
# This does not, by default, replace PulseAudio.
services.pipewire.enable = mkDefault true;
# Update the start menu for each user that is currently logged in # Update the start menu for each user that is currently logged in
system.userActivationScripts.plasmaSetup = activationScript; system.userActivationScripts.plasmaSetup = activationScript;

View File

@ -7,12 +7,6 @@
mkDerivation rec { mkDerivation rec {
pname = "colord-kde"; pname = "colord-kde";
version = "0.5.0";
src = fetchurl {
url = "http://download.kde.org/stable/colord-kde/${version}/src/${pname}-${version}.tar.xz";
sha256 = "0brdnpflm95vf4l41clrqxwvjrdwhs859n7401wxcykkmw4m0m3c";
};
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];

View File

@ -81,6 +81,7 @@ let
bomber = callPackage ./bomber.nix {}; bomber = callPackage ./bomber.nix {};
bovo = callPackage ./bovo.nix {}; bovo = callPackage ./bovo.nix {};
calendarsupport = callPackage ./calendarsupport.nix {}; calendarsupport = callPackage ./calendarsupport.nix {};
colord-kde = callPackage ./colord-kde.nix {};
dolphin = callPackage ./dolphin.nix {}; dolphin = callPackage ./dolphin.nix {};
dolphin-plugins = callPackage ./dolphin-plugins.nix {}; dolphin-plugins = callPackage ./dolphin-plugins.nix {};
dragon = callPackage ./dragon.nix {}; dragon = callPackage ./dragon.nix {};

View File

@ -1 +1 @@
WGET_ARGS=( https://download.kde.org/stable/release-service/22.08.3/src -A '*.tar.xz' ) WGET_ARGS=( https://download.kde.org/stable/release-service/22.12.0/src -A '*.tar.xz' )

View File

@ -35,6 +35,10 @@
, akonadi-contacts , akonadi-contacts
, akonadi-calendar-tools , akonadi-calendar-tools
, kdepim-runtime , kdepim-runtime
, gpgme
, pimcommon
, mailcommon
, messagelib
}: }:
mkDerivation rec { mkDerivation rec {
@ -76,6 +80,11 @@ mkDerivation rec {
akonadi-contacts akonadi-contacts
akonadi-calendar-tools akonadi-calendar-tools
kdepim-runtime kdepim-runtime
gpgme
pimcommon
mailcommon
messagelib
]; ];
propagatedUserEnvPkgs = [ akonadi kdepim-runtime akonadi-search ]; propagatedUserEnvPkgs = [ akonadi kdepim-runtime akonadi-search ];

View File

@ -15,7 +15,7 @@ index 83c2bcb..5f6d47c 100644
REQUIRED_HEADERS KSMTP_HEADERS REQUIRED_HEADERS KSMTP_HEADERS
) )
-install(TARGETS KPimSMTP EXPORT KPimSMTPTargets ${KF5_INSTALL_TARGETS_DEFAULT_ARGS}) -install(TARGETS KPimSMTP EXPORT KPimSMTPTargets ${KF_INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS KPimSMTP EXPORT KPimSMTPTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) +install(TARGETS KPimSMTP EXPORT KPimSMTPTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES install(FILES

File diff suppressed because it is too large Load Diff

View File

@ -220,7 +220,7 @@ buildStdenv.mkDerivation ({
"profilingPhase" "profilingPhase"
]; ];
patches = lib.optionals (lib.versionOlder version "103") [ patches = lib.optionals (lib.versionOlder version "102.6.0") [
(fetchpatch { (fetchpatch {
# https://bugzilla.mozilla.org/show_bug.cgi?id=1773259 # https://bugzilla.mozilla.org/show_bug.cgi?id=1773259
name = "rust-cbindgen-0.24.2-compat.patch"; name = "rust-cbindgen-0.24.2-compat.patch";
@ -234,7 +234,7 @@ buildStdenv.mkDerivation ({
postPatch = '' postPatch = ''
rm -rf obj-x86_64-pc-linux-gnu rm -rf obj-x86_64-pc-linux-gnu
patchShebangs mach patchShebangs mach build
'' ''
+ extraPostPatch; + extraPostPatch;

View File

@ -3,10 +3,10 @@
rec { rec {
firefox = buildMozillaMach rec { firefox = buildMozillaMach rec {
pname = "firefox"; pname = "firefox";
version = "107.0.1"; version = "108.0";
src = fetchurl { src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz"; url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "e57e4bfcecbcc6dbe73f23577a14a2998c8c3f3d602f85ea06f99e0974e78481b9f7bdb019cb4e9733e59f56be1407edd64a2adb7b284bb4a87b46b1e2295dea"; sha512 = "fa800f62cca395a51b9a04373a27be48fc3860208e34ecf74d908127638d1eb8c41cf9898be6896777d408127d5c4b7104d9ee89c97da923b2dc6ea32186187e";
}; };
meta = { meta = {
@ -29,11 +29,11 @@ rec {
firefox-esr-102 = buildMozillaMach rec { firefox-esr-102 = buildMozillaMach rec {
pname = "firefox-esr-102"; pname = "firefox-esr-102";
version = "102.5.0esr"; version = "102.6.0esr";
applicationName = "Mozilla Firefox ESR"; applicationName = "Mozilla Firefox ESR";
src = fetchurl { src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz"; url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
sha512 = "f4e105209c61e9537ddc90afdb05ede0a31caceb9b164d96276c811abbd646d14bc246c00caa386c0b0561055096d30b298329c69270dd085b943bdbc3a91a13"; sha512 = "c0f0160bea612d0ae74c29dd44beb7fd9a1c292694b8cd5c4faf2e54feb5c27684eee821b67dd40df714d69866a4e3a8b19e22182d9bc3023050d2d96b02d308";
}; };
meta = { meta = {

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "weka"; pname = "weka";
version = "3.9.2"; version = "3.9.6";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/weka/${lib.replaceChars ["."]["-"] "${pname}-${version}"}.zip"; url = "mirror://sourceforge/weka/${lib.replaceChars ["."]["-"] "${pname}-${version}"}.zip";
sha256 = "0zwmhspmqb0a7cm6k6i0s6q3w19ws1g9dx3cp2v3g3vsif6cdh31"; sha256 = "sha256-8fVN4MXYqXNEmyVtXh1IrauHTBZWgWG8AvsGI5Y9Aj0=";
}; };
nativeBuildInputs = [ makeWrapper unzip ]; nativeBuildInputs = [ makeWrapper unzip ];
@ -21,11 +21,12 @@ stdenv.mkDerivation rec {
--add-flags "-Xmx1000M -jar $out/share/weka/weka.jar" --add-flags "-Xmx1000M -jar $out/share/weka/weka.jar"
''; '';
meta = { meta = with lib; {
homepage = "http://www.cs.waikato.ac.nz/ml/weka/"; homepage = "http://www.cs.waikato.ac.nz/ml/weka/";
description = "Collection of machine learning algorithms for data mining tasks"; description = "Collection of machine learning algorithms for data mining tasks";
license = lib.licenses.gpl2Plus; sourceProvenance = with sourceTypes; [ binaryBytecode ];
maintainers = [ lib.maintainers.mimame ]; license = licenses.gpl2Plus;
platforms = lib.platforms.unix; maintainers = [ maintainers.mimame ];
platforms = platforms.unix;
}; };
} }

View File

@ -8,13 +8,13 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "mint-themes"; pname = "mint-themes";
version = "2.0.7"; version = "2.0.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "linuxmint"; owner = "linuxmint";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-3DwD1JVzl7446Fn+XMxwh2WA72ks4esnrLpyYBF9xWc="; hash = "sha256-4aBFK3cxcUfzaTIBAsZ+l4rvdF2AV+oPMB8oP8/KcvI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -1,9 +1,9 @@
import ./generic.nix { import ./generic.nix {
major_version = "5"; major_version = "5";
minor_version = "0"; minor_version = "0";
patch_version = "0-beta2"; patch_version = "0-rc1";
src = fetchTarball { src = fetchTarball {
url = "https://caml.inria.fr/pub/distrib/ocaml-5.0/ocaml-5.0.0~beta2.tar.xz"; url = "https://caml.inria.fr/pub/distrib/ocaml-5.0/ocaml-5.0.0~rc1.tar.xz";
sha256 = "sha256:1r76a3wadidca9306wkkcxdh5l0rk93pc6xmbs46cc1jfm6pgwas"; sha256 = "sha256:1ql9rmh2g9fhfv99vk9sdca1biiin32vi4idgdgl668n0vb8blw8";
}; };
} }

View File

@ -27,13 +27,13 @@
mkDerivation rec { mkDerivation rec {
pname = "mlt"; pname = "mlt";
version = "7.8.0"; version = "7.12.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mltframework"; owner = "mltframework";
repo = "mlt"; repo = "mlt";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-r8lvzz083WWlDtjvlsPwvOgplx2lPPkDDf3t0G9PqAQ="; sha256 = "sha256-Y7lbfwA0lkQB3PjYQIQaQ0BeXGcgyCmMnDqqZJ8zUaA=";
}; };
buildInputs = [ buildInputs = [

View File

@ -5,6 +5,7 @@
, cmake , cmake
, pkg-config , pkg-config
, buildPackages , buildPackages
, callPackage
, sqlite , sqlite
, libtiff , libtiff
, curl , curl
@ -13,7 +14,7 @@
, python3 , python3
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: rec {
pname = "proj"; pname = "proj";
version = "9.1.1"; version = "9.1.1";
@ -62,6 +63,7 @@ stdenv.mkDerivation rec {
passthru.tests = { passthru.tests = {
python = python3.pkgs.pyproj; python = python3.pkgs.pyproj;
proj = callPackage ./tests.nix { proj = finalAttrs.finalPackage; };
}; };
meta = with lib; { meta = with lib; {
@ -71,4 +73,4 @@ stdenv.mkDerivation rec {
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ dotlambda ]; maintainers = with maintainers; [ dotlambda ];
}; };
} })

View File

@ -0,0 +1,11 @@
{ runCommand, proj }:
let
inherit (proj) pname;
in
runCommand "${pname}-tests" { meta.timeout = 60; }
''
${proj}/bin/projinfo EPSG:4326 \
| grep '+proj=longlat +datum=WGS84 +no_defs +type=crs'
touch $out
''

View File

@ -8,13 +8,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "s2n-tls"; pname = "s2n-tls";
version = "1.3.29"; version = "1.3.30";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "aws"; owner = "aws";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-MKrZP81PrpOsVhS+kAjcd1Eumhq7F4HWWbFnypZttuY="; sha256 = "sha256-gDbQky2tNhtgdHmbMqnB6uIkJp2JhqyOMjPiW6EakK0=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch
, mock , mock
, pyopenssl , pyopenssl
, pytestCheckHook , pytestCheckHook
@ -17,6 +18,14 @@ buildPythonPackage rec {
sha256 = "sha256-6dGFU4YNk1joXXZi2c2L84JtUbTs1ICgXfv0/EU2P4Q="; sha256 = "sha256-6dGFU4YNk1joXXZi2c2L84JtUbTs1ICgXfv0/EU2P4Q=";
}; };
patches = [
(fetchpatch {
name = "fix-tests-with-twisted-22.10.0.patch";
url = "https://github.com/warner/foolscap/commit/c04202eb5d4cf052e650ec2985ea6037605fd79e.patch";
hash = "sha256-RldDc18n3WYHdYg0ZmM8PBffIuiGa1NIfdoHs3mEEfc=";
})
];
propagatedBuildInputs = [ propagatedBuildInputs = [
mock mock
twisted twisted

View File

@ -17,14 +17,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyproj"; pname = "pyproj";
version = "3.4.0"; version = "3.4.1";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pyproj4"; owner = "pyproj4";
repo = "pyproj"; repo = "pyproj";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-EXPeDNGr6eAAsLXCkV9mmkNDO1KScjZYgmBPzt+A1OU="; hash = "sha256-SbuamcVXvbV5eGm08jhbp1yBno60vkniHrH5xrPej2A=";
}; };
# force pyproj to use ${proj} # force pyproj to use ${proj}

View File

@ -8,16 +8,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "ruff"; pname = "ruff";
version = "0.0.177"; version = "0.0.179";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "charliermarsh"; owner = "charliermarsh";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-4X4dEVcKjcgww0JnqXkuSbK+VEF4C4/0QLfFrfAoRJ8="; sha256 = "sha256-vc4gYTsA4bbrbn1NMf4ixIrDRS1Abak0FyXkGKUX8Eo=";
}; };
cargoSha256 = "sha256-JnIvSIiJC3eR7vDrkIfElxM79dZAHrdcvtNw26zKoqw="; cargoSha256 = "sha256-etuiSRAXoWPZwsZxFVTE0PG+TK6HlRTQG4WkLWdCg0M=";
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
CoreServices CoreServices

View File

@ -66,7 +66,7 @@ in rec {
}; };
unifi7 = generic { unifi7 = generic {
version = "7.2.95"; version = "7.3.76";
sha256 = "sha256-lZrOB8Xrl2/LvDJhtGsQ7Cn5YJ+/hnHuq8ODlOg3R6s="; sha256 = "sha256-/g/gCAhCT+8eyYDiIkF8WnTIWgEzneiAYHXj1pYj/dA=";
}; };
} }

View File

@ -8,16 +8,16 @@
buildGoModule rec { buildGoModule rec {
pname = "d2"; pname = "d2";
version = "0.1.0"; version = "0.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "terrastruct"; owner = "terrastruct";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-QRgHmQOrw1ZdZffjVnqY3epNkVvCNtR06fyQgKVXoRk="; hash = "sha256-3cglQEJo2rkIJ+ogqliE/JK4SfoeKwB2bNrHRBgDJSU=";
}; };
vendorHash = "sha256-SO3ZeAJu4XOPDlJ2gUSYFPNG8RcOHfCsn2RKPT+FZy4="; vendorHash = "sha256-MyvLHWg7GFSzYMtzgba7Bi7QEijDvK3B+NC84ZU/Jvs=";
ldflags = [ ldflags = [
"-s" "-s"

View File

@ -1,4 +1,5 @@
{ lib { lib
, fetchpatch
, fetchFromGitHub , fetchFromGitHub
, buildGoModule , buildGoModule
}: }:
@ -14,6 +15,20 @@ buildGoModule rec {
sha256 = "1jlza1czfssssi3y9zi6kr8k9msfa7vp215ibhwbz4h97av5xw5m"; sha256 = "1jlza1czfssssi3y9zi6kr8k9msfa7vp215ibhwbz4h97av5xw5m";
}; };
patches = [
# https://github.com/genuinetools/reg/pull/218
(fetchpatch {
name = "update-x-sys-for-go-1.18-on-aarch64-darwin.patch";
url = "https://github.com/genuinetools/reg/commit/f37b04ad8be47f1e68ef9b2c5906324d7096231e.patch";
hash = "sha256-wmBjPdrpNpxx//I+d+k8DNR11TmyXxb84vXR/MrYHKA=";
})
(fetchpatch {
name = "update-vendored-dependencies.patch";
url = "https://github.com/genuinetools/reg/commit/8bb04bc3fd41c089716e65ee905c6feac8bda5a0.patch";
hash = "sha256-5nZaayy0xu7sOJHVCp6AotINiF7vXk2Jic8SR8ZrH/g=";
})
];
vendorSha256 = null; vendorSha256 = null;
doCheck = false; doCheck = false;

View File

@ -1772,7 +1772,7 @@ mapAliases ({
inherit (plasma5Packages) inherit (plasma5Packages)
akonadi akregator ark bluedevil bomber bovo breeze-grub breeze-gtk akonadi akregator ark bluedevil bomber bovo breeze-grub breeze-gtk
breeze-icons breeze-plymouth breeze-qt5 discover dolphin dragon elisa falkon breeze-icons breeze-plymouth breeze-qt5 colord-kde discover dolphin dragon elisa falkon
ffmpegthumbs filelight granatier gwenview k3b kactivitymanagerd kaddressbook ffmpegthumbs filelight granatier gwenview k3b kactivitymanagerd kaddressbook
kalendar kalzium kapman kapptemplate kate katomic kblackbox kblocks kbounce kalendar kalzium kapman kapptemplate kate katomic kblackbox kblocks kbounce
kcachegrind kcalc kcharselect kcolorchooser kde-cli-tools kde-gtk-config kcachegrind kcalc kcharselect kcolorchooser kde-cli-tools kde-gtk-config

View File

@ -3890,8 +3890,6 @@ with pkgs;
coloredlogs = with python3Packages; toPythonApplication coloredlogs; coloredlogs = with python3Packages; toPythonApplication coloredlogs;
colord-kde = libsForQt5.callPackage ../tools/misc/colord-kde {};
colpack = callPackage ../applications/science/math/colpack { }; colpack = callPackage ../applications/science/math/colpack { };
cz-cli = callPackage ../applications/version-management/cz-cli {}; cz-cli = callPackage ../applications/version-management/cz-cli {};