gradia: add passthru.updateScript, 1.7.1 -> 1.9.0 (#430765)

This commit is contained in:
Sandro
2025-08-12 00:50:18 +02:00
committed by GitHub
+5 -3
View File
@@ -18,17 +18,18 @@
webp-pixbuf-loader,
libsoup_3,
bash,
nix-update-script,
}:
python3Packages.buildPythonApplication rec {
pname = "gradia";
version = "1.7.1";
version = "1.9.0";
pyproject = false;
src = fetchFromGitHub {
owner = "AlexanderVanhee";
repo = "Gradia";
tag = "v${version}";
hash = "sha256-EyO09tKv0SjqMyYM5J8wdeIH6/vJgF7p7FLaTfJDqXY=";
hash = "sha256-iDldzS7LLJ/+CfKBpD50LW/YrZ2xb8aqZI9Bs1AOcCM=";
};
nativeBuildInputs = [
@@ -56,7 +57,6 @@ python3Packages.buildPythonApplication rec {
];
postInstall = ''
substituteInPlace $out/share/gradia/gradia/ui/image_exporters.py --replace-fail "/bin/bash" "${lib.getExe bash}"
export GDK_PIXBUF_MODULE_FILE="${
gnome._gdkPixbufCacheBuilder_DO_NOT_USE {
extraLoaders = [
@@ -71,6 +71,8 @@ python3Packages.buildPythonApplication rec {
makeWrapperArgs = [ "\${gappsWrapperArgs[@]}" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Make your screenshots ready for the world";
homepage = "https://github.com/AlexanderVanhee/Gradia";