image-roll: 1.4.1 -> 2.1.0

This commit is contained in:
figsoda 2022-07-30 21:26:37 +08:00
parent 2ad1c334f1
commit 85bbd72011

View file

@ -4,25 +4,30 @@
, glib , glib
, pkg-config , pkg-config
, wrapGAppsHook , wrapGAppsHook
, gtk3 , gtk4
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "image-roll"; pname = "image-roll";
version = "1.4.1"; version = "2.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "weclaw1"; owner = "weclaw1";
repo = pname; repo = pname;
rev = version; 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 ]; nativeBuildInputs = [ glib pkg-config wrapGAppsHook ];
buildInputs = [ gtk3 ]; buildInputs = [ gtk4 ];
checkFlags = [
# fails in the sandbox
"--skip=file_list::tests"
];
postInstall = '' postInstall = ''
install -Dm444 src/resources/com.github.weclaw1.ImageRoll.desktop -t $out/share/applications/ install -Dm444 src/resources/com.github.weclaw1.ImageRoll.desktop -t $out/share/applications/