From 85bbd720117e0e4d2cbadd7a5feb83be278b1c15 Mon Sep 17 00:00:00 2001 From: figsoda Date: Sat, 30 Jul 2022 21:26:37 +0800 Subject: [PATCH] image-roll: 1.4.1 -> 2.1.0 --- pkgs/applications/graphics/image-roll/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/graphics/image-roll/default.nix b/pkgs/applications/graphics/image-roll/default.nix index 2bba3c80cd9b..20444f5807a4 100644 --- a/pkgs/applications/graphics/image-roll/default.nix +++ b/pkgs/applications/graphics/image-roll/default.nix @@ -4,25 +4,30 @@ , glib , pkg-config , wrapGAppsHook -, gtk3 +, gtk4 }: rustPlatform.buildRustPackage rec { pname = "image-roll"; - version = "1.4.1"; + version = "2.1.0"; src = fetchFromGitHub { owner = "weclaw1"; repo = pname; rev = version; - sha256 = "sha256-SyG/syIDnyQaXUgGkXZkY98dmFs7O+OFnGL50250nJI="; + sha256 = "sha256-CC40TU38bJFnbJl2EHqeB9RBvbVUrBmRdZVS2GxqGu4="; }; - cargoSha256 = "sha256-pyeJ7WmtkbQjbek/rRh2UKFQ5o006Rf7phZ1yl2s4wA="; + cargoSha256 = "sha256-cUE2IZOunR/NIo/qytORRfNqCsf87LfpKA8o/v4Nkhk="; nativeBuildInputs = [ glib pkg-config wrapGAppsHook ]; - buildInputs = [ gtk3 ]; + buildInputs = [ gtk4 ]; + + checkFlags = [ + # fails in the sandbox + "--skip=file_list::tests" + ]; postInstall = '' install -Dm444 src/resources/com.github.weclaw1.ImageRoll.desktop -t $out/share/applications/