10 rustPlatform.buildRustPackage rec {
14 src = fetchFromGitHub {
18 sha256 = "sha256-CC40TU38bJFnbJl2EHqeB9RBvbVUrBmRdZVS2GxqGu4=";
21 cargoSha256 = "sha256-cUE2IZOunR/NIo/qytORRfNqCsf87LfpKA8o/v4Nkhk=";
23 nativeBuildInputs = [ glib pkg-config wrapGAppsHook4 ];
25 buildInputs = [ gtk4 ];
28 # fails in the sandbox
29 "--skip=file_list::tests"
31 # sometimes fails on darwin
32 "--skip=image_list::tests::save_current_image_overwrites_image_at_current_image_path_when_filename_is_set_to_none"
36 install -Dm444 src/resources/com.github.weclaw1.ImageRoll.desktop -t $out/share/applications/
37 install -Dm444 src/resources/com.github.weclaw1.ImageRoll.svg -t $out/share/icons/hicolor/scalable/apps/
38 install -Dm444 src/resources/com.github.weclaw1.ImageRoll.metainfo.xml -t $out/share/metainfo/
42 description = "Simple and fast GTK image viewer with basic image manipulation tools";
43 homepage = "https://github.com/weclaw1/image-roll";
44 license = licenses.mit;
45 maintainers = with maintainers; [ figsoda ];