Merge pull request #183965 from figsoda/update-image-roll

image-roll: 1.4.1 -> 2.1.0
This commit is contained in:
figsoda 2022-08-02 10:12:50 +08:00 committed by GitHub
commit 85dd8c1798
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/