Merge remote-tracking branch 'origin/master' into staging-next

K900 a1c5ba6f a4bcd7a2

+210 -196
+6
maintainers/maintainer-list.nix
··· 1295 1295 githubId = 153175; 1296 1296 name = "Andrew Marshall"; 1297 1297 }; 1298 + ambossmann = { 1299 + email = "timogottszky+git@gmail.com"; 1300 + github = "Ambossmann"; 1301 + githubId = 68373395; 1302 + name = "Timo Gottszky"; 1303 + }; 1298 1304 ambroisie = { 1299 1305 email = "bruno.nixpkgs@belanyi.fr"; 1300 1306 github = "ambroisie";
+16 -5
nixos/modules/services/desktops/flatpak.nix
··· 1 1 # flatpak service. 2 - { config, lib, pkgs, ... }: 2 + { 3 + config, 4 + lib, 5 + pkgs, 6 + ... 7 + }: 8 + 3 9 let 4 10 cfg = config.services.flatpak; 5 - in { 11 + in 12 + 13 + { 6 14 meta = { 7 15 doc = ./flatpak.md; 8 16 maintainers = pkgs.flatpak.meta.maintainers; ··· 17 25 }; 18 26 }; 19 27 20 - 21 28 ###### implementation 22 29 config = lib.mkIf cfg.enable { 23 30 24 31 assertions = [ 25 - { assertion = (config.xdg.portal.enable == true); 32 + { 33 + assertion = (config.xdg.portal.enable == true); 26 34 message = "To use Flatpak you must enable XDG Desktop Portals with xdg.portal.enable."; 27 35 } 28 36 ]; 29 37 30 - environment.systemPackages = [ cfg.package ]; 38 + environment.systemPackages = [ 39 + cfg.package 40 + pkgs.fuse3 41 + ]; 31 42 32 43 security.polkit.enable = true; 33 44
+7 -6
pkgs/by-name/fl/flatpak/fix-paths.patch
··· 1 1 diff --git a/session-helper/flatpak-session-helper.c b/session-helper/flatpak-session-helper.c 2 - index 5dd7629e..ddc71a4c 100644 2 + index 31e94384..2c297551 100644 3 3 --- a/session-helper/flatpak-session-helper.c 4 4 +++ b/session-helper/flatpak-session-helper.c 5 - @@ -693,7 +693,7 @@ start_p11_kit_server (const char *flatpak_dir) 5 + @@ -698,7 +698,7 @@ start_p11_kit_server (const char *flatpak_dir) 6 6 g_auto(GStrv) stdout_lines = NULL; 7 7 int i; 8 - char *p11_argv[] = { 8 + const char * const p11_argv[] = { 9 9 - "p11-kit", "server", 10 10 + "@p11kit@", "server", 11 11 /* We explicitly request --sh here, because we then fail on earlier versions that doesn't support 12 12 * this flag. This is good, because those earlier versions did not properly daemonize and caused 13 13 * the spawn_sync to hang forever, waiting for the pipe to close. 14 - @@ -836,7 +836,7 @@ main (int argc, 14 + @@ -852,8 +852,7 @@ main (int argc, 15 15 exit (1); 16 16 } 17 17 18 - - if (g_find_program_in_path ("p11-kit")) 18 + - pk11_program = g_find_program_in_path ("p11-kit"); 19 + - if (pk11_program) 19 20 + if (TRUE) 20 21 start_p11_kit_server (flatpak_dir); 21 22 else 22 - g_debug ("p11-kit not found"); 23 + g_info ("p11-kit not found");
+121 -139
pkgs/by-name/fl/flatpak/package.nix
··· 1 1 { 2 2 lib, 3 3 stdenv, 4 - fetchurl, 5 - fetchpatch, 6 - runCommand, 7 4 appstream, 8 - autoreconfHook, 9 5 bison, 10 6 bubblewrap, 11 - buildPackages, 12 7 bzip2, 13 8 coreutils, 14 9 curl, 15 - dbus, 16 10 dconf, 17 11 desktop-file-utils, 18 - docbook_xml_dtd_45, 19 12 docbook-xsl-nons, 13 + docbook_xml_dtd_45, 14 + fetchurl, 20 15 fuse3, 16 + gdk-pixbuf, 21 17 gettext, 22 18 glib, 23 19 glib-networking, 24 20 gobject-introspection, 25 21 gpgme, 26 22 gsettings-desktop-schemas, 27 - gtk3, 28 23 gtk-doc, 24 + gtk3, 29 25 hicolor-icon-theme, 30 - intltool, 31 26 json-glib, 32 27 libarchive, 33 28 libcap, ··· 35 30 libseccomp, 36 31 libxml2, 37 32 libxslt, 33 + malcontent, 34 + meson, 35 + ninja, 38 36 nix-update-script, 39 - nixosTests, 40 37 nixos-icons, 41 38 ostree, 42 39 p11-kit, 43 40 pkg-config, 44 41 polkit, 45 - pkgsCross, 46 42 python3, 43 + runCommand, 47 44 shared-mime-info, 48 45 socat, 49 46 replaceVars, 50 47 systemd, 51 48 testers, 52 49 valgrind, 53 - which, 50 + validatePkgConfig, 51 + wayland, 52 + wayland-protocols, 53 + wayland-scanner, 54 54 wrapGAppsNoGuiHook, 55 55 xdg-dbus-proxy, 56 56 xmlto, 57 57 xorg, 58 - xz, 59 58 zstd, 59 + withAutoSideloading ? false, 60 + withDocbookDocs ? true, 60 61 withGtkDoc ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, 62 + withMan ? true, 63 + withSELinuxModule ? false, 64 + withSystemd ? true, 61 65 }: 62 66 63 67 stdenv.mkDerivation (finalAttrs: { 64 68 pname = "flatpak"; 65 - version = "1.14.10"; 69 + version = "1.16.0"; 66 70 67 71 # TODO: split out lib once we figure out what to do with triggerdir 68 - outputs = [ 69 - "out" 70 - "dev" 71 - "man" 72 - "doc" 73 - "devdoc" 74 - "installedTests" 75 - ]; 76 - 77 - separateDebugInfo = true; 72 + outputs = 73 + [ 74 + "out" 75 + "dev" 76 + ] 77 + ++ lib.optionals (withDocbookDocs || withGtkDoc) [ 78 + "devdoc" 79 + "doc" 80 + ] 81 + ++ lib.optional finalAttrs.doCheck "installedTests" 82 + ++ lib.optional withMan "man"; 78 83 79 84 src = fetchurl { 80 85 url = "https://github.com/flatpak/flatpak/releases/download/${finalAttrs.version}/flatpak-${finalAttrs.version}.tar.xz"; 81 - hash = "sha256-a73HkIEnNQrYWkpH1wKSyi9MRul3sysf0jHCpxnYIc0="; 86 + hash = "sha256-ywrFZa3LYhJ8bRHtUO5wRNaoNvppw1Sy9LZAoiv6Syo="; 82 87 }; 83 88 84 89 patches = [ ··· 88 93 inherit 89 94 coreutils 90 95 gettext 91 - socat 92 96 gtk3 97 + socat 93 98 ; 94 - smi = shared-mime-info; 95 99 dfu = desktop-file-utils; 96 100 hicolorIconTheme = hicolor-icon-theme; 101 + smi = shared-mime-info; 97 102 }) 98 103 99 104 # Hardcode paths used by Flatpak itself. 100 105 (replaceVars ./fix-paths.patch { 101 - p11kit = "${p11-kit.bin}/bin/p11-kit"; 106 + p11kit = lib.getExe p11-kit; 102 107 }) 103 108 104 - # Allow gtk-doc to find schemas using XML_CATALOG_FILES environment variable. 105 - # Patch taken from gtk-doc expression. 106 - ./respect-xml-catalog-files-var.patch 107 - 108 - # Nix environment hacks should not leak into the apps. 109 - # https://github.com/NixOS/nixpkgs/issues/53441 110 - ./unset-env-vars.patch 111 - 112 109 # Use flatpak from PATH to avoid references to `/nix/store` in `/desktop` files. 113 110 # Applications containing `DBusActivatable` entries should be able to find the flatpak binary. 114 111 # https://github.com/NixOS/nixpkgs/issues/138956 115 112 ./binary-path.patch 116 113 117 - # The icon validator needs to access the gdk-pixbuf loaders in the Nix store 118 - # and cannot bind FHS paths since those are not available on NixOS. 119 - finalAttrs.passthru.icon-validator-patch 120 - 121 114 # Try mounting fonts and icons from NixOS locations if FHS locations don't exist. 122 115 # https://github.com/NixOS/nixpkgs/issues/119433 123 116 ./fix-fonts-icons.patch 124 117 125 - # TODO: Remove when updating to 1.16 126 - # Ensure flatpak uses the system's zoneinfo from $TZDIR 127 - # https://github.com/NixOS/nixpkgs/issues/238386 128 - (fetchpatch { 129 - url = "https://github.com/flatpak/flatpak/pull/5850/commits/a8a35bf4d9fc3d76e1a5049a6a591faec04a42fd.patch"; 130 - hash = "sha256-JqkPbnzgZNZq/mplZqohhHFdjRrvYFjE4C02pI3feBo="; 131 - }) 132 - (fetchpatch { 133 - url = "https://github.com/flatpak/flatpak/pull/5850/commits/5ea13b09612215559081c27b60df4fb720cb08d5.patch"; 134 - hash = "sha256-BWbyQ2en3RtN4Ec5n62CULAhvywlQLhcl3Fmd4fsR1s="; 135 - }) 136 - (fetchpatch { 137 - url = "https://github.com/flatpak/flatpak/pull/5850/commits/7c8a81f08908019bbf69358de199748a9bcb29e3.patch"; 138 - hash = "sha256-RiG2jPmG+Igskxv8oQquOUYsG4srgdMXWe34ojMXslo="; 139 - }) 140 - ]; 118 + # Nix environment hacks should not leak into the apps. 119 + # https://github.com/NixOS/nixpkgs/issues/53441 120 + ./unset-env-vars.patch 141 121 142 - nativeBuildInputs = [ 143 - autoreconfHook 144 - libxml2 145 - docbook_xml_dtd_45 146 - docbook-xsl-nons 147 - which 148 - gobject-introspection 149 - gtk-doc 150 - intltool 151 - libxslt 152 - pkg-config 153 - xmlto 154 - bison 155 - wrapGAppsNoGuiHook 122 + # The icon validator needs to access the gdk-pixbuf loaders in the Nix store 123 + # and cannot bind FHS paths since those are not available on NixOS. 124 + finalAttrs.passthru.icon-validator-patch 156 125 ]; 157 126 158 - buildInputs = [ 159 - appstream 160 - bubblewrap 161 - bzip2 162 - curl 163 - dbus 164 - dconf 165 - gpgme 166 - json-glib 167 - libarchive 168 - libcap 169 - libseccomp 170 - libxml2 171 - xz 172 - zstd 173 - polkit 174 - python3 175 - systemd 176 - xorg.libXau 177 - fuse3 178 - gsettings-desktop-schemas 179 - glib-networking 180 - librsvg # for flatpak-validate-icon 181 - ] ++ lib.optionals withGtkDoc [ gtk-doc ]; 127 + # Fixup shebangs in some scripts 128 + # 129 + # Don't prefix the already absolute `man` directory with the install prefix 130 + postPatch = '' 131 + patchShebangs buildutil/ tests/ 132 + patchShebangs --build subprojects/variant-schema-compiler/variant-schema-compiler 133 + 134 + substituteInPlace doc/meson.build \ 135 + --replace-fail '$MESON_INSTALL_DESTDIR_PREFIX/@1@/@2@' '@1@/@2@' 136 + ''; 137 + 138 + strictDeps = true; 139 + 140 + nativeBuildInputs = 141 + [ 142 + (python3.pythonOnBuildForHost.withPackages (p: [ p.pyparsing ])) 143 + bison 144 + gobject-introspection 145 + meson 146 + ninja 147 + pkg-config 148 + validatePkgConfig 149 + wrapGAppsNoGuiHook 150 + ] 151 + ++ lib.optional withGtkDoc gtk-doc 152 + ++ lib.optional withMan libxslt 153 + ++ lib.optional withSELinuxModule bzip2 154 + ++ lib.optionals withDocbookDocs [ 155 + docbook-xsl-nons 156 + docbook_xml_dtd_45 157 + xmlto 158 + ]; 159 + 160 + buildInputs = 161 + [ 162 + appstream 163 + curl 164 + dconf 165 + fuse3 166 + gdk-pixbuf 167 + glib-networking 168 + gpgme 169 + gsettings-desktop-schemas 170 + json-glib 171 + libarchive 172 + libcap 173 + librsvg # for flatpak-validate-icon 174 + libseccomp 175 + libxml2 176 + malcontent 177 + polkit 178 + python3 179 + wayland 180 + wayland-protocols 181 + wayland-scanner 182 + xorg.libXau 183 + zstd 184 + ] 185 + ++ lib.optional withGtkDoc gtk-doc 186 + ++ lib.optional withSystemd systemd; 182 187 183 188 # Required by flatpak.pc 184 189 propagatedBuildInputs = [ ··· 186 191 ostree 187 192 ]; 188 193 189 - nativeCheckInputs = [ valgrind ]; 190 - 191 - # TODO: some issues with temporary files 192 - doCheck = false; 193 - strictDeps = true; 194 - 195 - NIX_LDFLAGS = "-lpthread"; 196 - 197 - enableParallelBuilding = true; 198 - 199 - configureFlags = [ 200 - "--with-curl" 201 - "--with-system-bubblewrap=${lib.getExe bubblewrap}" 202 - "--with-system-dbus-proxy=${lib.getExe xdg-dbus-proxy}" 203 - "--with-dbus-config-dir=${placeholder "out"}/share/dbus-1/system.d" 204 - "--with-profile-dir=${placeholder "out"}/etc/profile.d" 205 - "--localstatedir=/var" 206 - "--sysconfdir=/etc" 207 - "--enable-gtk-doc=${if withGtkDoc then "yes" else "no"}" 208 - "--enable-installed-tests" 209 - "--enable-selinux-module=no" 194 + mesonFlags = [ 195 + (lib.mesonBool "auto_sideloading" withAutoSideloading) 196 + (lib.mesonBool "installed_tests" finalAttrs.finalPackage.doCheck) 197 + (lib.mesonBool "tests" finalAttrs.finalPackage.doCheck) 198 + (lib.mesonEnable "selinux_module" withSELinuxModule) 199 + (lib.mesonOption "dbus_config_dir" (placeholder "out" + "/share/dbus-1/system.d")) 200 + (lib.mesonOption "profile_dir" (placeholder "out" + "/etc/profile.d")) 201 + (lib.mesonOption "system_bubblewrap" (lib.getExe bubblewrap)) 202 + (lib.mesonOption "system_dbus_proxy" (lib.getExe xdg-dbus-proxy)) 203 + (lib.mesonOption "system_fusermount" "/run/wrappers/bin/fusermount3") 204 + (lib.mesonOption "system_install_dir" "/var/lib/flatpak") 210 205 ]; 211 206 212 - makeFlags = [ 213 - "installed_testdir=${placeholder "installedTests"}/libexec/installed-tests/flatpak" 214 - "installed_test_metadir=${placeholder "installedTests"}/share/installed-tests/flatpak" 207 + nativeCheckInputs = [ 208 + polkit 209 + socat 210 + valgrind 215 211 ]; 216 212 217 - postPatch = 218 - let 219 - vsc-py = python3.pythonOnBuildForHost.withPackages (pp: [ pp.pyparsing ]); 220 - in 221 - '' 222 - patchShebangs buildutil 223 - patchShebangs tests 224 - PATH=${lib.makeBinPath [ vsc-py ]}:$PATH patchShebangs --build subprojects/variant-schema-compiler/variant-schema-compiler 213 + # TODO: Many issues with temporary files, FHS environments, timeouts, and our current patches 214 + doCheck = false; 225 215 226 - substituteInPlace configure.ac \ 227 - --replace-fail '$BWRAP --' ${ 228 - lib.escapeShellArg (stdenv.hostPlatform.emulator buildPackages + " $BWRAP --") 229 - } \ 230 - --replace-fail '$DBUS_PROXY --' ${ 231 - lib.escapeShellArg (stdenv.hostPlatform.emulator buildPackages + " $DBUS_PROXY --") 232 - } 233 - ''; 216 + separateDebugInfo = true; 234 217 235 218 passthru = { 236 219 icon-validator-patch = replaceVars ./fix-icon-validation.patch { 237 220 inherit (builtins) storeDir; 238 221 }; 239 222 240 - updateScript = nix-update-script { }; 241 - 242 223 tests = { 243 - cross = pkgsCross.aarch64-multiplatform.flatpak; 244 - 245 - installedTests = nixosTests.installed-tests.flatpak; 224 + pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; }; 246 225 247 226 validate-icon = runCommand "test-icon-validation" { } '' 248 227 ${finalAttrs.finalPackage}/libexec/flatpak-validate-icon \ ··· 254 233 255 234 version = testers.testVersion { package = finalAttrs.finalPackage; }; 256 235 }; 236 + 237 + updateScript = nix-update-script { }; 257 238 }; 258 239 259 240 meta = { ··· 264 245 maintainers = with lib.maintainers; [ getchoo ]; 265 246 mainProgram = "flatpak"; 266 247 platforms = lib.platforms.linux; 248 + pkgConfigModules = [ "flatpak" ]; 267 249 }; 268 250 })
-15
pkgs/by-name/fl/flatpak/respect-xml-catalog-files-var.patch
··· 1 - diff --git a/acinclude.m4 b/acinclude.m4 2 - index 92ec3985..b3fccf1d 100644 3 - --- a/acinclude.m4 4 - +++ b/acinclude.m4 5 - @@ -40,8 +40,8 @@ AC_DEFUN([JH_CHECK_XML_CATALOG], 6 - [ 7 - AC_REQUIRE([JH_PATH_XML_CATALOG],[JH_PATH_XML_CATALOG(,[:])])dnl 8 - AC_MSG_CHECKING([for ifelse([$2],,[$1],[$2]) in XML catalog]) 9 - - if $jh_found_xmlcatalog && \ 10 - - AC_RUN_LOG([$XMLCATALOG --noout "$XML_CATALOG_FILE" "$1" >&2]); then 11 - + # empty argument forces libxml to use XML_CATALOG_FILES variable 12 - + if AC_RUN_LOG([$XMLCATALOG --noout "" "$1" >&2]); then 13 - AC_MSG_RESULT([found]) 14 - ifelse([$3],,,[$3 15 - ])dnl
+2 -2
pkgs/by-name/gi/github-backup/package.nix
··· 8 8 9 9 python3Packages.buildPythonApplication rec { 10 10 pname = "github-backup"; 11 - version = "0.48.0"; 11 + version = "0.49.0"; 12 12 pyproject = true; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "josegonzalez"; 16 16 repo = "python-github-backup"; 17 17 tag = version; 18 - hash = "sha256-vJD+dzKHYgiDme+wXklbxkbOPKwbilOWfJknsS37+vw="; 18 + hash = "sha256-RoRRuFXgykifdpcq3uBAARc54YTfzn0NiGcGkwcmcbc="; 19 19 }; 20 20 21 21 build-system = with python3Packages; [
+34
pkgs/by-name/go/godotpcktool/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + cmake, 7 + }: 8 + stdenv.mkDerivation (finalAttrs: { 9 + pname = "godotpcktool"; 10 + version = "2.1"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "hhyyrylainen"; 14 + repo = "GodotPckTool"; 15 + tag = "v${finalAttrs.version}"; 16 + hash = "sha256-jQ6LypQEz7r04lS4Zmu0EvpV/IYM79pmUlaykVUd+po="; 17 + fetchSubmodules = true; 18 + }; 19 + 20 + nativeBuildInputs = [ 21 + cmake 22 + ]; 23 + 24 + passthru.updateScript = nix-update-script { }; 25 + 26 + meta = { 27 + description = "Standalone tool for extracting and creating Godot .pck files"; 28 + homepage = "https://github.com/hhyyrylainen/GodotPckTool"; 29 + license = lib.licenses.mit; 30 + maintainers = with lib.maintainers; [ ambossmann ]; 31 + mainProgram = "godotpcktool"; 32 + platforms = lib.platforms.linux; 33 + }; 34 + })
+3 -3
pkgs/by-name/jj/jjui/package.nix
··· 6 6 }: 7 7 buildGoModule rec { 8 8 pname = "jjui"; 9 - version = "0.2"; 9 + version = "0.3"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "idursun"; 13 13 repo = "jjui"; 14 14 tag = "v${version}"; 15 - hash = "sha256-V2HwVpZ7K7mYoZECOc+dfXuvBlRsN5OgRHasdpX+kFw="; 15 + hash = "sha256-J6Bw7/OtKuQ28gUxc7h+gdKmt98TmNqj5XZ6kLzvg3o="; 16 16 }; 17 17 18 - vendorHash = "sha256-pzbOFXSlEebc4fCyNyQSdeVqar+HfEjsSyJo+mHkQeg="; 18 + vendorHash = "sha256-czUD0+1ZJJBpp+vYYEBBuWro6InokiPriKFyKvLSGD0="; 19 19 20 20 postFixup = '' 21 21 mv $out/bin/cmd $out/bin/jjui
+1
pkgs/by-name/p1/p11-kit/package.nix
··· 96 96 ]; 97 97 platforms = platforms.all; 98 98 license = licenses.bsd3; 99 + mainProgram = "p11-kit"; 99 100 }; 100 101 }
+3 -3
pkgs/by-name/st/storj-uplink/package.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "storj-uplink"; 9 - version = "1.120.4"; 9 + version = "1.121.3"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "storj"; 13 13 repo = "storj"; 14 14 rev = "v${version}"; 15 - hash = "sha256-Ze3eQCySw3S6sKXwJCW6M+UV1FWp47syCWxIQdKttOs="; 15 + hash = "sha256-Q/iQUgXeYvGDBuVL8hhHU7SK+sNVQtXCDBoRYFO+N9Y="; 16 16 }; 17 17 18 18 subPackages = [ "cmd/uplink" ]; 19 19 20 - vendorHash = "sha256-kLXrKFJ/g2xenYTZ13loaZ7XAgRhmo2Iwen7P4esBIs="; 20 + vendorHash = "sha256-XgHTzE982POxbCzlfSt05y+h8DJb/3fiFV5l/Fu8vGg="; 21 21 22 22 ldflags = [ 23 23 "-s"
+13 -20
pkgs/development/python-modules/mat2/default.nix
··· 3 3 stdenv, 4 4 buildPythonPackage, 5 5 pytestCheckHook, 6 - pythonOlder, 7 6 fetchFromGitLab, 8 7 replaceVars, 9 8 bubblewrap, 10 9 exiftool, 11 10 ffmpeg, 11 + setuptools, 12 12 wrapGAppsHook3, 13 13 gdk-pixbuf, 14 14 gobject-introspection, ··· 18 18 pygobject3, 19 19 pycairo, 20 20 dolphinIntegration ? false, 21 - plasma5Packages, 21 + kdePackages, 22 22 }: 23 23 24 24 buildPythonPackage rec { 25 25 pname = "mat2"; 26 - version = "0.13.4"; 27 - 28 - disabled = pythonOlder "3.5"; 29 - 30 - format = "setuptools"; 26 + version = "0.13.5"; 27 + pyproject = true; 31 28 32 29 src = fetchFromGitLab { 33 30 domain = "0xacab.org"; 34 31 owner = "jvoisin"; 35 32 repo = "mat2"; 36 - rev = version; 37 - hash = "sha256-SuN62JjSb5O8gInvBH+elqv/Oe7j+xjCo+dmPBU7jEY="; 33 + tag = version; 34 + hash = "sha256-ivFgH/88DBucZRaO/OMsLlwJCjv/VQXb6AiKWhZ8XH0="; 38 35 }; 39 36 40 37 patches = 41 38 [ 42 39 # hardcode paths to some binaries 43 40 (replaceVars ./paths.patch { 44 - exiftool = "${exiftool}/bin/exiftool"; 45 - ffmpeg = "${ffmpeg}/bin/ffmpeg"; 46 - kdialog = if dolphinIntegration then "${plasma5Packages.kdialog}/bin/kdialog" else null; 41 + exiftool = lib.getExe exiftool; 42 + ffmpeg = lib.getExe ffmpeg; 43 + kdialog = if dolphinIntegration then lib.getExe kdePackages.kdialog else null; 47 44 # replaced in postPatch 48 45 mat2 = null; 49 46 mat2svg = null; ··· 55 52 ] 56 53 ++ lib.optionals (stdenv.hostPlatform.isLinux) [ 57 54 (replaceVars ./bubblewrap-path.patch { 58 - bwrap = "${bubblewrap}/bin/bwrap"; 55 + bwrap = lib.getExe bubblewrap; 59 56 }) 60 57 ]; 61 58 62 59 postPatch = '' 63 - rm pyproject.toml 64 60 substituteInPlace dolphin/mat2.desktop \ 65 61 --replace "@mat2@" "$out/bin/mat2" \ 66 62 --replace "@mat2svg@" "$out/share/icons/hicolor/scalable/apps/mat2.svg" 67 63 ''; 68 64 65 + build-system = [ setuptools ]; 66 + 69 67 nativeBuildInputs = [ 70 68 gobject-introspection 71 69 wrapGAppsHook3 ··· 77 75 poppler_gi 78 76 ]; 79 77 80 - propagatedBuildInputs = [ 78 + dependencies = [ 81 79 mutagen 82 80 pygobject3 83 81 pycairo ··· 93 91 ''; 94 92 95 93 nativeCheckInputs = [ pytestCheckHook ]; 96 - 97 - disabledTests = [ 98 - # libmat2.pdf.cairo.MemoryError: out of memory 99 - "test_all" 100 - ]; 101 94 102 95 meta = with lib; { 103 96 description = "Handy tool to trash your metadata";
+1
pkgs/kde/gear/kdialog/default.nix
··· 1 1 { mkKdeDerivation }: 2 2 mkKdeDerivation { 3 3 pname = "kdialog"; 4 + meta.mainProgram = "kdialog"; 4 5 }
+3 -3
pkgs/servers/home-assistant/custom-lovelace-modules/universal-remote-card/package.nix
··· 6 6 7 7 buildNpmPackage rec { 8 8 pname = "universal-remote-card"; 9 - version = "4.3.7"; 9 + version = "4.3.8"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "Nerwyn"; 13 13 repo = "android-tv-card"; 14 14 rev = version; 15 - hash = "sha256-UIQZT1fzZvBHpFRsj508F2pyCQAt0vLMSj1H5qwRBXc="; 15 + hash = "sha256-fu+0O5WXzsy/HN2j7M2zBg8YgPUcSuzeOhOf1akATes="; 16 16 }; 17 17 18 18 patches = [ ./dont-call-git.patch ]; 19 19 20 - npmDepsHash = "sha256-BV00u+/OvC3dmz7BvqygSUuwf+jsfuKNZDOO6d5nATk="; 20 + npmDepsHash = "sha256-AwJmFsVFOV6rapnLm9Y660TFiX9HIOIU4049EIyWWuM="; 21 21 22 22 installPhase = '' 23 23 runHook preInstall