Merge master into staging-next

authored by github-actions[bot] and committed by GitHub 7c48a663 340cf430

+52 -97
+2 -2
pkgs/applications/blockchains/ledger-live-desktop/default.nix
··· 2 3 let 4 pname = "ledger-live-desktop"; 5 - version = "2.73.0"; 6 7 src = fetchurl { 8 url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage"; 9 - hash = "sha256-/eFzIIjHCAYskc68CGTyUKW04spX8YN69/3cPQ0Qtc0="; 10 }; 11 12 appimageContents = appimageTools.extractType2 {
··· 2 3 let 4 pname = "ledger-live-desktop"; 5 + version = "2.73.1"; 6 7 src = fetchurl { 8 url = "https://download.live.ledger.com/${pname}-${version}-linux-x86_64.AppImage"; 9 + hash = "sha256-aHA65NLX3tlg8nLnQOOG1TuvcJP57HbQWruiBMvDJ10="; 10 }; 11 12 appimageContents = appimageTools.extractType2 {
+12 -27
pkgs/applications/display-managers/sddm/default.nix
··· 1 - { mkDerivation, lib, fetchFromGitHub, fetchpatch 2 - , cmake, extra-cmake-modules, pkg-config, qttools 3 - , libxcb, libXau, pam, qtbase, qtdeclarative, qtquickcontrols2, systemd, xkeyboardconfig 4 }: 5 - mkDerivation rec { 6 pname = "sddm"; 7 - version = "0.20.0"; 8 9 src = fetchFromGitHub { 10 owner = "sddm"; 11 repo = "sddm"; 12 - rev = "v${version}"; 13 - hash = "sha256-ctZln1yQov+p/outkQhcWZp46IKITC04e22RfePwEM4="; 14 }; 15 16 patches = [ 17 ./sddm-ignore-config-mtime.patch 18 ./sddm-default-session.patch 19 - 20 - # FIXME: all of the following are Wayland related backports, drop in next release 21 - # Don't use Qt virtual keyboard on Wayland 22 - (fetchpatch { 23 - url = "https://github.com/sddm/sddm/commit/07631f2ef00a52d883d0fd47ff7d1e1a6bc6358f.patch"; 24 - hash = "sha256-HTSw3YeT4z9ldr4sLmsnrPQ+LA8/a6XxrF+KUFqXUlM="; 25 - }) 26 - 27 - # Fix running sddm-greeter manually in Wayland sessions 28 - (fetchpatch { 29 - url = "https://github.com/sddm/sddm/commit/e27b70957505dc7b986ab2fa68219af546c63344.patch"; 30 - hash = "sha256-6hzrFeS2epL9vzLOA29ZA/dD3Jd4rPMBHhNp+FBq1bA="; 31 - }) 32 - 33 - # Prefer GreeterEnvironment over PAM environment 34 - (fetchpatch { 35 - url = "https://github.com/sddm/sddm/commit/9e7791d5fb375933d20f590daba9947195515b26.patch"; 36 - hash = "sha256-JNsVTJNZV6T+SPqPkaFf3wg8NDqXGx8NZ4qQfZWOli4="; 37 - }) 38 ]; 39 40 postPatch = '' ··· 42 --replace "/usr/share/X11/xkb/rules/evdev.xml" "${xkeyboardconfig}/share/X11/xkb/rules/evdev.xml" 43 ''; 44 45 - nativeBuildInputs = [ cmake extra-cmake-modules pkg-config qttools ]; 46 47 buildInputs = [ 48 libxcb ··· 55 ]; 56 57 cmakeFlags = [ 58 "-DCONFIG_FILE=/etc/sddm.conf" 59 "-DCONFIG_DIR=/etc/sddm.conf.d" 60
··· 1 + { stdenv, lib, fetchFromGitHub 2 + , cmake, pkg-config, qttools 3 + , libxcb, libXau, pam, qtbase, wrapQtAppsHook, qtdeclarative 4 + , qtquickcontrols2 ? null, systemd, xkeyboardconfig 5 }: 6 + let 7 + isQt6 = lib.versions.major qtbase.version == "6"; 8 + in stdenv.mkDerivation { 9 pname = "sddm"; 10 + version = "0.20.0-unstable-2023-12-29"; 11 12 src = fetchFromGitHub { 13 owner = "sddm"; 14 repo = "sddm"; 15 + rev = "501129294be1487f753482c29949fc1c19ef340e"; 16 + hash = "sha256-mLm987Ah0X9s0tBK2a45iERwYoh5JzWb3TFlSoxi8CA="; 17 }; 18 19 patches = [ 20 ./sddm-ignore-config-mtime.patch 21 ./sddm-default-session.patch 22 ]; 23 24 postPatch = '' ··· 26 --replace "/usr/share/X11/xkb/rules/evdev.xml" "${xkeyboardconfig}/share/X11/xkb/rules/evdev.xml" 27 ''; 28 29 + nativeBuildInputs = [ wrapQtAppsHook cmake pkg-config qttools ]; 30 31 buildInputs = [ 32 libxcb ··· 39 ]; 40 41 cmakeFlags = [ 42 + (lib.cmakeBool "BUILD_WITH_QT6" isQt6) 43 "-DCONFIG_FILE=/etc/sddm.conf" 44 "-DCONFIG_DIR=/etc/sddm.conf.d" 45
+3 -3
pkgs/applications/editors/neovim/neovide/default.nix
··· 25 26 rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec { 27 pname = "neovide"; 28 - version = "0.12.0"; 29 30 src = fetchFromGitHub { 31 owner = "neovide"; 32 repo = "neovide"; 33 rev = version; 34 - sha256 = "sha256-m3ZdzdmkW69j1sZ9h7M1m5fDNnJ7BM7nwYPx7QhsIso="; 35 }; 36 37 - cargoSha256 = "sha256-AAHMx4xxbC/JdmAPE2bub7qdF5sFNWjqXI1nuCUxsZA="; 38 39 SKIA_SOURCE_DIR = 40 let
··· 25 26 rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec { 27 pname = "neovide"; 28 + version = "0.12.1"; 29 30 src = fetchFromGitHub { 31 owner = "neovide"; 32 repo = "neovide"; 33 rev = version; 34 + sha256 = "sha256-lmhTTBlhyEepUNHrm2hq42G1kA7siAsJUcYjBfajaHA="; 35 }; 36 37 + cargoSha256 = "sha256-1R1JrNhcgC16anr5Gl1b9rHgfRLPJElef5D65joHxj0="; 38 39 SKIA_SOURCE_DIR = 40 let
+2 -2
pkgs/applications/misc/crow-translate/default.nix
··· 17 18 stdenv.mkDerivation rec { 19 pname = "crow-translate"; 20 - version = "2.11.0"; 21 22 src = fetchzip { 23 url = "https://github.com/${pname}/${pname}/releases/download/${version}/${pname}-${version}-source.tar.gz"; 24 - hash = "sha256-e0zfbfRNzAiNvlWO84YbMApUXXzMcZG1MckTGMZm2ik="; 25 }; 26 27 postPatch = ''
··· 17 18 stdenv.mkDerivation rec { 19 pname = "crow-translate"; 20 + version = "2.11.1"; 21 22 src = fetchzip { 23 url = "https://github.com/${pname}/${pname}/releases/download/${version}/${pname}-${version}-source.tar.gz"; 24 + hash = "sha256-1rq1pF4tOaZNEaHflxlBuHta80EzD9m3O99geR1EPxE="; 25 }; 26 27 postPatch = ''
+3 -3
pkgs/applications/networking/rymdport/default.nix
··· 11 12 buildGoModule rec { 13 pname = "rymdport"; 14 - version = "3.5.1"; 15 16 src = fetchFromGitHub { 17 owner = "Jacalz"; 18 repo = "rymdport"; 19 rev = "v${version}"; 20 - hash = "sha256-wsFZN2qDp0XScqBdwLYZdRsS30g+ex+sYjw2GkBwwI4="; 21 }; 22 23 - vendorHash = "sha256-SDNCVROfwCTfoQpUyChxtX3rTf0OPFOTzH5PeH4ahUI="; 24 25 nativeBuildInputs = [ 26 pkg-config
··· 11 12 buildGoModule rec { 13 pname = "rymdport"; 14 + version = "3.5.2"; 15 16 src = fetchFromGitHub { 17 owner = "Jacalz"; 18 repo = "rymdport"; 19 rev = "v${version}"; 20 + hash = "sha256-LTCr1OFh+1QQhXFNl9SoLPqEY0ERlLlWfSxRKjyyqPk="; 21 }; 22 23 + vendorHash = "sha256-twXeLNWy/5wTaFb645mCeI5PzByEGj5aCWl6vO+qRLQ="; 24 25 nativeBuildInputs = [ 26 pkg-config
+14 -48
pkgs/applications/office/scribus/default.nix
··· 3 , cmake 4 , cups 5 , fetchurl 6 - , fetchpatch 7 , fontconfig 8 , freetype 9 , harfbuzzFull ··· 12 , libjpeg 13 , libtiff 14 , libxml2 15 - , mkDerivation 16 , pixman 17 , pkg-config 18 , podofo 19 , poppler 20 , poppler_data 21 , python3 22 - , qtbase 23 - , qtimageformats 24 - , qttools 25 , lib 26 }: 27 28 let ··· 33 ] 34 ); 35 in 36 - mkDerivation rec { 37 pname = "scribus"; 38 39 - version = "1.5.8"; 40 41 src = fetchurl { 42 - url = "mirror://sourceforge/${pname}/${pname}-devel/${pname}-${version}.tar.xz"; 43 - hash = "sha256-R4Fuj89tBXiP8WqkSZ+X/yJDHHd6d4kUmwqItFHha3Q="; 44 }; 45 46 - patches = [ 47 - # For Poppler 22.02 48 - (fetchpatch { 49 - url = "https://github.com/scribusproject/scribus/commit/85c0dff3422fa3c26fbc2e8d8561f597ec24bd92.patch"; 50 - sha256 = "YR0ii09EVU8Qazz6b8KAIWsUMTwPIwO8JuQPymAWKdw="; 51 - }) 52 - (fetchpatch { 53 - url = "https://github.com/scribusproject/scribus/commit/f75c1613db67f4067643d0218a2db3235e42ec9f.patch"; 54 - sha256 = "vJU8HsKHE3oXlhcXQk9uCYINPYVPF5IGmrWYFQ6Py5c="; 55 - }) 56 - # For Poppler 22.03 57 - (fetchpatch { 58 - url = "https://github.com/scribusproject/scribus/commit/f19410ac3b27e33dd62105746784e61e85b90a1d.patch"; 59 - sha256 = "JHdgntYcioYatPeqpmym3c9dORahj0CinGOzbGtA4ds="; 60 - }) 61 - # For Poppler 22.04 62 - (fetchpatch { 63 - url = "https://github.com/scribusproject/scribus/commit/f2237b8f0b5cf7690e864a22ef7a63a6d769fa36.patch"; 64 - sha256 = "FXpLoX/a2Jy3GcfzrUUyVUfEAp5wAy2UfzfVA5lhwJw="; 65 - }) 66 - # For Poppler 22.09 67 - (fetchpatch { 68 - url = "https://github.com/archlinux/svntogit-community/raw/ea402a588c65d11973b148cf203b3463213431cf/trunk/scribus-1.5.8-poppler-22.09.0.patch"; 69 - sha256 = "IRQ6rSzH6ZWln6F13Ayk8k7ADj8l3lIJlGm/zjEURQM="; 70 - }) 71 - ]; 72 - 73 nativeBuildInputs = [ 74 cmake 75 pkg-config 76 ]; 77 78 buildInputs = [ ··· 92 poppler 93 poppler_data 94 pythonEnv 95 - qtbase 96 - qtimageformats 97 - qttools 98 - ]; 99 - 100 - cmakeFlags = [ 101 - # poppler uses std::optional 102 - "-DWANT_CPP17=ON" 103 ]; 104 105 meta = with lib; { 106 maintainers = with maintainers; [ 107 - erictapen 108 kiwi 109 ]; 110 - platforms = platforms.linux; 111 - description = "Desktop Publishing (DTP) and Layout program for Linux"; 112 homepage = "https://www.scribus.net"; 113 # There are a lot of licenses... 114 # https://github.com/scribusproject/scribus/blob/20508d69ca4fc7030477db8dee79fd1e012b52d2/COPYING#L15-L19 ··· 118 mit 119 publicDomain 120 ]; 121 }; 122 - }
··· 3 , cmake 4 , cups 5 , fetchurl 6 , fontconfig 7 , freetype 8 , harfbuzzFull ··· 11 , libjpeg 12 , libtiff 13 , libxml2 14 , pixman 15 , pkg-config 16 , podofo 17 , poppler 18 , poppler_data 19 , python3 20 , lib 21 + , stdenv 22 + , qt5 23 }: 24 25 let ··· 30 ] 31 ); 32 in 33 + stdenv.mkDerivation (finalAttrs: { 34 pname = "scribus"; 35 36 + version = "1.6.0"; 37 38 src = fetchurl { 39 + url = "mirror://sourceforge/scribus/scribus-devel/scribus-${finalAttrs.version}.tar.xz"; 40 + hash = "sha256-lLl0kOzhcoaNxPBMeqLulQtBtfL/QoXfN9YV8ETQOOU="; 41 }; 42 43 nativeBuildInputs = [ 44 cmake 45 pkg-config 46 + qt5.wrapQtAppsHook 47 ]; 48 49 buildInputs = [ ··· 63 poppler 64 poppler_data 65 pythonEnv 66 + qt5.qtbase 67 + qt5.qtimageformats 68 + qt5.qttools 69 ]; 70 71 meta = with lib; { 72 maintainers = with maintainers; [ 73 kiwi 74 + arthsmn 75 ]; 76 + description = "Desktop Publishing (DTP) and Layout program"; 77 homepage = "https://www.scribus.net"; 78 # There are a lot of licenses... 79 # https://github.com/scribusproject/scribus/blob/20508d69ca4fc7030477db8dee79fd1e012b52d2/COPYING#L15-L19 ··· 83 mit 84 publicDomain 85 ]; 86 + broken = stdenv.isDarwin; 87 }; 88 + })
+2 -2
pkgs/by-name/ow/owncloud-client/package.nix
··· 17 18 stdenv.mkDerivation rec { 19 pname = "owncloud-client"; 20 - version = "5.0.0"; 21 22 src = fetchFromGitHub { 23 owner = "owncloud"; 24 repo = "client"; 25 rev = "refs/tags/v${version}"; 26 - hash = "sha256-SSMNmWrCT1sGa38oY8P84QNedNkQPcIRWrV9B65B5X8="; 27 }; 28 29 nativeBuildInputs = [
··· 17 18 stdenv.mkDerivation rec { 19 pname = "owncloud-client"; 20 + version = "5.2.1"; 21 22 src = fetchFromGitHub { 23 owner = "owncloud"; 24 repo = "client"; 25 rev = "refs/tags/v${version}"; 26 + hash = "sha256-yErMHh0QbWVpJhNiXU1IIGpQ5CGARN/4cqELRMoxSac="; 27 }; 28 29 nativeBuildInputs = [
+1 -1
pkgs/development/compilers/rust/rustc.nix
··· 165 ln -s ${rustc.unwrapped}/bin/rustc build/${stdenv.hostPlatform.rust.rustcTargetSpec}/stage0-rustc/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/rustc-main 166 touch build/${stdenv.hostPlatform.rust.rustcTargetSpec}/stage0-std/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/.libstd.stamp 167 touch build/${stdenv.hostPlatform.rust.rustcTargetSpec}/stage0-rustc/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/.librustc.stamp 168 - python ./x.py --keep-stage=0 --stage=1 build library/std 169 170 runHook postBuild 171 " else null;
··· 165 ln -s ${rustc.unwrapped}/bin/rustc build/${stdenv.hostPlatform.rust.rustcTargetSpec}/stage0-rustc/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/rustc-main 166 touch build/${stdenv.hostPlatform.rust.rustcTargetSpec}/stage0-std/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/.libstd.stamp 167 touch build/${stdenv.hostPlatform.rust.rustcTargetSpec}/stage0-rustc/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/.librustc.stamp 168 + python ./x.py --keep-stage=0 --stage=1 build library 169 170 runHook postBuild 171 " else null;
+4 -4
pkgs/development/tools/revive/default.nix
··· 2 3 buildGoModule rec { 4 pname = "revive"; 5 - version = "1.3.4"; 6 7 src = fetchFromGitHub { 8 owner = "mgechev"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-TNmxS9LoOOWHGAFrBdCKmVEWCEoIpic84L66dIFQWJg="; 12 # populate values that require us to use git. By doing this in postFetch we 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 leaveDotGit = true; ··· 18 rm -rf $out/.git 19 ''; 20 }; 21 - vendorHash = "sha256-iCd4J37wJbTkKiWRD6I7qNr5grNhWZLx5ymcOOJlNKg="; 22 23 ldflags = [ 24 "-s" ··· 35 36 # The following tests fail when built by nix: 37 # 38 - # $ nix log /nix/store/build-revive.1.3.4.drv | grep FAIL 39 # 40 # --- FAIL: TestAll (0.01s) 41 # --- FAIL: TestTimeEqual (0.00s)
··· 2 3 buildGoModule rec { 4 pname = "revive"; 5 + version = "1.3.5"; 6 7 src = fetchFromGitHub { 8 owner = "mgechev"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-yHsEELeBG/dgV1uaYTOfvVVZQZ+AG1kKx86tn9GI+RA="; 12 # populate values that require us to use git. By doing this in postFetch we 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 leaveDotGit = true; ··· 18 rm -rf $out/.git 19 ''; 20 }; 21 + vendorHash = "sha256-hNLHVx3zuCheSfY6TSixfJj/76JQ9nOW+mBquIZCgSk="; 22 23 ldflags = [ 24 "-s" ··· 35 36 # The following tests fail when built by nix: 37 # 38 + # $ nix log /nix/store/build-revive.1.3.5.drv | grep FAIL 39 # 40 # --- FAIL: TestAll (0.01s) 41 # --- FAIL: TestTimeEqual (0.00s)
+3 -3
pkgs/development/tools/sqldef/default.nix
··· 2 3 buildGoModule rec { 4 pname = "sqldef"; 5 - version = "0.16.13"; 6 7 src = fetchFromGitHub { 8 owner = "k0kubun"; 9 repo = "sqldef"; 10 rev = "v${version}"; 11 - hash = "sha256-c6ErXWnCoKaM7i7yf4tP3J3k0yhNypFJA+XGwazDDD0="; 12 }; 13 14 proxyVendor = true; 15 16 - vendorHash = "sha256-oIP8XeaQITdirtBAP5JjcWYiA4En4y2Hwu7thZk//fY="; 17 18 ldflags = [ "-s" "-w" "-X main.version=${version}" ]; 19
··· 2 3 buildGoModule rec { 4 pname = "sqldef"; 5 + version = "0.16.14"; 6 7 src = fetchFromGitHub { 8 owner = "k0kubun"; 9 repo = "sqldef"; 10 rev = "v${version}"; 11 + hash = "sha256-AuUGv3spAxPi3EwgWlxAfgksh6W/rTCnsGr3Fch5YTs="; 12 }; 13 14 proxyVendor = true; 15 16 + vendorHash = "sha256-VM50tJxChGU1lGol4HUKB5Zp0c2F8D9+NhrW6XK7i+g="; 17 18 ldflags = [ "-s" "-w" "-X main.version=${version}" ]; 19
+2 -2
pkgs/servers/web-apps/wallabag/default.nix
··· 15 16 let 17 pname = "wallabag"; 18 - version = "2.6.7"; 19 in 20 stdenv.mkDerivation { 21 inherit pname version; ··· 23 # Release tarball includes vendored files 24 src = fetchurl { 25 url = "https://github.com/wallabag/wallabag/releases/download/${version}/wallabag-${version}.tar.gz"; 26 - hash = "sha256-prk/sF72v5qyBv1Lz/2nY6LPM+on5/gwAMM1u9+X8xA="; 27 }; 28 29 patches = [
··· 15 16 let 17 pname = "wallabag"; 18 + version = "2.6.8"; 19 in 20 stdenv.mkDerivation { 21 inherit pname version; ··· 23 # Release tarball includes vendored files 24 src = fetchurl { 25 url = "https://github.com/wallabag/wallabag/releases/download/${version}/wallabag-${version}.tar.gz"; 26 + hash = "sha256-pmQXafqpd5rTwBIYG9NnwIIPta6Ek7iYaPaHvz1s550="; 27 }; 28 29 patches = [
+4
pkgs/top-level/qt6-packages.nix
··· 78 suffix = "qt6"; 79 }; 80 81 } // lib.optionalAttrs pkgs.config.allowAliases { 82 # Convert to a throw on 01-01-2023. 83 # Warnings show up in various cli tool outputs, throws do not.
··· 78 suffix = "qt6"; 79 }; 80 81 + # Not a library, but we do want it to be built for every qt version there 82 + # is, to allow users to choose the right build if needed. 83 + sddm = callPackage ../applications/display-managers/sddm {}; 84 + 85 } // lib.optionalAttrs pkgs.config.allowAliases { 86 # Convert to a throw on 01-01-2023. 87 # Warnings show up in various cli tool outputs, throws do not.