Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #183607 from totoroot/update/czkawka-5.0.0

czkawka: 4.1.0 -> 5.0.1

authored by 0x4A6F and committed by GitHub cec6bcfd 9e8c847e

+20 -5
+20 -5
pkgs/tools/misc/czkawka/default.nix
··· 7 7 , pango 8 8 , gdk-pixbuf 9 9 , atk 10 - , gtk3 10 + , gtk4 11 + , wrapGAppsHook 12 + , gobject-introspection 13 + , xvfb-run 11 14 , testers 12 15 , czkawka 13 16 }: 14 17 15 18 rustPlatform.buildRustPackage rec { 16 19 pname = "czkawka"; 17 - version = "4.1.0"; 20 + version = "5.0.1"; 18 21 19 22 src = fetchFromGitHub { 20 23 owner = "qarmin"; 21 24 repo = "czkawka"; 22 25 rev = version; 23 - sha256 = "sha256-N7fCYcjhYlFVkvWdFpR5cu98Vy+jStlBkR/vz/k1lLY="; 26 + sha256 = "sha256-ochHohwCOKCF9kiiMxMIaJXaHUWNbq7pIh+VNRKQlcg="; 24 27 }; 25 28 26 - cargoSha256 = "sha256-4L7OjJ26Qpl5YuHil7JEYU8xWH65jiyFz0a/ufr7wYQ="; 29 + cargoSha256 = "sha256-ap8OpaLs1jZtEHbXVZyaGj3gvblWtyHmYrHiHvZKhfs="; 27 30 28 31 nativeBuildInputs = [ 29 32 pkg-config 33 + wrapGAppsHook 34 + gobject-introspection 30 35 ]; 31 36 32 37 buildInputs = [ ··· 35 40 pango 36 41 gdk-pixbuf 37 42 atk 38 - gtk3 43 + gtk4 44 + ]; 45 + 46 + checkInputs = [ 47 + xvfb-run 39 48 ]; 49 + 50 + checkPhase = '' 51 + runHook preCheck 52 + xvfb-run cargo test 53 + runHook postCheck 54 + ''; 40 55 41 56 passthru.tests.version = testers.testVersion { 42 57 package = czkawka;