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

K900 a1c5ba6f a4bcd7a2

+210 -196
+6
maintainers/maintainer-list.nix
··· 1295 githubId = 153175; 1296 name = "Andrew Marshall"; 1297 }; 1298 ambroisie = { 1299 email = "bruno.nixpkgs@belanyi.fr"; 1300 github = "ambroisie";
··· 1295 githubId = 153175; 1296 name = "Andrew Marshall"; 1297 }; 1298 + ambossmann = { 1299 + email = "timogottszky+git@gmail.com"; 1300 + github = "Ambossmann"; 1301 + githubId = 68373395; 1302 + name = "Timo Gottszky"; 1303 + }; 1304 ambroisie = { 1305 email = "bruno.nixpkgs@belanyi.fr"; 1306 github = "ambroisie";
+16 -5
nixos/modules/services/desktops/flatpak.nix
··· 1 # flatpak service. 2 - { config, lib, pkgs, ... }: 3 let 4 cfg = config.services.flatpak; 5 - in { 6 meta = { 7 doc = ./flatpak.md; 8 maintainers = pkgs.flatpak.meta.maintainers; ··· 17 }; 18 }; 19 20 - 21 ###### implementation 22 config = lib.mkIf cfg.enable { 23 24 assertions = [ 25 - { assertion = (config.xdg.portal.enable == true); 26 message = "To use Flatpak you must enable XDG Desktop Portals with xdg.portal.enable."; 27 } 28 ]; 29 30 - environment.systemPackages = [ cfg.package ]; 31 32 security.polkit.enable = true; 33
··· 1 # flatpak service. 2 + { 3 + config, 4 + lib, 5 + pkgs, 6 + ... 7 + }: 8 + 9 let 10 cfg = config.services.flatpak; 11 + in 12 + 13 + { 14 meta = { 15 doc = ./flatpak.md; 16 maintainers = pkgs.flatpak.meta.maintainers; ··· 25 }; 26 }; 27 28 ###### implementation 29 config = lib.mkIf cfg.enable { 30 31 assertions = [ 32 + { 33 + assertion = (config.xdg.portal.enable == true); 34 message = "To use Flatpak you must enable XDG Desktop Portals with xdg.portal.enable."; 35 } 36 ]; 37 38 + environment.systemPackages = [ 39 + cfg.package 40 + pkgs.fuse3 41 + ]; 42 43 security.polkit.enable = true; 44
+7 -6
pkgs/by-name/fl/flatpak/fix-paths.patch
··· 1 diff --git a/session-helper/flatpak-session-helper.c b/session-helper/flatpak-session-helper.c 2 - index 5dd7629e..ddc71a4c 100644 3 --- a/session-helper/flatpak-session-helper.c 4 +++ b/session-helper/flatpak-session-helper.c 5 - @@ -693,7 +693,7 @@ start_p11_kit_server (const char *flatpak_dir) 6 g_auto(GStrv) stdout_lines = NULL; 7 int i; 8 - char *p11_argv[] = { 9 - "p11-kit", "server", 10 + "@p11kit@", "server", 11 /* We explicitly request --sh here, because we then fail on earlier versions that doesn't support 12 * this flag. This is good, because those earlier versions did not properly daemonize and caused 13 * the spawn_sync to hang forever, waiting for the pipe to close. 14 - @@ -836,7 +836,7 @@ main (int argc, 15 exit (1); 16 } 17 18 - - if (g_find_program_in_path ("p11-kit")) 19 + if (TRUE) 20 start_p11_kit_server (flatpak_dir); 21 else 22 - g_debug ("p11-kit not found");
··· 1 diff --git a/session-helper/flatpak-session-helper.c b/session-helper/flatpak-session-helper.c 2 + index 31e94384..2c297551 100644 3 --- a/session-helper/flatpak-session-helper.c 4 +++ b/session-helper/flatpak-session-helper.c 5 + @@ -698,7 +698,7 @@ start_p11_kit_server (const char *flatpak_dir) 6 g_auto(GStrv) stdout_lines = NULL; 7 int i; 8 + const char * const p11_argv[] = { 9 - "p11-kit", "server", 10 + "@p11kit@", "server", 11 /* We explicitly request --sh here, because we then fail on earlier versions that doesn't support 12 * this flag. This is good, because those earlier versions did not properly daemonize and caused 13 * the spawn_sync to hang forever, waiting for the pipe to close. 14 + @@ -852,8 +852,7 @@ main (int argc, 15 exit (1); 16 } 17 18 + - pk11_program = g_find_program_in_path ("p11-kit"); 19 + - if (pk11_program) 20 + if (TRUE) 21 start_p11_kit_server (flatpak_dir); 22 else 23 + g_info ("p11-kit not found");
+121 -139
pkgs/by-name/fl/flatpak/package.nix
··· 1 { 2 lib, 3 stdenv, 4 - fetchurl, 5 - fetchpatch, 6 - runCommand, 7 appstream, 8 - autoreconfHook, 9 bison, 10 bubblewrap, 11 - buildPackages, 12 bzip2, 13 coreutils, 14 curl, 15 - dbus, 16 dconf, 17 desktop-file-utils, 18 - docbook_xml_dtd_45, 19 docbook-xsl-nons, 20 fuse3, 21 gettext, 22 glib, 23 glib-networking, 24 gobject-introspection, 25 gpgme, 26 gsettings-desktop-schemas, 27 - gtk3, 28 gtk-doc, 29 hicolor-icon-theme, 30 - intltool, 31 json-glib, 32 libarchive, 33 libcap, ··· 35 libseccomp, 36 libxml2, 37 libxslt, 38 nix-update-script, 39 - nixosTests, 40 nixos-icons, 41 ostree, 42 p11-kit, 43 pkg-config, 44 polkit, 45 - pkgsCross, 46 python3, 47 shared-mime-info, 48 socat, 49 replaceVars, 50 systemd, 51 testers, 52 valgrind, 53 - which, 54 wrapGAppsNoGuiHook, 55 xdg-dbus-proxy, 56 xmlto, 57 xorg, 58 - xz, 59 zstd, 60 withGtkDoc ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, 61 }: 62 63 stdenv.mkDerivation (finalAttrs: { 64 pname = "flatpak"; 65 - version = "1.14.10"; 66 67 # 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; 78 79 src = fetchurl { 80 url = "https://github.com/flatpak/flatpak/releases/download/${finalAttrs.version}/flatpak-${finalAttrs.version}.tar.xz"; 81 - hash = "sha256-a73HkIEnNQrYWkpH1wKSyi9MRul3sysf0jHCpxnYIc0="; 82 }; 83 84 patches = [ ··· 88 inherit 89 coreutils 90 gettext 91 - socat 92 gtk3 93 ; 94 - smi = shared-mime-info; 95 dfu = desktop-file-utils; 96 hicolorIconTheme = hicolor-icon-theme; 97 }) 98 99 # Hardcode paths used by Flatpak itself. 100 (replaceVars ./fix-paths.patch { 101 - p11kit = "${p11-kit.bin}/bin/p11-kit"; 102 }) 103 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 # Use flatpak from PATH to avoid references to `/nix/store` in `/desktop` files. 113 # Applications containing `DBusActivatable` entries should be able to find the flatpak binary. 114 # https://github.com/NixOS/nixpkgs/issues/138956 115 ./binary-path.patch 116 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 # Try mounting fonts and icons from NixOS locations if FHS locations don't exist. 122 # https://github.com/NixOS/nixpkgs/issues/119433 123 ./fix-fonts-icons.patch 124 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 - ]; 141 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 156 ]; 157 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 ]; 182 183 # Required by flatpak.pc 184 propagatedBuildInputs = [ ··· 186 ostree 187 ]; 188 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" 210 ]; 211 212 - makeFlags = [ 213 - "installed_testdir=${placeholder "installedTests"}/libexec/installed-tests/flatpak" 214 - "installed_test_metadir=${placeholder "installedTests"}/share/installed-tests/flatpak" 215 ]; 216 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 225 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 - ''; 234 235 passthru = { 236 icon-validator-patch = replaceVars ./fix-icon-validation.patch { 237 inherit (builtins) storeDir; 238 }; 239 240 - updateScript = nix-update-script { }; 241 - 242 tests = { 243 - cross = pkgsCross.aarch64-multiplatform.flatpak; 244 - 245 - installedTests = nixosTests.installed-tests.flatpak; 246 247 validate-icon = runCommand "test-icon-validation" { } '' 248 ${finalAttrs.finalPackage}/libexec/flatpak-validate-icon \ ··· 254 255 version = testers.testVersion { package = finalAttrs.finalPackage; }; 256 }; 257 }; 258 259 meta = { ··· 264 maintainers = with lib.maintainers; [ getchoo ]; 265 mainProgram = "flatpak"; 266 platforms = lib.platforms.linux; 267 }; 268 })
··· 1 { 2 lib, 3 stdenv, 4 appstream, 5 bison, 6 bubblewrap, 7 bzip2, 8 coreutils, 9 curl, 10 dconf, 11 desktop-file-utils, 12 docbook-xsl-nons, 13 + docbook_xml_dtd_45, 14 + fetchurl, 15 fuse3, 16 + gdk-pixbuf, 17 gettext, 18 glib, 19 glib-networking, 20 gobject-introspection, 21 gpgme, 22 gsettings-desktop-schemas, 23 gtk-doc, 24 + gtk3, 25 hicolor-icon-theme, 26 json-glib, 27 libarchive, 28 libcap, ··· 30 libseccomp, 31 libxml2, 32 libxslt, 33 + malcontent, 34 + meson, 35 + ninja, 36 nix-update-script, 37 nixos-icons, 38 ostree, 39 p11-kit, 40 pkg-config, 41 polkit, 42 python3, 43 + runCommand, 44 shared-mime-info, 45 socat, 46 replaceVars, 47 systemd, 48 testers, 49 valgrind, 50 + validatePkgConfig, 51 + wayland, 52 + wayland-protocols, 53 + wayland-scanner, 54 wrapGAppsNoGuiHook, 55 xdg-dbus-proxy, 56 xmlto, 57 xorg, 58 zstd, 59 + withAutoSideloading ? false, 60 + withDocbookDocs ? true, 61 withGtkDoc ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, 62 + withMan ? true, 63 + withSELinuxModule ? false, 64 + withSystemd ? true, 65 }: 66 67 stdenv.mkDerivation (finalAttrs: { 68 pname = "flatpak"; 69 + version = "1.16.0"; 70 71 # TODO: split out lib once we figure out what to do with triggerdir 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"; 83 84 src = fetchurl { 85 url = "https://github.com/flatpak/flatpak/releases/download/${finalAttrs.version}/flatpak-${finalAttrs.version}.tar.xz"; 86 + hash = "sha256-ywrFZa3LYhJ8bRHtUO5wRNaoNvppw1Sy9LZAoiv6Syo="; 87 }; 88 89 patches = [ ··· 93 inherit 94 coreutils 95 gettext 96 gtk3 97 + socat 98 ; 99 dfu = desktop-file-utils; 100 hicolorIconTheme = hicolor-icon-theme; 101 + smi = shared-mime-info; 102 }) 103 104 # Hardcode paths used by Flatpak itself. 105 (replaceVars ./fix-paths.patch { 106 + p11kit = lib.getExe p11-kit; 107 }) 108 109 # Use flatpak from PATH to avoid references to `/nix/store` in `/desktop` files. 110 # Applications containing `DBusActivatable` entries should be able to find the flatpak binary. 111 # https://github.com/NixOS/nixpkgs/issues/138956 112 ./binary-path.patch 113 114 # Try mounting fonts and icons from NixOS locations if FHS locations don't exist. 115 # https://github.com/NixOS/nixpkgs/issues/119433 116 ./fix-fonts-icons.patch 117 118 + # Nix environment hacks should not leak into the apps. 119 + # https://github.com/NixOS/nixpkgs/issues/53441 120 + ./unset-env-vars.patch 121 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 125 ]; 126 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; 187 188 # Required by flatpak.pc 189 propagatedBuildInputs = [ ··· 191 ostree 192 ]; 193 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") 205 ]; 206 207 + nativeCheckInputs = [ 208 + polkit 209 + socat 210 + valgrind 211 ]; 212 213 + # TODO: Many issues with temporary files, FHS environments, timeouts, and our current patches 214 + doCheck = false; 215 216 + separateDebugInfo = true; 217 218 passthru = { 219 icon-validator-patch = replaceVars ./fix-icon-validation.patch { 220 inherit (builtins) storeDir; 221 }; 222 223 tests = { 224 + pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; }; 225 226 validate-icon = runCommand "test-icon-validation" { } '' 227 ${finalAttrs.finalPackage}/libexec/flatpak-validate-icon \ ··· 233 234 version = testers.testVersion { package = finalAttrs.finalPackage; }; 235 }; 236 + 237 + updateScript = nix-update-script { }; 238 }; 239 240 meta = { ··· 245 maintainers = with lib.maintainers; [ getchoo ]; 246 mainProgram = "flatpak"; 247 platforms = lib.platforms.linux; 248 + pkgConfigModules = [ "flatpak" ]; 249 }; 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 9 python3Packages.buildPythonApplication rec { 10 pname = "github-backup"; 11 - version = "0.48.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "josegonzalez"; 16 repo = "python-github-backup"; 17 tag = version; 18 - hash = "sha256-vJD+dzKHYgiDme+wXklbxkbOPKwbilOWfJknsS37+vw="; 19 }; 20 21 build-system = with python3Packages; [
··· 8 9 python3Packages.buildPythonApplication rec { 10 pname = "github-backup"; 11 + version = "0.49.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "josegonzalez"; 16 repo = "python-github-backup"; 17 tag = version; 18 + hash = "sha256-RoRRuFXgykifdpcq3uBAARc54YTfzn0NiGcGkwcmcbc="; 19 }; 20 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 }: 7 buildGoModule rec { 8 pname = "jjui"; 9 - version = "0.2"; 10 11 src = fetchFromGitHub { 12 owner = "idursun"; 13 repo = "jjui"; 14 tag = "v${version}"; 15 - hash = "sha256-V2HwVpZ7K7mYoZECOc+dfXuvBlRsN5OgRHasdpX+kFw="; 16 }; 17 18 - vendorHash = "sha256-pzbOFXSlEebc4fCyNyQSdeVqar+HfEjsSyJo+mHkQeg="; 19 20 postFixup = '' 21 mv $out/bin/cmd $out/bin/jjui
··· 6 }: 7 buildGoModule rec { 8 pname = "jjui"; 9 + version = "0.3"; 10 11 src = fetchFromGitHub { 12 owner = "idursun"; 13 repo = "jjui"; 14 tag = "v${version}"; 15 + hash = "sha256-J6Bw7/OtKuQ28gUxc7h+gdKmt98TmNqj5XZ6kLzvg3o="; 16 }; 17 18 + vendorHash = "sha256-czUD0+1ZJJBpp+vYYEBBuWro6InokiPriKFyKvLSGD0="; 19 20 postFixup = '' 21 mv $out/bin/cmd $out/bin/jjui
+1
pkgs/by-name/p1/p11-kit/package.nix
··· 96 ]; 97 platforms = platforms.all; 98 license = licenses.bsd3; 99 }; 100 }
··· 96 ]; 97 platforms = platforms.all; 98 license = licenses.bsd3; 99 + mainProgram = "p11-kit"; 100 }; 101 }
+3 -3
pkgs/by-name/st/storj-uplink/package.nix
··· 6 7 buildGoModule rec { 8 pname = "storj-uplink"; 9 - version = "1.120.4"; 10 11 src = fetchFromGitHub { 12 owner = "storj"; 13 repo = "storj"; 14 rev = "v${version}"; 15 - hash = "sha256-Ze3eQCySw3S6sKXwJCW6M+UV1FWp47syCWxIQdKttOs="; 16 }; 17 18 subPackages = [ "cmd/uplink" ]; 19 20 - vendorHash = "sha256-kLXrKFJ/g2xenYTZ13loaZ7XAgRhmo2Iwen7P4esBIs="; 21 22 ldflags = [ 23 "-s"
··· 6 7 buildGoModule rec { 8 pname = "storj-uplink"; 9 + version = "1.121.3"; 10 11 src = fetchFromGitHub { 12 owner = "storj"; 13 repo = "storj"; 14 rev = "v${version}"; 15 + hash = "sha256-Q/iQUgXeYvGDBuVL8hhHU7SK+sNVQtXCDBoRYFO+N9Y="; 16 }; 17 18 subPackages = [ "cmd/uplink" ]; 19 20 + vendorHash = "sha256-XgHTzE982POxbCzlfSt05y+h8DJb/3fiFV5l/Fu8vGg="; 21 22 ldflags = [ 23 "-s"
+13 -20
pkgs/development/python-modules/mat2/default.nix
··· 3 stdenv, 4 buildPythonPackage, 5 pytestCheckHook, 6 - pythonOlder, 7 fetchFromGitLab, 8 replaceVars, 9 bubblewrap, 10 exiftool, 11 ffmpeg, 12 wrapGAppsHook3, 13 gdk-pixbuf, 14 gobject-introspection, ··· 18 pygobject3, 19 pycairo, 20 dolphinIntegration ? false, 21 - plasma5Packages, 22 }: 23 24 buildPythonPackage rec { 25 pname = "mat2"; 26 - version = "0.13.4"; 27 - 28 - disabled = pythonOlder "3.5"; 29 - 30 - format = "setuptools"; 31 32 src = fetchFromGitLab { 33 domain = "0xacab.org"; 34 owner = "jvoisin"; 35 repo = "mat2"; 36 - rev = version; 37 - hash = "sha256-SuN62JjSb5O8gInvBH+elqv/Oe7j+xjCo+dmPBU7jEY="; 38 }; 39 40 patches = 41 [ 42 # hardcode paths to some binaries 43 (replaceVars ./paths.patch { 44 - exiftool = "${exiftool}/bin/exiftool"; 45 - ffmpeg = "${ffmpeg}/bin/ffmpeg"; 46 - kdialog = if dolphinIntegration then "${plasma5Packages.kdialog}/bin/kdialog" else null; 47 # replaced in postPatch 48 mat2 = null; 49 mat2svg = null; ··· 55 ] 56 ++ lib.optionals (stdenv.hostPlatform.isLinux) [ 57 (replaceVars ./bubblewrap-path.patch { 58 - bwrap = "${bubblewrap}/bin/bwrap"; 59 }) 60 ]; 61 62 postPatch = '' 63 - rm pyproject.toml 64 substituteInPlace dolphin/mat2.desktop \ 65 --replace "@mat2@" "$out/bin/mat2" \ 66 --replace "@mat2svg@" "$out/share/icons/hicolor/scalable/apps/mat2.svg" 67 ''; 68 69 nativeBuildInputs = [ 70 gobject-introspection 71 wrapGAppsHook3 ··· 77 poppler_gi 78 ]; 79 80 - propagatedBuildInputs = [ 81 mutagen 82 pygobject3 83 pycairo ··· 93 ''; 94 95 nativeCheckInputs = [ pytestCheckHook ]; 96 - 97 - disabledTests = [ 98 - # libmat2.pdf.cairo.MemoryError: out of memory 99 - "test_all" 100 - ]; 101 102 meta = with lib; { 103 description = "Handy tool to trash your metadata";
··· 3 stdenv, 4 buildPythonPackage, 5 pytestCheckHook, 6 fetchFromGitLab, 7 replaceVars, 8 bubblewrap, 9 exiftool, 10 ffmpeg, 11 + setuptools, 12 wrapGAppsHook3, 13 gdk-pixbuf, 14 gobject-introspection, ··· 18 pygobject3, 19 pycairo, 20 dolphinIntegration ? false, 21 + kdePackages, 22 }: 23 24 buildPythonPackage rec { 25 pname = "mat2"; 26 + version = "0.13.5"; 27 + pyproject = true; 28 29 src = fetchFromGitLab { 30 domain = "0xacab.org"; 31 owner = "jvoisin"; 32 repo = "mat2"; 33 + tag = version; 34 + hash = "sha256-ivFgH/88DBucZRaO/OMsLlwJCjv/VQXb6AiKWhZ8XH0="; 35 }; 36 37 patches = 38 [ 39 # hardcode paths to some binaries 40 (replaceVars ./paths.patch { 41 + exiftool = lib.getExe exiftool; 42 + ffmpeg = lib.getExe ffmpeg; 43 + kdialog = if dolphinIntegration then lib.getExe kdePackages.kdialog else null; 44 # replaced in postPatch 45 mat2 = null; 46 mat2svg = null; ··· 52 ] 53 ++ lib.optionals (stdenv.hostPlatform.isLinux) [ 54 (replaceVars ./bubblewrap-path.patch { 55 + bwrap = lib.getExe bubblewrap; 56 }) 57 ]; 58 59 postPatch = '' 60 substituteInPlace dolphin/mat2.desktop \ 61 --replace "@mat2@" "$out/bin/mat2" \ 62 --replace "@mat2svg@" "$out/share/icons/hicolor/scalable/apps/mat2.svg" 63 ''; 64 65 + build-system = [ setuptools ]; 66 + 67 nativeBuildInputs = [ 68 gobject-introspection 69 wrapGAppsHook3 ··· 75 poppler_gi 76 ]; 77 78 + dependencies = [ 79 mutagen 80 pygobject3 81 pycairo ··· 91 ''; 92 93 nativeCheckInputs = [ pytestCheckHook ]; 94 95 meta = with lib; { 96 description = "Handy tool to trash your metadata";
+1
pkgs/kde/gear/kdialog/default.nix
··· 1 { mkKdeDerivation }: 2 mkKdeDerivation { 3 pname = "kdialog"; 4 }
··· 1 { mkKdeDerivation }: 2 mkKdeDerivation { 3 pname = "kdialog"; 4 + meta.mainProgram = "kdialog"; 5 }
+3 -3
pkgs/servers/home-assistant/custom-lovelace-modules/universal-remote-card/package.nix
··· 6 7 buildNpmPackage rec { 8 pname = "universal-remote-card"; 9 - version = "4.3.7"; 10 11 src = fetchFromGitHub { 12 owner = "Nerwyn"; 13 repo = "android-tv-card"; 14 rev = version; 15 - hash = "sha256-UIQZT1fzZvBHpFRsj508F2pyCQAt0vLMSj1H5qwRBXc="; 16 }; 17 18 patches = [ ./dont-call-git.patch ]; 19 20 - npmDepsHash = "sha256-BV00u+/OvC3dmz7BvqygSUuwf+jsfuKNZDOO6d5nATk="; 21 22 installPhase = '' 23 runHook preInstall
··· 6 7 buildNpmPackage rec { 8 pname = "universal-remote-card"; 9 + version = "4.3.8"; 10 11 src = fetchFromGitHub { 12 owner = "Nerwyn"; 13 repo = "android-tv-card"; 14 rev = version; 15 + hash = "sha256-fu+0O5WXzsy/HN2j7M2zBg8YgPUcSuzeOhOf1akATes="; 16 }; 17 18 patches = [ ./dont-call-git.patch ]; 19 20 + npmDepsHash = "sha256-AwJmFsVFOV6rapnLm9Y660TFiX9HIOIU4049EIyWWuM="; 21 22 installPhase = '' 23 runHook preInstall